[Bug 662053] New: mkinitrd fails to recognize root on lvm on md
https://bugzilla.novell.com/show_bug.cgi?id=662053 https://bugzilla.novell.com/show_bug.cgi?id=662053#c0 Summary: mkinitrd fails to recognize root on lvm on md Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: conrad-novell.com@quisquis.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.11 SUSE/9.0.564.0 (KHTML, like Gecko) Chrome/9.0.564.0 Safari/534.11 On my system there's two LVM volume groups: "noraid" (lvm2) and "dflt" (lvm1). The latter is based on a raid1 md drive. My root dev resides on the "dflt" vg. For the last couple of weeks, the system failed to boot after the installation of kernel updates via "zypper up". Booting into an openSUSE-11.2 image on the same system and running mkinitrd there resolved the problem. Today I found the reason for the failure: /lib/mkinitrd/setup/31-lvm2.sh fails to recognize that my root dev resides on an md drive, therefore md support is not included in the initrd. This happens because my root dev resides on dev 253:2, and a couple of weeks ago I created my twentieth logical volume. The regexp used to determine the root's underlying volume group matches 253:20 (which is on the "noraid" vg), not 253:2! The attached patch fixes the problem for me. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=662053 https://bugzilla.novell.com/show_bug.cgi?id=662053#c1 --- Comment #1 from Peter Conrad <conrad-novell.com@quisquis.de> 2011-01-03 14:15:02 UTC --- Created an attachment (id=406741) --> (http://bugzilla.novell.com/attachment.cgi?id=406741) Fix working locally Previous upload failed... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=662053 https://bugzilla.novell.com/show_bug.cgi?id=662053#c wei wang <wewang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wewang@novell.com AssignedTo|bnc-team-screening@forge.pr |mmarek@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=662053 https://bugzilla.novell.com/show_bug.cgi?id=662053#c2 Michal Marek <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mmarek@novell.com |xwhu@novell.com --- Comment #2 from Michal Marek <mmarek@novell.com> 2011-01-04 10:48:02 UTC --- This has been already fixed in Factory IIRC, reassigning to the lvm2 maintainer. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=662053 https://bugzilla.novell.com/show_bug.cgi?id=662053#c Xinwei Hu <xwhu@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xwhu@novell.com AssignedTo|xwhu@novell.com |cmeng@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=662053 https://bugzilla.novell.com/show_bug.cgi?id=662053#c zj jia <zjjia@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@novell.com AssignedTo|bnc-team-screening@forge.pr |xwhu@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=662053 https://bugzilla.novell.com/show_bug.cgi?id=662053#c Xinwei Hu <xwhu@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|xwhu@suse.com |dmzhang@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=662053 https://bugzilla.novell.com/show_bug.cgi?id=662053#c4 Peter Conrad <conrad-novell.com@quisquis.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major --- Comment #4 from Peter Conrad <conrad-novell.com@quisquis.de> 2011-12-01 08:47:38 UTC --- It *looks* like this is still broken in openSUSE-11.4 and -12.1. At least the broken regexp in /lib/mkinitrd/setup/31-lvm2.sh hasn't changed. I cannot test it atm, though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=662053 https://bugzilla.novell.com/show_bug.cgi?id=662053#c5 --- Comment #5 from Bernhard Wiedemann <bwiedemann@suse.com> 2011-12-19 12:00:09 CET --- This is an autogenerated message for OBS integration: This bug (662053) was mentioned in https://build.opensuse.org/request/show/97018 12.1 / device-mapper -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=662053 https://bugzilla.novell.com/show_bug.cgi?id=662053#c6 --- Comment #6 from Bernhard Wiedemann <bwiedemann@suse.com> 2011-12-19 13:00:09 CET --- This is an autogenerated message for OBS integration: This bug (662053) was mentioned in https://build.opensuse.org/request/show/97024 11.3 / device-mapper https://build.opensuse.org/request/show/97030 11.4 / device-mapper -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=662053 https://bugzilla.novell.com/show_bug.cgi?id=662053#c7 --- Comment #7 from Benjamin Brunner <bbrunner@suse.com> 2011-12-19 14:52:55 CET --- For openSUSE-update requests please set needinfo to maintenance@opensuse.org. I started an update for 11.3, 11.4 and 12.1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=662053 https://bugzilla.novell.com/show_bug.cgi?id=662053#c8 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:44641:moderat | |e --- Comment #8 from Swamp Workflow Management <swamp@suse.de> 2011-12-19 13:59:14 UTC --- The SWAMPID for this issue is 44641. This issue was rated as moderate. Please submit fixed packages until 2012-01-02. Also create a patchinfo file using this link: https://swamp.suse.de/webswamp/wf/44641 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=662053 https://bugzilla.novell.com/show_bug.cgi?id=662053#c dong mao zhang <dmzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |maintenance@opensuse.org -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=662053 https://bugzilla.novell.com/show_bug.cgi?id=662053#c9 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:44641:moderat |maint:running:44641:moderat |e |e maint:released:11.3:44704 | |maint:released:11.4:44704 --- Comment #9 from Swamp Workflow Management <swamp@suse.de> 2012-01-03 16:56:25 UTC --- Update released for: device-mapper, device-mapper-debuginfo, device-mapper-debugsource, device-mapper-devel, lvm2, lvm2-clvm, lvm2-clvm-debuginfo, lvm2-clvm-debugsource, lvm2-debuginfo, lvm2-debugsource Products: openSUSE 11.3 (debug, i586, x86_64) openSUSE 11.4 (debug, i586, x86_64) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=662053 https://bugzilla.novell.com/show_bug.cgi?id=662053#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:44641:moderat |. |e maint:released:11.3:44704 | |maint:released:11.4:44704 | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=662053 https://bugzilla.novell.com/show_bug.cgi?id=662053#c10 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|maintenance@opensuse.org | --- Comment #10 from Benjamin Brunner <bbrunner@suse.com> 2012-01-11 14:48:24 CET --- The update is already running. I'll remove the needinfo-flag. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=662053 https://bugzilla.novell.com/show_bug.cgi?id=662053#c11 dong mao zhang <dmzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Severity|Major |Critical --- Comment #11 from dong mao zhang <dmzhang@suse.com> 2012-01-13 05:37:26 UTC --- close -- Configure bugmail: https://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