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

Re: adding modules to kernel

Adam Hardy wrote:


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-

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


Kamaraju S Kusumanchi
Graduate Student, MAE
Cornell University

Reply to: