Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
is "make oldconfig" useless?
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
tilt
n00b
n00b


Joined: 16 Nov 2003
Posts: 36
Location: Stuttgart

PostPosted: Sun Mar 21, 2004 11:35 am    Post subject: is "make oldconfig" useless? Reply with quote

Hi,

I just wanted to upgrade from gentoo-sources-2.4.22-r7 to 2.4.25. After emerging, I've changed my /usr/src/linux symlink, copied my .config over to the new kernel directory as .config.old and called "make oldconfig".

The resulting coniguration was completely broken and different from what I had with 2.4.22. For example, the old configuration clearly states that my processor is an Athlon K7, but in the new configuration this was changed to a Pentium 3. Moreover, support for reiserfs and ext2 was no longer enabled as was support for my network card (some other network card was enabled instead). Even things that are necessary for Gentoo (devfs) were gone.

I thought "make oldconfig" was supposed to help you with upgrading your kernel, not sabotage it. Is this behaviour a bug, a feature or did I just miss something?
Back to top
View user's profile Send private message
Admiral LSD
Guru
Guru


Joined: 27 Jun 2003
Posts: 522
Location: Northam, W.A., Australia

PostPosted: Sun Mar 21, 2004 11:49 am    Post subject: Reply with quote

I've never had a problem using make oldconfig to upgrade my kernels. Even upgrading from 2.4 to 2.6 using it worked like a charm despite a warning in the "post halloween" doc saying that certain entires might not get created right when using it.
_________________
Wasurenaide...
...watashi ga iru koto o.
Itsudatte soba ni iru yo.

Registered Linux user #319839
Back to top
View user's profile Send private message
allan_q
n00b
n00b


Joined: 01 Jan 2003
Posts: 43

PostPosted: Sun Mar 21, 2004 12:02 pm    Post subject: Re: is "make oldconfig" useless? Reply with quote

tilt wrote:
After emerging, I've changed my /usr/src/linux symlink, copied my .config over to the new kernel directory as .config.old and called "make oldconfig".


I've always just copied .config over to the new directory. I didn't have to rename the file before running "make oldconfig". It's really helpful since it pauses at the new options and asks if you want to build it. I usually accept the defaults until the process is finished.
_________________
* SLMR 2.1a * This tagline is umop apisdn
"We don't get offered crises, they arrive." - Elizabeth Janeway
Back to top
View user's profile Send private message
_Nomad_
Guru
Guru


Joined: 11 Apr 2003
Posts: 571

PostPosted: Sun Mar 21, 2004 12:07 pm    Post subject: Reply with quote

When renaming .config to something else make oldconfig is completely useless... just copy it over instead using the same name...
Back to top
View user's profile Send private message
tilt
n00b
n00b


Joined: 16 Nov 2003
Posts: 36
Location: Stuttgart

PostPosted: Sun Mar 21, 2004 1:07 pm    Post subject: Thanks Reply with quote

Thanks everyone! :-)
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