LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 01: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, 03:55 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"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, 01: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, 02:09 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"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 09:05 AM
how to make initrd.img for your kernel without boot disk? donaldtalbert Linux - Software 1 06-19-2005 10:30 PM
making kernel RPM. does not make initrd file mindcry Linux - Software 5 08-12-2004 10:20 PM
compiling kernel, initrd can't make image, 'loop devices busy' infamous41md Linux - Newbie 2 06-02-2004 11:59 AM
initrd how to make one? watashiwaotaku7 Linux - General 18 03-19-2004 11:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:06 PM.

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
Open Source Consulting | Domain Registration