[Bug 619806] New: Installation fails to complete if any partition within ATi/AMD fake raid is involved.
http://bugzilla.novell.com/show_bug.cgi?id=619806 http://bugzilla.novell.com/show_bug.cgi?id=619806#c0 Summary: Installation fails to complete if any partition within ATi/AMD fake raid is involved. Classification: openSUSE Product: openSUSE 11.3 Version: RC 2 Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: zhubr@mail.ru QAContact: jsrain@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 I tried to install 11.3 RC2 (standard DVD) on AMD SB600 motherboard with SATA hard drive(s) configured in (fake) RAID mode in the BIOS. During installation the ATi/AMD fake raid disk is accessible (via /dev/mapper/...), partition table can be printed by fdisk and the installer shows all existing partitions just fine and allows to edit them or to use automatic partitioning. However, the installation then stumbles upon formatting such partitions (no matter whether created manually or automatically). Installer says they are /dev/mapper/pdc_xxxxxxx_partX (e.g. /dev/mapper/pdc_pdc_bdgehdg_part1 should be formatted ext4 for /boot), however such path does not exist: ls /dev/mapper control pdc_bdgehdg pdc_faciag cat /proc/partitions .... 8 32 78150744 sdc .... 253 1 77148416 dm-1 I'm not very well familiar with DM so maybe I'm confused but it looks like individual partitions of such disk are not exposed by the kernel at this point, hence all further installation steps fail. Reproducible: Always Steps to Reproduce: 1. Get a motherboard featuring ATi/AMD raid (like those with SB600) and one SATA hard disk. 2. Select raid mode for SATA in system BIOS, enter raid setup, create raid 0 with 1 hard disk. 3. Try to install from 11.3 RC2 standard DVD. Actual Results: Installation fails. Expected Results: Installer should either complete successfully or refuse to use such raid drives if they can not be supported. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619806
http://bugzilla.novell.com/show_bug.cgi?id=619806#c1
--- Comment #1 from Nikolai Zhubr
/dev/mapper/pdc_pdc_bdgehdg_part1
just a little typo, I actually meant /dev/mapper/pdc_bdgehdg_part1 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619806
http://bugzilla.novell.com/show_bug.cgi?id=619806#c
Arvin Schnell
http://bugzilla.novell.com/show_bug.cgi?id=619806
http://bugzilla.novell.com/show_bug.cgi?id=619806#c2
--- Comment #2 from Xinwei Hu
http://bugzilla.novell.com/show_bug.cgi?id=619806
http://bugzilla.novell.com/show_bug.cgi?id=619806#c3
--- Comment #3 from Xinwei Hu
http://bugzilla.novell.com/show_bug.cgi?id=619806
http://bugzilla.novell.com/show_bug.cgi?id=619806#c4
--- Comment #4 from Nikolai Zhubr
Hi Nikolai,
It might be the case that MD has take over the fake-raid devices by default.
AFAIK these are totally unrelated. MD is linux software raid, a consistent full-fledged native solution. DM can provide some minimal support for those proprietary legacy fake-raids, created by various firmwares.
You can check that by running "cat /proc/mdstat".
Ok, I'll do this as soon as I get to that box again. However, if md was active then some mdX partitions would appear in /proc/partitions. But they didn't. Also, the installer didn't say anything about md, but kept talking about dm (which is correct, AFAICS)
Thanks.
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619806
http://bugzilla.novell.com/show_bug.cgi?id=619806#c5
--- Comment #5 from Nikolai Zhubr
Hi Nikolai,
Would you try my latest submit in Base:System ? I just fixed an ancient issue in SuSE specific patch, which is related to this bug.
1) You were right partly about md replacing fake-raid: it is apparently possible with modern intel controllers to switch to md smoothly. However, such option is irrelevant to the subject (and unavailable on non-intel raids anyway). 2) The issue is not AMD-specific: I've just reproduced it on intel ich10 (configured for raid1 in the BIOS) Same error: "formatting device mapper volume /dev/mapper/isw_...._part2 - system error code was: -3030" 3) The issue still remains in factory repo as of 1 hour ago. (I suppose your commit in question is already there)
Thanks.
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619806
http://bugzilla.novell.com/show_bug.cgi?id=619806#c6
--- Comment #6 from Xinwei Hu
(In reply to comment #3)
Hi Nikolai,
Would you try my latest submit in Base:System ? I just fixed an ancient issue in SuSE specific patch, which is related to this bug.
1) You were right partly about md replacing fake-raid: it is apparently possible with modern intel controllers to switch to md smoothly. However, such option is irrelevant to the subject (and unavailable on non-intel raids anyway).
2) The issue is not AMD-specific: I've just reproduced it on intel ich10 (configured for raid1 in the BIOS) Same error: "formatting device mapper volume /dev/mapper/isw_...._part2 - system error code was: -3030"
3) The issue still remains in factory repo as of 1 hour ago. (I suppose your commit in question is already there)
I submitted it and it was accepted 8 hours ago. However, I cannot find it yet. Would you check if the last changelog is: === * 一 7月 05 2010 xwhu@novell.com - bnc#619566, fix error in "dmsetup export" patch, === It works in my intel environment. Thanks. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619806
http://bugzilla.novell.com/show_bug.cgi?id=619806#c7
--- Comment #7 from Nikolai Zhubr
I submitted it and it was accepted 8 hours ago. However, I cannot find it yet. Would you check if the last changelog is:
=== * 一 7月 05 2010 xwhu@novell.com - bnc#619566, fix error in "dmsetup export" patch, ===
Which package exactly was updated? I'm not very familiar with factory repos, I just used the online http://download.opensuse.org/factory/repo/oss/ Also, I've just noticed a similar problem mentioned in the (recently resolved) bug 598193, comment #30: "No dm partitions had been created ..." "installation failed with 3030 error ..." No idea if these are really related though.
It works in my intel environment.
Thanks.
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619806
http://bugzilla.novell.com/show_bug.cgi?id=619806#c8
--- Comment #8 from Nikolai Zhubr
http://bugzilla.novell.com/show_bug.cgi?id=619806
http://bugzilla.novell.com/show_bug.cgi?id=619806#c9
--- Comment #9 from Arvin Schnell
http://bugzilla.novell.com/show_bug.cgi?id=619806
http://bugzilla.novell.com/show_bug.cgi?id=619806#c10
--- Comment #10 from Nikolai Zhubr
YaST does a "dmraid -ay -p". The "-p" is used since udev creates the device nodes for the partitions (at least upto RC2).
Ah, "-p" explains that. Anyway. I just tried RC2 once again carefully. At this time, before confirming formatting disks, I switched to the terminal and did the following. - verified that NO partitions were available (under /proc/partitions and /dev/mapper/...) - did "dmraid -ay". - verified that all partitions appeared both under /proc/partitions and /dev/mapper/... - manually created symlinks from /dev/mapper/isw_xxx_Volume0pX to /dev/mapper/isw_xxx_Volume0_partX to make installer happy - returned to installer and confirmed formatting. After that, installation went on fine and completed successfully. Upon reboot, however, the kernel complained that /dev/mapper/isw_xxx_Volume0_part4 does not exist. This wasn't already surprising though. So, whichever naming for partions is "correct" and whoever (udev, dm) is responsible for creating them, this is broken in RC2 (and probably factory too). It still does not work.
And YaST uses the correct naming for dm-raid. "dmraid -ay -p" uses the wrong.
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619806
http://bugzilla.novell.com/show_bug.cgi?id=619806#c11
--- Comment #11 from Nikolai Zhubr
http://bugzilla.novell.com/show_bug.cgi?id=619806
http://bugzilla.novell.com/show_bug.cgi?id=619806#c
Nikolai Zhubr
http://bugzilla.novell.com/show_bug.cgi?id=619806
http://bugzilla.novell.com/show_bug.cgi?id=619806#c12
--- Comment #12 from Xinwei Hu
After a bit more reading: it seems this is in fact a duplicate of Bug 598193, no?
Bug 598193 originally is about the udev rule to create device files for device-mapper devices. This one, IMHO, is about the /etc/udev/rules.d/70-kpartx.rules not running correctly. The underling reason of these issues are very different. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619806
http://bugzilla.novell.com/show_bug.cgi?id=619806#c13
--- Comment #13 from Nikolai Zhubr
This one, IMHO, is about the /etc/udev/rules.d/70-kpartx.rules not running correctly.
Ok, do you need some more information/testing from me? Currently, I have a shiny new box by hand, ready for experiments. I'll do my best to help fixing this before the final release. (As otherwise I'll probably have to refrain from switching to 11.3 altogether) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619806
http://bugzilla.novell.com/show_bug.cgi?id=619806#c14
--- Comment #14 from Xinwei Hu
(In reply to comment #12) [...]
This one, IMHO, is about the /etc/udev/rules.d/70-kpartx.rules not running correctly.
Ok, do you need some more information/testing from me?
Currently, I have a shiny new box by hand, ready for experiments. I'll do my best to help fixing this before the final release. (As otherwise I'll probably have to refrain from switching to 11.3 altogether)
Your help's really appreciated. Could you update both udev and device-mapper from http://download.opensuse.org/repositories/Base:/System/openSUSE_Factory/ and retest ? Thanks. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619806
http://bugzilla.novell.com/show_bug.cgi?id=619806#c15
--- Comment #15 from Nikolai Zhubr
Could you update both udev and device-mapper from http://download.opensuse.org/repositories/Base:/System/openSUSE_Factory/ and retest ?
Ok. I did the following: - Net install from factory, using regular (non-dm) hard drive. - Verified that the problem with dmraid partitions remains. Namely, opened Yast partitioner and tried to create additional swap on dmraid partition - failure (error 3030). - Updated packages udev, device-mapper, dmraid, multipath-tools, kpartx from Base:/System/openSUSE_Factory/ - Reboot (just in case). - The problem disappeared. That is, Yast partitioner added new swap on dmraid partition and it was successfully formatted. Other (unused) dmraid paritions are also visible under /proc/partitions and /dev/mapper/isw_xxx_partX now. Good. Now, how can I test that a fresh installation into dmraid partition(s) will also succeed now?
Thanks.
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619806
http://bugzilla.novell.com/show_bug.cgi?id=619806#c16
Xinwei Hu
Now, how can I test that a fresh installation into dmraid partition(s) will also succeed now?
Thanks for the feedback. With the latest release, I think this has been fixed for fresh installation. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com