LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 03: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, 04:09 PM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

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

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

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

Rep: Reputation: 51
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, 01: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, 10:26 AM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

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


Reply



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 08:20 PM
'uname -a' gives old kernel version j91935 Debian 7 04-12-2004 03:10 PM
uname kernel version sk8ercool2001 Linux - Software 1 04-07-2004 10:03 PM
PHPMyAdmin reports wrong PHP version. Pcghost Programming 2 10-24-2003 02:21 PM
uname -r is wrong!? eee Linux - Software 9 01-26-2002 09:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:19 PM.

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
Open Source Consulting | Domain Registration