Bug 666830

Summary: upgrading kernel fails ; causes boot fail
Product: [openSUSE] openSUSE 11.4 Reporter: Bernhard Wiedemann <bwiedemann>
Component: KernelAssignee: Michal Marek <mmarek>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: Creationn, jeffm, jslaby
Version: Factory   
Target Milestone: ---   
Hardware: All   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: yast2 logs with solverTestcase

Description Bernhard Wiedemann 2011-01-25 07:45:46 UTC
# zypper up kernel-default
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: preload-kmp-default-1.2_k2.6.37-2.13.i586 requires ksym(default:current_task) = 48fa29dc, but this requirement cannot be provided
  deleted providers: kernel-default-2.6.37-16.1.i586
 Solution 1: deinstallation of preload-kmp-default-1.2_k2.6.37-2.13.i586
 Solution 2: do not install kernel-default-2.6.37-20.1.i586
 Solution 3: break preload-kmp-default by ignoring some of its dependencies


Additionally, this issue (and other similar ones) can cause systems to not boot by default, because kernel-default-base package will be upgraded by "zypper up", but the associated initrd will not contain ext* drivers to mount the rootfs.

One workaround is to manually select the old kernel entry in grub (if you have access to the console).
The other workaround is to force upgrade of kernel-default by using solution 1 or 3 above.
Comment 2 Jiri Slaby 2011-01-28 19:47:40 UTC
(In reply to comment #1)
> this does still happen
> http://openqa.opensuse.org/opensuse/testresults/openSUSE-NET-i586-Build1036-11.3dup/timeout-1.png

That's weird, preload was fixed already. Maybe you use some mirror which didn't have the up-to-date packages?

BTW. why do you have -base package installed? That's wrong for current opensuse and it will not boot properly on most setups.
Comment 3 Bernhard Wiedemann 2011-01-28 21:17:19 UTC
All my NET-installs run from the local openqa mirror which pulls directly from stage.o.o between tests.
It even takes extra care to update RPMs before updating metadata and deleting old stuff. Just checked, that my mirror has the same versions as download.o.o.
2011-01-25 10:32 factory/repo/oss/suse/i586/preload-kmp-desktop-1.2_k2.6.37.0_20-4.1.i586.rpm
2011-01-24 18:21 factory/repo/oss/suse/i586/kernel-desktop-2.6.37-20.1.i586.rpm

and the dup problem still happened this evening
http://openqa.opensuse.org/opensuse/testresults/openSUSE-NET-i586-Build1040-11.3dup/timeout-4.png

dup from 11.2 x86_64 worked fine, though.


I am rather sure, that I never explicitly asked for the -base packages to be installed, but nevertheless it was on both of my factory notebooks.
I tried to uninstall it on my mid-january factory (updated in little steps from MS4 or so) and got told by rpm that it is needed for preload-kmp-default. So maybe libzypp proposed to install this earlier, to satisfy such dependencies?
Comment 4 Bernhard Wiedemann 2011-02-15 16:50:40 UTC
I saw this again at
http://openqa.opensuse.org/opensuse/testresults/openSUSE-NET-i586-Build1068-11.3dup/timeout-1.jpg

but finally got to the root cause of it:
I did the original install with Qemu's 64bit CPU, that has nx bit set and that made yast select kernel-desktop, but the upgrade ran with -cpu qemu32
which lacks the nx bit and would not even boot the kernel-desktop of the 11.3 install.

For my tests, I modified the 11.3 base image to have kernel-default & kmp-default installed, which made the upgrade work.
Comment 5 Bernhard Wiedemann 2011-02-15 16:51:27 UTC
Created attachment 414189 [details]
yast2 logs with solverTestcase
Comment 6 Ursan Marius Bogdan 2012-01-24 10:48:28 UTC
As far as i know preload is dropped from 12.1 (https://bugzilla.novell.com/show_bug.cgi?id=680456#c8 or http://forums.opensuse.org/english/get-technical-help-here/tumbleweed/464147-preload-woes-fibmap-invalid-argument-occasional-slowdown-computer-3.html#post2380317 ) and future versions so i guess users coming from 11.4 should first remove preload and then upgrade to 12.1 via zypper dup. 

Personally i had manually removed preload since 11.4 so do you think we can put this bug to rest and closed it as Resolved Wontfix since preload is dropped ?
Comment 7 Jeff Mahoney 2012-08-02 15:58:23 UTC
With the coming release of openSUSE 12.2, openSUSE kernel developers are focusing their efforts there. Reports against openSUSE 11.4 and prior will not get the attention needed to resolve them before openSUSE 12.2 is release and openSUSE 11.4 becomes unmaintained.

Please re-test with openSUSE 12.1 or openSUSE RC2+ and re-open with an updated Product if you still encounter your issue.

We apologize for this issue not getting the attention it deserves but we are focusing our resources in the area where they will have the most impact for our users.  We're working hard to make openSUSE 12.2 the best openSUSE release yet!