Bug 217807 - Yast fails to make a valid partition proposal with a Intel On-Board RAID Controller
Summary: Yast fails to make a valid partition proposal with a Intel On-Board RAID Cont...
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: Installation (show other bugs)
Version: Beta 1 plus
Hardware: x86-64 Other
: P5 - None : Critical (vote)
Target Milestone: ---
Assignee: Stefan Schubert
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 198104
  Show dependency treegraph
 
Reported: 2006-11-03 16:17 UTC by Alexander Osthof
Modified: 2006-11-17 11:22 UTC (History)
5 users (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
YaST2-Logs (84.55 KB, application/bzip2)
2006-11-03 16:19 UTC, Alexander Osthof
Details
yast2-storage-intel-dmraid-fix (896 bytes, patch)
2006-11-16 10:28 UTC, Hannes Reinecke
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Osthof 2006-11-03 16:17:51 UTC
I've tried to install a openSUSE 10.2 Beta1 Plus on a (Fake-)RAID1, built by a On-Board Intel RAID Controller. Thus, I've first enabled its functionality in BIOS, then configured it during the boot procedure. Until this point, eveything looks fine.

But when the installation finally comes to the partition proposal, one gets the following message: "ERROR: No Proposal". Both harddisks (/dev/sda and /dev/sdb) and the former created RAID1 device are shown, but one can't create partitions on it. So, there is no possibility to install. 


The used On-Board RAID Controller (together with its configuration) is:

Intel(R) Matrix Storage Manager option ROM v6.0.0.1017 ICH8R wRAID5

RAID Volumes:
ID   Name       Level           Strip    Size     Status   Bootable
0    TestRAID   RAID1(Mirror)   N/A      74.6GB   Normal   Yes

Physical Disks:
Port Drive Model       Serial #         Size      Type/Status(Vol ID)
0    HDT722516DLA380   VDK91BTC024GGR   153.4GB   Member Disk(0)
1    SAMSUNG SP0812C   0693J1FWC08152   74.6GB    Member Disk(0)


I'll attach the YaST2-Logs. If additional info are needed, just tell me.
Comment 1 Alexander Osthof 2006-11-03 16:19:25 UTC
Created attachment 103704 [details]
YaST2-Logs
Comment 4 Stefan Hundhammer 2006-11-06 15:43:06 UTC
I am not a storage specialist, but can that really work: A RAID 1 (disk mirroring) with a 153 GB disk and a 74 GB disk?

From irc.suse.de #suse 2006-11-06:

[16:38:52] <HuHa> any storage / RAID experts here?
[16:38:56] <HuHa> https://bugzilla.novell.com/show_bug.cgi?id=217807
[16:39:01] <buggy> bug #217807: Yast fails to make a valid partition proposal with a Intel On-Board RAID Controller Product: openSUSE 10.2, Component: Installation, Severity: Critical, Assigned to: yast2-maintainers@suse.de, Status: NEW
[16:39:13] <HuHa> can that really work: RAID 1 with one 153 GB disk and one 74 GB disk?
[16:39:29] <HuHa> aren't the disks supposed to have the same size?
[16:40:31] <cgardner> HuHa: software RAID can make that work, but only as 74 GB, with the rest of the 153 GB disk not being RAID'd.
[16:40:48] <cgardner> HuHa: But I don't think hw RAID would like trying to make that work.
[16:40:55] <HuHa> cgardner: OK, thx, that's a beginning
[16:41:07] <HuHa> but enabling that in the BIOS would make it a HW RAID, wouldn't it?
[16:41:21] <darix> HuHa: ask kernel folks if this controller should work at all
[16:41:43] <cgardner> HuHa: *shrug* I don't know about that board.   Yeah, darix is right.
[16:42:01] <HuHa> any kernel people care to have a look?
Comment 5 Stefan Hundhammer 2006-11-06 15:50:42 UTC
IRC log continues:

[16:42:44] <lmb> Is that an ICH-7?
[16:42:46] * lmb goes to look
[16:42:59] <HuHa> lmb: ICH8R 
[16:43:16] <lmb> HuHa: Oh, even worse, I think those are not supported yet, but I may be wrong
[16:43:43] <HuHa> lmb: so in any case, this is not a bug of yast2-storage, right?
the other has X-Spam: Not detected... I've already deleted the older ones
[16:44:13] <jbl> HuHa: isnt the bug talking about partition proposal?
[16:44:20] <HuHa> jbl: yes
[16:44:23] <lmb> HuHa: Hm, well, he _does_ see the drives though, so ...
[16:44:48] <HuHa> lmb: yast2-storage sees the disks as individual disks
[16:44:52] <jbl> HuHa: so yast2-storage should do a proposal for 74GB in this case
[16:45:15] <lmb> HuHa: any kernel boot logs available?
[16:45:16] <HuHa> and recognizes incompatible partitioning
[16:45:19] <skh> pasky: I just trust the nuremberg int-it magic, no idea about the .cz mail setup
[16:45:24] <HuHa> lmb: doesn't look like it
[16:45:46] <HuHa> lmb: but since it's internal, it should be easy enough to reproduce and provide kernel logs
[16:46:06] <jbl> HuHa: it always sees them as individual disks but it should recognize all this dmraid stuff
[16:46:11] <lmb> HuHa: Maybe dmraid could help, but I don't know who maintains this
[16:46:36] <jbl> HuHa: since thomas isn't here for the next weeks ... ask hare
[16:46:46] <HuHa> jbl: good hint, thx
[16:46:49] <jbl> HuHa: afair he the the dmraid kernel stuff
[16:47:21] <lmb> dmraid isn't in kernel, the discovery is all user-space
[16:47:46] <lmb> HuHa: mkoenig@suse.de is your victim^Wman ;-)
[16:49:07] <darix> HuHa: ask him to test with fdisk/gpart
[16:49:12] <darix> if they can create partitions


