LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 09-14-2005, 04:40 PM   #1
branque
LQ Newbie
 
Registered: Jan 2005
Location: Nottingham @ UK
Distribution: Debian, Fedora Core, Suse
Posts: 9

Rep: Reputation: 0
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
2.6.12-1.1398_FC4

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.
 
Old 09-14-2005, 05:09 PM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 48
maybe you haven't restarted since you installed the new kernel? or you chose to load the old kernel?
 
Old 09-14-2005, 05:21 PM   #3
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Does yum automatically update the grub config?

uname -r, I am fairly certain, does report the correct information.
 
Old 09-14-2005, 06:08 PM   #4
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 48
Quote:
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.
 
Old 09-16-2005, 02:14 AM   #5
branque
LQ Newbie
 
Registered: Jan 2005
Location: Nottingham @ UK
Distribution: Debian, Fedora Core, Suse
Posts: 9

Original Poster
Rep: Reputation: 0
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
2.6.12-1.1447_FC4

// Patrick.
 
Old 09-16-2005, 11:26 AM   #6
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
That would be a key point.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Login reports wrong kernel mdarby Slackware 10 11-28-2004 09:20 PM
'uname -a' gives old kernel version j91935 Debian 7 04-12-2004 04:10 PM
uname kernel version sk8ercool2001 Linux - Software 1 04-07-2004 11:03 PM
PHPMyAdmin reports wrong PHP version. Pcghost Programming 2 10-24-2003 03:21 PM
uname -r is wrong!? eee Linux - Software 9 01-26-2002 10:54 PM


All times are GMT -5. The time now is 01:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration