HPA ( Host Protected Area ) interferes with dmraid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dmraid (Ubuntu) |
Won't Fix
|
Low
|
Phillip Susi |
Bug Description
Binary package hint: dmraid
I tried to install the hardy release candidate on a fake raid following the instructions on FakeRaidHowto. I have a gigabyte EP35-DSR3 with a ICH9R controller.
The raid array is made of two Seagate 500Go Barracuda 7200.11.
When I do dmraid -ay, I obtain:
ubuntu@ubuntu:~$ sudo dmraid -ay -vvv -d
WARN: locking /var/lock/
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: 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_bdbafedcfd
DEBUG: _find_set: not found isw_bdbafedcfd
DEBUG: _find_set: searching isw_bdbafedcfd_
DEBUG: _find_set: searching isw_bdbafedcfd_
DEBUG: _find_set: not found isw_bdbafedcfd_
DEBUG: _find_set: not found isw_bdbafedcfd_
DEBUG: _find_set: searching isw_bdbafedcfd_
DEBUG: _find_set: searching isw_bdbafedcfd_
DEBUG: _find_set: searching isw_bdbafedcfd_
DEBUG: _find_set: not found isw_bdbafedcfd_
DEBUG: _find_set: not found isw_bdbafedcfd_
DEBUG: _find_set: not found isw_bdbafedcfd_
NOTICE: added /dev/sdb to RAID set "isw_bdbafedcfd"
DEBUG: checking isw device "/dev/sdb"
ERROR: isw device for volume "raid0" broken on /dev/sdb in RAID set "isw_bdbafedcfd
ERROR: isw: wrong # of devices in RAID set "isw_bdbafedcfd
DEBUG: set status of set "isw_bdbafedcfd
DEBUG: checking isw device "/dev/sdb"
ERROR: isw device for volume "raid1" broken on /dev/sdb in RAID set "isw_bdbafedcfd
ERROR: isw: wrong # of devices in RAID set "isw_bdbafedcfd
DEBUG: set status of set "isw_bdbafedcfd
DEBUG: set status of set "isw_bdbafedcfd" to 4
ERROR: no mapping possible for RAID set isw_bdbafedcfd_
INFO: Activating GROUP RAID set "isw_bdbafedcfd"
WARN: unlocking /var/lock/
DEBUG: freeing devices of RAID set "isw_bdbafedcfd
DEBUG: freeing device "isw_bdbafedcfd
DEBUG: freeing devices of RAID set "isw_bdbafedcfd
DEBUG: freeing device "isw_bdbafedcfd
DEBUG: freeing devices of RAID set "isw_bdbafedcfd"
DEBUG: freeing device "isw_bdbafedcfd", path "/dev/sdb"
sudo dmraid -r -d
/dev/sdb: isw, "isw_bdbafedcfd", GROUP, ok, 976773165 sectors, data@ 0
ubuntu@ubuntu:~$ sudo dmraid -s -d
DEBUG: _find_set: searching isw_bdbafedcfd
DEBUG: _find_set: not found isw_bdbafedcfd
DEBUG: _find_set: searching isw_bdbafedcfd_
DEBUG: _find_set: searching isw_bdbafedcfd_
DEBUG: _find_set: not found isw_bdbafedcfd_
DEBUG: _find_set: not found isw_bdbafedcfd_
DEBUG: _find_set: searching isw_bdbafedcfd_
DEBUG: _find_set: searching isw_bdbafedcfd_
DEBUG: _find_set: searching isw_bdbafedcfd_
DEBUG: _find_set: not found isw_bdbafedcfd_
DEBUG: _find_set: not found isw_bdbafedcfd_
DEBUG: _find_set: not found isw_bdbafedcfd_
DEBUG: checking isw device "/dev/sdb"
ERROR: isw device for volume "raid0" broken on /dev/sdb in RAID set "isw_bdbafedcfd
ERROR: isw: wrong # of devices in RAID set "isw_bdbafedcfd
DEBUG: set status of set "isw_bdbafedcfd
DEBUG: checking isw device "/dev/sdb"
ERROR: isw device for volume "raid1" broken on /dev/sdb in RAID set "isw_bdbafedcfd
ERROR: isw: wrong # of devices in RAID set "isw_bdbafedcfd
DEBUG: set status of set "isw_bdbafedcfd
DEBUG: set status of set "isw_bdbafedcfd" to 4
*** Group superset isw_bdbafedcfd
--> Subset
name : isw_bdbafedcfd_
size : 314573056
stride : 256
type : stripe
status : broken
subsets: 0
devs : 1
spares : 0
--> Subset
name : isw_bdbafedcfd_
size : 662188288
stride : 128
type : mirror
status : broken
subsets: 0
devs : 1
spares : 0
DEBUG: freeing devices of RAID set "isw_bdbafedcfd
DEBUG: freeing device "isw_bdbafedcfd
DEBUG: freeing devices of RAID set "isw_bdbafedcfd
DEBUG: freeing device "isw_bdbafedcfd
DEBUG: freeing devices of RAID set "isw_bdbafedcfd"
DEBUG: freeing device "isw_bdbafedcfd", path "/dev/sdb"
ubuntu@ubuntu:~$ sudo dmraid -b
/dev/sdb: 976773168 total, "9QM1LC81"
/dev/sda: 976773168 total, "9QM0W1ZN"
ubuntu@ubuntu:~$ sudo dmraid -n
/dev/sdb (isw):
0x000 sig: " Intel Raid ISM Cfg Sig. 1.2.00"
0x020 check_sum: 147162979
0x024 mpb_size: 704
0x028 family_num: 1310543253
0x02c generation_num: 11983
0x030 reserved[0]: 4080
0x034 reserved[1]: 2147483648
0x038 num_disks: 2
0x039 num_raid_devs: 2
0x03a fill[0]: 2
0x03b fill[1]: 0
0x040 filler[1]: 1310543253
0x0d8 disk[0].serial: " 9QM0W1ZN"
0x0e8 disk[0]
0x0ec disk[0].scsiId: 0x0
0x0f0 disk[0].status: 0x53a
0x108 disk[1].serial: " 9QM1LC81"
0x118 disk[1]
0x11c disk[1].scsiId: 0x10000
0x120 disk[1].status: 0x53a
0x138 isw_dev[0].volume: " raid0"
0x14c isw_dev[
0x148 isw_dev[0].SizeLow: 629145600
0x150 isw_dev[0].status: 0xc
0x154 isw_dev[
0x158 isw_dev[
0x190 isw_dev[
0x191 isw_dev[
0x192 isw_dev[
0x193 isw_dev[
0x1a8 isw_dev[
0x1ac isw_dev[
0x1b0 isw_dev[
0x1b4 isw_dev[
0x1b6 isw_dev[
0x1b7 isw_dev[
0x1b8 isw_dev[
0x1b9 isw_dev[
0x1ba isw_dev[
0x1bb isw_dev[
0x1d8 isw_dev[
0x1dc isw_dev[
0x1e0 isw_dev[1].volume: " raid1"
0x1f4 isw_dev[
0x1f0 isw_dev[1].SizeLow: 662188032
0x1f8 isw_dev[1].status: 0x8c
0x1fc isw_dev[
0x200 isw_dev[
0x238 isw_dev[
0x239 isw_dev[
0x23a isw_dev[
0x23b isw_dev[
0x250 isw_dev[
0x254 isw_dev[
0x258 isw_dev[
0x25c isw_dev[
0x25e isw_dev[
0x25f isw_dev[
0x260 isw_dev[
0x261 isw_dev[
0x263 isw_dev[
0x280 isw_dev[
0x284 isw_dev[
ubuntu@ubuntu:~$ sudo dmraid -b
/dev/sdb: 976773168 total, "9QM1LC81"
/dev/sda: 976773168 total, "9QM0W1ZN"
It seems it does ot recognize /dev/sda. indeed, if I reboot, the intel option rom says the first disk is not part of the raid array. Then I shut the power down and reboot, and the bios sees it again.
Changed in dmraid: | |
assignee: | nobody → psusi |
status: | New → In Progress |
In fact, it seems to be coming from somethingis else. If I simply boot from the live cd and reboot, my raid 0 disk is marked as failed and the raid 1 as degraded. After a cold reboot, the raid 0 is OK and the raid 1 marked as degraded.