LinuxQuestions.org
Review your favorite Linux distribution.
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 07-06-2006, 03:04 AM   #1
skie_knite007
Member
 
Registered: Dec 2004
Location: India
Distribution: Fedora Core 4
Posts: 145

Rep: Reputation: 15
Thumbs down 2.6.17 kernel not booting after compilation


Hello folks,

I'm running FC5 on kernel 2.6.16.20. I downloaded this kernel from kernel.org,,and was able to compile it and its running quite well.

Now, I downloaded the 2.6.17 source and when I compiled,, the
" make modules" and "make modules_install" is not even taking much time which previously had taken some minutes to finish. After installing the kernel ,when I tried to boot,its showing " kernel panic"

What could be wrong???????

I'm using gcc 4.0, the one that I got with FC5.


Please help me out!!!!!!!!!!!


Thanks in advance
 
Old 07-06-2006, 03:16 AM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 68
Well, could you retype some more info. Did you make menuconfig at all? I guess defconfig now doesn't include some drivers needed for your syste, so you need to tell your kernel to include them.
 
Old 07-06-2006, 03:29 AM   #3
skie_knite007
Member
 
Registered: Dec 2004
Location: India
Distribution: Fedora Core 4
Posts: 145

Original Poster
Rep: Reputation: 15
Yes I first did the make xconfig. I ve selected all those which I had selected for the previous kernel.
" make bzImage" works fine and took some 5 mins to complete


after that ,,, make modules and make modules_install completed in just 1 or 2 minutes. But it never had happened so fast. So somthing is wrong in that,, I think
 
Old 07-06-2006, 04:29 AM   #4
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 68
Well, I prefer nearly-monolithic kernels. By the way, are all the drivers needed to mount / compiled in kernel, not as modules? (whatever Red Hat thinks, it reduces problems) What exactly panic do you get?
 
Old 07-06-2006, 07:27 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
not related to programming. moved to Linux - Newbie
 
Old 07-06-2006, 03:31 PM   #6
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 951
Blog Entries: 14

Rep: Reputation: 135Reputation: 135
yes, be more specific about the error you get, if it's before the mounting of the root filesystem, then you don't have the modules for your IDE/SATA compiled. That's all I can do for now. maybe if you post more info, but I still haven't managed to compile one with the "libata" module existing (for SATA harddisks only).
 
Old 07-06-2006, 11:16 PM   #7
skie_knite007
Member
 
Registered: Dec 2004
Location: India
Distribution: Fedora Core 4
Posts: 145

Original Poster
Rep: Reputation: 15
yes ,,its related to mounting root fs. But my HDD is not SATA.
 
Old 07-07-2006, 12:16 AM   #8
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 68
Let me guess, ext3 or ext2 is in modules. Link them in. Or - maybe - even IDE driver managed to be module. Both happens, both should be tuned.
 
Old 07-07-2006, 01:53 PM   #9
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 951
Blog Entries: 14

Rep: Reputation: 135Reputation: 135
I don't know if it can help you, but have you made an initrd image? A friend had a kernel that wouldn't work until he made an initrd image... Just thought it could help.
 
  


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
kernel compilation-From where it should be started for already compiled kernel b0nd Linux - Newbie 11 08-17-2005 01:08 PM
kernel compilation : to remove a kernel which files should be deleted b0nd Linux - Newbie 2 08-17-2005 11:35 AM
Kernel compilation problems, distorted video and kernel panic shamrock_uk Linux - Laptop and Netbook 5 08-12-2005 10:53 PM
does kernel-source installs with the compilation cum installtion of a new kernel? luqman Linux - General 18 03-04-2005 07:33 AM
booting new kernel. Booting new kernel dies with INIT: VFS issue, really mus335 Linux - General 0 04-21-2004 11:52 AM


All times are GMT -5. The time now is 06:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration