Ask Your Question
0

Why do I have multiple kernels; are there issues with the 3.2.6-3 kernel?

asked 2012-02-20 07:20:12 -0500

arkiaz gravatar image

updated 2012-03-13 02:12:36 -0500

FranciscoD_ gravatar image

I updated my kernel to version 3.2.6-3 in Fedora 16. Now when i boot, it shows both older and new version of kernel on grub menu (first it was 3.1.2. Then to 3.2.3. And finally 3.2.6. All the three are shown in grub menu).

First i need to remove all old kernels. How i can do that?

And system restarts automatically in the middle of any work. Sometimes, system hangs while shutdown. I am not sure whether problem is with kernel update or any hardware problem.

Does anyone have this kind of problem?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
1

answered 2012-02-20 09:26:28 -0500

maxyan gravatar image

Many problems related to this version has been reported. Some people are unable to suspend. I experience random freezes on closing windows. Just wait until it's repaired. You can always report a bug to https://bugzilla.redhat.com/, but I suppose it will be soon resolved. It's rather not hardware problem but you can never be sure.

I advise you against removing old kernels. As you can see right now, you have possibility of booting old kernel when the new one fails. By the way, you can assure you about your hardware by doing so. If you still insist on removing them then create new question (this one's title suggests the second issue), or look for grub menu editors. I can't help in this case. Just remember to ignore all solutions which modify grub.conf (or menu.lst). This is the old way. This file is being overwritten every kernel update.

edit flag offensive delete link more
0

answered 2012-03-13 20:53:27 -0500

davidva gravatar image

updated 2012-03-13 23:12:51 -0500

Hi friend, Try it

In console

su- c 'yum -y update --skip-broken'

su -c 'package-cleanup --oldkernels -y'

edit flag offensive delete link more
0

answered 2012-02-20 13:56:37 -0500

ztank1013 gravatar image

The following command it is not necessary but will give you an idea of currently vmlinuz files present in your system, in my case I see 3 of them:

# ll /boot/vmlinuz*
-rwxr-xr-x. 1 root root 4602192 Jan 23 16:41 /boot/vmlinuz-3.2.1-3.fc16.x86_64
-rwxr-xr-x. 1 root root 4604688 Jan 26 04:26 /boot/vmlinuz-3.2.2-1.fc16.x86_64
-rwxr-xr-x. 1 root root 4604944 Feb 13 21:40 /boot/vmlinuz-3.2.6-3.fc16.x86_64

my current version is the latest:

# uname -r
3.2.6-3.fc16.x86_64

but this other command shows what is actually the configuration of the grub system and which kernel is going to boot the machine:

# egrep ^menuentry\|^set /boot/grub2/grub.cfg
set default="0"
set timeout=1
menuentry 'Fedora (3.2.6-3.fc16.x86_64)' --class fedora --class gnu-linux --class gnu --class os {
menuentry 'Fedora (3.2.2-1.fc16.x86_64)' --class fedora --class gnu-linux --class gnu --class os {
menuentry 'Fedora (3.2.1-3.fc16.x86_64)' --class fedora --class gnu-linux --class gnu --class os {
menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {

The set default="0" directive will say to use the first menu entry Fedora (3.2.6-3.fc16.x86_64)

If you want to remove the Fedora (3.2.1-3.fc16.x86_64) kernel you may proceed querying the package DB and select the right one to erase (-e option)

# rpm -qa |grep ^kernel
kernel-devel-3.2.2-1.fc16.x86_64
kernel-3.2.6-3.fc16.x86_64
kernel-3.2.2-1.fc16.x86_64
kernel-headers-3.2.6-3.fc16.x86_64
kernel-devel-3.2.6-3.fc16.x86_64
kernel-devel-3.2.1-3.fc16.x86_64
kernel-3.2.1-3.fc16.x86_64

and remove it (them):

# rpm -e kernel-3.2.1-3.fc16.x86_64 kernel-devel-3.2.1-3.fc16.x86_64

Reboot your system and at next GRUB prompt check if the kernel-3.2.1-3 was removed.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-02-20 07:20:12 -0500

Seen: 11,817 times

Last updated: Mar 13 '12