Re: [PATCH] Wait for console to become available, v2

2009-04-19 Thread Andi Kleen
VomLehn dvoml...@cisco.com writes: History v2Wait for the preferred console rather than any console. Make the delay interval a tunable. CONFIG tunables are usually a bad idea. What should a binary distribution kernel set? Better make it a boot option with a reasonable default. Also

Re: [PATCH] Wait for console to become available, v2

2009-04-19 Thread David VomLehn
Andi Kleen wrote: VomLehn dvoml...@cisco.com writes: History v2 Wait for the preferred console rather than any console. Make the delay interval a tunable. CONFIG tunables are usually a bad idea. What should a binary distribution kernel set? Better make it a boot option with a

Re: [PATCH] Wait for console to become available, v2

2009-04-19 Thread Andi Kleen
On Sun, Apr 19, 2009 at 09:23:36AM -0700, David VomLehn wrote: Andi Kleen wrote: VomLehn dvoml...@cisco.com writes: History v2 Wait for the preferred console rather than any console. Make the delay interval a tunable. CONFIG tunables are usually a bad idea. What should a binary

Re: [PATCH] Wait for console to become available, v2

2009-04-19 Thread David VomLehn
Andi Kleen wrote: On Sun, Apr 19, 2009 at 09:23:36AM -0700, David VomLehn wrote: Andi Kleen wrote: VomLehn dvoml...@cisco.com writes: ... Also a setting to panic in this case might be useful, normally a system without console is not very useful and needs to be rebooted anyways. Umm, those of

[PATCH] Wait for console to become available, v2

2009-04-16 Thread VomLehn
Parallelization to improve boot times has been successful enough that race conditions now exist between the init_post() open of /dev/console and initialization of the console device. When this occurs, opening /dev/console fails and any applications inherited for init have no standard in/out/err