Bug 787058

Summary: mdadm --incremental on 12.2 RAID1 / md.service failed to load
Product: [openSUSE] openSUSE 12.2 Reporter: Agnelo de la Crotche <hippolyte>
Component: BasesystemAssignee: E-mail List <bnc-team-screening>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 12.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Agnelo de la Crotche 2012-10-27 04:52:11 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0

System displays this error at boot: 
Creating device nodes with udev
[ 2.072585] ACPI: [Package] has zero elements (ffff880036ffac80)
udevd[195]: failed to execute '/sbin/mdadm' /sbin/mdadm --incremental /dev/sdc1 --offroot': No such file or directory
udevd[196]: failed to execute '/sbin/mdadm' /sbin/mdadm --incremental /dev/sdb1 --offroot': No such file or directory
and switches to emergency mode. I'm not able to enter multiuser mode.

Reproducible: Always

Steps to Reproduce:
1. installation was OK
2. update to latest kernel was OK too.
3. installation of flgrx, which needed to recreate initrd caused the problem
4. I could not fix it, even after deinstalling fglrx and rebuilding initrd (also tried to delete /var/run/mdadm/map and rebuild initrd but it didn't help)
Actual Results:  
system boot in emergency mode, md.service failed to load. All filesystems in /etc/fstab are mounted though (whether they are in the RAID arry or not). The system is on sda and NOT in RAID. The RAID1 array in sdb+sdc is used for data storage only. I'm able to start md.service manually (!?), but other services such as network or dbus will fail and bring me back to emergency mode after the timeout.

Expected Results:  
md.service starts as well as all other services and/or rebuilding initrd fixes the problem.

I actually tried to save initrd before fglrx rebuild it and copy it back to /boot, but it didn't help. The issue is very similar to the one reported here: http://old.nabble.com/-opensuse--12.2-won%27t-boot,-mdadm-RAID1-problem-tc34477765.html and also similiar to this bug https://bugzilla.novell.com/show_bug.cgi?id=733283, which was apparently fixed under 12.1. My guess is that the fact that fglrx is involved here is an epihenomenom. I'm afraid it might happen in other situations. 
I was able to configure the NIC maually and set a default route, so I could reinstall the latest kernel. It rebuilt initrd but didn't help. I can not start sshd and I'm stuck in emergency mode. It makes it difficult to copy/paste results.
Comment 1 Agnelo de la Crotche 2012-10-27 12:39:15 UTC
Not a bug! Please disregard and close this report. 
A bad entry in /etc/fstab  for a non existing cdrom device and a non configured network (dhcp server was dead)  caused most services to fail.
Comment 2 Jiaying Ren 2012-10-31 09:08:38 UTC
Ok.