LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   New Kernel 2.4.22 won't make initrd (http://www.linuxquestions.org/questions/linux-newbie-8/new-kernel-2-4-22-wont-make-initrd-112933/)

jon1591 11-06-2003 01:25 AM

New Kernel 2.4.22 won't make initrd
 
Hi
When I try to run
'mkinitrd /boot/initrd.img 2.4.22'
I get the error message 'No module aic7xxx found for kernel 2.4.22'. I don't know what this means and I would be grateful for any help as this is my first new kernel.
I am running Red Hat 7.3 with 2.4.18-3 and I have already ran:
make xconfig
make dep
make bzImage
make modules
make modules_install
all with no error messages.

Thanks in advance

Jon

jailbait 11-06-2003 03:55 PM

"I get the error message 'No module aic7xxx found for kernel 2.4.22'. I don't know what this means"

You have a file somewhere, probably the default /etc/sysconfig/kernel, which lists the modules that initrd is to load at boot time. aic7xxx is on that list. However aic7xxx was not compiled into the kernel and does not exist in /lib/modules/2.4.22


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

DropHit 12-13-2003 01:52 PM

OK and...
 
Yeah but how do you tell the makinitrd comand to include this file?/

Z

jailbait 12-13-2003 02:09 PM

"how do you tell the makinitrd comand to include this file?/"

You have already told mkinitrd to include module aic7xxx. The problem is that imknitrd cannot find the file. You need to compile module aic7xxx into /lib/modules/2.4.22.

I suggest a completely different approach. Distributions like to use initrd because they can compile a lot of modules as m and then load the ones that your configuration needs during boot using initrd. Since you know exactly what your hardware configuration is you can ignore initrd as an unnecessary complication. Instead make every module that you need to access your / partition y in the kernel compile. Also make framebuffers modules y. Then leave initrd out of the bootloader commands for your new kernel.

__________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites


All times are GMT -5. The time now is 11:57 AM.