View previous topic :: View next topic |
Author |
Message |
doulos447 n00b
Joined: 04 Nov 2005 Posts: 16
|
Posted: Fri Nov 04, 2005 1:54 pm Post subject: Kernel upgrade and "make menuconfig" |
|
|
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 |
|
|
anello Guru
Joined: 17 Jul 2005 Posts: 557 Location: EU -> DE -> Stuttgart
|
Posted: Fri Nov 04, 2005 2:11 pm Post subject: |
|
|
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 |
|
|
TheWitePony Apprentice
Joined: 04 Feb 2004 Posts: 211
|
Posted: Fri Nov 04, 2005 2:12 pm Post subject: |
|
|
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 |
|
|
doulos447 n00b
Joined: 04 Nov 2005 Posts: 16
|
Posted: Fri Nov 04, 2005 2:26 pm Post subject: Back to the drawing board.... |
|
|
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 |
|
|
TheWitePony Apprentice
Joined: 04 Feb 2004 Posts: 211
|
Posted: Fri Nov 04, 2005 2:31 pm Post subject: |
|
|
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 |
|
|
Aysen Apprentice
Joined: 18 May 2005 Posts: 187 Location: Poland
|
Posted: Fri Nov 04, 2005 3:37 pm Post subject: Re: Kernel upgrade and "make menuconfig" |
|
|
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 |
|
|
doulos447 n00b
Joined: 04 Nov 2005 Posts: 16
|
Posted: Fri Nov 04, 2005 3:54 pm Post subject: New Kernel upgrade |
|
|
Not offended at all! Actually, I don't remember, honestly.
D. |
|
Back to top |
|
|
Aysen Apprentice
Joined: 18 May 2005 Posts: 187 Location: Poland
|
Posted: Fri Nov 04, 2005 4:02 pm Post subject: Re: New Kernel upgrade |
|
|
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 |
|
Back to top |
|
|
doulos447 n00b
Joined: 04 Nov 2005 Posts: 16
|
Posted: Fri Nov 04, 2005 4:13 pm Post subject: Kernel upgrade and "make menuconfig" |
|
|
That very well could have been the problem. I'll try that as soon as I can. Thanks Aysen! |
|
Back to top |
|
|
Aysen Apprentice
Joined: 18 May 2005 Posts: 187 Location: Poland
|
Posted: Fri Nov 04, 2005 4:27 pm Post subject: |
|
|
You're welcome
I hope it solves the problem. |
|
Back to top |
|
|
Karl-Franz Tux's lil' helper
Joined: 11 Jan 2005 Posts: 121 Location: /se/lund
|
Posted: Fri Nov 04, 2005 10:14 pm Post subject: |
|
|
If you have your /boot mounted and run a 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 |
|
|
|