Re: [PATCH] powerpc/lpar - defer prefered console setup

From: Bastian Blank
Date: Wed Jul 30 2008 - 02:29:30 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/