[Bug 691056] New: mkinitrd fails to notice presence of LVM
https://bugzilla.novell.com/show_bug.cgi?id=691056 https://bugzilla.novell.com/show_bug.cgi?id=691056#c0 Summary: mkinitrd fails to notice presence of LVM Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: Linux Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jengelh@medozas.de QAContact: qa@suse.de Found By: Beta-Customer Blocker: --- On openSUSE-11.4 with mkinitrd-2.6.0-8.2.x86_64, running it produces Kernel image: /boot/vmlinuz-2.6.37.6-jng135-default Initrd image: /boot/initrd-2.6.37.6-jng135-default Root device: /dev/vg_gaia/lv_system (mounted on / as ext4) modprobe: Module kernel not found. WARNING: no dependencies for kernel module 'kernel' found. Kernel Modules: mii r8169 configfs netconsole scsi_transport_spi sym53c8xx dm-mod dm-snapshot crc16 jbd2 mbcache ext4 nls_base usbcore pcmcia_core pcmcia mmc_core ssb ohci-hcd ehci-hcd uhci-hcd hid usbhid dm-crypt arc4 Features: dm usb luks 24585 blocks "block" and/or "lvm2" features are not included, which leads to an unbootable system. Why is that? -- 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=691056
https://bugzilla.novell.com/show_bug.cgi?id=691056#c1
--- Comment #1 from Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=691056
https://bugzilla.novell.com/show_bug.cgi?id=691056#c2
--- Comment #2 from Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=691056
https://bugzilla.novell.com/show_bug.cgi?id=691056#c
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=691056
https://bugzilla.novell.com/show_bug.cgi?id=691056#c3
Michal Marek
blockdev is nuked by find_luks_devices, though there are no LUKS devices on this system. Commenting out find_luks_devices makes mkinitrd automatically detect that it needs the features "block lvm2". Afterwards, the system boots properly again.
Reassigning to cryptsetup maintainer. -- 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=691056
https://bugzilla.novell.com/show_bug.cgi?id=691056#c4
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=691056
https://bugzilla.novell.com/show_bug.cgi?id=691056#c5
Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=691056
https://bugzilla.novell.com/show_bug.cgi?id=691056#c6
Ludwig Nussel
finding deps of /dev/vg_gaia/lv_system (254:1) ... vg_gaia-lv_system already handled
There should be the output of dbg -n "isLuks $luksbd ... " in between. Weird. You could add a set -x before find_luks_devices and set +x afterwards to find out what the shell does. Is the luks volume inside the lvm or lvm inside luks? Did you create the partitioning using yast? Does the error also also appear with an unmodified suse kernel? -- 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=691056
https://bugzilla.novell.com/show_bug.cgi?id=691056#c7
Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=691056
https://bugzilla.novell.com/show_bug.cgi?id=691056#c8
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=691056
https://bugzilla.novell.com/show_bug.cgi?id=691056#c9
Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=691056
https://bugzilla.novell.com/show_bug.cgi?id=691056#c10
--- Comment #10 from Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=691056
https://bugzilla.novell.com/show_bug.cgi?id=691056#c11
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=691056
https://bugzilla.novell.com/show_bug.cgi?id=691056#c
Jan Engelhardt
participants (1)
-
bugzilla_noreply@novell.com