Welcome! Log In Create A New Profile

Advanced

Compiling Debian kernel - How to change modules order?

Posted by bodhi 
Compiling Debian kernel - How to change modules order?
September 04, 2012 11:48PM
@Vlad, Jeff, Davy, and other Debian kernel builders,

I have a question regarding the modules load order created during kernel compilation. So far I've been successfully forced certain modules to be loaded sooner in the booting process using these commands to update the initramfs image (initrd.img-3.2.xxx).

/etc/initramfs-tools#modules # edit this file to add module names
update-initramfs -u

But I'm wondering if there is a way to specify the same preferences during the time we build the kernel? i.e. before running make-kpkg. Since initramfs-tools knows how to put the modules in a correct order, can we somehow do the same with the kernel source .config, Kconfig, ...etc?

Thanks,
bodhi



Edited 2 time(s). Last edit at 09/04/2012 11:51PM by bodhi.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: