Missing usbip kernel modules on Oneiric

Bug #900224 reported by Joril
84
This bug affects 17 people
Affects Status Importance Assigned to Milestone
linux-lts-backport-oneiric (Ubuntu)
Confirmed
Undecided
Unassigned
usbip (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I can't get the usbip daemon to run on Oneiric:

> $ sudo usbipd
> usbip err: stub_driver.c: 33 (open_sysfs_stub_driver) usbip_common_mod.ko and usbip.ko must be loaded
>
> ** ERROR **: driver open failed
> aborting...
> Aborted
>
> $ modprobe usbip
> FATAL: Module usbip not found.

It looks like the kernel modules for usbip aren't included in linux-image... This used to work with Lucid, Maverick and Natty

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in usbip (Ubuntu):
status: New → Confirmed
Revision history for this message
Jeff Strunk (jstrunk-math) wrote :

this bug is a kernel configuration issue.

Changed in linux-lts-backport-oneiric (Ubuntu):
status: New → Confirmed
Revision history for this message
Jeff Strunk (jstrunk-math) wrote :

Previous versions of the linux-image-generic package included the usbip modules. The kernel package maintainers appear to have left it out in oneiric. The modules were definitely included in linux-image-2.6.38-11-generic.

affects: linux → linux-lts-backport-oneiric (Ubuntu)
Revision history for this message
Jeff Strunk (jstrunk-math) wrote :

I managed to compile the modules using the linux headers and linux-source packages. I had to modify the makefile.

$ apt-get install linux-headers-`uname -r`-generic linux-source-3.0.0
$ cd /usr/src/linux-source-3.0.0
$ tar -xjf linux-source-3.0.0.tar.bz2
$ cd /usr/src/linux-source-3.0.0/linux-source-3.0.0/drivers/staging/usbip

Add the following line to the beginning of the Makefile:
obj-m := usbip-core.o vhci-hcd.o usbip-host.o

$ make -C /usr/src/linux-headers-`uname -r` M=`pwd` modules
$ make -C /usr/src/linux-headers-`uname -r` M=`pwd` modules_install
$ depmod -a

Revision history for this message
Jeff Strunk (jstrunk-math) wrote :

My client system crashed when I ran 'usbip -a ...'. It stopped all i/o and didn't log anything. I guess that is another bug. It could be that my server system is running Maverick.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-lts-backport-oneiric (Ubuntu):
status: New → Confirmed
Revision history for this message
lovejoy (lyq-0617) wrote :

this bug also exists in quantal amd64

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.