View previous topic :: View next topic |
Author |
Message |
tilt n00b
Joined: 16 Nov 2003 Posts: 36 Location: Stuttgart
|
Posted: Sun Mar 21, 2004 11:35 am Post subject: is "make oldconfig" useless? |
|
|
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 |
|
|
Admiral LSD Guru
Joined: 27 Jun 2003 Posts: 522 Location: Northam, W.A., Australia
|
Posted: Sun Mar 21, 2004 11:49 am Post subject: |
|
|
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 |
|
|
allan_q n00b
Joined: 01 Jan 2003 Posts: 43
|
Posted: Sun Mar 21, 2004 12:02 pm Post subject: Re: is "make oldconfig" useless? |
|
|
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 |
|
|
_Nomad_ Guru
Joined: 11 Apr 2003 Posts: 571
|
Posted: Sun Mar 21, 2004 12:07 pm Post subject: |
|
|
When renaming .config to something else make oldconfig is completely useless... just copy it over instead using the same name... |
|
Back to top |
|
|
tilt n00b
Joined: 16 Nov 2003 Posts: 36 Location: Stuttgart
|
Posted: Sun Mar 21, 2004 1:07 pm Post subject: Thanks |
|
|
Thanks everyone! |
|
Back to top |
|
|
|