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] dom0 is stalled until a keypress

To: Rafal Wojtczuk <rafal@xxxxxxxxxxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] dom0 is stalled until a keypress
From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Date: Tue, 6 Sep 2011 08:49:07 -0700 (PDT)
Cc:
Delivery-date: Tue, 06 Sep 2011 08:50:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110905091937.GA1906@email>
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>
References: <20110905091937.GA1906@email>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> From: Rafal Wojtczuk [mailto:rafal@xxxxxxxxxxxxxxxxxxxxxx]
> Sent: Monday, September 05, 2011 3:20 AM
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-devel] dom0 is stalled until a keypress
> 
> Hello,
> The following bizarre behaviour was observed on xen4.1+suse dom0 2.6.38, on
> an old Core Duo laptop; maybe someone can hint what is wrong.
> Dom0 boot stalls after an init.d script prints "Starting udev". Then nothing
> seems to happen. I need to press any key to observe progress - I need to do
> it tens of times for the boot to finish. After X starts fine, then there is
> no need for keypressing anymore.
> A particularly disturbing fact is that qrexec_daemon parent, that basically
> does
> for (;;) { sleep(1); fprintf(stderr, "."); }
> does not print dots, until a keypress arrives. So something is very wrong
> with timers.
> Somehow similarly, pm-suspend sometimes hangs at some stage - after detaching
> power cord, machine enters S3 immediately.
> This is vaguely similar to the issue described in
>  https://lkml.org/lkml/2008/9/14/122
> but this time, "nohz=off" does not help.
> 
> "cpufreq=dom0-kernel" cures the symptoms; but it is not a sideeffectless
> solution. Any idea what is going on or how to debug it ?

ISTR seeing this on a Core(2?)Duo laptop and I think the
workaround was setting max_cstate=0 (as Xen boot parameter).

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