[Bug 765341] New: mkinitrd -f md results in boot failure
https://bugzilla.novell.com/show_bug.cgi?id=765341 https://bugzilla.novell.com/show_bug.cgi?id=765341#c0 Summary: mkinitrd -f md results in boot failure Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: i586 OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: batpul@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20100101 Firefox/12.0 After configuring a RAID1 for my home partition with mdadm there appear error messages during boot about /sbin/mdadm not being found. I conclude that /sbin/mdadm is not part of the initrd by default. A "zcat initrd | cpio -ivd" confirms this. The mkinitrd man page lists the -f option to enable features. The "md" is one such feature according to the output of mkinitrd. When I start "mkinitrd -f md" then a new initrd is created and I can verify using "zcat initrd | cpio -ivd" that now indeed /sbin/mdadm and /sbin/mdmon are both part of the initrd. However, the thus created initrd results in boot failures. On first attempt errors about a missing btrfs module and "ls: not found" appear. I fix this by adding btrfs to INITRD_MODULES. This helps but now the kernel hangs after mounting /boot. The kernel now no longer responds to ctrl-alt-del. My request is if mkinitrd can be fixed such that a working initrd can be created which contains /sbin/mdadm and with a booting kernel. Reproducible: Always Steps to Reproduce: 1.mkinitrd -f md 2.reboot 3.add btrfs to INITRD_MODULES and repeat Actual Results: kernel hangs Expected Results: kernel boots -- 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=765341 https://bugzilla.novell.com/show_bug.cgi?id=765341#c kk zhang <kkzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkzhang@suse.com AssignedTo|bnc-team-screening@forge.pr |mmarek@suse.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=765341 https://bugzilla.novell.com/show_bug.cgi?id=765341#c1 Olaf Hering <ohering@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |ohering@suse.com InfoProvider| |batpul@gmail.com --- Comment #1 from Olaf Hering <ohering@suse.com> 2013-07-11 20:43:37 CEST --- If it still happens with something newer than 12.1: Please attach the "bash -x /sbin/mkinitrd &> mkinitrd.log.txt" output. -- 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=765341 https://bugzilla.novell.com/show_bug.cgi?id=765341#c2 Michal Marek <mmarek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|batpul@gmail.com | Resolution| |WONTFIX --- Comment #2 from Michal Marek <mmarek@suse.com> 2013-09-30 08:09:50 UTC --- openSUSE <= 12.1 is no longer active. If you still can reproduce the problem with openSUSE 12.3 or Factory, please reopen the bug and change the product field accordingly. Sorry that I did not have time to address this bug. -- 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