[Bug 421379] New: mkinitrd-2.4-16 fails with root on lvm+md
https://bugzilla.novell.com/show_bug.cgi?id=421379 User jnieuwenhuizen@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421379#c421369 Summary: mkinitrd-2.4-16 fails with root on lvm+md Product: openSUSE 11.1 Version: Factory Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jnieuwenhuizen@novell.com QAContact: qa@suse.de Found By: --- mkinitrd-2.4-16 fails with root on md0: [after I got a bootable system again with a downgraded mkinitrd] Upgrade: root@peder:/etc/zypp# zypper install mkinitrd Reading installed packages... The following package is going to be upgraded: mkinitrd Overall download size: 57.0 K. After the operation, 38.0 K will be freed. Continue? [YES/no]: Retrieving package mkinitrd-2.4-16.x86_64 (1/1), 57.0 K (101.0 K unpacked) Retrieving: mkinitrd-2.4-16.x86_64.rpm [done] Installing: mkinitrd-2.4-16 [done] Test: root@peder:/etc/zypp# mkinitrd -k /boot/vmlinuz-2.6.25.5-1.1-default -i /tmp/initrd egrep: /lib/mkinitrd/setup/31-evms.sh: No such file or directory egrep: /lib/mkinitrd/setup/41-md.sh: No such file or directory egrep: /lib/mkinitrd/setup/81-dasd.sh: No such file or directory egrep: /lib/mkinitrd/setup/81-iscsi.sh: No such file or directory egrep: /lib/mkinitrd/setup/81-zfcp.sh: No such file or directory egrep: /lib/mkinitrd/setup/92-busybox.sh: No such file or directory Scanning scripts ... Resolve dependencies ... Install symlinks in /lib/mkinitrd/setup ... Install symlinks in /lib/mkinitrd/boot ... Kernel image: /boot/vmlinuz-2.6.25.5-1.1-default Initrd image: /tmp/initrd Root device: /dev/lvmraid/lvm1 (mounted on / as ext3) Resume device: /dev/sda6 Device md0 not handled Script /lib/mkinitrd/setup/72-block.sh failed! Note that no /tmp/initrd image is created here. Downgrading to mkinitrd-2.2-19.1.x86_64.rpm fixes it for me. I'm not sure how, but during the dist-upgrade process from 11.0 to factory, an initrd was created that fails to mount the raid. The upgrade process finished (apparently) succesfully. When booting, it says Waiting for device /dev/md0 to appear: ok node name not found invalid root filesystem -- exiting to /bin/sh not very useful, because the keyboard does not work yet. The impact of this bug is made especially worse by n#421369. $ mount /dev/mapper/lvmraid-lvm1 on / type ext3 (rw,acl,user_xattr,errors=remount-ro) /proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) debugfs on /sys/kernel/debug type debugfs (rw) udev on /dev type tmpfs (rw) devpts on /dev/pts type devpts (rw,mode=0620,gid=5) /dev/mapper/lvmraid-lvm2 on /home type ext3 (rw,errors=remount-ro) /dev/mapper/lvmplain-lvm0 on /biek type ext3 (rw,errors=remount-ro) /dev/mapper/lvmraid-lvm0 on /other type ext3 (rw,errors=remount-ro) fusectl on /sys/fs/fuse/connections type fusectl (rw) securityfs on /sys/kernel/security type securityfs (rw) /proc on /var/lib/ntp/proc type proc (ro) $ sudo pvdisplay --- Physical volume --- PV Name /dev/sdc2 VG Name lvmplain PV Size 465,74 GB / not usable 972,50 KB Allocatable yes (but full) PE Size (KByte) 4096 Total PE 119230 Free PE 0 Allocated PE 119230 PV UUID ZvABzO-Tzzz-v5ho-r9pG-RTz5-DEEB-sWlM7G --- Physical volume --- PV Name /dev/md0 VG Name lvmraid PV Size 295,41 GB / not usable 1,25 MB Allocatable yes PE Size (KByte) 4096 Total PE 75624 Free PE 19304 Allocated PE 56320 PV UUID 6AGq0k-ldg0-yswb-ft3W-LG1b-nuIe-40Mcl7 -- 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=421379 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |hare@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=421379 User hare@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421379#c1 Hannes Reinecke <hare@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Hannes Reinecke <hare@novell.com> 2008-09-12 04:03:43 MDT --- This is due to missinge calls to 'mkinitrd_setup', which will remove all stale links. Please update to the latest version. -- 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=421379 User jnieuwenhuizen@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421379#c2 Jan Nieuwenhuizen <jnieuwenhuizen@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #2 from Jan Nieuwenhuizen <jnieuwenhuizen@novell.com> 2008-09-16 05:07:17 MDT --- Upgraded to 2.4-24. The symlinks issue is now fixed, but the kernel still fails to mount / with the same error message. When booting, it still says [..] Waiting for device /dev/md0 to appear: ok node name not found invalid root filesystem -- exiting to /bin/sh A downgrade to mkinitrd-2.2-19 and mkinitrd -k /boot/vmlinuz-2.6.27-rc5-git9-6-default -i /tmp/initrd-2.2-19 cp /tmp/initrd-2.2-19 /boot/initrd-2.6.27-rc5-git9-6-default fixes it. I remade /boot/initrd-2.6.27-rc5-git9-6-default manually with mkinitrd-2.4-24 in the same way, the command does not complain and looks fine. -- 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=421379 User hare@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421379#c3 Hannes Reinecke <hare@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED --- Comment #3 from Hannes Reinecke <hare@novell.com> 2008-09-18 07:15:45 MDT --- Yes, there is an error when detecting LVM2 devices during boot. -- 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=421379 User hare@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421379#c4 --- Comment #4 from Hannes Reinecke <hare@novell.com> 2008-09-18 07:17:17 MDT --- Created an attachment (id=240316) --> (https://bugzilla.novell.com/attachment.cgi?id=240316) mkinitrd-lvm2-setup-fix Patch to /lib/mkinitrd/scripts/boot-mount.sh to fix LVM2 detection. -- 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=421379 User hare@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421379#c5 Hannes Reinecke <hare@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #5 from Hannes Reinecke <hare@novell.com> 2008-09-18 07:21:09 MDT --- Boots here with the above patch. Updated mkinitrd rpm submitted to autobuild, will be included in the next build. -- 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=421379 User hare@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421379#c6 Hannes Reinecke <hare@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mistinie@novell.com --- Comment #6 from Hannes Reinecke <hare@novell.com> 2008-09-23 07:51:14 MDT --- *** Bug 427315 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=427315 -- 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=421379 User srinivas_ramanatha@dell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421379#c7 Srinivas Ramanatha <srinivas_ramanatha@dell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |srinivas_ramanatha@dell.com, | |wwlinuxengineering@dell.com --- Comment #7 from Srinivas Ramanatha <srinivas_ramanatha@dell.com> 2008-09-23 08:01:45 MDT --- Would this patch make it to Open SuSE 11 Beta-2? Please comment. Thanks Srinivas -- 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=421379 User hare@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421379#c8 Hannes Reinecke <hare@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mario_bz@mgtech.com --- Comment #8 from Hannes Reinecke <hare@novell.com> 2008-09-26 01:36:31 MDT --- *** Bug 419863 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=419863 -- 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=421379 User hare@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=421379#c9 Hannes Reinecke <hare@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bitdealer@gmail.com --- Comment #9 from Hannes Reinecke <hare@novell.com> 2008-09-29 05:32:21 MDT --- *** Bug 428146 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=428146 -- 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