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: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Subject: Re: [Xen-devel] dom0 is stalled until a keypress
From: Joanna Rutkowska <joanna@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 06 Sep 2011 18:35:58 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Rafal Wojtczuk <rafal@xxxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 06 Sep 2011 09:36:38 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type; s=smtpout; bh=7QCW BIKzahwi8W7AlrCdMv0tywI=; b=QBkFQE/0FXQFs4u8PD+Bfe6dl24tm8TKO+kp xw7Jq3ImxqRwukpmGAG1SjAVpguD23JmoKzpohirp3hrrPlsF5Bmwq4rurGFcM5h +qtjW53wqkW1NUYwvmG6SOStHTZR6DiSeznNoyUYeBy9ZeX+omPKMnCk18s1uMD4 G6CT0/M=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <36a5b662-4420-41aa-be01-445f83b15a7b@default>
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> <36a5b662-4420-41aa-be01-445f83b15a7b@default>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc14 Thunderbird/3.1.11
On 09/06/11 17:49, Dan Magenheimer wrote:
>> 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).
> 
But what was the actual problem? Setting max_cstate is probably even
worse for power management than setting cpufreq=dom-kernel, isn't it?

Thanks,
joanna.

Attachment: signature.asc
Description: OpenPGP digital signature

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