I had the same issue with the PERC 5i card and gentoo. What happened was the LiveCD saw the drive as /dev/sdb but when I installed and then rebooted it came up as /dev/sda. I just pointed my grub.conf at the /dev/sda and it booted correctly.

--Brian

Patrik Jansson wrote:
Hi list,

We're mostly running FreeBSD on our systems but now I'm supposed to install a dedicated MySQL server and some benchmarks has shown that MySQL runs a lot better in a Linux environment and I especially like Gentoo Linux (maybe because it's like FreeBSD in many ways).

Anywho...
The problem is that I can“t boot the system after a fresh install.
I may boot the Live CD without problems and from there I can install the system. The drives (RAID-1) is shown as device /dev/sdb

(sub question: this cannot be just one of the two drives in the RAID right? I guess the PERC won't allow direct access to just ONE drive)

Installation goes just fine and in the kernel configuration I have enabled every LSI entry under Device Drivers. But when I boot the system it can't mount the root decice:

 >> Determining root device...
!! Block device /dev/sdb3 is not a valid root device...
!! The root block device is unspecified or not detected.

I have compiled the drivers into the kernel (not as modules).
I have even tried copying the Live CD kernel and just changed the LSI drivers to be compiled into the kernel as opposed to modules. Still no luck though.

Here's a cut from the boot messages:
megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 EST 2006)
megaraid: 2.20.4.9 (Release Date: Sun Jul 16 12:27:22 EST 2006)
megasas: 00.00.03.05 Mon Oct 02 11:21:32 PDT 2006
megasas: 0x1028:0x0015:0x1028:0x1f03: bus 2:slot 14:func 0
ACPI: PCI Interrupt 0000:02:0e.0[A] -> GSI 78 (level, low) -> IRQ 17
megasas: FW now in Ready state
scsi0 : LSI Logic SAS based MegaRAID driver
scsi 0:0:0:0: Direct-Access    FUJITSU  MAX3147RC  D206 PQ: 0 ANSI: 3
scsi 0:0:1:0: Direct-Access    FUJITSU  MAX3147RC  D206 PQ: 0 ANSI: 3
scsi 0:0:8:0: Enclosure        DP     BACKPLANE  1.00 PQ: 0 ANSI: 5
scsi 0:2:0:0: Direct-Access    DELL     PERC 5/i   1.00 PQ: 0 ANSI: 5
SCSI device sda: 285474816 512-byte hdwr sectors (146163 MB)
sda: test WP failed, assume Write Enabled
sda: asking for cache data failed
sda: assuming drive cache: write through
SCSI device sda: 285474816 512-byte hdwr sectors (146163 MB)
sda: test WP failed, assume Write Enabled
sda: asking for cache data failed
sda: assuming drive cache: write through
 sda: unknown partition table
sd 0:2:0:0: Attached scsi disk sda
scsi 0:0:8:0: Attached scsi generic sg0 type 13
sd: 0:2:0:0:: Attached scsi generic sg1 type 0

If I open the shell (when the kernel can't mount the root device) and look into /dev/ I see this:
# ls /dev/sd*
/dev/sda /dev/sdb

I appreciate all help I can get

Thanks,
-Patrik

--
[email protected] mailing list

Reply via email to