Matthias, Hannes, any clue?

Alexander, could you try fdisk/gpart as mentioned above?
Comment 6 Alexander Osthof 2006-11-06 17:12:15 UTC
At the moment I have no access to this machine because someone else uses it for testing, but I'll provide the info ASAP.
Comment 7 Alexander Osthof 2006-11-13 13:36:43 UTC
To comment #5:

Yes, one can create partitions with fdisk in the instsys, but the corresponding proposal will be still wrong. That is, partitions will be showed under /dev/sda and /dev/sdb instead of under /dev/mapper/isw_dafbhcdjdg_TestRAID for instance. The RAID partitions won't be showed until a reboot.

Nevertheless, even if the RAID partitions are available, one can't create valid filesystems and mountpoints for installing.


I'm raising this bug to severity BLOCKER, because it prevents an installation in general.

If additional information is needed, feel free to contact me.
Comment 8 Thomas Fehr 2006-11-13 17:13:55 UTC
Had a (really short) look into y2log file.
Do not try further with this controller in YaST2 it cannot work.
Since the names for the raid returned by dmraid is once "isw_bgbdheafhf" and 
at another command the name is "isw_bgbdheafhf_TestRAID" libstorage is not able
to match names and cannot handle that dmraid. So far I never had such a 
controller for testing therefore I was not aware of such a possibility. 
Certainly this can be fixed but not easily.


Comment 11 Michael Loeffler 2006-11-15 15:15:51 UTC
This is hardware support enhancment but not a blocker bug.
Comment 12 Hannes Reinecke 2006-11-16 10:23:08 UTC
Ah, so that's the new innovative culture at Novell?
Workaround known problems?
Comment 13 Hannes Reinecke 2006-11-16 10:27:38 UTC
Problem appears to be that the output of 'dmraid -r -c -c -c' and 'dmraid -s -c -c -c' is different:

dmraid -r -c -c
/dev/sda:isw:isw_bgbdheafhf:GROUP:ok:321672958:0
/dev/sdb:isw:isw_bgbdheafhf:GROUP:ok:156368014:0

dmraid -s -c -c -c isw_bgbdheafhf
isw_bgbdheafhf_TestRAID:156362752:128:mirror:ok:0:2:0
/dev/sda:isw:isw_bgbdheafhf_TestRAID:mirror:ok:156362752:0
/dev/sdb:isw:isw_bgbdheafhf_TestRAID:mirror:ok:156362752:0

libstorage uses to '-r' invocation to detect the raid name, but fails miserably here as the output of '-r' contains only the raid set name. And only the raid name (as printed out by '-s') are represented as device-mapper tables.
Comment 14 Hannes Reinecke 2006-11-16 10:28:53 UTC
Created attachment 105607 [details]
yast2-storage-intel-dmraid-fix

Proposed patch to use the correct raid name instead of the raid set name. Not tested in any way.
Comment 15 Andreas Jaeger 2006-11-16 10:50:27 UTC
Thanks a lot Hannes and Schubi!
Comment 16 Stefan Schubert 2006-11-16 17:11:55 UTC
It does not work. We will try another solution.
Comment 17 Stefan Schubert 2006-11-17 11:22:18 UTC
Fixed with Hannes competent support ;-)