|
Bugzilla – Full Text Bug Listing |
| Summary: | After upgrading from 11.1, default kernel is set to 2.6.27.29-0.1-pae (from 11.1), but fails to boot | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.2 | Reporter: | David Bailey <novell_david> |
| Component: | Installation | Assignee: | Stephan Kulow <coolo> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Major | ||
| Priority: | P2 - High | CC: | abittner, forgotten_w4XUsT47_R, jreidinger, ke, lmuelle, mmarek, Ulrich.Windl |
| Version: | RC 2 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | openSUSE 11.2 | ||
| Whiteboard: | maint:released:11.2:28878 | ||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
console messages from failed boot of 2.6.27.29-0.1-pae kernel
YaST logs Yast Logs from install on IBM T61P /etc/sysconfig/bootloader from IBM T61p menu.1st from IBM T61p screenshot of the installation summary y2logs with solver testcase |
||
Please attach the YaST bootloader log files (see http://en.opensuse.org/Bugs/YaST for details) Created attachment 325005 [details]
YaST logs
Attached YaST2 logs
David configuration of GRUB is valid and IMHO correct. It can happen that I didn't catch something but from my point of view it is OK. It seems that problem will be in initrd. Josef could you look at it again please? I hope that I didn't forget anything but IMHO the bug is a candidate for Milan or Michal. *** Bug 551030 has been marked as a duplicate of this bug. *** I look at logs and I cannot find any problem in bootloader. It must be something in kernel or modules. At first I suggest ask mkinitrd maintainer. Reason why pae remain as default is simple. It is not uninstalled (because it is now renamed to default, so maybe kernel-default show deprecate it?) and I don't change default to another flavor unless it is necessary ( because it is annoying for users). So I see two problems - 1) pae should be removed ( I think it is something for mmarek) 2) even if not removed I don't see reason why it should stop work ( maybe mkinitrd issue as it recreate initrd on new system also for old kernel) milan - could you look at it as it looks like problem with modules? (add mmarek to CC) How exactly did you update (zypper up / zypper dup / boot from DVD / ...)? I logged bug 551030 and I updated from the DVD. I had openSuSE 11.1 on my IBM T61p laptop and after the update it booted the old kernel from openSuSE 11.1 and most of the hardware did not work. I have attached the Yast Logs as well as /etc/sysconfig/bootloader and /boot/grub/menu.lst Created attachment 325832 [details]
Yast Logs from install on IBM T61P
This is the Yast2 logs from my install
Created attachment 325833 [details]
/etc/sysconfig/bootloader from IBM T61p
Created attachment 325835 [details]
menu.1st from IBM T61p
(In reply to comment #6) > How exactly did you update (zypper up / zypper dup / boot from DVD / ...)? In my case it was an upgrade from the DVD ISO The problem is that kernel-pae-base-2.6.27.29-0.1.1 was not removed on update :-/ Created attachment 326529 [details]
screenshot of the installation summary
I can reproduce it, for some reason kernel-pae-base is marked as "Keep" during upgrade. What's strange, there is no pae kmp among the other kept packages:
blktrace
fetchmsttfonts
ghostscript-omni
gmp
kernel-pae-base
libreadline5
libsepol1
openct
poppler-data
python-ReportLab
syslong-ng
xorg-x11-driver-video-unichrome
delete_old_packages is set to 'true' in /control.xml Created attachment 326570 [details]
y2logs with solver testcase
The problem is the change from -pae or -default to -desktop: The DVD only has kernel-desktop, which obsoletes kernel-desktop-base, which unfortunately has no effect on kernel-pae-base :(. A zypper dup from the online repository stays with kernel-pae, which correctly obsoletes kernel-pae-base. As a workaround, when updating from DVD, deselect kernel-pae-base manually (In the Update Overview, click Packages, go to the Installation Overview tab, select Show packages with status [X] Keep, scroll down to kernel-pae-base and deselect it). *** Bug 554897 has been marked as a duplicate of this bug. *** Karl, can we document this in the release notes at least? Does a regular network update with YaST also work? I mean, booting with the net-iso and then install from the network (ftp or http). The net-iso should work, because the online repository contains also kernel-pae and kernel-default. But I haven't tried that, so this is only a speculation :). This is my proposal: <!-- bnc#551642 --> <title>Obsolete Kernel When Updating From DVD Medium</title> <para> When updating to 11.2 from the DVD medium, the kernel-pae-base (or kernel-default-base) package is not removed. If you do a distribution upgrade with "zypper dup" from the online repository, it works fine. The workaround to resolve this issue is: In the software package remove the kernel-pae-base package manually before doing the update installation. Proceed as follows: </para> <para> In the "Update Overview" dialog, click "Packages". Go to the "Installation Overview" tab and select "Show packages with status [X] Keep". Then scroll down to the kernel-pae-base package and deactivate it. </para> is there gonna be a fix in some configuration files or anywhere to give us the possibility to recreate the dvd iso install media? i ask for updates and follow-up releases of the opensuse major versions such as the debian folks do with their Rx releases. its really painful when final goldmaster images contain such bugs that render the install media useless or complicate things. is it possible to introduce revision fix releases in the opensuse livecycle? would be great. opensuse 11.2r1 11.2r2 11.2r3 etc... thanks. (In reply to comment #24) > This is my proposal: > > <!-- bnc#551642 --> > > <title>Obsolete Kernel When Updating From DVD Medium</title> > <para> > When updating to 11.2 from the DVD medium, the kernel-pae-base (or > kernel-default-base) package is not removed. If you do a distribution upgrade > with "zypper dup" from the online repository, it works fine. The workaround to > resolve this issue is: In the software package remove the kernel-pae-base ^^^^^^^^^^^^^^^^ "software manager" or "package manager"? > package manually before doing the update installation. Proceed as follows: > </para> > <para> > In the "Update Overview" dialog, click "Packages". Go to the "Installation > Overview" tab and select "Show packages with status [X] Keep". Then scroll > down to the kernel-pae-base package and deactivate it. > </para> Looks good otherwise, thanks for writing this! Thanks for spotting, fixed in SVN (package manager). The alternate term these says would by "software management", I think. Update released for: release-notes-openSUSE Products: openSUSE 11.2 (i586) The 11.2 DVDs are out, a workaround in the release notes is all we can get. For 11.3, there needs to be some /control.xml magic that makes sure kernel-pae-base and kernel-default-base are removed on update. Reassigning to coolo to add the magic. I added them as obsolete packages to the product config now *** Bug 555829 has been marked as a duplicate of this bug. *** |
Created attachment 324985 [details] console messages from failed boot of 2.6.27.29-0.1-pae kernel User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009090900 SUSE/3.0.14-0.1.2 Firefox/3.0.14 Upgraded an openSUSE 11.1 (VMware virtual machine) to 11.2 RC2 After the upgrade, new GRUB entries had been added for 2.6.27.29-0.1-default and desktop kernels, but the default remained at 2.6.27.29-0.1-pae from the 11.1 installation. Attempting to boot from the default entry fails waiting for the /dev/sda2 partition to appear (the root partition). In the /boot partition, I can see vmlinuz, initrd, system-map entries for both the new and existing kernels. They all appear to be about the right size (when compared to other systems I have) However the modules for the 2.6.27.29-0.1-pae kernel appear to be largely missing (presumably deleted during the upgrade) du -sh /lib/modules/2.6.27.29-0.1-pae 2.4M /lib/modules/2.6.27.29-0.1-pae However, on another 11.1 system, I get: 71M 2.6.27.29-0.1-pae Booting from any of the new 11.2 entries appear to work OK. However many users may not realise (as I initially didn't), that the default is actually from the previous installation. Reproducible: Always Steps to Reproduce: 1.Upgrade system from 11.1 to 11.2 2.Upgrade keeps kernel from previous installation as default 3.System fails to boot from default kernel entry. Actual Results: Boot fails with error message waiting for device /dev/sda2 to appear ........