WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Regression in serial console on ia64

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Regression in serial console on ia64
From: Markus Armbruster <armbru@xxxxxxxxxx>
Date: Tue, 11 Sep 2007 14:55:47 +0200
Cc: Horms <horms@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 11 Sep 2007 05:56:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C30C386A.1561C%Keir.Fraser@xxxxxxxxxxxx> (Keir Fraser's message of "Tue\, 11 Sep 2007 12\:19\:54 +0100")
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C30C386A.1561C%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)
Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> writes:

> On 11/9/07 12:12, "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx> wrote:
>
>> On 11/9/07 12:06, "Horms" <horms@xxxxxxxxxxxx> wrote:
>> 
>>> I havnen't investigated why, but 52f308b17bae
>>> "xencons: Remove xencons_early_setup() and do not clear use_vt_console."
>>> seems to cause a regression on ia64.
>>> 
>>> The problem is that with this change applied the console
>>> seems to stop just before the end of boot - no more output,
>>> no input.
>> 
>> Is this when booting dom0? And its serial output (via Xen) that is affected?
>> Do you have console=xvc0 on your dom0 cmdline (and no other console= lines)?
>
> My guess is that you have console=tty0 on your cmdline and this is taking
> precedence over your serial console for init output. I've seen this kind of
> issue before on native when trying to have both console=tty0 and
> console=ttyS0 on the cmdline -- init output always seems to go to only one
> or the other. I think it's supposed to be the case that the *last* console=
> on your cmdline is the one that gets /dev/console and thus gets to swallow
> init's output. I'm not sure what the fix is (if any) if you really want your
> init output to go to multiple console sinks.

Kernel messages (printk) go to all registered consoles with flag
CON_ENABLED.

User space talks to /dev/console.  The kernel routes that to the
preferred console, which is the last one on the command line, if any,
or else the first one to register (typically the virtual terminal).

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel