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] Losing serial console boot output / sync_console

To: Andy Smith <andy@xxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Losing serial console boot output / sync_console
From: Keir Fraser <keir.xen@xxxxxxxxx>
Date: Sun, 03 Jul 2011 00:14:32 +0100
Cc:
Delivery-date: Sat, 02 Jul 2011 16:15:38 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=1ucqyny7GBhWTSDNcn++jrlyTtkLiy63MxuzpdY/1Rg=; b=C+POzKZizFDKBK9pROEXoiynQ6vAgNcLxDDpDtqTZCWGNsjRLp5UQV8/ZuPKUmijpy 5yZYRTziG9t3rEcDhOWCNQu0/lGRtn/ipsm7D1SImxJU7sXq1Il9i25OuwianpqxuC+I 2Q9WL4sYDoiJ9GvGX3cVP5QdgtEEeA2yYk1dQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110702200440.GG5935@xxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acw5DczJFl7GLLTLfU2GvXCNG/b0Ug==
Thread-topic: [Xen-devel] Losing serial console boot output / sync_console
User-agent: Microsoft-Entourage/12.29.0.110113
On 02/07/2011 21:04, "Andy Smith" <andy@xxxxxxxxxxxxxx> wrote:

> Hello,
> 
> About two months ago I sent this email to the Xen users lists
> regarding a problem I was having losing some of my serial console
> output on boot:
> 
> http://lists.xensource.com/archives/html/xen-users/2011-04/msg00340.html

If your serial line is very slow (I don't know why you're limited to 9600
baud -- 115200 baud at least is usually possible) and there is a lot of boot
output then you can expect some of it to be discarded. We prefer to discard
data rather than spin-wait to send it as that can indeed cause other
time-critical services to be delayed too long.

You should still get Xen output, for example if you CTRL-a three times and
use the debug keys (try 'h' to get a list of them).

If you want to capture all Xen's boot output, the safest way is to increase
the serial transmit buffer size. Try adding serial_tx_buffer=64k to the Xen
command line.

 -- Keir

> Unfortunately it got no replies.
> 
> I was just wondering and hoping if any developers could answer the
> following questions:
> 
> - Should I open a bug regarding the loss of serial console output on
>   boot, and;
> 
> - Is sync_console as bad an idea as the warning suggests it is?
> 
> I get all my serial console output if I use sync_console, but I
> haven't really put the machines under heavy load and would rather
> trade off truncated boot messages as opposed to performance under
> load.
> 
> Cheers,
> Andy
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



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

<Prev in Thread] Current Thread [Next in Thread>