PDA

View Full Version : How Do I recompile the 2.6.9 kernel in Knoppix 3.7



sakiZ
01-04-2006, 05:45 PM
I need to recompile the 2.6.9 kernel in my HDD install of Knoppix 3.7

Specifically, I need the ub.ko module removed, deactivated, GONE!

It trashes usb-storage. I need this activated in the 2.6.9 kernel.

(This is a long discussed issue of the Knoppix Live CD and a key reason why it is a bad idea to install it to the HDD. Anyway, I already did a year ago. :-) )

This is what I need to do according to one source:

"Therefore people wanting to use usb storage have to recompile the kernel with CONFIG_UB=n.

Additional Information: ub may be an important step forward but until it fully supports the devices it disables from usb_storage, my vote is just to set CONFIG_UB to n.

An alternative is to do two builds, one with ub=n to make the fully-functional usb_storage.ko and then with ub=m to give the new module as well."

So, how do I do this?

sakiZ

sakiZ
01-05-2006, 01:37 AM
Ok, it was actually very easy to turn this off. No recompiling necessary. I merely commented out the ub entry in

/lib/modules/2.6.9/modules.usbmap

It's the very last entry in that file.

Now, the offending ub modue is not loaded and usb-storage stays intact, allowing me to turn my usb camera on and see it show up as a drive.

I hope this is useful to others who may have been having problems with the infamous ub.ko module.


sakiZ