[Bug 206609] New: mkinitrd 1.2-106.18 generates incorrect initrd on system where / is on lvm
https://bugzilla.novell.com/show_bug.cgi?id=206609 Summary: mkinitrd 1.2-106.18 generates incorrect initrd on system where / is on lvm Product: SUSE Linux 10.1 Version: Final Platform: x86 OS/Version: SuSE Linux 10.1 Status: NEW Severity: Critical Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: moby@pcsn.net QAContact: qa@suse.de For systems where / is on lvm, mkinitrd 1.2-106.18 generates an initrd with evms support instead of lvm, thereby rendering the system unbootable. This version of mkinitrd and an associated kernel update were released recently and made available via automatic updates. This can be a big problem since systems setup to automatically install critical patches will be rendered unbootable if they use / on lvm. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206609 hare@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel- |hare@novell.com |maintainers@forge.provo.nove| |ll.com | Status|NEW |ASSIGNED -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206609 j-engel@gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |j-engel@gmx.de ------- Comment #1 from j-engel@gmx.de 2006-09-25 04:29 MST ------- This is not necessarily true, since I haven't got evms installed, the initrd is usable, but I get errors during creation "File descriptor 5 left open", "/dev/hda8 is no md device". So it seems to be detected as an MD device (not evms in my case), although it is lvm2. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206609 moby@pcsn.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |moby@pcsn.net ------- Comment #2 from moby@pcsn.net 2006-09-25 09:55 MST ------- I did not have evms either - just lvm2. Looking into the initrd generated on my system, I saw evms files in there instead of lvm files - hence my conclusion that mkinitrd was creating an initrd for evms systems instead of lvm even when the system only had lvm. In Johannes case, it seems that despite the errors, approprite lvm support was included in the initrd, since otherwise the kernel would not have booted and mounted root. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206609 j-engel@gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High ------- Comment #3 from j-engel@gmx.de 2006-09-26 16:39 MST ------- Seems to be... Here my errors on generating an initrd: /boot # mkinitrd -k vmlinuz-2.6.16.21-0.25-engel -i initrd-2.6.16.21-0.25-engel -s 1400x1050 -M /boot/System.map-2.6.16.21-0.25-engel /sbin/mkinitrd: line 3031: evms: command not found File descriptor 5 left open File descriptor 5 left open mdadm: /dev/hda8 does not appear to be an md device mdadm: /dev/hda8 does not appear to be an md device mdadm: /dev/hda8 does not appear to be an md device Root device: /dev/system/root (mounted on / as reiserfs) Module list: piix processor thermal fan reiserfs dm_mod dm-mod dm-snapshot raid0 raid1 raid5 linear (xennet xenblk dm-mod dm-snapshot) Kernel image: /boot/vmlinuz-2.6.16.21-0.25-engel Initrd image: /boot/initrd-2.6.16.21-0.25-engel Shared libs: lib/ld-2.4.so lib/libacl.so.1.1.0 lib/libattr.so.1.1.0 lib/libc-2.4.so lib/libdevmapper.so.1.02 lib/libdl-2.4.so lib/libhistory.so.5.1 lib/libncurses.so.5.5 lib/libpthread-2.4.so lib/libreadline.so.5.1 lib/librt-2.4.so lib/libuuid.so.1.2 Cannot determine dependencies of module raid0. Is modules.dep up to date? Cannot determine dependencies of module raid1. Is modules.dep up to date? Cannot determine dependencies of module raid5. Is modules.dep up to date? Cannot determine dependencies of module linear. Is modules.dep up to date? Cannot determine dependencies of module raid0. Is modules.dep up to date? Cannot determine dependencies of module raid1. Is modules.dep up to date? Cannot determine dependencies of module raid5. Is modules.dep up to date? Cannot determine dependencies of module linear. Is modules.dep up to date? Driver modules: ide-core ide-disk piix processor thermal fan dm-mod dm-snapshot Filesystem modules: reiserfs Including: initramfs dm/lvm2 fsck.reiserfs Bootsplash: SuSE (1400x1050) 11426 blocks The "File descriptor 5 left open" errors result from the call of lvs in line 3039 of /sbin/mkinitrd, the following three errors from line 3049. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206609 j-engel@gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 - High |P3 - Medium -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206609 ------- Comment #4 from j-engel@gmx.de 2006-09-27 05:53 MST ------- The problem persists in mkinitrd-1.2-106.19 -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206609 hare@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |DUPLICATE ------- Comment #5 from hare@novell.com 2006-09-28 07:27 MST ------- *** This bug has been marked as a duplicate of bug 208417 *** -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com