View previous topic :: View next topic |
Author |
Message |
NiceGuy Guru
Joined: 12 Jun 2006 Posts: 451 Location: Canada
|
Posted: Tue Jun 24, 2008 6:48 pm Post subject: Kernel Panic: Help Installing Gentoo |
|
|
Hello,
I have been attempting to install Gentoo on a HP Proliant DL320 G5p rack mounted server for the last day or so .. but am consistently unable to boot into the system after I have complete the install.
The following complaint is produced upon bootup:
Code: | VFS: Cannot open root device "sda3" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel Panic - not syncing: VFS Unable to mount root fs on unknown-block(0,0) |
Here is the output of my lspci:
Code: | 00:00.0 Host bridge: Intel Corporation 3200/3210 Chipset DRAM Controller (rev 01)
00:01.0 PCI bridge: Intel Corporation 3200/3210 Chipset Host-Primary PCI Express Bridge (rev 01)
00:06.0 PCI bridge: Intel Corporation 3210 Chipset Host-Secondary PCI Express Bridge (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IR (ICH9R) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02)
01:02.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02)
01:04.0 System peripheral: Compaq Computer Corporation Integrated Lights Out Controller (rev 03)
01:04.2 System peripheral: Compaq Computer Corporation Integrated Lights Out Processor (rev 03)
01:04.4 USB Controller: Hewlett-Packard Company Proliant iLO2 virtual USB controller
01:04.6 IPMI SMIC interface: Hewlett-Packard Company Proliant iLO2 virtual UART
02:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev b5)
03:04.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5715 Gigabit Ethernet (rev a3)
03:04.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5715 Gigabit Ethernet (rev a3)
0a:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
0a:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
|
The catch here is I am attempting to install a older version of Gentoo running 2.6.16 kernel (which is a must for my testing purposes).
Thanks for your time _________________ success is the ability to go from one failure to the next without any loss of enthusiasm |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Tue Jun 24, 2008 7:10 pm Post subject: |
|
|
NiceGuy,
The kernel cannot talk to the hard drives
Code: | 00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02) |
You need this set up but kernel 2.6.16 predates that hardware by about a year. Some of the options I've cited will be missing or on other menus. (e.g. the SATA support will be under SCSI low level devices)
The ICH7 chipset which was the precursor to your ICH9 was always a challenge until recently. This is how to make the ICH7 work about a year ago, it may help you now.
You should not use kernel 2.6.16 for anything - it suffers the well known vmsplace root exploit, although there is a patch. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
NiceGuy Guru
Joined: 12 Jun 2006 Posts: 451 Location: Canada
|
Posted: Tue Jun 24, 2008 7:26 pm Post subject: |
|
|
Hi NeddySeagoon,
I was hoping you would reply ... you've helped me out a many a time before. I have built a previous system according to your specks on this very same rack mounted server and everything went well .. but then .. I was using the 2.6.24-r8 kernel and was much more suited to your documentation.
I will keep you posted about the 2.6.16 build.
As far as the vmsplce issue is concerned .. I thought that was not a problem until (starting at) the 2.6.17 kernel version?
Thanks again _________________ success is the ability to go from one failure to the next without any loss of enthusiasm |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Tue Jun 24, 2008 8:17 pm Post subject: |
|
|
NiceGuy,
I posted the kernel version from memory. You need to check anyway. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
NiceGuy Guru
Joined: 12 Jun 2006 Posts: 451 Location: Canada
|
Posted: Tue Jun 24, 2008 9:08 pm Post subject: |
|
|
Hello again,
After applying the kernel configurations mentioned in the following two posts:
https://forums.gentoo.org/viewtopic-p-4570091.html#4570091
and
https://forums.gentoo.org/viewtopic-p-4019036.html#4019036
It would appear as thought my system will still not boot, still complaining about:
Code: | VFS: Cannot open root device "sda3" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel Panic - not syncing: VFS Unable to mount root fs on unknown-block(0,0) |
I was wondering if it was possible that perhaps the ICH9R Chipset in my HP server is just simply too new for the older 2.6.16 kernel? Does that make any sense?
Otherwise any other suggestions ...
Thanks again _________________ success is the ability to go from one failure to the next without any loss of enthusiasm |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Tue Jun 24, 2008 9:26 pm Post subject: |
|
|
NiceGuy,
That makes perfect sense. The ICH7 was new when 2.6.16 was current.
To get a basic 2.6.16 kernel to boot your ICH9 chipset you are relying on it being backwards compatible with the ICH7.
It may not be.
Does your bios offer an IDE compatibility mode for the hard drives ?
If so, try that with the IDE kernel branch, however its usually very slow as DMA modes may not work. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
shazam75 Guru
Joined: 18 Mar 2006 Posts: 563 Location: Brisbane, Australia
|
Posted: Tue Jun 24, 2008 10:22 pm Post subject: |
|
|
NiceGuy,
What i did to overcome this impass is to run - this will build a huge kernel but it will get you into gentoo - from there you can then go into the kernel at a later time and remove unnessary features that you do not need in the kernel - I also could not solve this issue until running genkernel - i am using 2008.beta from the DVD ISO.
Cheers
Shelton. _________________ answer an unanswered post:
https://forums.gentoo.org/search.php?search_id=unanswered |
|
Back to top |
|
|
rexzhen n00b
Joined: 19 Jun 2008 Posts: 23
|
Posted: Thu Jun 26, 2008 5:30 pm Post subject: |
|
|
I have the exactly same problem after I use "genkernel all", My machine is Dell PE R300. Is this possible that the gentoo does not support the new hardware? |
|
Back to top |
|
|
shazam75 Guru
Joined: 18 Mar 2006 Posts: 563 Location: Brisbane, Australia
|
Posted: Thu Jun 26, 2008 10:04 pm Post subject: |
|
|
go into menuconfig and look at the section where it says something like Device Drivers--> ATA...SATA RLL Experimental...something like this.
Now, make sure the "USE GENERIC IDE...(something)" is built into the kernel - I seem to think you need this built in.
edit: this is what i am referring to:
Device Drivers --> ATA/ATAPI/MFM/RLL support
<*> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
<*> Include IDE/ATA-2 DISK support
[*] Use multi-mode by default
<M> Include IDE/ATAPI CDROM support
<M> Include IDE/ATAPI FLOPPY support
<*> generic/default IDE chipset support
[*] PCI IDE chipset support
[*] Sharing PCI IDE interrupts support
[*] Generic PCI IDE Chipset support
Cheers
Shelton. _________________ answer an unanswered post:
https://forums.gentoo.org/search.php?search_id=unanswered |
|
Back to top |
|
|
rexzhen n00b
Joined: 19 Jun 2008 Posts: 23
|
Posted: Thu Jun 26, 2008 10:43 pm Post subject: |
|
|
That is the point. In my make menuconfig
--- generic/default IDE chipset support
no way to check as there is no [ ] prefix it. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Thu Jun 26, 2008 10:47 pm Post subject: |
|
|
Using generic drivers is a bad choice, because even if it works, it will make your hardware run slowly. |
|
Back to top |
|
|
rexzhen n00b
Joined: 19 Jun 2008 Posts: 23
|
Posted: Thu Jun 26, 2008 10:51 pm Post subject: |
|
|
But I can not boot up as the system can not find the / which is /dev/sda3.
Maybe the gentoo kernel do not have drivers for the new hardware from Dell at all? Shall I give up and return the dell machine or there is some solution? |
|
Back to top |
|
|
rexzhen n00b
Joined: 19 Jun 2008 Posts: 23
|
Posted: Fri Jun 27, 2008 12:02 am Post subject: |
|
|
why I do not have proper generic/default IDE chipset support in my menuconfig table.
I can not check “generic/default IDE chipset support " |
|
Back to top |
|
|
shazam75 Guru
Joined: 18 Mar 2006 Posts: 563 Location: Brisbane, Australia
|
|
Back to top |
|
|
shazam75 Guru
Joined: 18 Mar 2006 Posts: 563 Location: Brisbane, Australia
|
Posted: Fri Jun 27, 2008 1:12 am Post subject: |
|
|
Rex
SATA disks use a kernel library called libata that handles most of the SATA-specific functionality. That library uses the SCSI layer to talk to the block layer, so many different kernel options need to be enabled in order for SATA disks to work properly. Enable PCI support for the kernel:
Bus options (PCI, PCMCIA, EISA, MCA, ISA)
[*] PCI Support
Enable the SCSI subsystem:
Device Drivers
SCSI Device Support
[*] SCSI Device Support
Also in the SCSI system, the "SCSI disk support" option must be enabled in order for the device to be mounted properly:
Device Drivers
SCSI Device Support
[*] SCSI disk support
The SATA options are under the "SCSI low-level drivers" section:
Device Drivers
SCSI Device Support
SCSI low-level drivers
[*] Serial ATA (SATA) support
In that section, enable the specific SATA controller type that you have. Look at the output of the previously mentioned lspci command for a list of the types of SATA controllers that are present on your system. For example, most motherboards from Intel require the PIIX/ICH SATA driver (as the previous example showed.)
Device Drivers
SCSI Device Support
SCSI low-level drivers
[*] Serial ATA (SATA) support
[*] Intel PIIX/ICH SATA support
source:
http://www.linuxtopia.org/online_books/linux_kernel/kernel_configuration/ch09.html#lkn_sata _________________ answer an unanswered post:
https://forums.gentoo.org/search.php?search_id=unanswered |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Fri Jun 27, 2008 2:14 pm Post subject: |
|
|
shazam75,
Thats an old kernel, with the menu layout you describe. From about 2.6.17 it been
Code: | │ │ [ ] Misc devices ---> │ │
│ │ < > ATA/ATAPI/MFM/RLL support ---> │ │
│ │ SCSI device support ---> │ │
│ │ <*> Serial ATA (prod) and Parallel ATA (experimental) drivers --│ │
│ │ [*] Multiple devices driver support (RAID and LVM) ---> │ │
│ │ [ ] Fusion MPT device support ---> |
Nobody needs ATA/ATAPI/MFM/RLL support at all, as the PATA drivers have been ported to libata.
The generic IDE driver is a last ditch get you going option as it will not provide any DMA support at all, which makes disk I/O use PIO modes, which are all painfully slow. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Last edited by NeddySeagoon on Sat Jun 28, 2008 11:48 am; edited 1 time in total |
|
Back to top |
|
|
shazam75 Guru
Joined: 18 Mar 2006 Posts: 563 Location: Brisbane, Australia
|
|
Back to top |
|
|
shazam75 Guru
Joined: 18 Mar 2006 Posts: 563 Location: Brisbane, Australia
|
Posted: Sat Jun 28, 2008 10:38 pm Post subject: |
|
|
another thing i realised is that you will need to have all the options on for the part where it says Network File System - I am not sure which particular feature it is looking for, but once I just turned all the features on in that node the system booted OK - _________________ answer an unanswered post:
https://forums.gentoo.org/search.php?search_id=unanswered |
|
Back to top |
|
|
|