[Bug 623268] New: LVM support was lost for booting of updated system.
http://bugzilla.novell.com/show_bug.cgi?id=623268 http://bugzilla.novell.com/show_bug.cgi?id=623268#c0 Summary: LVM support was lost for booting of updated system. Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: Update Problems AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Markus.Elfring@web.de QAContact: jsrain@novell.com Found By: --- Blocker: --- I updated a couple of software components from current packages on Friday. Yesterday I was surprised that all Linux kernels I could select from the GRUB menu could not find the root file system which is contained in a logical volume. I reactivated an old kernel with the corresponding initial RAM disk to get a working openSUSE back. I am curious which update "dropped" the LVM2 support to boot as expected from /dev/mapper/system-root"". Which ways would be recommended to repair the contents of the other RAM disks? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623268 http://bugzilla.novell.com/show_bug.cgi?id=623268#c yang xiaoyu <xyyang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyyang@novell.com AssignedTo|bnc-team-screening@forge.pr |xwhu@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623268 http://bugzilla.novell.com/show_bug.cgi?id=623268#c1 --- Comment #1 from Xinwei Hu <xwhu@novell.com> 2010-07-19 01:45:06 UTC --- Hi Markus, Could you let me know the output of 'rpm -q -changlog' of the following packages ? Device-mapper Udev Lvm2 Thanks -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623268 http://bugzilla.novell.com/show_bug.cgi?id=623268#c2 --- Comment #2 from Markus Elfring <Markus.Elfring@web.de> 2010-07-19 10:50:36 UTC --- Created an attachment (id=376728) --> (http://bugzilla.novell.com/attachment.cgi?id=376728) change logs Which tools can add the required module(s) for support of logical volume management to the RAM disk in a "convenient" and safe way? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623268 http://bugzilla.novell.com/show_bug.cgi?id=623268#c3 --- Comment #3 from Xinwei Hu <xwhu@novell.com> 2010-07-20 09:01:16 UTC --- (In reply to comment #2)
Created an attachment (id=376728) --> (http://bugzilla.novell.com/attachment.cgi?id=376728) [details] change logs
Which tools can add the required module(s) for support of logical volume management to the RAM disk in a "convenient" and safe way?
Hi Markus: I assume you are referring to initrd. If this is the case, you can get to it via "mkinitrd -f lvm2" (refer to man mkinitrd for details). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623268 http://bugzilla.novell.com/show_bug.cgi?id=623268#c4 --- Comment #4 from Markus Elfring <Markus.Elfring@web.de> 2010-07-21 11:41:00 UTC --- (In reply to comment #3) I refer to the proper completion of initial ram file systems. I would like to be sure that the required modules or features will be added with a version that will really fit to the target kernels. Should the update process ask the user (or system administrator) about potential adjustments for initrd files which do not belong to affected kernel images of the current distribution upgrade? Is the parameter "-k kernel_list" used during the update so that selected files can be left unchanged? Which command triggered the deletions that damaged LVM support? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623268 http://bugzilla.novell.com/show_bug.cgi?id=623268#c5 --- Comment #5 from Xinwei Hu <xwhu@novell.com> 2010-07-21 13:04:38 UTC --- (In reply to comment #4)
(In reply to comment #3)
I refer to the proper completion of initial ram file systems. I would like to be sure that the required modules or features will be added with a version that will really fit to the target kernels.
Should the update process ask the user (or system administrator) about potential adjustments for initrd files which do not belong to affected kernel images of the current distribution upgrade?
Is the parameter "-k kernel_list" used during the update so that selected files can be left unchanged?
Which command triggered the deletions that damaged LVM support?
Theoretically, no commands should do that. My first thought was it's a duplicate of bnc#619461, which seems to be wrong now. And I cannot reproduce this issue in my environment so far yet. Can you provide me some way to reproduce this issue ? Thanks a lot. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623268 http://bugzilla.novell.com/show_bug.cgi?id=623268#c6 --- Comment #6 from Markus Elfring <Markus.Elfring@web.de> 2010-07-21 13:45:01 UTC --- (In reply to comment #5) I can give you more installation details from my side if you need it. Which software packages contain update instructions for initrd files? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623268 http://bugzilla.novell.com/show_bug.cgi?id=623268#c7 --- Comment #7 from Xinwei Hu <xwhu@novell.com> 2010-07-28 06:24:27 UTC --- (In reply to comment #6)
(In reply to comment #5)
I can give you more installation details from my side if you need it. Which software packages contain update instructions for initrd files?
There're a couple of scripts in /lib/mkinitrd/scripts. When you call 'mkinitrd', the scripts in /lib/mkinitrd/setup will be used to setup, and scripts in /lib/mkinitrd/boot will be copied into the initrd file. Hope this helps. Thanks -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623268 http://bugzilla.novell.com/show_bug.cgi?id=623268#c8 --- Comment #8 from Markus Elfring <Markus.Elfring@web.de> 2010-07-28 09:18:34 UTC --- (In reply to comment #7)
Hope this helps.
Not really in the direction I need ... Would we like to identify the concrete update instructions which damaged the LVM support on my system? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623268 http://bugzilla.novell.com/show_bug.cgi?id=623268#c9 --- Comment #9 from Xinwei Hu <xwhu@novell.com> 2010-07-30 09:38:55 UTC --- (In reply to comment #8)
(In reply to comment #7)
Hope this helps.
Not really in the direction I need ...
Would we like to identify the concrete update instructions which damaged the LVM support on my system?
I think /var/log/YaST2/mkinitrd.log will be a good start. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623268 http://bugzilla.novell.com/show_bug.cgi?id=623268#c10 --- Comment #10 from Markus Elfring <Markus.Elfring@web.de> 2010-08-04 16:15:38 UTC --- Created an attachment (id=380609) --> (http://bugzilla.novell.com/attachment.cgi?id=380609) excerpt from the file "/var/log/YaST2/mkinitrd.log" (In reply to comment #9) Do you see any unexpected details in this log output? -- Configure bugmail: http://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=623268 https://bugzilla.novell.com/show_bug.cgi?id=623268#c11 Anniyka Wandersmann <anniyka@googlemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anniyka@googlemail.com --- Comment #11 from Anniyka Wandersmann <anniyka@googlemail.com> 2010-08-26 22:20:26 UTC --- I hope that this is the same bug. Description: During Milestones I had a similar problem. The screen run through with the message that root on /dev/vg00/root could not be found. It was fixed in initrd as far as I remember. Now with kerne from 11.3 I got no message, only "Doing fast boot". The HD-LED blinked rapidly. The system boots with a kernel including initrd from 11.2. The kernel I tried now was one I build myself with "make cloneconfig; make; make module_install; make install" I get the LVM messages that /dev/vg00/root is not found. Well but vg01 IS found and activated. I can not boot with a kernel from 11.3 (original or selfmade) as vg00 remains lost. -- 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=623268 https://bugzilla.novell.com/show_bug.cgi?id=623268#c12 --- Comment #12 from Anniyka Wandersmann <anniyka@googlemail.com> 2010-08-27 09:15:20 UTC --- Ok, I think I found it. My vg00 is on an md-device. anniys:~ # lsinitrd /boot/initrd-2.6.34-12-default | sort > init.old anniys:~ # lsinitrd /boot/initrd-2.6.34-0.1-default | sort > init.new anniys:~ # lsinitrd /boot/initrd.main | sort > init.main 2.6.34-0.1-default is my selfmade kernel mentioned above. 2.6.34-12-default is the original default kernel of 11.3 main is the kernel from 11.2: anniys:~ # cat /proc/version Linux version 2.6.31.5-0.1-default (geeko@buildhost) (gcc version 4.4.1 [gcc-4_4-branch revision 150839] (SUSE Linux) ) #1 SMP 2009-10-26 15:49:03 +0100 anniys:~ # diff init.main init.old | grep -v lib/ 45d44 < boot/51-md.sh 64d62 < config/md.sh 78d75 < etc/mdadm.conf 95a93
etc/modprobe.d/nvidia.conf 161a160 lib64/libsepol.so.1 174,237c173,250
310,311d322 < sbin/mdadm < sbin/mdmon anniys:~ # diff init.main init.new | grep -v lib/ 45d44 < boot/51-md.sh 64d62 < config/md.sh 78d75 < etc/mdadm.conf 95a93
etc/modprobe.d/nvidia.conf 161a160 lib64/libsepol.so.1 174,237c173,229
310,311d301 < sbin/mdadm < sbin/mdmon anniys:~ # pvdisplay /dev/md1 --- Physical volume --- PV Name /dev/md1 VG Name vg00 PV Size 440,71 GiB / not usable 2,44 MiB Allocatable yes PE Size 4,00 MiB Total PE 112821 Free PE 42336 Allocated PE 70485 PV UUID rGO4WX-e3bc-31YG-4p1Y-H5G6-kVW5-HjjGjR vg01 is not on an md-device -- 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=623268 https://bugzilla.novell.com/show_bug.cgi?id=623268#c13 --- Comment #13 from Markus Elfring <Markus.Elfring@web.de> 2010-08-27 19:18:49 UTC --- (In reply to comment #11) By the way:
I can not boot with a kernel from 11.3 (original or selfmade) as vg00 remains lost.
The self-compiled kernels 2.6.34 and 2.6.35 that I cloned from the Git repository at "kernel.org" worked with LVM support as usual in my use case. -- 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=623268 https://bugzilla.novell.com/show_bug.cgi?id=623268#c14 Xinwei Hu <xwhu@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xwhu@novell.com AssignedTo|xwhu@novell.com |mmarek@novell.com --- Comment #14 from Xinwei Hu <xwhu@novell.com> 2010-09-27 09:02:55 UTC --- Seems to be a mkinitrd issue. Try to reassign. Feel free to assign back to me if you found any further clue ;) Thanks -- 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=623268 https://bugzilla.novell.com/show_bug.cgi?id=623268#c15 Michal Marek <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |Markus.Elfring@web.de --- Comment #15 from Michal Marek <mmarek@novell.com> 2010-11-04 16:04:39 UTC --- Please attach the logs described at http://en.opensuse.org/openSUSE:Bugreport_mkinitrd#Logs. -- 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=623268 https://bugzilla.novell.com/show_bug.cgi?id=623268#c16 Markus Elfring <Markus.Elfring@web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|Markus.Elfring@web.de | --- Comment #16 from Markus Elfring <Markus.Elfring@web.de> 2010-11-04 21:16:10 UTC --- Created an attachment (id=398684) --> (http://bugzilla.novell.com/attachment.cgi?id=398684) detailed log file I guess that the current log file might show a situation that is different from the results of the distribution update which triggered my bug report. -- 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=623268 https://bugzilla.novell.com/show_bug.cgi?id=623268#c17 Michal Marek <mmarek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #17 from Michal Marek <mmarek@suse.com> 2013-09-30 08:09:07 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