You are not logged in.

#1 2007-02-23 21:02:31

mrproper
Member
Registered: 2007-02-23
Posts: 3

[SOLVED]uname -r gives wrong kernel

Hi.

Ill just get right to the point here.

uname -r gives me 2.6.15-ARCH

seemed a bit low, time to upgrade.

tried pacman -Sy kernel26,  which tells me I already have the latest kernel.

Problem is when i use modprobe it looks in the directory /lib/modules/'uname -r' but the real directory is /lib/modules/2.6.20-ARCH
I could just change the directory named, but thats a little too messy..

Any idea why uname would say I have 2.6.15?

Last edited by mrproper (2007-02-24 00:05:29)

Offline

#2 2007-02-23 21:23:15

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [SOLVED]uname -r gives wrong kernel

you need to reboot after installing a new kernel.

If you have rebooted and it's still reporting 2.6.15, you probably need to use lilo, so run:

/sbin/lilo -v

James

Offline

#3 2007-02-23 23:47:53

mrproper
Member
Registered: 2007-02-23
Posts: 3

Re: [SOLVED]uname -r gives wrong kernel

tried rebooting and now i get "Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

My grub.conf :
    root (hd0,0)
    kernel /vmlinuz26 root=/dev/sdb3 ro
    initrd /initrd26.img

This worked after I had installed the base system from the arch install cd, since then i have:
updated the system - pacman -Sy
then updated pacman  - pacman -S pacman
then updated again - pacman -Syu
installed xorg with  - pacman -S xorg and ran Xorg - configure
tested startx which worked
finally I installed nvidia and couldnt modprobe the module...

not sure which one of these steps has broken the system..

any help would be appreciated!

Offline

#4 2007-02-23 23:49:56

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: [SOLVED]uname -r gives wrong kernel

during boot..when you get to the grub screen..
hit the 'e' key.
Then move down to the initrd line. hit 'e' again.
then change

initrd /initrd26.img
to
initrd /kernel26.img

then hit enter.
then 'b'

after your system comes up, change that line again in /boot/grub/menu.lst
so that it persists..

enjoy your new kernel. smile


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#5 2007-02-24 00:05:03

mrproper
Member
Registered: 2007-02-23
Posts: 3

Re: [SOLVED]uname -r gives wrong kernel

thanks allot.. SOLVED!

Offline

Board footer

Powered by FluxBB