Comment 19 for bug 900384

Revision history for this message
Claudio Mignanti (claudyus) wrote :

I have Ubuntu 12.04LTS and the problem appear to be the userspace program not inside the kernel.

$ uname -a
Linux HEX 3.2.0-36-generic-pae #57-Ubuntu SMP Tue Jan 8 22:01:06 UTC 2013 i686 i686 i386 GNU/Linux
$ lsmod | grep usbip
usbip_host 22084 0
usbip_core 15333 2 usbip_host,vhci_hcd

usespace program are looking for:
$ sudo strace usbipd -d
....
munmap(0xb7798000, 4096) = 0
lstat64("/sys/bus/usb/drivers/usbip", 0xbfc1c250) = -1 ENOENT (No such file or directory)
write(2, "usbip err: stub_driver.c: 33 (o"..., 103usbip err: stub_driver.c: 33 (open_sysfs_stub_driver) usbip_common_mod.ko and usbip.ko must be loaded
) = 103
gettimeofday({1358969452, 249982}, NULL) = 0
open("/usr/lib/i386-linux-gnu/charset.alias", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=26256, ...}) = 0

The userspace program are lookig for /sys/bus/usb/drivers/usbip/ while at the moment i have /sys/bus/usb/drivers/usbip-host/

Usbip version

$ usbip -v
** (process:4498): WARNING **: running non-root?
usbip 0.1.7 ($Id: vhci_attach.c 42 2007-09-07 12:07:51Z hirofuchi $)