How do you rebuild a single kernel module?
I'm having problems with USB and I've been advised to rebuild my 'usbcore' module.
How is this usually done? The module is listed under /lib/modules as 'usbcore.ko'. So I guess I need to download the UBS library and do a './configure ; make' in order to produce a new 'usbcore.ko'. But I run into the inevitable error message on 'make' - Quote:
2. Is there an easier way of rebuilding a single kernel module? Usually there is with Suse, but I can't find it... Cheers in advance. Rollo |
Hi!
Rebuilding a single module by doing a usual install, does usually not work. But you can use the insmod command. You need to know the exact location of your module, go there, and type: Code:
insmod <module> |
'Rebuild' the same as 'reload'?
Thanks Dino.
insmod (and modprobe) are just to load the module, right? I believe usbcore.ko is loaded automatically at boot, so it's already there - in my case, in /lib/modules/2.6.5-7.155.29-default/kernel/drivers/usb/core. Maybe I'm not sure of terminology here but to rebuild the module means to compile it again, is that not correct? |
|
All times are GMT -5. The time now is 07:27 PM. |