Unix Technical Forum

New Kernel Question

This is a discussion on New Kernel Question within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> During last night's cron job, new sources for the linux-2.6.8-gentoo-r10 were installed in /usr/src. I want to use this ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 08:20 AM
jafar
 
Posts: n/a
Default New Kernel Question

During last night's cron job, new sources for the linux-2.6.8-gentoo-r10
were installed in /usr/src.
I want to use this new version but I'm unsure how to go about it.
Is this the way?...

1) Change the /usr/src/linux link to the new sources.
2) Copy my old .config to the new source dir.
3) make oldconfig.
4) make menuconfig then go as normal from there?

Will that make sure I can use my already working well kernel config with
the new kernel? I spent many hours tweaking the old kernel and don't want
to have to do it all again.

Thanks.

--
Jafar Calley
-----BEGIN GEEK CODE BLOCK-----
d+ s-:+ a C++++ L++ E--- W++ N++ w-- PE- t* 5++ R+ !tv D+ G e* h---- x?
------END GEEK CODE BLOCK------
Registered Linux User #359623
http://fatcatftp.homelinux.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 08:20 AM
Peter Jensen
 
Posts: n/a
Default Re: New Kernel Question

jafar wrote:

> During last night's cron job, new sources for the
> linux-2.6.8-gentoo-r10 were installed in /usr/src. I want to use this
> new version but I'm unsure how to go about it. Is this the way?...
>
> 1) Change the /usr/src/linux link to the new sources.
> 2) Copy my old .config to the new source dir.
> 3) make oldconfig.
> 4) make menuconfig then go as normal from there?


Only do step 4 if you saw anything that looked important during make
oldconfig. For instance, at one point a year or so ago my IDE driver
got split from the generic driver. This change meant that DMA suddenly
didn't work any more. Therefore I had to manually change a few things
around after make oldconfig finished. Other than that, it's usually
safe to build and install the kernel after make oldconfig.

> Will that make sure I can use my already working well kernel config
> with the new kernel? I spent many hours tweaking the old kernel and
> don't want to have to do it all again.


With make oldconfig you'll rarely need to. Only something like 2.4 ->
2.6 isn't safe to do with make oldconfig ...

--
PeKaJe

Look at it this way: Your wife's spending $280 a month on meditation lessons to
forget $26,000 of college education. And you're still drinking ordinary scotch?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 08:20 AM
jafar
 
Posts: n/a
Default Re: New Kernel Question

I demand that on Sun, 17 Oct 2004 09:15:57 +0000, Peter Jensen may or may
not have written:

> With make oldconfig you'll rarely need to. Only something like 2.4 ->
> 2.6 isn't safe to do with make oldconfig ...


Thanks for your advice. So now I don't have to worry so much going from
2.6.8-r3 to 2.6.8-r10

--
Jafar Calley
-----BEGIN GEEK CODE BLOCK-----
d+ s-:+ a C++++ L++ E--- W++ N++ w-- PE- t* 5++ R+ !tv D+ G e* h---- x?
------END GEEK CODE BLOCK------
Registered Linux User #359623
http://fatcatftp.homelinux.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:54 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com