[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#336164: Failed to successfully create a raid device



Package: installation-reports

Debian-installer-version: 2005-10-20 http://cdimage.debian.org/debian-cd/3.1_r0a/i386/iso-cd/debian-31r0a-i386-netinst.iso
uname -a: I'm installing a new system
Date: 2005-10-20
Method: From the downloaded CD, kernel: linux26

Machine: Intel-based PC motherboard ASUS P4P800
Processor: Intel Pentium 4
Memory: 512MB
Root Device: n/a
Root Size/partition table: n/a
Output of lspci and lspci -n:
0000:00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02) 0000:00:01.0 PCI bridge: Intel Corp. 82865G/PE/P PCI to AGP Controller (rev 02) 0000:00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 (rev 02) 0000:00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 (rev 02) 0000:00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02) 0000:00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4 (rev 02) 0000:00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev c2)
0000:00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge (rev 02) 0000:00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (rev 02) 0000:00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02) 0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02) 0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AP [Radeon 9600] 0000:01:00.1 Display controller: ATI Technologies Inc RV350 AP [Radeon 9600] (Secondary) 0000:02:05.0 Ethernet controller: Marvell Technology Group Ltd. Yukon Gigabit Ethernet 10/100/1000Base-T Adapter (rev 13) 0000:02:09.0 RAID bus controller: Triones Technologies, Inc. HPT374 (rev 07) 0000:02:09.1 RAID bus controller: Triones Technologies, Inc. HPT374 (rev 07) 0000:02:0b.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78) 0000:02:0c.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 0a) 0000:02:0c.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 0a)

0000:00:00.0 0600: 8086:2570 (rev 02)
0000:00:01.0 0604: 8086:2571 (rev 02)
0000:00:1d.0 0c03: 8086:24d2 (rev 02)
0000:00:1d.1 0c03: 8086:24d4 (rev 02)
0000:00:1d.2 0c03: 8086:24d7 (rev 02)
0000:00:1d.3 0c03: 8086:24de (rev 02)
0000:00:1d.7 0c03: 8086:24dd (rev 02)
0000:00:1e.0 0604: 8086:244e (rev c2)
0000:00:1f.0 0601: 8086:24d0 (rev 02)
0000:00:1f.1 0101: 8086:24db (rev 02)
0000:00:1f.3 0c05: 8086:24d3 (rev 02)
0000:00:1f.5 0401: 8086:24d5 (rev 02)
0000:01:00.0 0300: 1002:4150
0000:01:00.1 0380: 1002:4170
0000:02:05.0 0200: 11ab:4320 (rev 13)
0000:02:09.0 0104: 1103:0008 (rev 07)
0000:02:09.1 0104: 1103:0008 (rev 07)
0000:02:0b.0 0200: 10b7:9200 (rev 78)
0000:02:0c.0 0401: 1102:0002 (rev 0a)
0000:02:0c.1 0980: 1102:7002 (rev 0a)


Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot worked:    [O]
Configure network HW:   [O]
Config network:         [O]
Detect CD:              [O]
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Create file systems:    [O]
Mount partitions:       [O]
Install base system:    [O]
Install boot loader:    [O]
Reboot:                 [E]

Comments/Problems:

The partition table AFTER paritioning looks like so:

# sfdisk -l

Disk /dev/hda: 9729 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/hda1   *      0+    485     486-   3903763+  83  Linux
/dev/hda2       9243    9728     486    3903795   82  Linux swap / Solaris
/dev/hda3        486    4132    3647   29294527+  83  Linux
/dev/hda4          0       -       0          0    0  Empty

Disk /dev/hde: 30515 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/hde1 0+ 30514 30515- 245111706 fd Linux raid autodetect
/dev/hde2          0       -       0          0    0  Empty
/dev/hde3          0       -       0          0    0  Empty
/dev/hde4          0       -       0          0    0  Empty

Disk /dev/hdg: 30515 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/hdg1 0+ 30514 30515- 245111706 fd Linux raid autodetect
/dev/hdg2          0       -       0          0    0  Empty
/dev/hdg3          0       -       0          0    0  Empty
/dev/hdg4          0       -       0          0    0  Empty

Disk /dev/hdi: 30515 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/hdi1 0+ 30514 30515- 245111706 fd Linux raid autodetect
/dev/hdi2          0       -       0          0    0  Empty
/dev/hdi3          0       -       0          0    0  Empty
/dev/hdi4          0       -       0          0    0  Empty

Disk /dev/hdk: 30515 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/hdk1 0+ 30514 30515- 245111706 fd Linux raid autodetect
/dev/hdk2          0       -       0          0    0  Empty
/dev/hdk3          0       -       0          0    0  Empty
/dev/hdk4          0       -       0          0    0  Empty

Disk /dev/md0: 183833712 cylinders, 2 heads, 4 sectors/track

sfdisk: ERROR: sector 0 does not have an msdos signature
 /dev/md0: unrecognized partition table type
No partitions found

Layout of the physical disks as above, /dev/md0 is a LVM2 volume with several partitions on it.

My problem was that the installer did NOT created the block device entries for /dev/hdi* and /dev/hdk*, this caused the md-driver to not find all four disks, but two only.

Before the installers asks to reboot the system, I've manually ran

cd /target/dev
/target/usr/sbin/MAKEDEV hdi
/target/usr/sbin/MAKEDEV hdk

And the next boot is OK.

Bye,

--
Steffen Kaiser



Reply to: