LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Kernel not loading - Kernel Panic in Grub - 2.6.23-gentoo-r6 (https://www.linuxquestions.org/questions/linux-kernel-70/kernel-not-loading-kernel-panic-in-grub-2-6-23-gentoo-r6-620258/)

rahulthewall3000 02-11-2008 04:40 AM

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

serafean 02-11-2008 05:40 AM

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

rahulthewall3000 02-11-2008 02:33 PM

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


All times are GMT -5. The time now is 11:15 AM.