Hello,
I am running ubuntu/windows vista in a dual boot set-up on a machine
with an intel matrix raid controller. I started to do that with gutsy
7.10 already last year in June and upgraded a month ago to hardy 8.04.
After the upgrade I had some difficulties, because ubuntu does not
support fake raids by default, but I got it under control.
https://help.ubuntu.com/community/FakeRaidHowto
Since yesterday the system refuses to boot. The initial bios screen
tells me that the raid volume 0 has failed and finally I only get the
message:
"disk boot failure, insert system disk and press enter"
Currently I try to analyse the problem with a KNOPPIX 5.3.1 and dmraid.
I've attached the output of
dmraid -ay -vvvv -dddd
and
dmraid -n
I've also generated the output of
dmraid -r -D /dev/sda
dmraid -r -D /dev/sdb
One of my questions is, if the metadata of both disks should be
identical? Becaus if I create a "hexdump -C" and run diff on the output
I get differences (attached). Another question would be if I modify the
metadata by hand and write it back to the disk if this would work,
because I see in the data structures defined in:
dmraid/1.0.0.rc14/lib/format/ataraid/isw.h
-- snip start --
struct isw {
int8_t sig[MAX_SIGNATURE_LENGTH];/* 0x0 - 0x1F */
uint32_t check_sum; /* 0x20 - 0x23 MPB Checksum */
uint32_t mpb_size; /* 0x24 - 0x27 Size of MPB */
uint32_t family_num; /* 0x28 - 0x2B Checksum from
first time this config was written */
-- snip end --
that there are some checksums.
When I run
fdisk -l /dev/sda
I get the following output:
unable to seek on /dev/sda
On /dev/sdb fdisk starts without problems.
After my experiments with knoppix and dmraid finally the system is
booting again, even if I did not write anything back on the disks, at
least not knowingly. Windows does not show any strange behaviour up to now.
I am uncertain if the problem is due to a real hardware problem or due
to some misbehaviour of Linux, especially, because I found hints that
ubuntu hardy 8.04 has some problems in that direction:
https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/219393
Another bug report led me to upgrade to kernel 2.6.24-18 just before my
problems with the raid started:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/209454
I would be interested in your opinion on how to continue from here. I've
ordered a big external harddrive to at least backup the full disk
content, but after that backup what would be the recommended way to
continue? Replace the disks, because it is a hardware problem or fix
ubuntu, because some bug in ubuntu may cause the problem?
Many thanks and have a nice day,
--
Christian Schuhegger
http://www.el-chef.de/
WARN: locking /var/lock/dmraid/.lock
NOTICE: skipping removable device /dev/hda
NOTICE: skipping removable device /dev/hdb
NOTICE: /dev/sdc: asr discovering
NOTICE: /dev/sdc: ddf1 discovering
NOTICE: /dev/sdc: hpt37x discovering
NOTICE: /dev/sdc: hpt45x discovering
NOTICE: /dev/sdc: isw discovering
NOTICE: /dev/sdc: jmicron discovering
NOTICE: /dev/sdc: lsi discovering
NOTICE: /dev/sdc: nvidia discovering
NOTICE: /dev/sdc: pdc discovering
NOTICE: /dev/sdc: sil discovering
NOTICE: /dev/sdc: via discovering
NOTICE: /dev/sdb: asr discovering
NOTICE: /dev/sdb: ddf1 discovering
NOTICE: /dev/sdb: hpt37x discovering
NOTICE: /dev/sdb: hpt45x discovering
NOTICE: /dev/sdb: isw discovering
NOTICE: /dev/sdb: isw metadata discovered
NOTICE: /dev/sdb: jmicron discovering
NOTICE: /dev/sdb: lsi discovering
NOTICE: /dev/sdb: nvidia discovering
NOTICE: /dev/sdb: pdc discovering
NOTICE: /dev/sdb: sil discovering
NOTICE: /dev/sdb: via discovering
NOTICE: /dev/sda: asr discovering
NOTICE: /dev/sda: ddf1 discovering
NOTICE: /dev/sda: hpt37x discovering
NOTICE: /dev/sda: hpt45x discovering
NOTICE: /dev/sda: isw discovering
NOTICE: /dev/sda: isw metadata discovered
NOTICE: /dev/sda: jmicron discovering
NOTICE: /dev/sda: lsi discovering
NOTICE: /dev/sda: nvidia discovering
NOTICE: /dev/sda: pdc discovering
NOTICE: /dev/sda: sil discovering
NOTICE: /dev/sda: via discovering
DEBUG: _find_set: searching isw_bjebjjjbd
DEBUG: _find_set: not found isw_bjebjjjbd
DEBUG: _find_set: searching isw_bjebjjjbd_RAID_Volume0
DEBUG: _find_set: searching isw_bjebjjjbd_RAID_Volume0
DEBUG: _find_set: not found isw_bjebjjjbd_RAID_Volume0
DEBUG: _find_set: not found isw_bjebjjjbd_RAID_Volume0
NOTICE: added /dev/sdb to RAID set "isw_bjebjjjbd"
DEBUG: _find_set: searching isw_bjebjjjbd
DEBUG: _find_set: found isw_bjebjjjbd
ERROR: isw: unsupported map state 0x3 on /dev/sda for RAID_Volume0
ERROR: adding /dev/sda to RAID set "isw_bjebjjjbd"
DEBUG: _find_set: searching isw_bjebjjjbd
DEBUG: _find_set: found isw_bjebjjjbd
ERROR: removing RAID set "isw_bjebjjjbd"
DEBUG: freeing devices of RAID set "isw_bjebjjjbd_RAID_Volume0"
DEBUG: freeing device "isw_bjebjjjbd_RAID_Volume0", path "/dev/sdb"
DEBUG: freeing devices of RAID set "isw_bjebjjjbd"
DEBUG: freeing device "isw_bjebjjjbd", path "/dev/sdb"
DEBUG: freeing device "isw_bjebjjjbd", path "/dev/sda"
No RAID sets
WARN: unlocking /var/lock/dmraid/.lock
/dev/sdb (isw):
0x000 sig: " Intel Raid ISM Cfg Sig. 1.0.00"
0x020 check_sum: 1071878542
0x024 mpb_size: 480
0x028 family_num: 194199913
0x02c generation_num: 973
0x030 reserved[0]: 4080
0x034 reserved[1]: 3221225472
0x038 num_disks: 2
0x039 num_raid_devs: 1
0x03a fill[0]: 2
0x03b fill[1]: 0
0x0d8 disk[0].serial: " 6QF0JHV1"
0x0e8 disk[0].totalBlocks: 625142448
0x0ec disk[0].scsiId: 0x0
0x0f0 disk[0].status: 0x13a
0x108 disk[1].serial: " 6QF0K6RP"
0x118 disk[1].totalBlocks: 625142448
0x11c disk[1].scsiId: 0x10000
0x120 disk[1].status: 0x13a
0x138 isw_dev[0].volume: " RAID_Volume0"
0x14c isw_dev[0].SizeHigh: 0
0x148 isw_dev[0].SizeLow: 1250275328
0x150 isw_dev[0].status: 0xc
0x154 isw_dev[0].reserved_blocks: 0
0x158 isw_dev[0].filler[0]: 65536
0x190 isw_dev[0].vol.migr_state: 0
0x191 isw_dev[0].vol.migr_type: 0
0x192 isw_dev[0].vol.dirty: 0
0x193 isw_dev[0].vol.fill[0]: 0
0x1a8 isw_dev[0].vol.map.pba_of_lba0: 0
0x1ac isw_dev[0].vol.map.blocks_per_member: 625137923
0x1b0 isw_dev[0].vol.map.num_data_stripes: 2441944
0x1b4 isw_dev[0].vol.map.blocks_per_strip: 256
0x1b6 isw_dev[0].vol.map.map_state: 0
0x1b7 isw_dev[0].vol.map.raid_level: 0
0x1b8 isw_dev[0].vol.map.num_members: 2
0x1b9 isw_dev[0].vol.map.reserved[0]: 1
0x1ba isw_dev[0].vol.map.reserved[1]: 255
0x1bb isw_dev[0].vol.map.reserved[2]: 1
0x1d8 isw_dev[0].vol.map.disk_ord_tbl[0]: 0x0
0x1dc isw_dev[0].vol.map.disk_ord_tbl[1]: 0x1
/dev/sda (isw):
0x000 sig: " Intel Raid ISM Cfg Sig. 1.0.00"
0x020 check_sum: 1088798866
0x024 mpb_size: 480
0x028 family_num: 194199913
0x02c generation_num: 976
0x030 reserved[0]: 4080
0x034 reserved[1]: 3221225472
0x038 num_disks: 2
0x039 num_raid_devs: 1
0x03a fill[0]: 2
0x03b fill[1]: 0
0x0d8 disk[0].serial: " 6QF0JHV1"
0x0e8 disk[0].totalBlocks: 625142448
0x0ec disk[0].scsiId: 0x0
0x0f0 disk[0].status: 0x13a
0x108 disk[1].serial: " 6QF0K6RP:0"
0x118 disk[1].totalBlocks: 625142448
0x11c disk[1].scsiId: 0xffffffff
0x120 disk[1].status: 0x2
0x138 isw_dev[0].volume: " RAID_Volume0"
0x14c isw_dev[0].SizeHigh: 0
0x148 isw_dev[0].SizeLow: 1250275328
0x150 isw_dev[0].status: 0xc
0x154 isw_dev[0].reserved_blocks: 0
0x158 isw_dev[0].filler[0]: 65536
0x190 isw_dev[0].vol.migr_state: 0
0x191 isw_dev[0].vol.migr_type: 0
0x192 isw_dev[0].vol.dirty: 0
0x193 isw_dev[0].vol.fill[0]: 0
0x1a8 isw_dev[0].vol.map.pba_of_lba0: 0
0x1ac isw_dev[0].vol.map.blocks_per_member: 625137923
0x1b0 isw_dev[0].vol.map.num_data_stripes: 2441944
0x1b4 isw_dev[0].vol.map.blocks_per_strip: 256
0x1b6 isw_dev[0].vol.map.map_state: 3
0x1b7 isw_dev[0].vol.map.raid_level: 0
0x1b8 isw_dev[0].vol.map.num_members: 2
0x1b9 isw_dev[0].vol.map.reserved[0]: 1
0x1ba isw_dev[0].vol.map.reserved[1]: 255
0x1bb isw_dev[0].vol.map.reserved[2]: 1
0x1d8 isw_dev[0].vol.map.disk_ord_tbl[0]: 0x0
0x1dc isw_dev[0].vol.map.disk_ord_tbl[1]: 0x1000001
00000000 49 6e 74 65 6c 20 52 61 69 64 20 49 53 4d 20 43 |Intel Raid ISM C|
00000010 66 67 20 53 69 67 2e 20 31 2e 30 2e 30 30 00 00 |fg Sig. 1.0.00..|
00000020 92 c0 e5 40 e0 01 00 00 69 41 93 0b d0 03 00 00 |...@....iA......|
00000030 f0 0f 00 00 00 00 00 c0 02 01 02 00 00 00 00 00 |................|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000000d0 00 00 00 00 00 00 00 00 36 51 46 30 4a 48 56 31 |........6QF0JHV1|
000000e0 00 00 00 00 00 00 00 00 b0 ea 42 25 00 00 00 00 |..........B%....|
000000f0 3a 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |:...............|
00000100 00 00 00 00 00 00 00 00 36 51 46 30 4b 36 52 50 |........6QF0K6RP|
00000110 3a 30 00 00 00 00 00 00 b0 ea 42 25 ff ff ff ff |:0........B%....|
00000120 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000130 00 00 00 00 00 00 00 00 52 41 49 44 5f 56 6f 6c |........RAID_Vol|
00000140 75 6d 65 30 00 00 00 00 00 b0 85 4a 00 00 00 00 |ume0.......J....|
00000150 0c 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 |................|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 03 d9 42 25 |..............B%|
000001b0 d8 42 25 00 00 01 03 00 02 01 ff 01 00 00 00 00 |.B%.............|
000001c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 01 |................|
000001e0 cb 1a 66 67 1d 7f f8 10 34 86 09 de 5c 26 cb 09 |..fg....4...\&..|
000001f0 ce 92 bc 59 c9 5e 1b 8f 59 0c 88 04 9e 11 62 ff |...Y.^..Y.....b.|
00000200
00000000 49 6e 74 65 6c 20 52 61 69 64 20 49 53 4d 20 43 |Intel Raid ISM C|
00000010 66 67 20 53 69 67 2e 20 31 2e 30 2e 30 30 00 00 |fg Sig. 1.0.00..|
00000020 8e 91 e3 3f e0 01 00 00 69 41 93 0b cd 03 00 00 |...?....iA......|
00000030 f0 0f 00 00 00 00 00 c0 02 01 02 00 00 00 00 00 |................|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000000d0 00 00 00 00 00 00 00 00 36 51 46 30 4a 48 56 31 |........6QF0JHV1|
000000e0 00 00 00 00 00 00 00 00 b0 ea 42 25 00 00 00 00 |..........B%....|
000000f0 3a 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |:...............|
00000100 00 00 00 00 00 00 00 00 36 51 46 30 4b 36 52 50 |........6QF0K6RP|
00000110 00 00 00 00 00 00 00 00 b0 ea 42 25 00 00 01 00 |..........B%....|
00000120 3a 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |:...............|
00000130 00 00 00 00 00 00 00 00 52 41 49 44 5f 56 6f 6c |........RAID_Vol|
00000140 75 6d 65 30 00 00 00 00 00 b0 85 4a 00 00 00 00 |ume0.......J....|
00000150 0c 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 |................|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 03 d9 42 25 |..............B%|
000001b0 d8 42 25 00 00 01 00 00 02 01 ff 01 00 00 00 00 |.B%.............|
000001c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 |................|
000001e0 cb 1a 66 67 1d 7f f8 10 34 86 09 de 5c 26 cb 09 |..fg....4...\&..|
000001f0 ce 92 bc 59 c9 5e 1b 8f 59 0c 88 04 9e 11 62 ff |...Y.^..Y.....b.|
00000200
*** sda_isw.dat.hex 2008-06-08 08:43:29.000000000 +0200
--- sdb_isw.dat.hex 2008-06-08 08:43:34.000000000 +0200
***************
*** 1,6 ****
00000000 49 6e 74 65 6c 20 52 61 69 64 20 49 53 4d 20 43 |Intel Raid ISM C|
00000010 66 67 20 53 69 67 2e 20 31 2e 30 2e 30 30 00 00 |fg Sig. 1.0.00..|
! 00000020 92 c0 e5 40 e0 01 00 00 69 41 93 0b d0 03 00 00 |...@....iA......|
00000030 f0 0f 00 00 00 00 00 c0 02 01 02 00 00 00 00 00 |................|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
--- 1,6 ----
00000000 49 6e 74 65 6c 20 52 61 69 64 20 49 53 4d 20 43 |Intel Raid ISM C|
00000010 66 67 20 53 69 67 2e 20 31 2e 30 2e 30 30 00 00 |fg Sig. 1.0.00..|
! 00000020 8e 91 e3 3f e0 01 00 00 69 41 93 0b cd 03 00 00 |...?....iA......|
00000030 f0 0f 00 00 00 00 00 c0 02 01 02 00 00 00 00 00 |................|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
***************
*** 8,24 ****
000000e0 00 00 00 00 00 00 00 00 b0 ea 42 25 00 00 00 00 |..........B%....|
000000f0 3a 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |:...............|
00000100 00 00 00 00 00 00 00 00 36 51 46 30 4b 36 52 50 |........6QF0K6RP|
! 00000110 3a 30 00 00 00 00 00 00 b0 ea 42 25 ff ff ff ff |:0........B%....|
! 00000120 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000130 00 00 00 00 00 00 00 00 52 41 49 44 5f 56 6f 6c |........RAID_Vol|
00000140 75 6d 65 30 00 00 00 00 00 b0 85 4a 00 00 00 00 |ume0.......J....|
00000150 0c 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 |................|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 03 d9 42 25 |..............B%|
! 000001b0 d8 42 25 00 00 01 03 00 02 01 ff 01 00 00 00 00 |.B%.............|
000001c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
! 000001d0 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 01 |................|
000001e0 cb 1a 66 67 1d 7f f8 10 34 86 09 de 5c 26 cb 09 |..fg....4...\&..|
000001f0 ce 92 bc 59 c9 5e 1b 8f 59 0c 88 04 9e 11 62 ff |...Y.^..Y.....b.|
00000200
--- 8,24 ----
000000e0 00 00 00 00 00 00 00 00 b0 ea 42 25 00 00 00 00 |..........B%....|
000000f0 3a 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |:...............|
00000100 00 00 00 00 00 00 00 00 36 51 46 30 4b 36 52 50 |........6QF0K6RP|
! 00000110 00 00 00 00 00 00 00 00 b0 ea 42 25 00 00 01 00 |..........B%....|
! 00000120 3a 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |:...............|
00000130 00 00 00 00 00 00 00 00 52 41 49 44 5f 56 6f 6c |........RAID_Vol|
00000140 75 6d 65 30 00 00 00 00 00 b0 85 4a 00 00 00 00 |ume0.......J....|
00000150 0c 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 |................|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 03 d9 42 25 |..............B%|
! 000001b0 d8 42 25 00 00 01 00 00 02 01 ff 01 00 00 00 00 |.B%.............|
000001c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
! 000001d0 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 |................|
000001e0 cb 1a 66 67 1d 7f f8 10 34 86 09 de 5c 26 cb 09 |..fg....4...\&..|
000001f0 ce 92 bc 59 c9 5e 1b 8f 59 0c 88 04 9e 11 62 ff |...Y.^..Y.....b.|
00000200
Intel® Chipset Identification Utility
System Information
Chipset
Detected Chipset:
Intel(R) 945PL Express Chipset Family
Chipset Components
Memory Controller:
82945G/GZ/P/PL
I/O Controller:
Intel(R) 82801GH I/O controller hub (ICH7DH) SATA Controller found in RAID mode
Integrated Graphics:
This chipset does not contain integrated graphics.
_______________________________________________
Ataraid-list mailing list
Ataraid-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ataraid-list