Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
using old .config with new 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
kamina
Apprentice
Apprentice


Joined: 14 Jun 2004
Posts: 157
Location: Finland

PostPosted: Mon Sep 27, 2004 9:23 am    Post subject: using old .config with new kernel? Reply with quote

I am currently running the 2.6.7-r11 kernel, and would like to see if some issues are fixed with the newer development kernel. If I download it I assume all the changes I've done to kernel settings won't automatically be loaded upon doing a menuconfig?

So if I'm correct, how do I go upon using the same configuration file as a basis for configuring the newer kernel? Do I just copy the backup I have in /boot to the /usr/src/linux folder and replace the .config there with it?
Back to top
View user's profile Send private message
nightblade
Guru
Guru


Joined: 20 Jul 2004
Posts: 368
Location: back from SE Asia

PostPosted: Mon Sep 27, 2004 9:25 am    Post subject: Reply with quote

copy the old .config file in the source dir of the new kernel.
Then issue:
Code:

make oldconfig

The old configuration will be loaded, and you will only be asked about new features.
_________________
In God we trust. All the others must provide a valid X.509 certificate
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Mon Sep 27, 2004 9:26 am    Post subject: Re: using old .config with new kernel? Reply with quote

kamina wrote:
I am currently running the 2.6.7-r11 kernel, and would like to see if some issues are fixed with the newer development kernel. If I download it I assume all the changes I've done to kernel settings won't automatically be loaded upon doing a menuconfig?

So if I'm correct, how do I go upon using the same configuration file as a basis for configuring the newer kernel? Do I just copy the backup I have in /boot to the /usr/src/linux folder and replace the .config there with it?

Just copy .config file to /usr/src/linux (don't forget to change symlink)
Back to top
View user's profile Send private message
kamina
Apprentice
Apprentice


Joined: 14 Jun 2004
Posts: 157
Location: Finland

PostPosted: Mon Sep 27, 2004 10:52 am    Post subject: Reply with quote

Thanks for the replies.

I looked what kernel it would give with development-sources and it seems it would be another 2.6.7 kernel... I was kind of hoping it would have been 2.6.8 or newer to see if my acpi problems would be sorted out...

Is there a place to see what differances there are between this kernel and the gentoo-dev-sources, or should I start looking at some of the custom kernel ebuilds I see floating around?
Back to top
View user's profile Send private message
nightblade
Guru
Guru


Joined: 20 Jul 2004
Posts: 368
Location: back from SE Asia

PostPosted: Mon Sep 27, 2004 11:06 am    Post subject: Reply with quote

kamina wrote:

I looked what kernel it would give with development-sources and it seems it would be another 2.6.7 kernel... I was kind of hoping it would have been 2.6.8 or newer to see if my acpi problems would be sorted out...

Is there a place to see what differances there are between this kernel and the gentoo-dev-sources, or should I start looking at some of the custom kernel ebuilds I see floating around?


Uhm... isn't 2.6.8.1 the latest stable release of development-sources ?

Btw, with gentoo-dev-sources acpi works fine to me...
_________________
In God we trust. All the others must provide a valid X.509 certificate
Back to top
View user's profile Send private message
kamina
Apprentice
Apprentice


Joined: 14 Jun 2004
Posts: 157
Location: Finland

PostPosted: Mon Sep 27, 2004 11:36 am    Post subject: Reply with quote

Quote:

emerge --pretend development-sources

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild N ] sys-kernel/development-sources-2.6.7


Am I misunderstanding something?

edit: The notebook I have seems to have some issues with ACPI. I've tried a few diferant distributions, and it worked best with the 2.6.8.xx kernel that fedora core downloaded as an update. I just hated fedora (and most other distros) and would prefere to use gentoo.


Last edited by kamina on Mon Sep 27, 2004 11:38 am; edited 1 time in total
Back to top
View user's profile Send private message
seppe
Guru
Guru


Joined: 01 Sep 2003
Posts: 431
Location: Hove, Antwerp, Belgium

PostPosted: Mon Sep 27, 2004 11:38 am    Post subject: Reply with quote

I think you have to emerge sync first ..

When I do emerge -pv development-sources, it wants to emerge 2.6.9-rc2 :)
_________________
nitro-sources, because between stable and experimental there exists only speed

Latest release I made: 2.6.13.2-nitro1
Back to top
View user's profile Send private message
kamina
Apprentice
Apprentice


Joined: 14 Jun 2004
Posts: 157
Location: Finland

PostPosted: Mon Sep 27, 2004 11:54 am    Post subject: Reply with quote

seppe wrote:
I think you have to emerge sync first ..

When I do emerge -pv development-sources, it wants to emerge 2.6.9-rc2 :)


Thanks, I emerged sync and now it's offering 2.6.8.1... Don't know where you get the 2.6.9 from though! :D
Back to top
View user's profile Send private message
nightblade
Guru
Guru


Joined: 20 Jul 2004
Posts: 368
Location: back from SE Asia

PostPosted: Mon Sep 27, 2004 12:24 pm    Post subject: Reply with quote

kamina wrote:

Thanks, I emerged sync and now it's offering 2.6.8.1... Don't know where you get the 2.6.9 from though! :D


2.6.9 is still marked unstable, and if you have a stable system your emerge will mask it.
Code:

nightblade root # etcat -v development-sources
[ Results for search key           : development-sources ]
[ Candidate applications found : 12 ]

 Only printing found installed programs.

*  sys-kernel/development-sources :
        [   ] 2.6.1 (2.4.26-grsec-2.0)
        [   ] 2.6.2 (2.4.26-grsec-2.0)
        [   ] 2.6.3 (2.4.26-grsec-2.0)
        [   ] 2.6.4 (2.4.26-grsec-2.0)
        [   ] 2.6.5 (2.4.26-grsec-2.0)
        [M~ ] 2.6.6_rc2 (2.4.26-grsec-2.0)
        [   ] 2.6.6 (2.4.26-grsec-2.0)
        [   ] 2.6.7 (2.4.26-grsec-2.0)
        [M~ ] 2.6.8 (2.4.26-grsec-2.0)
        [   ] 2.6.8.1 (2.4.26-grsec-2.0)
        [M~ ] 2.6.9_rc1 (2.4.26-grsec-2.0)
        [M~ ] 2.6.9_rc2 (2.4.26-grsec-2.0)

_________________
In God we trust. All the others must provide a valid X.509 certificate
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