View previous topic :: View next topic |
Author |
Message |
kamina Apprentice
Joined: 14 Jun 2004 Posts: 157 Location: Finland
|
Posted: Mon Sep 27, 2004 9:23 am Post subject: using old .config with new kernel? |
|
|
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 |
|
|
nightblade Guru
Joined: 20 Jul 2004 Posts: 368 Location: back from SE Asia
|
Posted: Mon Sep 27, 2004 9:25 am Post subject: |
|
|
copy the old .config file in the source dir of the new kernel.
Then issue:
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 |
|
|
Deranger Veteran
Joined: 26 Aug 2004 Posts: 1215
|
Posted: Mon Sep 27, 2004 9:26 am Post subject: Re: using old .config with new kernel? |
|
|
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 |
|
|
kamina Apprentice
Joined: 14 Jun 2004 Posts: 157 Location: Finland
|
Posted: Mon Sep 27, 2004 10:52 am Post subject: |
|
|
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 |
|
|
nightblade Guru
Joined: 20 Jul 2004 Posts: 368 Location: back from SE Asia
|
Posted: Mon Sep 27, 2004 11:06 am Post subject: |
|
|
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 |
|
|
kamina Apprentice
Joined: 14 Jun 2004 Posts: 157 Location: Finland
|
Posted: Mon Sep 27, 2004 11:36 am Post subject: |
|
|
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 |
|
|
seppe Guru
Joined: 01 Sep 2003 Posts: 431 Location: Hove, Antwerp, Belgium
|
Posted: Mon Sep 27, 2004 11:38 am Post subject: |
|
|
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 |
|
|
kamina Apprentice
Joined: 14 Jun 2004 Posts: 157 Location: Finland
|
Posted: Mon Sep 27, 2004 11:54 am Post subject: |
|
|
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! |
|
Back to top |
|
|
nightblade Guru
Joined: 20 Jul 2004 Posts: 368 Location: back from SE Asia
|
Posted: Mon Sep 27, 2004 12:24 pm Post subject: |
|
|
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! |
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 |
|
|
|