Comment 23 for bug 900384

Revision history for this message
Luiz Angelo Daros de Luca (luizluca) wrote :

As I was never able to run it, I'm no expert. However, it seems that the problem lies with the userland programs that might be outdated.

The kernel modules, vhci-hcd, usbip-core and usbip-host seems to be ok. They are upstream and compiled for ubuntu 13.04. However, running my own strace, I noticed that it still looks for the possiblely old names:

# strace usbipd -d
lstat("/sys/bus/usb/drivers/usbip", 0x7fff26dff550) = -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
open("/usr/lib/x86_64-linux-gnu/charset.alias", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY) = 3

There is no usbip module. Just usbip-core and usbip-host. FYI, the usbip, at least, runs if vhci-hcd is loaded but I don't know if it works.

Googling for some time I found the current userspace software. It is inside kernel source at:
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/staging/usbip/userspace?id=refs/tags/v3.8.13

But it is not compiled with ubuntu kernel anymore. So, I think that the usbip package should be deprecated and a new usbip should be generated while compiling the kernel source package.

If you installed the linux-source package and devel tools, you can compile it yourself. It might be somewhere like:

 cd /usr/src/linux-source-$(uname -r)/drivers/staging/usbip/userspace/
 ./autogen.sh
 make install

But I didn't tested it as my ISP bandwidth will not allow me to download kernel source today.
I'll report a bug about this problem.