[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: adding modules to kernel



kamaraju kusumanchi on 23/08/05 15:29, wrote:
Adam Hardy wrote:

Hi

I compile and install the kernel using the debian package process

make xconfig
make-kpkg clean
make-kpkg --initrd kernel-image
dpkg -i kernel-image-2.6.12.5.xxxx

and because I didn't get it right first time, I want to add just one module to the kernel and reboot, e.g. i2c_isa

However if I run the steps above, it takes another 20 minutes. Is there a shorter way of doing it?

I tried doing it without the make-kpkg clean step, but it didn't create the module, or didn't install it in the right directory or something.

Do I have to do all 4 steps every time, or is there a quick way of adding extra modules?


If the module is already built and you just have to (un)load it, then you can use 'modconf' program.

sudo apt-get install modconf
man modconf
sudo modconf

No I don't think it's ready built, if that's what you mean. I forgot to include it in the make xconfig stage.


Adam



Reply to: