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
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:
and are thus:
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.