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

[Xen-devel] Re: xen hg tree from yesterda hangs when kernel console is d

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: xen hg tree from yesterda hangs when kernel console is directed to ttyS0
From: Ben Thomas <bthomas@xxxxxxxxxxxxxxx>
Date: Mon, 20 Mar 2006 08:24:52 -0500
Delivery-date: Mon, 20 Mar 2006 13:26:06 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <E1FLJ3Y-0001r7-9R@host-192-168-0-1-bcn-london>
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: <E1FLJ3Y-0001r7-9R@host-192-168-0-1-bcn-london>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)
This may not be new with the latest source. I've been seeing the same
thing for some time, on certain hardware. It's right after boot,
generally while printing the E820 map.  I've noticed some patterns
to it, but haven't spent the time to track it down. There's always
been something else more pressing to do.  One slight difference is
between your example and what I've been doing is that I only use
com1 as the console for Xen.  I've never seen it hang with only
vga as the console, but only with com1.

And, while it may seem unlikely that a simple serial UART is
having problems, it's quite possible.

-b


Date: Mon, 20 Mar 2006 11:04:05 +0000
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [Xen-users] xen hg tree from yesterday
        hangs,  when kernel console is directed to ttyS0


On 19 Mar 2006, at 15:10, Jussi Hamalainen wrote:


>>>> When I reboot my system with xen with the following options to xen
>>>> and vmlinuz,
>>>>
>>>> xen.gz com1=115200,8n1 console=com1,vga
>>>> vmlinuz console=ttyS0,115200 console=tty0
>>>>
>>>> the system hangs up while booting the dom0 kernel.
>
>>
>> I think Xen has a major buffering/blocking IO issue with serial
>> console. It works for a while but when loads of lines get
>> flooded onto the console, the system freezes up. Adding a
>> "sync_console" to your Xen parameters might solve the problem, or at
>> least it worked for me.


Maybe it's hardware specific. I can echo a long string to the serial
console in a tight loop from dom0 shell and I see no problems. My setup
is similar to the OP's (115200 baud).

  -- Keir


--
------------------------------------------------------------------------
Ben Thomas                                         Virtual Iron Software
bthomas@xxxxxxxxxxxxxxx                            Tower 1, Floor 2
978-849-1214                                       900 Chelmsford Street
                                                   Lowell, MA 01851

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