Kernelpanic mount: could not find /dev/root

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

Kernelpanic mount: could not find /dev/root

Postby fosh » Mon Feb 07, 2011 10:22 pm

I have recompile kernel-2.6.32.28 with patch grsecurity-2.2.1-2.6.32.28-201101272313.patch. There is no error, only warning which I thought just fine. After compilation, I reboot that server with new kernel-grsec. But I get kernelpanic as screenshoot below:

http://i56.tinypic.com/xqfate.jpg

My server specs:

Dell PowerEdge R210
Dual Intel(R) Xeon(R) CPU X3450 @ 2.67GHz
4 GB RAM

lspci output:
00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11)
00:03.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 1 (rev 11)
00:08.0 System peripheral: Intel Corporation Core Processor System Management Registers (rev 11)
00:08.1 System peripheral: Intel Corporation Core Processor Semaphore and Scratchpad Registers (rev 11)
00:08.2 System peripheral: Intel Corporation Core Processor System Control and Status Registers (rev 11)
00:08.3 System peripheral: Intel Corporation Core Processor Miscellaneous Registers (rev 11)
00:10.0 System peripheral: Intel Corporation Core Processor QPI Link (rev 11)
00:10.1 System peripheral: Intel Corporation Core Processor QPI Routing and Protocol Registers (rev 11)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation 3400 Series Chipset LPC Interface Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 05)
01:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5716 Gigabit Ethernet (rev 20)
02:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5716 Gigabit Ethernet (rev 20)
03:03.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200eW WPCM450 (rev 0a)


/etc/modprob.conf:

alias scsi_hostadapter mpt2sas
alias eth0 bnx2
alias eth1 bnx2
alias scsi_hostadapter1 ahci

OS: CentOS 5.5 64bit

I need your advice/solution.

Thank you

F.O.S.H
fosh
 
Posts: 2
Joined: Mon Feb 07, 2011 10:52 am

Re: Kernelpanic mount: could not find /dev/root

Postby PaX Team » Tue Feb 08, 2011 7:16 am

fosh wrote:OS: CentOS 5.5 64bit

I need your advice/solution.
please see the wiki about how to report bugs, this is not enough information. for getting kernel logs you'll probably have to set up netconsole.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: Kernelpanic mount: could not find /dev/root

Postby spender » Tue Feb 08, 2011 9:04 am

These errors are generally due to improper kernel configuration or failing to set up the new initrd image properly. You should rule those out first by compiling a vanilla kernel of the same version with the same configuration, and try to boot it. Was the config you were using the same as one that previously worked with a grsec kernel?

-Brad
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm

Re: Kernelpanic mount: could not find /dev/root

Postby fosh » Wed Feb 09, 2011 12:33 am

Hello,

I tried to reinstall vanilla kernel 2.6.32.28 from kernel.org and yes, I get same error. Is it possible that kernel does not support my RAID hardware?
fosh
 
Posts: 2
Joined: Mon Feb 07, 2011 10:52 am


Return to grsecurity support