LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 11-06-2003, 02:25 AM   #1
jon1591
Member
 
Registered: Nov 2003
Location: NE England
Distribution: Slackware 9.1
Posts: 52

Rep: Reputation: 15
Exclamation 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
 
Old 11-06-2003, 04:55 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,592

Rep: Reputation: 188Reputation: 188
"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
 
Old 12-13-2003, 02:52 PM   #3
DropHit
Member
 
Registered: Oct 2003
Posts: 95

Rep: Reputation: 15
OK and...

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

Z
 
Old 12-13-2003, 03:09 PM   #4
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,592

Rep: Reputation: 188Reputation: 188
"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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I make initrd.img? zahadumy Slackware 2 11-13-2005 10:05 AM
how to make initrd.img for your kernel without boot disk? donaldtalbert Linux - Software 1 06-19-2005 11:30 PM
making kernel RPM. does not make initrd file mindcry Linux - Software 5 08-12-2004 11:20 PM
compiling kernel, initrd can't make image, 'loop devices busy' infamous41md Linux - Newbie 2 06-02-2004 12:59 PM
initrd how to make one? watashiwaotaku7 Linux - General 18 03-20-2004 12:53 AM


All times are GMT -5. The time now is 12:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration