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/
Home Products Support Community News


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

To: Horms <horms@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Regression in serial console on ia64
From: Markus Armbruster <armbru@xxxxxxxxxx>
Date: Wed, 12 Sep 2007 10:19:25 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 12 Sep 2007 01:19:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070912034720.GH26481@xxxxxxxxxxxx> (horms@xxxxxxxxxxxx's message of "Wed\, 12 Sep 2007 12\:47\:21 +0900")
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> <87myvt4azw.fsf@xxxxxxxxxxxxxxxxx> <20070912034720.GH26481@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)
Horms <horms@xxxxxxxxxxxx> writes:

> On Tue, Sep 11, 2007 at 02:55:47PM +0200, Markus Armbruster wrote:
>> Kernel messages (printk) go to all registered consoles with flag
>> 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).
> Hi,
> Thanks for the help.
> Previously I had console=tty0 console=ttyS0, which used to work fine
> but now doesn't. Though perhaps it shouldn't have worked at all.
> I now have console=ttyS0 only, and everything is working fine.
> I am guessing that with dual consoles, printk is going to both consoles,
> but user-space only goes to the first console, as Markus suggests. And I

The *last* console on the kernel command line!

> guess that for some reason previously user-space also went to both
> consoles.
> I also tried with console=ttyS0 console=tty0, and both printk and
> in this case user-space does not seem to go to the serial console,
> perhaps tty0 always wins for some reason?

tty0 wins because you specified it last.

> Thanks again.
> -- 
> Horms
>   H: http://www.vergenet.net/~horms/
>   W: http://www.valinux.co.jp/en/

Xen-devel mailing list