LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-02-2011, 02:14 AM   #1
GNakul
Member
 
Registered: Oct 2011
Location: Bangalore,India
Posts: 59

Rep: Reputation: Disabled
custom kernel


Hi,
I am building a custom kernel 2.6.18 on my centOS machine residing on VmWare. I did the following
make clean && make mrproper
make menuconfig
make
make modules_install
After this if i do mkinitrd /boot/initrd-2.6.18 2.6.18-default it is giving out the message
"no modules ata_piix found kernel 2.6.18 aborting."
and stop.
If i neglect it and boot into my new kernel its a PANIC.
Please help.

Thanks
-Nakul
 
Old 12-02-2011, 06:55 AM   #2
zordrak
Member
 
Registered: Feb 2008
Distribution: Slackware
Posts: 595

Rep: Reputation: 116Reputation: 116
It would seem that your kernel config does not include ata_piix built-in or compiled as a module.

Go back to the 'make menuconfig' step and look for the entry for ata_piix using the search function (/).

You will probably find the option is blank ([ ]).

Configure it as built-in with the "y" key so it looks like this:[*] if you want it to be built into the kernel and not require loading via initrd.

If you wish to load it via initrd then use the "m" key to compile it as a module during build ([m]).

After compilation you should then try again to make the initrd; or if built-in you should just be able to boot without panic (assuming your root filesystem driver is either built-in or a module in the initrd).
 
Old 12-05-2011, 12:40 AM   #3
GNakul
Member
 
Registered: Oct 2011
Location: Bangalore,India
Posts: 59

Original Poster
Rep: Reputation: Disabled
ok i will try this. Thank you..

Last edited by GNakul; 12-05-2011 at 01:11 AM.
 
Old 12-05-2011, 12:51 AM   #4
GNakul
Member
 
Registered: Oct 2011
Location: Bangalore,India
Posts: 59

Original Poster
Rep: Reputation: Disabled
Done, Thank You..

Last edited by GNakul; 12-05-2011 at 01:54 AM.
 
  


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
Unable to build kernel RPM with 'custom name'. (need not kernel but kernel-something) RattleSn@ke Linux - Kernel 1 01-12-2011 06:30 PM
kernel panic - custom kernel won't mount file system j-osh Fedora 8 11-19-2008 01:13 AM
Creating custom headers to match a custom kernel utanja Debian 2 06-08-2007 03:15 PM
Custom kernel image on custom slack build using CUSS nykey Slackware 2 07-15-2006 03:05 AM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM

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

All times are GMT -5. The time now is 12:24 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