[Bug 601668] New: zypper in kernel-desktop right after M6 install makes unusable kernel-desktop stanzas in menu.lst
http://bugzilla.novell.com/show_bug.cgi?id=601668 http://bugzilla.novell.com/show_bug.cgi?id=601668#c0 Summary: zypper in kernel-desktop right after M6 install makes unusable kernel-desktop stanzas in menu.lst Classification: openSUSE Product: openSUSE 11.3 Version: Milestone 6 Platform: x86 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mrmazda@earthlink.net QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=358409) --> (http://bugzilla.novell.com/attachment.cgi?id=358409) pre-installation partitioning explained To reproduce (likely not easy): 1-install to empty / target on multiboot system containing 11.0, 11.1, 11.2 and 11.3M(6-[1-4]) among others 2-zypper in kernel-desktop after first reboot 3-reboot Actual results: 1-stanzas for kernel-desktop point to (hd0,9)(location of / for 11.2) 2-kernel-desktop will not boot without manual intervention Expected results: 1-stanzas for kernel-desktop point to (hd0,18)(actual /) 2-kernel-desktop boots without manual intervention Notes: 1-9.2 / is on (hd0,20) 2-11.1 / is on (hd0,15) 3-11.2 is on (hd0,9) 4-11.3M4 is on (hd0,17) 5-Mandriva, Rawhide, Knoppix, DOS & OS/2 are on various other partitions 6-y2logs are @ bug 601649 http://bugzilla.novell.com/attachment.cgi?id=358407 7-I saved the 4 different generations of menu.lst in case y2logs don't have what's needed, the last being the one I fixed manually. Let me know if they need to be attached too. -- 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=601668 http://bugzilla.novell.com/show_bug.cgi?id=601668#c yang xiaoyu <xyyang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyyang@novell.com AssignedTo|bnc-team-screening@forge.pr |kernel-maintainers@forge.pr |ovo.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=601668 http://bugzilla.novell.com/show_bug.cgi?id=601668#c Michal Marek <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Basesystem |Bootloader AssignedTo|kernel-maintainers@forge.pr |jreidinger@novell.com |ovo.novell.com | QAContact|qa@suse.de |jsrain@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=601668 http://bugzilla.novell.com/show_bug.cgi?id=601668#c1 Josef Reidinger <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |mrmazda@earthlink.net --- Comment #1 from Josef Reidinger <jreidinger@novell.com> 2010-05-06 14:12:51 UTC --- Hi, I investigate logs and for me it looks like everything work as expected. I get kernel install for kernel-desktop and point root to / in mount point I see: Mount point: / ; Device: /dev/disk/by-label/10factory For this device I get from udev this information: /dev/disk/by-label/10factory -> /dev/sda10 and /dev/sda10 is for me 10th partition so it is hd0,9. So what is wrong in computation? Mount point parsing or udev information? -- 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=601668 http://bugzilla.novell.com/show_bug.cgi?id=601668#c2 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|mrmazda@earthlink.net | --- Comment #2 from Felix Miata <mrmazda@earthlink.net> 2010-05-06 16:40:47 UTC --- In the logs in /YaST2/ you can see the first files are _dev_sda and _dev_sda19, which are the target disk and partition's boot blocks. In disks_sda.info you can see (the / target) sda19 has no uuid, which is because it is newly created and unformatted. In mkinitrd.log line 49 shows [MOUNT] Root:...part19. Iny2log_bootloader you can see point to (hd0,19) for grub installation to /. So as you can see in the logs for initial installation everything seems to have gone as expected. It is only after first boot and 'zypper in kernel-desktop' that somehow the new kernel-desktop gets pointed to the 11.2 partition (hd0,9) instead of the current / partition (hd0,18). I don't know what went wrong in computation, whether parsing or udev. -- 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=601668 http://bugzilla.novell.com/show_bug.cgi?id=601668#c3 Josef Reidinger <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |mrmazda@earthlink.net --- Comment #3 from Josef Reidinger <jreidinger@novell.com> 2010-05-07 06:47:59 UTC --- OK, so please provide files: /etc/fstab /proc/mounts and output of command udevadm info -q all -n /dev/sda19 udevadm info -q all -n /dev/sda10 to see if I it match data in pbl internal stuctures during update. 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=601668 http://bugzilla.novell.com/show_bug.cgi?id=601668#c4 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|mrmazda@earthlink.net | --- Comment #4 from Felix Miata <mrmazda@earthlink.net> 2010-05-07 07:29:00 UTC --- Created an attachment (id=360322) --> (http://bugzilla.novell.com/attachment.cgi?id=360322) outputs requested in comment 3 -- 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=601668 http://bugzilla.novell.com/show_bug.cgi?id=601668#c5 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #360322|0 |1 is obsolete| | --- Comment #5 from Felix Miata <mrmazda@earthlink.net> 2010-05-07 07:51:30 UTC --- Created an attachment (id=360326) --> (http://bugzilla.novell.com/attachment.cgi?id=360326) outputs requested in comment 3 while booted to sda19 This host has 2 11.3 installs, sda18 & sda19. I booted the wrong one for the previous attachment. -- 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=601668 http://bugzilla.novell.com/show_bug.cgi?id=601668#c6 Josef Reidinger <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |mrmazda@earthlink.net --- Comment #6 from Josef Reidinger <jreidinger@novell.com> 2010-05-07 08:32:02 UTC --- Thanks for output. I found where is problem. When you add desktop kernel fstab looks like this: fstab: /dev/sda1 /hpfs/C hpfs noexec,case=asis,umask=0,ro,noauto 0 0 /dev/sda3 /disks/C msdos dmask=0000,fmask=0111,user,ro,noauto 0 0 /dev/sda6 /disks/E msdos dmask=0000,fmask=0111,user,rw,noauto 0 0 LABEL=113M6 / ext3 noatime,acl,user_xattr 1 1 LABEL=07boot /disks/boot ext2 noatime,acl 1 2 /dev/disk/by-id/ata-ST380215A_9QZ3XSF2-part8 swap swap defaults 0 0 LABEL=10factory /disks/suse112 ext3 noatime,noauto,noacl 0 0 LABEL=12home /home ext3 noatime,acl 1 2 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 /dev/sda9 /disks/cooker ext3 noatime,noacl,noauto 0 0 LABEL=10factory / ext3 noatime,noacl 1 1 /dev/sda11 /disks/rawhide ext3 noatime,noacl,noauto 0 0 /dev/sda13 /srv ext3 noatime,noacl,noauto 0 0 /dev/sda14 /usr/local ext3 noatime,noacl,noauto 0 0 /dev/sda15 /disks/kubuntu ext3 noatime,noacl,noauto 0 0 LABEL=16suse111 /disks/suse111 ext3 noatime,noacl,noauto 0 0 LABEL=17mdv2009 /disks/mdv2009 ext3 noatime,noacl,noauto 0 0 LABEL=S80A2-suse113 /disks/suse113 ext3 noatime,noacl,noauto 0 0 LABEL=S80A2-knoppix /disks/knoppix ext3 noatime,noacl,noauto 0 0 LABEL=S80A2-suse92 /disks/suse92 ext3 noatime,noacl,noauto 0 0 LABEL=S80A2-usrsrc /usr/src ext3 noatime,noacl,noauto 0 0 LABEL=S80A2-pub /pub ext3 noatime,noacl,noauto 0 0 /dev/sda24 /hpfs/F hpfs noexec,case=asis,umask=0,ro,noauto 0 0 /dev/sda25 /hpfs/G hpfs noexec,case=asis,umask=0,ro,noauto 0 0 /dev/sda26 /hpfs/H hpfs noexec,case=asis,umask=0,ro,noauto 0 0 /dev/sda27 /hpfs/I hpfs noexec,case=asis,umask=0,ro,noauto 0 0 /dev/sda28 /hpfs/J hpfs noexec,case=asis,umask=0,ro,noauto 0 0 without net devices. Please see that there is twice entry for '/' (second one is one with LABEL=10factory). Perl-Bootloader read fstab and assign to hash, so it use second one isntead of first. Do you manually modify fstab? Do you have idea where this record comes? -- 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=601668 http://bugzilla.novell.com/show_bug.cgi?id=601668#c7 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|mrmazda@earthlink.net | Resolution| |INVALID --- Comment #7 from Felix Miata <mrmazda@earthlink.net> 2010-05-07 12:13:11 UTC --- This was a hurried install, so during partition assignments I skipped all that manual entry, expecting simple copy and pasting to fix up fstab after reboot. This I always have to do anyway because installer never does HPFS or MSDOS partitions to work right, plus I need a long list of NFS and CIFS entries. Then I did sloppy error checking during the manual fixup. Normally I rearrange entries so that all appear in partition number order. Here I failed to do that, with the result of that duplication of a / mountpoint that would have been non-fatal if I had sorted, since the current / on 19 should have been after that / on 10. This bit me on first reboot after kernel-desktop install, as the wrong partition was getting mounted on /, and many things were behaving inexplicably until I found out why and fixed fstab. This would not have happened if installer picked the kernel-desktop in the first place. What's triggering use of kernel-default instead of kernel-desktop on initial installation? -- 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=601668 http://bugzilla.novell.com/show_bug.cgi?id=601668#c8 --- Comment #8 from Josef Reidinger <jreidinger@novell.com> 2010-05-07 13:10:30 UTC --- Sorry, I don't know this information, it choose software management, not bootloader. -- 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.
participants (1)
-
bugzilla_noreply@novell.com