LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   uname returns incorrect kernel version (https://www.linuxquestions.org/questions/slackware-installation-40/uname-returns-incorrect-kernel-version-394417/)

mszenher 12-19-2005 05:01 AM

uname returns incorrect kernel version
 
Hi,
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?

Thanks,
Matt

abisko00 12-19-2005 05:06 AM

Did you install a new kernel recently? You may need to reboot to get the correct kernel into the memory.

Alien Bob 12-21-2005 01:56 PM

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.

Eric

mjjzf 12-22-2005 03:56 AM

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?

mszenher 12-22-2005 05:23 AM

thanks for your help
 
Hi,

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!


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