public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Generating valid random .configs
@ 2001-05-30  5:12 Anuradha Ratnaweera
  2001-05-30  5:54 ` Keith Owens
  2001-05-30  8:27 ` Arjan van de Ven
  0 siblings, 2 replies; 6+ messages in thread
From: Anuradha Ratnaweera @ 2001-05-30  5:12 UTC (permalink / raw)
  To: Linux Kernel


Recently, I posted a request here to send your .config files and I
received a good number of them. (thanks!).

Now I want to generate even more different configurations, and a random
.config generator would be ideal. If I write a program which randomly
outputs "y", "m" and "n" and pipe its output through make config, will the
generated .configs always compile? Yes. the best thing is to go ahead and
try it (which I am doing at the moment) but I like to know the theoretical
answer;)

Thanks in advance.

Regards,

Anuradha

----------------------------------
http://www.bee.lk/people/anuradha/



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

* Re: Generating valid random .configs
  2001-05-30  5:12 Generating valid random .configs Anuradha Ratnaweera
@ 2001-05-30  5:54 ` Keith Owens
  2001-05-30  8:27 ` Arjan van de Ven
  1 sibling, 0 replies; 6+ messages in thread
From: Keith Owens @ 2001-05-30  5:54 UTC (permalink / raw)
  To: Anuradha Ratnaweera; +Cc: Linux Kernel

On Wed, 30 May 2001 11:12:21 +0600 (LKT), 
Anuradha Ratnaweera <anuradha@gnu.org> wrote:
>Now I want to generate even more different configurations, and a random
>.config generator would be ideal.

Ghozlane Toumi has already done this.  I will forward the patch
separately.


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

* Re: Generating valid random .configs
  2001-05-30  5:12 Generating valid random .configs Anuradha Ratnaweera
  2001-05-30  5:54 ` Keith Owens
@ 2001-05-30  8:27 ` Arjan van de Ven
  2001-05-30  9:29   ` Andrzej Krzysztofowicz
  1 sibling, 1 reply; 6+ messages in thread
From: Arjan van de Ven @ 2001-05-30  8:27 UTC (permalink / raw)
  To: anuradha, linux-kernel

Anuradha Ratnaweera wrote:
> 
> Recently, I posted a request here to send your .config files and I
> received a good number of them. (thanks!).
> 
> Now I want to generate even more different configurations, and a random
> .config generator would be ideal. If I write a program which randomly
> outputs "y", "m" and "n" and pipe its output through make config, will the
> generated .configs always compile? Yes. the best thing is to go ahead and
> try it (which I am doing at the moment) but I like to know the theoretical
> answer;)

Every once in a while I run this and fix everything that doesn't
compile. It has been 
2 months since I last did that, so I should do it again soon..

Greetings,
   Arjan van de Ven

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

* Re: Generating valid random .configs
  2001-05-30  8:27 ` Arjan van de Ven
@ 2001-05-30  9:29   ` Andrzej Krzysztofowicz
  2001-05-30  9:38     ` Arjan van de Ven
  2001-05-30 11:11     ` Alan Cox
  0 siblings, 2 replies; 6+ messages in thread
From: Andrzej Krzysztofowicz @ 2001-05-30  9:29 UTC (permalink / raw)
  To: arjanv; +Cc: anuradha, linux-kernel

"Arjan van de Ven wrote:"
> Anuradha Ratnaweera wrote:
> > 
> > Recently, I posted a request here to send your .config files and I
> > received a good number of them. (thanks!).
> > 
> > Now I want to generate even more different configurations, and a random
> > .config generator would be ideal. If I write a program which randomly
> > outputs "y", "m" and "n" and pipe its output through make config, will the
> > generated .configs always compile? Yes. the best thing is to go ahead and
> > try it (which I am doing at the moment) but I like to know the theoretical
> > answer;)
> 
> Every once in a while I run this and fix everything that doesn't
> compile. It has been 
> 2 months since I last did that, so I should do it again soon..

Some things cannot be properly fixed in CML1.
  "$CONFIG_BINFMT_MISC" = "y" -a "$CONFIG_PROC_FS" = "n"
is a good example.

Andrzej


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

* Re: Generating valid random .configs
  2001-05-30  9:29   ` Andrzej Krzysztofowicz
@ 2001-05-30  9:38     ` Arjan van de Ven
  2001-05-30 11:11     ` Alan Cox
  1 sibling, 0 replies; 6+ messages in thread
From: Arjan van de Ven @ 2001-05-30  9:38 UTC (permalink / raw)
  To: ankry; +Cc: linux-kernel

On Wed, May 30, 2001 at 11:29:42AM +0200, Andrzej Krzysztofowicz wrote:
> 
> Some things cannot be properly fixed in CML1.
>   "$CONFIG_BINFMT_MISC" = "y" -a "$CONFIG_PROC_FS" = "n"
> is a good example.
> 

This one has gone away btw....

But in general, the current TOOLS cannot do forward dependencies, true.
It's not a language problem, the dependencies can be expressed and should be
checked by the tools, they just don't; I had a fix for that in the 2.1.125 times but
nobody cared enough.

Greetings,
   Arjan van de Ven

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

* Re: Generating valid random .configs
  2001-05-30  9:29   ` Andrzej Krzysztofowicz
  2001-05-30  9:38     ` Arjan van de Ven
@ 2001-05-30 11:11     ` Alan Cox
  1 sibling, 0 replies; 6+ messages in thread
From: Alan Cox @ 2001-05-30 11:11 UTC (permalink / raw)
  To: ankry; +Cc: arjanv, anuradha, linux-kernel

> > 2 months since I last did that, so I should do it again soon..
> 
> Some things cannot be properly fixed in CML1.
>   "$CONFIG_BINFMT_MISC" = "y" -a "$CONFIG_PROC_FS" = "n"
> is a good example.

Thats a tool not a language limit.

Alan


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

end of thread, other threads:[~2001-05-30 11:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-30  5:12 Generating valid random .configs Anuradha Ratnaweera
2001-05-30  5:54 ` Keith Owens
2001-05-30  8:27 ` Arjan van de Ven
2001-05-30  9:29   ` Andrzej Krzysztofowicz
2001-05-30  9:38     ` Arjan van de Ven
2001-05-30 11:11     ` Alan Cox

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