Thread (13 messages) 13 messages, 4 authors, 2008-07-30

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

From: Bastian Blank <hidden>
Date: 2008-07-30 06:29:29
Also in: lkml

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:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help