Gentoo Archives: gentoo-server

From: Patrik Jansson <fbsd@×××××××.se>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Can't mount root device (PERC 5/i)
Date: Mon, 26 Feb 2007 16:33:15
Message-Id: 45E30AA9.8070506@aleborg.se
In Reply to: Re: [gentoo-server] Can't mount root device (PERC 5/i) by Steve Dommett
1 Christian Affolter wrote:
2 > Can you provide the SCSI/RAID related dmesg output from the live-CD?
3 > Do you have a SCSI-CD Rom or an IDE/(S)ATA one?
4 Ofcourse:
5
6 megasas: 00.00.02.04 Fri Feb 03 14:31:44 PST 2006
7 megasas: 0x1028:0x0015:0x1028:0x1f03: bus 2:slot 14:func 0
8 ACPI: PCI Interrupt 0000:02:0e.0[A] -> GSI 78 (level, low) -> IRQ 19
9 scsi2 : LSI Logic SAS based MegaRAID driver
10 Vendor: FUJITSU Model: MAX3147RC Rev: D206
11 Type: Direct-Access ANSI SCSI revision: 03
12 Vendor: FUJITSU Model: MAX3147RC Rev: D206
13 Type: Direct-Access ANSI SCSI revision: 03
14 Vendor: DP Model: BACKPLANE Rev: 1.00
15 Type: Enclosure ANSI SCSI revision: 05
16 Vendor: DELL Model: PERC 5/i Rev: 1.00
17 Type: Direct-Access ANSI SCSI revision: 05
18 SCSI device sdb: 285474816 512-byte hdwr sectors (146163 MB)
19 sdb: test WP failed, assume Write Enabled
20 sdb: asking for cache data failed
21 sdb: assuming drive cache: write through
22 SCSI device sdb: 285474816 512-byte hdwr sectors (146163 MB)
23 sdb: test WP failed, assume Write Enabled
24 sdb: asking for cache data failed
25 sdb: assuming drive cache: write through
26 sdb: sdb1 sdb2 sdb3
27 sd 2:2:0:0: Attached scsi disk sdb
28
29 > Have you ever tried to use /dev/sda in your grub config and fstab (as
30 > your kernel recognizes an sda SCSI disk) ?
31
32 gregorcy wrote:
33 > I had the same issue with the PERC 5i card and gentoo. What happened
34 > was the LiveCD saw the drive as /dev/sdb but when I installed and then
35 > rebooted it came up as /dev/sda. I just pointed my grub.conf at the
36 > /dev/sda and it booted correctly.
37
38 That has already been tried but thanks anyway. As I said in the first
39 mail, at the point where the root device can't be mounted I may open a
40 simple shell. And with that I can see /dev/sda and /dev/sdb but no
41 numbers after (for partitions).
42
43
44
45 Steve Dommett wrote:
46 > The kernel is telling you the size of the disk it sees. Can you not
47 > deduce the answer to your question from this info?
48 >
49 >> SCSI device sda: 285474816 512-byte hdwr sectors (146163 MB)
50 >>
51 > Is that the correct total size of the logical drive, or of one of the
52 > physical drives?
53 Actually this is not the exact size that the PERC RAID UI says. They do
54 differ. In the PERC BIOS the logical drive is 139392 MB.
55
56 >>> Also, I doubt if this is necessary with a hardware RAID controller,
57 >>> but perhaps emerge'ing device-mapper is necessary. Perhaps also
58 >>> mdadm too, but I'm even more doubtful about that one.
59 >> I can't see how this could make any difference when I can't even mount
60 >> the root device? Anyway, I'm desperate and will try this as soon as I
61 >> can.
62 >>
63 > Yes, that was just a stab in the dark. More caffeine has now proven to
64 > me how foolish that must have sounded.
65 :)
66
67 > But, unabashed, I shall offer another stab in the dark: is it
68 > possible this new server is using an EFI partition table, rather than
69 > MS-DOS compatible? Try to ensure CONFIG_EFI _PARTITION is set in your
70 > kernel.
71
72 Where in the kernconf GUI is that? Or where is the kernel configuration
73 on the filesystem?
74
75 Thanks,
76
77 --
78 gentoo-server@g.o mailing list

Replies

Subject Author
Re: [gentoo-server] Can't mount root device (PERC 5/i) Steve Dommett <steve@×××××.net>
Re: [gentoo-server] Can't mount root device (PERC 5/i) Ramon van Alteren <ramon@××××××××××.nl>