mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* How to reliable rebuild different kernel versions with the same config?
@ 2009-07-03 14:46 Nico Schottelius
  2009-07-03 16:07 ` Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Nico Schottelius @ 2009-07-03 14:46 UTC (permalink / raw)
  To: LKML

[-- Attachment #1: Type: text/plain, Size: 963 bytes --]

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

-- 
Currently moving *.schottelius.org to http://www.nico.schottelius.org/ ...

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to reliable rebuild different kernel versions with the same config?
  2009-07-03 14:46 How to reliable rebuild different kernel versions with the same config? Nico Schottelius
@ 2009-07-03 16:07 ` Randy Dunlap
  2009-07-04 14:23   ` Nico Schottelius
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2009-07-03 16:07 UTC (permalink / raw)
  To: Nico Schottelius; +Cc: LKML

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 (*)
> 
> 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.

> 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.

> make defconfig && cat myconfig >> .config does not do the trick :-)

That needs a "make oldconfig" afterwards, then it might work.

> Sincerly,
> 
> Nico
> 
> (*): This is so far already automated, have a look at
>   http://git.schottelius.org/?p=nsbin;a=commit;h=31461434cbda96bfb71c741c9510b1d92dcbb161
> 
> -- 
> Currently moving *.schottelius.org to http://www.nico.schottelius.org/ ...


---
~Randy
LPC 2009, Sept. 23-25, Portland, Oregon
http://linuxplumbersconf.org/2009/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to reliable rebuild different kernel versions with the same config?
  2009-07-03 16:07 ` Randy Dunlap
@ 2009-07-04 14:23   ` Nico Schottelius
  0 siblings, 0 replies; 3+ messages in thread
From: Nico Schottelius @ 2009-07-04 14:23 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Nico Schottelius, LKML

[-- Attachment #1: Type: text/plain, Size: 597 bytes --]

Hey Randy,

Randy Dunlap [Fri, Jul 03, 2009 at 09:07:29AM -0700]:
> > [...]
> > 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

-- 
Currently moving *.schottelius.org to http://www.nico.schottelius.org/ ...

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-07-04 19:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-03 14:46 How to reliable rebuild different kernel versions with the same config? Nico Schottelius
2009-07-03 16:07 ` Randy Dunlap
2009-07-04 14:23   ` Nico Schottelius

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®