Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
uname -r issue.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Firebirth
n00b
n00b


Joined: 05 Jan 2003
Posts: 47

PostPosted: Sat Jan 25, 2003 4:13 pm    Post subject: uname -r issue. Reply with quote

Hi... I posted on this previously, but still I haven't found an answer. The thing is, that I get following output when running uname:

Code:

# uname -r
2.4.19-gentoo-r7


but I'm using the kernel version 2.4.20-gentoo-r7 (I deleted the 2.4.19-gentoo-r7 kernel). I have made my symlink point to the correct position:

Code:

# ls -l
total 12
lrwxrwxrwx    1 root     root           23 Jan 25 16:56 linux -> linux-2.4.20-gentoo-r1/
drwxr-xr-x   16 root     root         4096 Jan 25 16:56 linux-2.4.19-gentoo-r10
drwxr-xr-x    2 root     root         4096 Nov 13 23:17 linux-2.4.19-gentoo-r9
drwxr-xr-x   16 root     root         4096 Jan 25 16:55 linux-2.4.20-gentoo-r1
lrwxrwxrwx    1 root     root           23 Nov  9 14:30 linux.bak -> linux-2.4.19-gentoo-r9/


and I have a /boot/bzImage file from my newest compiled kernel (the 2.4.20)... And in the top of the 2.4.20 Makefile, there stands

Code:

SUBLEVEL = 20
EXTRAVERSION = -gentoo-r1

which should be the data that, when compiled, uname reads from!

The problem is causing (since lots of scripts uses uname) that I for instance can't use my modules, since they scripts look in the old r7 directory for the files (I tried and modify update-modules, but with no succes)...

What could be the reason that uname does this? - What I did when making my kernel was make dep && make clean && make bzImage && make modules && make modules_install. And the symlink was made with ln -sf ... - Is there something I've forgotten to do?
_________________
Lust desires eternity; wants deep, deep eternity!

-- F. Nietzsche "Thus spoke Zarathustra"
Back to top
View user's profile Send private message
compu-tom
Guru
Guru


Joined: 09 Jan 2003
Posts: 415
Location: Berlin, Germany

PostPosted: Sat Jan 25, 2003 4:18 pm    Post subject: Reply with quote

Did you
Code:
mount /boot
cp arch/i386/boot/bzImage /boot
? When you startup your computer, at the beginning the kernel version will be displayed.

Note: If you use lilo, you have to run "lilo" after copying the kernel image to /boot.
Back to top
View user's profile Send private message
Firebirth
n00b
n00b


Joined: 05 Jan 2003
Posts: 47

PostPosted: Sat Jan 25, 2003 8:05 pm    Post subject: Reply with quote

yes... just copied the kernel into a library on /dev/hda3 called /boot :oops: ... man ! - Thanks for the revelation!
_________________
Lust desires eternity; wants deep, deep eternity!

-- F. Nietzsche "Thus spoke Zarathustra"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum