1 |
A few weeks ago I had a hardware problem, and the upshot is that I now have |
2 |
a new motherboard, a SuperMicro H8DCE. I now can't boot my Gentoo system. |
3 |
|
4 |
This box has two IDE drives on the primary IDE channel (and two optical |
5 |
drives on the secondary), and I have two small ext2 partitions on /dev/hda1 |
6 |
to boot Linux. Windows lives in hda3, and I'm using it now to write Webmail. |
7 |
Grub lives in /dev/hda1, pointed to by BootMagic in the MBR. Hdb is mostly |
8 |
to keep backups of other things, being 200 GB. |
9 |
|
10 |
Gentoo lives on two SATA drives, which the BIOS shows me as ide3 master and |
11 |
ide4 master. I have a small boot partition on each of them, rarely used, |
12 |
then the rest is given over to several RAID-1 partitions. E.g. the root |
13 |
partition is on /dev/md2, which is assembled from /dev/sd[ab]5. |
14 |
|
15 |
When I first got the box back I tried booting with no changes. Blank screen |
16 |
and no keyboard as soon as I hit the default choice in the grub screen. That |
17 |
was ok as several hardware changes have occurred. So I compiled a new kernel |
18 |
to use the new graphics card (PCI Express instead of AGP) and motherboard |
19 |
chipset (nForce Pro 2200/2050 instead of VIA) and network card (forcedeth |
20 |
instead of tg3). Still the same, so I backed up all the data, deleted the md |
21 |
and sd partitions and recreated them all afresh, then restored all the |
22 |
backed-up data. |
23 |
|
24 |
Now I get a can't-find-root error. I've experimented with lots of kernel |
25 |
parameters, both when compiling and on the command line, but I can't get the |
26 |
system to boot. Here's a selection of diagnostics, which I hope I've |
27 |
transcribed aright: |
28 |
|
29 |
-- |
30 |
ACPI: PCI Interrupt Link [LTID] enabled at IRQ22 |
31 |
ata1: SATA max UDMA/133 cmd 0xC800 ctl 0xC402 bmdma 0xB800 irq22 |
32 |
ata1: SATA max UDMA/133 cmd 0xC800 ctl 0xBC02 bmdma 0xB800 irq22 |
33 |
[that's the ordinary IDE subsystem] |
34 |
... |
35 |
scsi2: sata_nv |
36 |
[so the nForce SATA functionality is compiled in ok] |
37 |
ata1: SATA link up 1.5Gbps (SStatus 113 SControl 300) |
38 |
ata1.00: ATA-7, max UDMA/133, 398297088 sectors: LBA48 NCQ (depth 0/32) |
39 |
ata1.00: ata1: dev 0 multi count 16 |
40 |
ata1.00: configured for UDMA/133 |
41 |
scsi3: sata_nv |
42 |
ata2: SATA link up 1.5Gbps (SStatus 113 SControl 300) |
43 |
ata2.00: ATA-7, max UDMA/133, 398297088 sectors: LBA48 NCQ (depth 0/32) |
44 |
ata2.00: ata2: dev 0 multi count 16 |
45 |
ata2.00: configured for UDMA/133 |
46 |
scsi 2:0:0:0 Direct-Access ATA Maxtor 6L200M0 BANC PQ: ANSI: 5 |
47 |
scsi 3:0:0:0 Direct-Access ATA Maxtor 6L200M0 BANC PQ: ANSI: 5 |
48 |
[that's the two SATA drives] |
49 |
ACPI: PCI Interrupt Link [LTIE] enabled at IRQ 21 |
50 |
ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LTIE] -> GSI 21 (level, low) -> |
51 |
IRQ21 |
52 |
... |
53 |
(ata3 to ata8 links down) |
54 |
... |
55 |
md: linear personality registered for level -1 |
56 |
md: raid0 personality registered for level 0 |
57 |
md: raid1 personality registered for level 1 |
58 |
[so I've got mdraid compiled in] |
59 |
... |
60 |
Activating mdev |
61 |
Detected real_root as a md device. Setting up the device node |
62 |
Determining root device... |
63 |
Mounting root... |
64 |
... |
65 |
The root block device is unspecified or not detected. |
66 |
-- |
67 |
[end of transcript] |
68 |
Then I'm invited to specify another device, or enter a shell. I use the |
69 |
shell to say "ls -l /dev/md2", which shows the block device I expect to see, |
70 |
but "cat /dev/md2" returns an empty result. If I do that from the |
71 |
installation CD I get a dump of the contents of the md disk, so it seems |
72 |
that the node exists but it isn't connected to the array /dev/md2. |
73 |
|
74 |
All I can think of is that I've made an error in creating the RAID-1 arrays, |
75 |
but can anyone point me to what that might be? |
76 |
|
77 |
-- |
78 |
Rgds |
79 |
Peter. |
80 |
|
81 |
|
82 |
________________________________________________ |
83 |
Message sent using UebiMiau 2.7.2 |
84 |
|
85 |
-- |
86 |
gentoo-amd64@g.o mailing list |