View previous topic :: View next topic |
Author |
Message |
KWhat l33t
Joined: 04 Sep 2005 Posts: 660 Location: Los Angeles
|
Posted: Thu Dec 21, 2006 7:38 am Post subject: How do i upgrade the kernel. |
|
|
I was wondering how you guys go about upgrading the kernel. I have made modifications to my current kernel over time to get all the settings right and have everything working correctly. After upgrading my current config will no longer work. Any ideas for translating my current config to new kernels? I was thinking of doing a diff on the default config and my current config to try and determine what i had done however i dont know if that will work.
Thanks
P.S. this is for gentoo-sources not genkernel. |
|
Back to top |
|
|
didymos Advocate
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Thu Dec 21, 2006 7:59 am Post subject: |
|
|
Just use menuconfig and go through the selections to find out where things have moved to. If you're looking for some particular setting, hit "/" and type in what you're searching for, or an approximation. The results will show you which menu sections config variables matching the search string are in. To my knowledge, there isn't any general-purpose tool to convert old configs. _________________ Thomas S. Howard |
|
Back to top |
|
|
thesheff17 Apprentice
Joined: 12 Jan 2005 Posts: 283
|
Posted: Thu Dec 21, 2006 7:59 am Post subject: |
|
|
your kernel should upgrade over time with emerge --sync and emerge --update -deep world. Did you break your current config? |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Thu Dec 21, 2006 8:09 am Post subject: |
|
|
thesheff17 wrote: | your kernel should upgrade over time |
Nope - it doesn't happen by magic - "make" needs to be run, and the kernel made live.
The kernel evolves in its own way, sometimes tripping us up. There is no such thing as a perfect upgrade method. The config names can change, meaning that e.g. a SCSI driver (necessary for bootup) isn't included - great fun. The safeguard is to have a backup kernel. |
|
Back to top |
|
|
thesheff17 Apprentice
Joined: 12 Jan 2005 Posts: 283
|
Posted: Thu Dec 21, 2006 8:15 am Post subject: |
|
|
i understand the kernel menu doesn't change. Does the kernel get patched though gentoo updates? or do they just consider each version stable? I have some old 2.6.x kernels. Should I upgrade them. I never have. |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Thu Dec 21, 2006 8:27 am Post subject: |
|
|
What? The kernel menu changes with every kernel release. Because it has an entry for all of the config options. See all the options with:
Code: | cat /usr/src/linux/.config |
|
|
Back to top |
|
|
neysx Retired Dev
Joined: 27 Jan 2003 Posts: 795
|
|
Back to top |
|
|
mbar Veteran
Joined: 19 Jan 2005 Posts: 1991 Location: Poland
|
Posted: Thu Dec 21, 2006 1:12 pm Post subject: |
|
|
thesheff17 wrote: | I have some old 2.6.x kernels. Should I upgrade them. |
Actually, you should delete/unmerge them. |
|
Back to top |
|
|
|