[PATCH] powerpc/lpar - defer prefered console setup

Bastian Blank waldi at debian.org
Wed Jul 30 16:29:19 EST 2008


On Wed, Jul 30, 2008 at 08:23:13AM +0200, Bastian Blank wrote:
> On Wed, Jul 30, 2008 at 12:34:51PM +1000, Michael Ellerman wrote:
> > On Mon, 2008-07-28 at 20:56 +0200, Bastian Blank wrote:
> >  * add_preferred_console - add a device to the list of preferred consoles.
> >  ...
> >  * The last preferred console added will be used for kernel messages
> >  * and stdin/out/err for init. 
> > 
> > The last console will be added by the console= parsing, and so that will
> > be used. The console we add in the pseries setup is only used if nothing
> > is specified on the command line.
> 
> Okay, then there is a completely different problem. In the case of
> "console=hvc0 console=hvc1" it uses the _first_ add stdin/out bla and
> ignores the second one completely.

Okay, so hvc_console is the culprit. It don't register a preferred
console if it knows it is not the first in the list.

Bastian

-- 
Intuition, however illogical, is recognized as a command prerogative.
		-- Kirk, "Obsession", stardate 3620.7



More information about the Linuxppc-dev mailing list