LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-11-2008, 04:40 AM   #1
rahulthewall3000
Member
 
Registered: Jan 2008
Location: Bremen
Distribution: Gentoo
Posts: 33

Rep: Reputation: 15
Kernel not loading - Kernel Panic in Grub - 2.6.23-gentoo-r6


Have already posted this on gentoo forums. My apologies to those who are reading both the forums.

Trying to compile gentoo-2.6.23-r6 and get this nice error:

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Also something about /dev/sda5 not being found.

The relevant part of my grub.conf is this:

title=Gentoo Linux Kernel 2.6
root (hd0,4)
kernel /boot/gentoo-sources root=/dev/sda5

I know the problem is related with SCSI drivers that have to be there in the kernel. The SCSI drivers that I have built in are in accordance with this post:
http://www.linuxquestions.org/questi...roblem-593161/
and are thus:

Code:
Device Drivers --->
  < > ATA/ATAPI/MFM/RLL support --->
  SCSI device support --->
     <*> SCSI disk support
     <*> SCSI generic support
  <*> Serial ATA (prod) and Parallel ATA (experimental) drivers --->
     <*> AHCI SATA support
     <*> VIA SATA support
     <*> Generic ATA support
     <*> Intel PATA MPIIX support
     <*> Intel PATA old PIIX support
     <*> SiS PATA support (Experimental)
     <*> VIA PATA support

As for the SCSI low level disk support I have tried booting with it and also without it, and nothing seems to work. However, I have no idea what options to select in SCSI low level support.
The laptop that I possess is a Dell Latitude D520 and the hard drive is a HITACHI HTS541060G9SA00 . (That is what windows device manager tells me. :P)

Addition, the same device manager also shows that I have an IDE/ATAPI controller by the name of Intel(R) 82801GBM/GHM (ICH7-M Family) Serial ATA Storage Controller - 27C4. Do I have to enable ATA support for this. As far as I know the upper configuration that I have posted seems to work, or at least it did so, on my earlier gentoo installation. What gave me the urge to reinstall gentoo - I have no idea about. However, that apart if someone could please tell me what do I need to build in the kernel, then I would be most grateful.

Rahul
 
Old 02-11-2008, 05:40 AM   #2
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 997
Blog Entries: 15

Rep: Reputation: 136Reputation: 136
Hi,

May I suggest that you use genkernel, at least to get gentoo up and running and then compile your own kernel (with the genkernel one to fall back to, of course).

Now I would need some info : is your drive SCSI, SATA or IDE? The name of the controlers would help. The best would actually be to post your lspci output here....

Serafean
 
Old 02-11-2008, 02:33 PM   #3
rahulthewall3000
Member
 
Registered: Jan 2008
Location: Bremen
Distribution: Gentoo
Posts: 33

Original Poster
Rep: Reputation: 15
http://forums.gentoo.org/viewtopic-p...1.html#4570091, found the solution here. Sorry for the little info that I provided!
 
  


Reply



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 Panic in Gentoo palmem Linux - General 1 11-06-2004 01:16 PM
Grub w/ Gentoo 2.6.3 - Kernel Panic - typo? smehi Linux - General 1 03-29-2004 01:24 AM
Grub w/ Gentoo 2.6.3 - Kernel Panic smehi Linux - Newbie 3 03-21-2004 11:39 PM
kernel panic on loading uhci taoweijia Linux - Wireless Networking 0 02-18-2004 12:08 AM
Kernel panic in loading Mandrake 9.1 lordevereste Linux - Newbie 5 05-15-2003 02:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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