Bug 583424

Summary: [md RAID1] boot fails with cmdline root=LABEL= syntax (could not find /dev/root)
Product: [openSUSE] openSUSE 11.3 Reporter: Felix Miata <mrmazda>
Component: KernelAssignee: Michal Marek <mmarek>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: jeffm, jengelh
Version: Factory   
Target Milestone: ---   
Hardware: i586   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: machine data summary (condensed equivalent to portions of y2logs)

Description Felix Miata 2010-02-25 21:32:35 UTC
y2logs for the 11.3M2 install to /dev/md3 are at: https://bugzilla.novell.com/attachment.cgi?id=262841

This is bug 483136 except that according to https://bugzilla.novell.com/show_bug.cgi?id=483136#c36 because on RAID this is distinguishable, and apparently needs a separate fix.

Of the following five (hd0,0)/boot/grub/menu.lst stanzas:

title openSUSE 11.0 - default kernel on LABEL=08suse110 (/dev/md1)
    root (hd0,7)
    kernel /boot/vmlinuz root=LABEL=08suse110 
    initrd /boot/initrd

title openSUSE 11.1 - default kernel on LABEL=09suse111 (/dev/md2)
    root (hd0,8)
    kernel /boot/vmlinuz root=LABEL=09suse111 
    initrd /boot/initrd

title openSUSE 11.3 - default kernel on LABEL=10suse113 (/dev/md3)
    root (hd0,9)
    kernel /boot/vmlinuz root=LABEL=10suse113
    initrd /boot/initrd

title openSUSE 11.3 - default kernel on /dev/md3(hda10/hdb10)
    root (hd0,9)
    kernel /boot/vmlinuz root=/dev/md3 
    initrd /boot/initrd

title openSUSE 11.3 - default kernel on /dev/sda10(hda10)
    root (hd0,9)
    kernel /boot/vmlinuz root=/dev/sda10 
    initrd /boot/initrd

All but the middle one succeed in booting the indicated OS. The middle/third fails the same as bug 483136.
Comment 1 Felix Miata 2010-02-25 21:40:32 UTC
Created attachment 344964 [details]
machine data summary (condensed equivalent to portions of y2logs)

The comment 0 and bug 581652 machine for which the y2logs indicated in comment 0 apply is a virtual clone of my local file and web server running 11.0. The attachment is data from the live server, which boots successfully using 'root=LABEL=08-suse110' on cmdline and runs / on /dev/md1, which is comprised of /dev/sda8 and /dev/sdb8.
Comment 2 Michal Marek 2010-03-23 14:14:03 UTC
This should be fixed with

Tue Mar 23 14:49:38 CET 2010 - mmarek@suse.cz  

- mkinitrd-*.sh: Assemble md arrays even if the root= or resume=  
  option doesn't directly refer to md (bnc#589676, bnc#586837,  
  bnc#583424).

in the mdadm package, however you'll hit bug 567225 when you boot and run mkinitrd again...
Comment 3 Michal Marek 2010-04-07 07:42:05 UTC
*** Bug 594228 has been marked as a duplicate of this bug. ***
Comment 4 Michal Marek 2012-06-18 14:21:50 UTC
*** Bug 567225 has been marked as a duplicate of this bug. ***