Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do i upgrade the kernel.
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
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 660
Location: Los Angeles

PostPosted: Thu Dec 21, 2006 7:38 am    Post subject: How do i upgrade the kernel. Reply with quote

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
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Thu Dec 21, 2006 7:59 am    Post subject: Reply with quote

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
View user's profile Send private message
thesheff17
Apprentice
Apprentice


Joined: 12 Jan 2005
Posts: 283

PostPosted: Thu Dec 21, 2006 7:59 am    Post subject: Reply with quote

your kernel should upgrade over time with emerge --sync and emerge --update -deep world. Did you break your current config?
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Thu Dec 21, 2006 8:09 am    Post subject: Reply with quote

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
View user's profile Send private message
thesheff17
Apprentice
Apprentice


Joined: 12 Jan 2005
Posts: 283

PostPosted: Thu Dec 21, 2006 8:15 am    Post subject: Reply with quote

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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Thu Dec 21, 2006 8:27 am    Post subject: Reply with quote

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
View user's profile Send private message
neysx
Retired Dev
Retired Dev


Joined: 27 Jan 2003
Posts: 795

PostPosted: Thu Dec 21, 2006 10:04 am    Post subject: Reply with quote

http://www.gentoo.org/doc/en/index.xml?catid=upgrade

hth
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1991
Location: Poland

PostPosted: Thu Dec 21, 2006 1:12 pm    Post subject: Reply with quote

thesheff17 wrote:
I have some old 2.6.x kernels. Should I upgrade them.


Actually, you should delete/unmerge them.
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