[Bug 839097] New: LVM does not work on startup
https://bugzilla.novell.com/show_bug.cgi?id=839097 https://bugzilla.novell.com/show_bug.cgi?id=839097#c0 Summary: LVM does not work on startup Classification: openSUSE Product: openSUSE Factory Version: 13.1 Milestone 3 Platform: x86-64 OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: gwerner@ventfair.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 Hi all, I'm not on factory, but on tumbleweed, I couldn't find it here. I use kernel 3.10.7 right now, since the newer kernels doesn't find my root-partition (lvm). I tried 3.10.10 and 3.11, but both didn't work. I hope my kernels installed right since i have problems with pango-querymodules-64 since some time already, because i get a gtk error and this comes up at any kernel-related (the kernel itself, virtual-box and so on). Here the error for the pango-querymodules-64, so you may have a clue if has something to do with my error: ------------------------------------- (pango-querymodules-64:4429): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init() (pango-querymodules-64:4429): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed (pango-querymodules-64:4429): GLib-GObject-WARNING **: cannot retrieve class for invalid (unclassed) type `<invalid>' (pango-querymodules-64:4429): GLib-GObject-CRITICAL **: g_enum_get_value: assertion `G_IS_ENUM_CLASS (enum_class)' failed (pango-querymodules-64:4429): Pango-WARNING **: Engine reported invalid script value 2 ------------------------------------- Back to my problem, i have one single hdd in my Notebook which has partitions: - sda1, LVM2, see below - sda2, Dell Recovery Partition - sda3, Windows 7 which is totally unused - sda4, /boot Here details of my LVM: --- Logical volume --- LV Path /dev/linux/home LV Name home VG Name linux LV UUID i1r34p-DBbT-0d7k-p8Cv-0Id9-vsui-v0K2Ox LV Write Access read/write LV Creation host, time , LV Status available # open 1 LV Size 277,00 GiB Current LE 70913 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:0 --- Logical volume --- LV Path /dev/linux/root LV Name root VG Name linux LV UUID Y8jy12-S1es-KkFB-5Yvn-4TDp-3R8U-TX1mn3 LV Write Access read/write LV Creation host, time , LV Status available # open 1 LV Size 100,00 GiB Current LE 25600 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:1 --- Logical volume --- LV Path /dev/linux/swap LV Name swap VG Name linux LV UUID GWBpXn-2O50-NWW8-WjL2-k1nb-vchv-Wj1Ow9 LV Write Access read/write LV Creation host, time , LV Status available # open 2 LV Size 2,82 GiB Current LE 722 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:2 Here is the error i get in 3.11 on boot (as i said 3.10.10 doesn't work also): Kernel panic - not syncing VFS: Unable to mount root fs on unknown-block(0,0) CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.11.0-26.g16dd1ca-desktop #1 Hardware name: Dell Inc. Latitude E6330/0NG17W, BIOS A06 10/08/2012 0000000000000000 0000000000000001 ffffffff815dcc1f ffffffff817d6548 ffffffff815d0b1e 34303830817d5fe0 3830002000000010 ffff8802134dde48 ffff8802134ddde8 ffff8802134dde38 ffff8802134dde60 000000000000001a Call Trace: [<ffffffff81004b48>] dump_trace+0x88/0x300 [<ffffffff81004e9a>] show_stack_log_lvl+0xda/0x1e0 [<ffffffff810063dc>] show_stack+0x1c/0x50 [<ffffffff815dcc1f>] dump_stack+0x50/0x80 [<ffffffff815d8b1e>] panic+0xc5/0x1d1 [<ffffffff81cd935d>] mount_block_root+0x204/0x2b8 [<ffffffff81cd959c>] prepare_namepsace+0x138/0x16e [<ffffffff81cd90a8>] kernel_init_freeable+0x1cf/0x1dc [<ffffffff815ce7f9>] kernel_init+0x9/0xf0 [<ffffffff815ea93c>] ret_from_fork+0x7c/0xb0 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 1 at /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.0/linux3.11/arch/x86/kernel/smp.c Modules linked in: CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.11.0-26.g16dd1ca-desktop #1 Hardware name: Dell Inc. Latitude E6330/0NG17W, BIOS A06 10/08/2012 0000000000000000 0000000000000009 ffffffff815dcc1f 0000000000000000 ffffffff81053956 ffff8802134da040 0000000000000000 0000000000000000 ffff88021e20d780 ffff88021e203f60 ffffffff8106119e ffff8802134ddd18 Call Trace: [<ffffffff81004b48>] dump_trace+0x88/0x300 [<ffffffff81004e9a>] show_stack_log_lvl+0xda/0x1e0 [<ffffffff810063dc>] show_stack+0x1c/0x50 [<ffffffff815dcc1f>] dump_stack+0x50/0x80 [<ffffffff81053956>] warn_slowpath_common+0x86/0xb0 [<ffffffff8106199e>] update_process_times+0x5e/0x80 [<ffffffff810b02f7>] tick_sched_handle.isra.10+0x27/0x70 [<ffffffff810b0465>] tick_sched_timer+0x45/0x70 [<ffffffff81078ff8>] __run_hrtimer+0x68/0x260 [<ffffffff810798b9>] hrtimer_interrupt+0xf9/0x240 [<ffffffff81030da6>] smp_apic_timer_interrupt+0x36/0x50 [<ffffffff815eb7dd>] apic_timer_interrupt+0x6d/0x80 [<ffffffff815d8beb>] panic+0x192/0x1d1 [<ffffffff81cd935d>] mount_block_root+0x204/0x2b8 [<ffffffff81cd959c>] prepare_namepsace+0x138/0x16e [<ffffffff81cd90a8>] kernel_init_freeable+0x1cf/0x1dc [<ffffffff815ce7f9>] kernel_init+0x9/0xf0 [<ffffffff815ea93c>] ret_from_fork+0x7c/0xb0 ---[ end trace ab0bb69cf49031e0 ]--- I hope I have all the hex-codes right since i just took photos and wrote it all down here. Reproducible: Always Steps to Reproduce: 1. Start Notebook 2. Grub2 -> Boot Kernel 3.10.10/3.11 3. Error Actual Results: See Details, it has a kernel panic and doesn't boot Expected Results: Like Kernel 3.10.7 it should mount my root-lvm-partition and boot normally My Grub2 entry looks like that (automatically by grub2-mkconfig): menuentry 'openSUSE' --class 'opensuse' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-685a6a44-48de-40eb-8e24-7302820fc159' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos4' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 --hint='hd0,msdos4' 32c6adf7-c1df-4104-b623-378f2e697e33 else search --no-floppy --fs-uuid --set=root 32c6adf7-c1df-4104-b623-378f2e697e33 fi echo 'Linux 3.11.0-26.g16dd1ca-desktop wird geladen …' linux /vmlinuz-3.11.0-26.g16dd1ca-desktop root=/dev/mapper/linux-root video=1366x768 resume=/dev/linux/swap splash=silent quiet showopts i915.i915_enable_rc6=7 i915.i915_enable_fbc=1 i915.lvds_downclock=1 drm.vblankoffdelay=1 } menuentry 'openSUSE, mit Linux 3.10.10-25.g8038aea-desktop' --class 'opensuse' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.10.10-25.g8038aea-desktop-advanced-685a6a44-48de-40eb-8e24-7302820fc159' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos4' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 --hint='hd0,msdos4' 32c6adf7-c1df-4104-b623-378f2e697e33 else search --no-floppy --fs-uuid --set=root 32c6adf7-c1df-4104-b623-378f2e697e33 fi echo 'Linux 3.10.10-25.g8038aea-desktop wird geladen …' linux /vmlinuz-3.10.10-25.g8038aea-desktop root=/dev/mapper/linux-root video=1366x768 resume=/dev/linux/swap splash=silent quiet showopts i915.i915_enable_rc6=7 i915.i915_enable_fbc=1 i915.lvds_downclock=1 drm.vblankoffdelay=1 } menuentry 'openSUSE, mit Linux 3.10.7-23.g771dec3-desktop' --class 'opensuse' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.10.7-23.g771dec3-desktop-advanced-685a6a44-48de-40eb-8e24-7302820fc159' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos4' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 --hint='hd0,msdos4' 32c6adf7-c1df-4104-b623-378f2e697e33 else search --no-floppy --fs-uuid --set=root 32c6adf7-c1df-4104-b623-378f2e697e33 fi echo 'Linux 3.10.7-23.g771dec3-desktop wird geladen …' linux /vmlinuz-3.10.7-23.g771dec3-desktop root=/dev/mapper/linux-root video=1366x768 resume=/dev/linux/swap splash=silent quiet showopts i915.i915_enable_rc6=7 i915.i915_enable_fbc=1 i915.lvds_downclock=1 drm.vblankoffdelay=1 echo 'Initiale Ramdisk wird geladen …' initrd /initrd-3.10.7-23.g771dec3-desktop } -- 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=839097
https://bugzilla.novell.com/show_bug.cgi?id=839097#c
Alberto Planas Dominguez
https://bugzilla.novell.com/show_bug.cgi?id=839097
https://bugzilla.novell.com/show_bug.cgi?id=839097#c1
--- Comment #1 from Gabriel Werner
https://bugzilla.novell.com/show_bug.cgi?id=839097
https://bugzilla.novell.com/show_bug.cgi?id=839097#c2
Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=839097
https://bugzilla.novell.com/show_bug.cgi?id=839097#c3
--- Comment #3 from Gabriel Werner
Could you please check that your sda1 partition has type 8e (Linux LVM) Yes, Yast tells me it is.
and maybe run mkinitrd in this rootfs to see if the output mentions lvm. That could be a/the problem. mkinitrd is bugged for me, since pango-querymodules-64 seems not to work right. Everytime i update anything kernel related with zypper (kernel/vbox/...) it hangs up, if i do ctrl + c i get the error you see here: # mkinitrd Scanning scripts ... Resolve dependencies ... Install symlinks in /lib/mkinitrd/setup ... Install symlinks in /lib/mkinitrd/boot ...
Kernel image: /boot/vmlinuz-3.10.0-16.g3dcd746-default Initrd image: /boot/initrd-3.10.0-16.g3dcd746-default KMS drivers: i915 (pango-querymodules-64:5969): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init() (pango-querymodules-64:5969): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed (pango-querymodules-64:5969): GLib-GObject-WARNING **: cannot retrieve class for invalid (unclassed) type `<invalid>' (pango-querymodules-64:5969): GLib-GObject-CRITICAL **: g_enum_get_value: assertion `G_IS_ENUM_CLASS (enum_class)' failed (pango-querymodules-64:5969): Pango-WARNING **: Engine reported invalid script value 2
I think this is not a problem with the kernel, but rather the initrd. The kernel just reports that it can not find your root partition and can not continue any further.
The initrd should setup the LVM device mapping with the lvm2 tools
So could it be, that the mapping changed between 3.10.7 and 3.10.10 (i didn't have 8 and 9, since i was in vacation). Since i got the mkinitrd-bug already before 3.10.x The only thing i could do against it is downgrading my glib/gtk to see if it helps. Tell me if i should.. I'm also installing 3.11.1 right now -- 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=839097
https://bugzilla.novell.com/show_bug.cgi?id=839097#c4
--- Comment #4 from Gabriel Werner
https://bugzilla.novell.com/show_bug.cgi?id=839097
https://bugzilla.novell.com/show_bug.cgi?id=839097#c5
Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=839097
https://bugzilla.novell.com/show_bug.cgi?id=839097#c6
--- Comment #6 from Gabriel Werner
https://bugzilla.novell.com/show_bug.cgi?id=839097
https://bugzilla.novell.com/show_bug.cgi?id=839097#c7
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=839097
https://bugzilla.novell.com/show_bug.cgi?id=839097#c8
--- Comment #8 from Gabriel Werner
https://bugzilla.novell.com/show_bug.cgi?id=839097
https://bugzilla.novell.com/show_bug.cgi?id=839097#c9
--- Comment #9 from Gabriel Werner
https://bugzilla.novell.com/show_bug.cgi?id=839097
https://bugzilla.novell.com/show_bug.cgi?id=839097#c10
--- Comment #10 from Gabriel Werner
https://bugzilla.novell.com/show_bug.cgi?id=839097
https://bugzilla.novell.com/show_bug.cgi?id=839097#c11
--- Comment #11 from Gabriel Werner
participants (1)
-
bugzilla_noreply@novell.com