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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/900224

Title:
  Missing usbip kernel modules on Oneiric

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-lts-backport-oneiric/+bug/900224/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to