IncentivesPro Forum Index IncentivesPro
Leading USB solutions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Daemon can not be started! Error 2 Module 0xffff Line 45

 
Post new topic   Reply to topic    IncentivesPro Forum Index -> USB Redirector for Linux
View previous topic :: View next topic  
Author Message
AlexeyGR



Joined: 18 Jul 2018
Posts: 2

PostPosted: Wed Jul 18, 2018 2:57 pm    Post subject: Daemon can not be started! Error 2 Module 0xffff Line 45 Reply with quote

I compile version 3.6 for linux kernel 4.4. To run in Server mode only:
USE_EHCI_FIX=n VHCI=y STUB=y

When I start daemon through:

/etc/init.d/rc.usbsrvd start

Driver loads normally, but daemon fails.

strace utility shows that daemon tries several times to get /dev/tusb_cdev_1, while driver registers just /dev/tusb_cdev_0.

I used version 3.2 and it works, but now it is not.

What is problem can be? Looks like that daemon not working if client part is disabled.
Back to top
View user's profile Send private message
Peter
Site Admin


Joined: 01 Aug 2007
Posts: 653

PostPosted: Thu Jul 19, 2018 8:57 am    Post subject: Reply with quote

Generally, you'd better use the native installer. It will do all the job for you.

But if you are installing manually, there are three daemon versions: client+server, client-only and sever-only. You need to use server-only. The file is called usbsrvd-srv, you need to rename it to usbsrvd.

Also, proper options for server-only driver are:
VHCI=n STUB=y
Back to top
View user's profile Send private message
AlexeyGR



Joined: 18 Jul 2018
Posts: 2

PostPosted: Thu Jul 19, 2018 2:33 pm    Post subject: Reply with quote

Peter thank you. That solution works. You know while test it, error happens,
There is log. I tried to restart the service.
Code:

Jul 19, 2018 13:59:29 Daemon startup
Jul 19, 2018 14:00:02 Got SIGTERM signal, shutting down...
Jul 19, 2018 14:00:07 Daemon shutdown

Jul 19, 2018 14:00:48 Daemon startup
Jul 19, 2018 14:00:53 Daemon can not be started! Error 0 Module 0x0003 Line 27
Jul 19, 2018 14:00:53 Daemon shutdown

Jul 19, 2018 14:01:00 Daemon startup
Jul 19, 2018 14:01:04 Daemon can not be started! Error 0 Module 0x0003 Line 27
Jul 19, 2018 14:01:04 Daemon shutdown

Jul 19, 2018 14:02:09 Daemon startup
Jul 19, 2018 14:02:13 Daemon can not be started! Error 0 Module 0x0003 Line 27
Jul 19, 2018 14:02:13 Daemon shutdown

Jul 19, 2018 14:02:42 Daemon startup
Jul 19, 2018 14:03:26 Got SIGTERM signal, shutting down...
Jul 19, 2018 14:03:31 Daemon shutdown
Back to top
View user's profile Send private message
Peter
Site Admin


Joined: 01 Aug 2007
Posts: 653

PostPosted: Thu Jul 19, 2018 2:41 pm    Post subject: Reply with quote

This error indicates that kernel module is not loaded
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IncentivesPro Forum Index -> USB Redirector for Linux All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group