← Back to team overview

kernel-packages team mailing list archive

[Bug 900384] Re: usbipd requires usbip_common_mod.ko and usbip.ko kernel modules, which are not available in any package


I'm hoping there will be a server daemon (usbipd) eventually.

For the client, it seems that usbip from the package usbip is no longer
valid and is replaced by usbip in a package called linux-tools-generic.
There is no usbipd server in this replacement package yet.

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  usbipd requires usbip_common_mod.ko and usbip.ko kernel modules, which
  are not available in any package

Status in “linux” package in Ubuntu:
  Fix Released
Status in “usbip” package in Ubuntu:

Bug description:
  I'm on Kubuntu oneiric (11.10), using usbip 0.1.7-3 and kernel linux-

  I'm trying to set up USB/IP to share a USB-only printer/scanner over
  the LAN. However, whenever I try to start the demon, it gives the
  error message that the usbip_common_mod.ko and usbip.ko kernel modules
  are required:

  root@curie:~# usbipd -D
  usbip err: stub_driver.c:  33 (open_sysfs_stub_driver) usbip_common_mod.ko and usbip.ko must be loaded
  ** ERROR **: driver open failed
  Trace/breakpoint trap

  The package description of usbip says:
  " USB/IP requires kernel support which is included in Linux
   kernels 2.6.28 or newer."

  Unfortunately, I can't find a package that provides those kernel

  I have also installed the usbip-source package, but 
  (1) its /usr/src/modules/usbip/src/README file says:
      "For newer kernels ( >=2.6.28 ), try linux-staging code!"
  and (2) trying to build it with m-a also fails:

  # Build the module
  cd src && /usr/bin/make KSOURCE=/usr/src/linux HCD_HEADER=/usr/src/modules/usbip/src/headers/hcd.h KBUILD_VERBOSE=0
  make[2]: Entering directory `/usr/src/modules/usbip/src'
  make -C /usr/src/linux LANG=C KBUILD_VERBOSE=0  M=`pwd` modules
  make[3]: Entering directory `/usr/src/linux-headers-3.0.0-13-generic'
    CC [M]  /usr/src/modules/usbip/src/stub_dev.o
  /usr/src/modules/usbip/src/stub_dev.c: In function ‘stub_probe’:
  /usr/src/modules/usbip/src/stub_dev.c:392:42: error: ‘struct device’ has no member named ‘bus_id’
  make[4]: *** [/usr/src/modules/usbip/src/stub_dev.o] Error 1
  make[3]: *** [_module_/usr/src/modules/usbip/src] Error 2
  make[3]: Leaving directory `/usr/src/linux-headers-3.0.0-13-generic'
  make[2]: *** [default] Error 2
  make[2]: Leaving directory `/usr/src/modules/usbip/src'
  make[1]: *** [binary-modules] Error 2
  make[1]: Leaving directory `/usr/src/modules/usbip'
  make: *** [kdist_build] Error 2
  See /var/cache/modass/usbip.buildlog.3.0.0-13-generic.1323105464 for details.
  Build failed. Press Return to continue...

To manage notifications about this bug go to: