[Fedora] Re: Rolling back kernel

Matthew Saltzman mjs at ces.clemson.edu
Thu Apr 19 21:53:26 UTC 2007


On Thu, 19 Apr 2007, Ashley M. Kirchner wrote:

> alan wrote:
>> If you have a known good kernel installed, change grub to use it as the 
>> default and then reboot.
>   There's only one kernel installed right now, 2944.  And it's causing the 
> lockups [*]  So I need to get 2933 back on the machine.
>
>> You only need to have one copy of kernel-headers installed. You may have to 
>> remove the new one and then install the old one.
>   I can't remove it without glibc-headers complaining.
>
>   Hence my question of whether I should just force the installation of 2933, 
> ignore the errors, adjust grub, reboot with 2933, then remove 2944.

You can just leave the updated kernel-headers.  I have kernels back to 
2.6.20-1.2925.2.5.fc6.netdev.7 (not a stock kernel), including the stock 
2.6.20-1.2933.fc6, and only one kernel-headers-2.6.20-1.2944.fc6.  kernel 
RPMs don't even depend on kernel-headers anyway.

$ rpm -q --requires kernel-2.6.20-1.2933.fc6
rpmlib(VersionedDependencies) <= 3.0.3-1
fileutils
module-init-tools
initscripts >= 8.11.1-1
mkinitrd >= 5.1.19.0.2-1
/bin/sh
/bin/sh
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
[mjs at vincent52 str-plan]$ rpm -q --whatrequires kernel-headers
glibc-headers-2.5-10.fc6
glibc-headers-2.5-10.fc6
[mjs at vincent52 str-plan]$ rpm -q glibc-headers
glibc-headers-2.5-10.fc6
[mjs at vincent52 str-plan]$ rpm -q --requires glibc-headers
/bin/sh
glibc = 2.5-10.fc6
kernel-headers
kernel-headers >= 2.2.1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1


>
>
>   [*] Side note: how can I capture the OOPS that I get when the system locks 
> up?
>
>

-- 
 		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs




More information about the fedora-list mailing list