-   Fedora (
-   -   uname -r reports wrong kernel version (

branque 09-14-2005 03:40 PM

uname -r reports wrong kernel version
Im using Fedora Core 4 on a server online to internet and have come across a an possable issue.

If I as root write ...

[root@localhost ~]# uname -r

but when I check ...

[root@localhost ~]# vi /var/log/yum.log
Aug 29 23:30:44 Installed: kernel.i686 2.6.12-1.1447_FC4

and If I do a ...

[root@localhost ~]# yum list kernel.i686
kernel.i686 2.6.12-1.1398_FC4 installed
kernel.i686 2.6.12-1.1447_FC4 installed

Can someone please explain to me what happend with 2.6.12-1.1447_FC4 kernel and why uname -r do not report right version.

Thanks, Patrick.

spooon 09-14-2005 04:09 PM

maybe you haven't restarted since you installed the new kernel? or you chose to load the old kernel?

Matir 09-14-2005 04:21 PM

Does yum automatically update the grub config?

uname -r, I am fairly certain, does report the correct information.

spooon 09-14-2005 05:08 PM


Originally posted by Matir
Does yum automatically update the grub config?
Sometimes, when you update a package, rpm will not replace some old files and put the new file at "foo.rpmnew" if the file was "foo". In these cases you should make a copy of the old file and then overwrite it with the new one.

branque 09-16-2005 01:14 AM

Thanks for all replays...

I checked uptime ...

[root@localhost ~]# uptime
07:09:57 up 122 day, 10:01, 1 user, load average: 0.08, 0.02, 0.01

seems like I have not restarted after updating kernel. I did a restart, now uname -r reports latest kernel version.

[root@localhost ~]# uname -r

// Patrick.

Matir 09-16-2005 10:26 AM

That would be a key point. :)

All times are GMT -5. The time now is 12:16 PM.