PaganImmolator
June 13th, 2009, 12:08 AM
I hope you can help me(is this the right forum?). I am trying to get my wifes Itouch working under VirtualBox and apparently one of the methods to get this to work is to rebuild the USB core drivers to be more compatible with what the Itouch expects.
I am following the method in this thread:
http://ubuntuforums.org/showthread.php?t=970628
and this section is what is causing me problems
sudo apt-get build-dep linux-source-2.6.27
sudo apt-get install linux-source-2.6.27 build-essential
tar -jxvf /usr/src/linux-source-2.6.27.tar.bz2
cd linux-source-2.6.27/drivers/usb/core
perl -pi.bak -e 's/16384/131072/' devio.c
make -C /lib/modules/`uname -r`/build/ M=`pwd` modules
strip --strip-debug usbcore.ko
sudo install -m644 -b usbcore.ko /lib/modules/`uname -r`/kernel/drivers/usb/core
sudo depmod -ae
sudo update-initramfs -u
but when I get this error I don't know how to fix it:
strip --strip-debug usbcore.ko
strip: 'usbcore.ko': No such file
While not a complete newbie, I still don't don't know a lot about Linux and compiling from source. From what I can tell, its looking for an object file. Did the naming conventions change or did something not get built right?
Any help appreciated.
I am using Jaunty AMD64 flavor.
This is the output of the directory /linux-source-2.6.28/drivers/usb/core
buffer.c devio.c.bak generic.c hub.c Makefile Module.symvers sysfs.c
config.c driver.c hcd.c hub.h message.c notify.c urb.c
devices.c endpoint.c hcd.h inode.c Module.markers otg_whitelist.h usb.c
devio.c file.c hcd-pci.c Kconfig modules.order quirks.c usb.h
I am following the method in this thread:
http://ubuntuforums.org/showthread.php?t=970628
and this section is what is causing me problems
sudo apt-get build-dep linux-source-2.6.27
sudo apt-get install linux-source-2.6.27 build-essential
tar -jxvf /usr/src/linux-source-2.6.27.tar.bz2
cd linux-source-2.6.27/drivers/usb/core
perl -pi.bak -e 's/16384/131072/' devio.c
make -C /lib/modules/`uname -r`/build/ M=`pwd` modules
strip --strip-debug usbcore.ko
sudo install -m644 -b usbcore.ko /lib/modules/`uname -r`/kernel/drivers/usb/core
sudo depmod -ae
sudo update-initramfs -u
but when I get this error I don't know how to fix it:
strip --strip-debug usbcore.ko
strip: 'usbcore.ko': No such file
While not a complete newbie, I still don't don't know a lot about Linux and compiling from source. From what I can tell, its looking for an object file. Did the naming conventions change or did something not get built right?
Any help appreciated.
I am using Jaunty AMD64 flavor.
This is the output of the directory /linux-source-2.6.28/drivers/usb/core
buffer.c devio.c.bak generic.c hub.c Makefile Module.symvers sysfs.c
config.c driver.c hcd.c hub.h message.c notify.c urb.c
devices.c endpoint.c hcd.h inode.c Module.markers otg_whitelist.h usb.c
devio.c file.c hcd-pci.c Kconfig modules.order quirks.c usb.h