Gentoo Archives: gentoo-server

From: gregorcy <gregorcy@××××××××.edu>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Can't mount root device (PERC 5/i)
Date: Mon, 26 Feb 2007 15:55:49
Message-Id: 45E30206.7070604@eng.utah.edu
In Reply to: [gentoo-server] Can't mount root device (PERC 5/i) by Patrik Jansson
1 I had the same issue with the PERC 5i card and gentoo. What happened
2 was the LiveCD saw the drive as /dev/sdb but when I installed and then
3 rebooted it came up as /dev/sda. I just pointed my grub.conf at the
4 /dev/sda and it booted correctly.
5
6 --Brian
7
8 Patrik Jansson wrote:
9 > Hi list,
10 >
11 > We're mostly running FreeBSD on our systems but now I'm supposed to
12 > install a dedicated MySQL server and some benchmarks has shown that
13 > MySQL runs a lot better in a Linux environment and I especially like
14 > Gentoo Linux (maybe because it's like FreeBSD in many ways).
15 >
16 > Anywho...
17 > The problem is that I can´t boot the system after a fresh install.
18 > I may boot the Live CD without problems and from there I can install the
19 > system. The drives (RAID-1) is shown as device /dev/sdb
20 >
21 > (sub question: this cannot be just one of the two drives in the RAID
22 > right? I guess the PERC won't allow direct access to just ONE drive)
23 >
24 > Installation goes just fine and in the kernel configuration I have
25 > enabled every LSI entry under Device Drivers. But when I boot the system
26 > it can't mount the root decice:
27 >
28 > >> Determining root device...
29 > !! Block device /dev/sdb3 is not a valid root device...
30 > !! The root block device is unspecified or not detected.
31 >
32 > I have compiled the drivers into the kernel (not as modules).
33 > I have even tried copying the Live CD kernel and just changed the LSI
34 > drivers to be compiled into the kernel as opposed to modules. Still no
35 > luck though.
36 >
37 > Here's a cut from the boot messages:
38 > megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 EST 2006)
39 > megaraid: 2.20.4.9 (Release Date: Sun Jul 16 12:27:22 EST 2006)
40 > megasas: 00.00.03.05 Mon Oct 02 11:21:32 PDT 2006
41 > megasas: 0x1028:0x0015:0x1028:0x1f03: bus 2:slot 14:func 0
42 > ACPI: PCI Interrupt 0000:02:0e.0[A] -> GSI 78 (level, low) -> IRQ 17
43 > megasas: FW now in Ready state
44 > scsi0 : LSI Logic SAS based MegaRAID driver
45 > scsi 0:0:0:0: Direct-Access FUJITSU MAX3147RC D206 PQ: 0 ANSI: 3
46 > scsi 0:0:1:0: Direct-Access FUJITSU MAX3147RC D206 PQ: 0 ANSI: 3
47 > scsi 0:0:8:0: Enclosure DP BACKPLANE 1.00 PQ: 0 ANSI: 5
48 > scsi 0:2:0:0: Direct-Access DELL PERC 5/i 1.00 PQ: 0 ANSI: 5
49 > SCSI device sda: 285474816 512-byte hdwr sectors (146163 MB)
50 > sda: test WP failed, assume Write Enabled
51 > sda: asking for cache data failed
52 > sda: assuming drive cache: write through
53 > SCSI device sda: 285474816 512-byte hdwr sectors (146163 MB)
54 > sda: test WP failed, assume Write Enabled
55 > sda: asking for cache data failed
56 > sda: assuming drive cache: write through
57 > sda: unknown partition table
58 > sd 0:2:0:0: Attached scsi disk sda
59 > scsi 0:0:8:0: Attached scsi generic sg0 type 13
60 > sd: 0:2:0:0:: Attached scsi generic sg1 type 0
61 >
62 > If I open the shell (when the kernel can't mount the root device) and
63 > look into /dev/ I see this:
64 > # ls /dev/sd*
65 > /dev/sda /dev/sdb
66 >
67 > I appreciate all help I can get
68 >
69 > Thanks,
70 > -Patrik
71
72 --
73 gentoo-server@g.o mailing list