Found that the "sometimes doesn't boot" was caused by my ntfs partition.
Got only two lines in mdadm.conf, one DEVICE and one ARRAY with auto=md at the end.
<---- 1st line ---->
DEVICE /dev/hd[eg]1 /dev/md0
<---- 2nd line ---->
ARRAY /dev/md0 level=raid0 num-devices=2 UUID=de8de1a1:92bd24ff:71f87519:4adf71fd auto=md
<---- end ---->
=> So your sed line gives "md"
On dapper it ran without the "auto" part nicely and I just added it after the edgy init script couldn't start the raid.
Switched auto= with UUID= but this didn't help.
My kern.log:
[17179579.772000] usb usb5: configuration #1 chosen from 1 choice
[17179579.772000] hub 5-0:1.0: USB hub found
[17179579.772000] hub 5-0:1.0: 2 ports detected
[17179579.828000] usb 3-1: new low speed USB device using uhci_hcd and address 2
[17179580.016000] usb 3-1: configuration #1 chosen from 1 choice
[17179580.400000] usbcore: registered new driver hiddev
[17179580.888000] usb 5-1: new low speed USB device using ohci_hcd and address 2
[17179581.152000] usb 5-1: configuration #1 chosen from 1 choice
[17179581.176000] input: Logitech USB-PS/2 Optical Mouse as /class/input/input1
[17179581.176000] input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:11.2-1
[17179581.236000] input: Logitech Logitech Cordless RumblePad 2 as /class/input/input2
[17179581.236000] input: USB HID v1.10 Gamepad [Logitech Logitech Cordless RumblePad 2] on usb-0000:00:0b.1-1
[17179581.236000] usbcore: registered new driver usbhid
[17179581.236000] drivers/usb/input/hid-core.c: v2.6:USB HID core driver
[17179581.340000] md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
[17179581.340000] md: bitmap version 4.39
[17179581.344000] md: raid0 personality registered for level 0
##### wait wait wait #######
[17179885.680000] md: md0 stopped.
[17179885.680000] md: bind<hdg1>
[17179885.680000] md: bind<hde1>
[17179885.688000] md0: setting max_sectors to 128, segment boundary to 32767
[17179885.688000] raid0: looking at hde1
[17179885.688000] raid0: comparing hde1(78150592) with hde1(78150592)
[17179885.688000] raid0: END
[17179885.688000] raid0: ==> UNIQUE
[17179885.688000] raid0: 1 zones
[17179885.688000] raid0: looking at hdg1
[17179885.688000] raid0: comparing hdg1(78150592) with hde1(78150592)
[17179885.688000] raid0: EQUAL
[17179885.688000] raid0: FINAL 1 zones
[17179885.688000] raid0: done.
[17179885.688000] raid0 : md_size is 156301184 blocks.
[17179885.688000] raid0 : conf->hash_spacing is 156301184 blocks.
[17179885.688000] raid0 : nb_zone is 1.
[17179885.688000] raid0 : Allocating 4 bytes for hash.
Hi Dave,
Found that the "sometimes doesn't boot" was caused by my ntfs partition.
Got only two lines in mdadm.conf, one DEVICE and one ARRAY with auto=md at the end. 92bd24ff: 71f87519: 4adf71fd auto=md
<---- 1st line ---->
DEVICE /dev/hd[eg]1 /dev/md0
<---- 2nd line ---->
ARRAY /dev/md0 level=raid0 num-devices=2 UUID=de8de1a1:
<---- end ---->
=> So your sed line gives "md"
On dapper it ran without the "auto" part nicely and I just added it after the edgy init script couldn't start the raid.
Switched auto= with UUID= but this didn't help.
My kern.log: usb/input/ hid-core. c: v2.6:USB HID core driver
[17179579.772000] usb usb5: configuration #1 chosen from 1 choice
[17179579.772000] hub 5-0:1.0: USB hub found
[17179579.772000] hub 5-0:1.0: 2 ports detected
[17179579.828000] usb 3-1: new low speed USB device using uhci_hcd and address 2
[17179580.016000] usb 3-1: configuration #1 chosen from 1 choice
[17179580.400000] usbcore: registered new driver hiddev
[17179580.888000] usb 5-1: new low speed USB device using ohci_hcd and address 2
[17179581.152000] usb 5-1: configuration #1 chosen from 1 choice
[17179581.176000] input: Logitech USB-PS/2 Optical Mouse as /class/input/input1
[17179581.176000] input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:11.2-1
[17179581.236000] input: Logitech Logitech Cordless RumblePad 2 as /class/input/input2
[17179581.236000] input: USB HID v1.10 Gamepad [Logitech Logitech Cordless RumblePad 2] on usb-0000:00:0b.1-1
[17179581.236000] usbcore: registered new driver usbhid
[17179581.236000] drivers/
[17179581.340000] md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
[17179581.340000] md: bitmap version 4.39
[17179581.344000] md: raid0 personality registered for level 0
##### wait wait wait #######
[17179885.680000] md: md0 stopped.
[17179885.680000] md: bind<hdg1>
[17179885.680000] md: bind<hde1>
[17179885.688000] md0: setting max_sectors to 128, segment boundary to 32767
[17179885.688000] raid0: looking at hde1
[17179885.688000] raid0: comparing hde1(78150592) with hde1(78150592)
[17179885.688000] raid0: END
[17179885.688000] raid0: ==> UNIQUE
[17179885.688000] raid0: 1 zones
[17179885.688000] raid0: looking at hdg1
[17179885.688000] raid0: comparing hdg1(78150592) with hde1(78150592)
[17179885.688000] raid0: EQUAL
[17179885.688000] raid0: FINAL 1 zones
[17179885.688000] raid0: done.
[17179885.688000] raid0 : md_size is 156301184 blocks.
[17179885.688000] raid0 : conf->hash_spacing is 156301184 blocks.
[17179885.688000] raid0 : nb_zone is 1.
[17179885.688000] raid0 : Allocating 4 bytes for hash.