Adding forgotten kernel module without complete recompile

Klaus-Peter Schrage kpschrage
Mon May 17 11:49:13 PDT 2004


Net Llama! wrote:

> On 07/11/03 14:11, Klaus-Peter Schrage wrote:
>
>> ... the subject tells it all.
>> Now the module in question wasn't really forgotten, I didn't need it 
>> on my last recompile, but now I do: I have a very nice new device, a 
>> Mambo USB Music Drive which is a mp3 player and a 128 MB USB storage 
>> in one, as small as a lighter. It should hotplug in Linux as well as 
>> it does in Windows, so I need usb-storage.o which I had disabled on 
>> my last full kernel compile.
>> How could I get usb-storage working (on a stock 2.4.21 kernel) 
>> without the whole recompile story which I really don't want to go 
>> through?
>> This should be possible, and I faintly remember to have done 
>> something like that before ...
>> All the other necessary usb stuff is already there.
>
>
> Assuming that usb-storage doesn't make changes to the kernel itself, i 
> think you just need to do another kernel build, but skip the 'make 
> bzImage' step.

I'd like to avoid that, because after the kernel compile I had added 
some third party modules (ALSA, NVIDIA kernel driver) which I wouldn't 
like to do again just to get another single standard kernel module. I 
think there was a trick to post compile a specific module, perhaps some 
tweaking of /drivers/usb/Makefile - I don't remember it.
Klaus



More information about the Linux-users mailing list