1 |
Hi Patrik! |
2 |
|
3 |
> We're mostly running FreeBSD on our systems but now I'm supposed to |
4 |
> install a dedicated MySQL server and some benchmarks has shown that |
5 |
> MySQL runs a lot better in a Linux environment and I especially like |
6 |
> Gentoo Linux (maybe because it's like FreeBSD in many ways). |
7 |
> |
8 |
> Anywho... |
9 |
> The problem is that I can´t boot the system after a fresh install. |
10 |
> I may boot the Live CD without problems and from there I can install the |
11 |
> system. The drives (RAID-1) is shown as device /dev/sdb |
12 |
Hmm, are you sure that your RAID has been recognized correctly? In case |
13 |
you don't have another RAID-set or a standalone disk/CD Rom, your |
14 |
RAID-set should be accessible as /dev/sda. So what's behind /dev/sda in |
15 |
your case? |
16 |
|
17 |
> (sub question: this cannot be just one of the two drives in the RAID |
18 |
> right? I guess the PERC won't allow direct access to just ONE drive) |
19 |
Yes, a proper hardware RAID controller should give you access to the |
20 |
_RAID-set_ only (one device). |
21 |
|
22 |
> Installation goes just fine and in the kernel configuration I have |
23 |
> enabled every LSI entry under Device Drivers. But when I boot the system |
24 |
> it can't mount the root decice: |
25 |
> |
26 |
> >> Determining root device... |
27 |
> !! Block device /dev/sdb3 is not a valid root device... |
28 |
> !! The root block device is unspecified or not detected. |
29 |
According to your output below, there is no secondary SCSI device (sdb) |
30 |
present/recognized)... |
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 |
So, to summarize: Check that your RAID set has been recognized properly |
69 |
before installing with the live-CD. Investigate why you only have one |
70 |
SCSI device in contrast to two on the live CD (missing SCSI CD-ROM |
71 |
support?). |
72 |
|
73 |
Probably your RAID-set is up and running but on /dev/sda and not on /dev/sdb |
74 |
|
75 |
|
76 |
hope this helps |
77 |
Chris |
78 |
-- |
79 |
gentoo-server@g.o mailing list |