Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Slackware - Installation This forum is for the discussion of installation issues with Slackware.


  Search this Thread
Old 12-19-2005, 05:01 AM   #1
LQ Newbie
Registered: Dec 2005
Posts: 2

Rep: Reputation: 0
uname returns incorrect kernel version

I just installed Slackware 10.2, kernel 2.4.31. Unforunately, uname thinks that I installed 2.4.32. This is causing modprobe to fail, as it is looking for modules.dep in /lib/modules/2.4.32 instead of /lib/modules/2.4.31 (where modules.dep acutally is). How can I correct uname? How did this error happen?

Old 12-19-2005, 05:06 AM   #2
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
Did you install a new kernel recently? You may need to reboot to get the correct kernel into the memory.
Old 12-21-2005, 01:56 PM   #3
Alien Bob
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 6,511

Rep: Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744
Uname will not report an incorrect kernel version.
Most probable cause could be that you installed the 2.4.32 kernel but forgot the kernel-modules package for that kernel. With kernel 2.4.32 booting, it will then not be able to find its modules.

If you want another check for the version of the running kernel, check the first line of the file /var/log/dmesgwhich contains the kernel version as the kernel itself reports it.

Old 12-22-2005, 03:56 AM   #4
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
Isn't the real problem that the 2.4.32 kernel has been installed as the default kernel, and the modules have been built incorrectly?
Old 12-22-2005, 05:23 AM   #5
LQ Newbie
Registered: Dec 2005
Posts: 2

Original Poster
Rep: Reputation: 0
thanks for your help


I think I installed the wrong kernel image from the boot floppy. Anyway, I quickly upgraded to Linux2.6 and all works fine now. Thanks!


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
uname -r reports wrong kernel version branque Fedora 5 09-16-2005 10:26 AM
# /sbin/lilo returns incorrect error message Bruce Hill Slackware 5 11-24-2004 02:29 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
uname -r gives incorrect version no. neonair Linux - Software 2 03-04-2004 04:35 AM

All times are GMT -5. The time now is 08:13 AM.

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