Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel upgrade and "make menuconfig"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
doulos447
n00b
n00b


Joined: 04 Nov 2005
Posts: 16

PostPosted: Fri Nov 04, 2005 1:54 pm    Post subject: Kernel upgrade and "make menuconfig" Reply with quote

I'm fairly new to Gentoo (and Linux in general for that matter). Learning tons but still pretty much a n00b so please forgive if this seems like a stupid question:


I recently upgraded the kernel 2.6.13 from R3 to R5. It was my first kernel upgrade. seemed to go well. I updated the symlink and changed the grub.conf file. All in all, it went fine.

However I notice one small issue. Whenever I recompile the modules in the kernel using the "make menuconfig" command, the old kernel (2.6.13-gentoo-r3) shows up at the top of the initial configuration screen. Also the path under /lib/modules still refers to the old rather than the newer R5. Am I missing something? I followed the "Gentoo Linux kernel Upgrade Guide" to the letter, or at least I think I did. This may not be a real issue and may not cause any problems, but I dunno. Any help would be appreciated.

Thanks

D.
Back to top
View user's profile Send private message
anello
Guru
Guru


Joined: 17 Jul 2005
Posts: 557
Location: EU -> DE -> Stuttgart

PostPosted: Fri Nov 04, 2005 2:11 pm    Post subject: Reply with quote

type uname -r to see which kernel you are using.

Did you compile a new kernel at all? Or did you just get newer sources?
Back to top
View user's profile Send private message
TheWitePony
Apprentice
Apprentice


Joined: 04 Feb 2004
Posts: 211

PostPosted: Fri Nov 04, 2005 2:12 pm    Post subject: Reply with quote

Sounds like you might have missed something. The name of the new kernel should be printed at the top of the config screen. Double check that your system link does in fact point to the correct kernel.

Here I'm using 2.6.14
Code:

albert@wvd32791rh ~ $ ls -l /usr/src/linux
lrwxrwxrwx  1 root root 12 Oct 31 09:39 /usr/src/linux -> linux-2.6.14
Back to top
View user's profile Send private message
doulos447
n00b
n00b


Joined: 04 Nov 2005
Posts: 16

PostPosted: Fri Nov 04, 2005 2:26 pm    Post subject: Back to the drawing board.... Reply with quote

Interesting. It does show the old kernel when I do a uname -r.

Thanks! Let me backtrack to see what I missed. The symlink does point to the new Kernel (ie /usr/src/linux now points to R5).


D.
Back to top
View user's profile Send private message
TheWitePony
Apprentice
Apprentice


Joined: 04 Feb 2004
Posts: 211

PostPosted: Fri Nov 04, 2005 2:31 pm    Post subject: Reply with quote

One thing to remeber to do, which is very easy to forget, is to copy the bzImage to /boot after you finish compiling the kernel. I've forgetten this myself more than a few times.
Back to top
View user's profile Send private message
Aysen
Apprentice
Apprentice


Joined: 18 May 2005
Posts: 187
Location: Poland

PostPosted: Fri Nov 04, 2005 3:37 pm    Post subject: Re: Kernel upgrade and "make menuconfig" Reply with quote

doulos447 wrote:
I recently upgraded the kernel 2.6.13 from R3 to R5. It was my first kernel upgrade. seemed to go well. I updated the symlink and changed the grub.conf file. All in all, it went fine.

I'm not sure if I understand right, but... did you, by any chance, change the symlink AFTER compiling the kernel?
Please don't feel offended if you did it right, that's just my guess.
Back to top
View user's profile Send private message
doulos447
n00b
n00b


Joined: 04 Nov 2005
Posts: 16

PostPosted: Fri Nov 04, 2005 3:54 pm    Post subject: New Kernel upgrade Reply with quote

Not offended at all! Actually, I don't remember, honestly.

D.
Back to top
View user's profile Send private message
Aysen
Apprentice
Apprentice


Joined: 18 May 2005
Posts: 187
Location: Poland

PostPosted: Fri Nov 04, 2005 4:02 pm    Post subject: Re: New Kernel upgrade Reply with quote

doulos447 wrote:
Not offended at all! Actually, I don't remember, honestly.

D.

Well, if you don't remember then maybe you should try recompiling kernel again, but make sure that you change the symlink before that. Otherwise you always recompile the old kernel :wink:
Back to top
View user's profile Send private message
doulos447
n00b
n00b


Joined: 04 Nov 2005
Posts: 16

PostPosted: Fri Nov 04, 2005 4:13 pm    Post subject: Kernel upgrade and "make menuconfig" Reply with quote

That very well could have been the problem. I'll try that as soon as I can. Thanks Aysen!
Back to top
View user's profile Send private message
Aysen
Apprentice
Apprentice


Joined: 18 May 2005
Posts: 187
Location: Poland

PostPosted: Fri Nov 04, 2005 4:27 pm    Post subject: Reply with quote

You're welcome :)
I hope it solves the problem.
Back to top
View user's profile Send private message
Karl-Franz
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2005
Posts: 121
Location: /se/lund

PostPosted: Fri Nov 04, 2005 10:14 pm    Post subject: Reply with quote

If you have your /boot mounted and run a
Code:
make install
after the make, and make modules and whatever, the new kernel will automatically be installed and your latest kernel will be named something like bzImage.old. Setting your bootloader up with this will save you some time.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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