From: Markus Armbruster Subject: Re: Regression in serial console on ia64 Date: Wed, 12 Sep 2007 10:19:25 +0200 Message-ID: <87ps0o1ek2.fsf@pike.pond.sub.org> References: <87myvt4azw.fsf@pike.pond.sub.org> <20070912034720.GH26481@verge.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <20070912034720.GH26481@verge.net.au> (horms@verge.net.au's message of "Wed\, 12 Sep 2007 12\:47\:21 +0900") List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Horms Cc: xen-devel@lists.xensource.com, xen-ia64-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Horms writes: > On Tue, Sep 11, 2007 at 02:55:47PM +0200, Markus Armbruster wrote: [...] >> 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). > > 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/