How to reliable rebuild different kernel versions with the same config?
Hello!
We encounter very strange delays here in a test application on different kernels. To debug it a bit better, we would like to
- start the application, store results
- build the next older kernel
- install it
- boot it
- goto 1 (*)
The problem is, that after changing the version, make all or make oldconfig prompt us to fillout some values, which is problematic, because we want to run it automatically.
Is there a way to use a base config, that includes support for the hardware (ibm x3550 m2) and all the other values are adopted from default values?
make defconfig && cat myconfig >> .config does not do the trick :-)
Sincerly,
Nico
(*): This is so far already automated, have a look at
http://git.schottelius.org/?p=nsbin;a=commit;h=31461434cbda96bfb71c741c9510b1d92dcbb161
Signature · 3 lines
Currently moving *.schottelius.org to http://www.nico.schottelius.org/ ... PGP: BFE4 C736 ABE5 406F 8F42 F7CF B8BE F92A 9885 188C
Quoted 11 lines · On Fri, 3 Jul 2009 16:46:42 +0200 Nico Schottelius wrote:
Hello!
We encounter very strange delays here in a test application on different kernels. To debug it a bit better, we would like to
- start the application, store results
- build the next older kernel
- install it
- boot it
- goto 1 (*)
Quoted 3 lines
The problem is, that after changing the version, make all or make oldconfig prompt us to fillout some values, which is problematic, because we want to run it automatically.
Use:
$ yes "" | make oldconfig to supply replies to the prompts.
Quoted 3 lines
Is there a way to use a base config, that includes support for the hardware (ibm x3550 m2) and all the other values are adopted from default values?
See Documentation/kbuild/kconfig.txt, the section on KCONFIG_ALLCONFIG. I use this quite a bit.
Quoted 1 line
make defconfig && cat myconfig >> .config does not do the trick :-)
That needs a "make oldconfig" afterwards, then it might work.
Quoted 9 lines
Sincerly,
Nico
(*): This is so far already automated, have a look at
http://git.schottelius.org/?p=nsbin;a=commit;h=31461434cbda96bfb71c741c9510b1d92dcbb161Signature · 1 line
Currently moving *.schottelius.org to http://www.nico.schottelius.org/ ...
---
~Randy
LPC 2009, Sept. 23-25, Portland, Oregon
http://linuxplumbersconf.org/2009/
Hey Randy,
Randy Dunlap [Fri, Jul 03, 2009 at 09:07:29AM -0700]:
Quoted 8 lines
Quoted 4 lines
[...]
The problem is, that after changing the version, make all or make oldconfig prompt us to fillout some values, which is problematic, because we want to run it automatically.Use:
$ yes "" | make oldconfig to supply replies to the prompts.
Ahh, nice idea! Will try that on monday!
Thanks for all the hints, enjoy the sunny weekend ;-)
Nico
Signature · 3 lines
Currently moving *.schottelius.org to http://www.nico.schottelius.org/ ... PGP: BFE4 C736 ABE5 406F 8F42 F7CF B8BE F92A 9885 188C