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/
Home Products Support Community News


Re: [Xen-devel] Re: [Xen-users] dom0 hangs in xen 4.0.1-rc3-pre

To: Andreas Kinzler <ml-xen-devel@xxxxxx>
Subject: Re: [Xen-devel] Re: [Xen-users] dom0 hangs in xen 4.0.1-rc3-pre
From: Bruce Edge <bruce.edge@xxxxxxxxx>
Date: Wed, 29 Sep 2010 11:01:27 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 29 Sep 2010 11:03:12 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=SJTbc9rObupe4f09xVDlmzwIWUUNjeTtno361cikVXo=; b=vAK8niE4dHIaTK90/q9TBl7MC3g8vl1fL4y0ROClSiBwSCH4tydWmI3Pu3luJtoNaU 3tv5I9DxNQOWWGE5KYO+Scy+5jtq74HdcCzq3QdDE+KPWx8gCOP2EwLin/yUajmJp2yl 8PitdLwxYaXcj2ZV/atDR+LXOoNc8Yo//ImpY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=EtGTmqRd2SJstptYtWvUlsffu/naALfl/F+6PTFnJhkWsBm2o4GCA6WjEWhbboe/6r pmnjtNMtWAsa2VZ1W+PWNq/dUImXsPwqjTaA67O95HYh9dyq51M3wuLD3+8I7626tWlQ XeUbb5b72cn1kbjsH4lYtCqJIF2+vYB5/fpfQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4CA37B61.7060201@xxxxxx>
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: <AANLkTimPVj-AXyR8DuQRxuAwcFwHm0sVkgiXvkA1+f7-@xxxxxxxxxxxxxx> <4C9DE72E.1000006@xxxxxx> <AANLkTi=jxHQp3_GDML9JcoYNNkGTGLR3_okBspWnFdfC@xxxxxxxxxxxxxx> <4CA0A8AF.6010908@xxxxxx> <AANLkTi=zOvevpMMX1oQCfWQomzvSnrv+qhapx-TNtk3H@xxxxxxxxxxxxxx> <4CA0AF4B.7040308@xxxxxx> <AANLkTine3xyZWXYZEVt6MPBxuV6i7NFecRc3wn-pnnd-@xxxxxxxxxxxxxx> <4CA37B61.7060201@xxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Sep 29, 2010 at 10:46 AM, Andreas Kinzler <ml-xen-devel@xxxxxx> wrote:
> On 28.09.2010 18:04, Bruce Edge wrote:
>>>>> I am still researching this. For testing I bought a test system with
>>>>> Westmere-EP (Xeon E5620) which has ARAT. This system worked stable
>>>>> while
>>>>> Intel still lists it as having the C6 errata. This leads me to the
>>>>> conclusion that the HPET timer migration code (called HPET broadcast)
>>>>> from
>>>>> Xen is the root cause. This affects all CPUs that use it - but mainly
>>>>> Nehalem because of turbo mode.
>>>> Thanks for the info. I'll try disabling turbo mode in the BIOS and see
>>>> if
>>>> that helps.
>>>> Let me know if there's anything I can run/do/test/etc.
>>> If you want to check the issue I am referring to then you need to apply
>>> my
>>> patch from:
>>> http://lists.xensource.com/archives/html/xen-devel/2010-09/msg00556.html
>> Andreas,
>> With this patch the dom0 hangs when I start the vm in pv mode. The hvm
>> ISO based install was OK, but the pv mode runtime hung the dom0
>> shortly after the boot entry was selected from the VM's grub menu.
>> There was no output on the VM console.
>> The dom0 console is printiing these:
>> [38927.441493] BUG: soft lockup - CPU#0 stuck for 61s! [swapper:0]
>> [38992.941432] BUG: soft lockup - CPU#0 stuck for 61s! [swapper:0]
>> [39058.441434] BUG: soft lockup - CPU#0 stuck for 61s! [swapper:0]
>> [39123.931432] BUG: soft lockup - CPU#0 stuck for 61s! [swapper:0]
> Please try this dom0 kernel:
> http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=snapshot;h=e6b9b2cbca5093e8e38d3e314e2f6415ad951c60;sf=tgz


Is that a 2.6.18 snapshot (as indicated by your .config name) ?

That one worked for me too, it wasn't until I started using 2.6.21
that I started having these problems. And, while it's tempting to
stick with .18, I need to track the active development for a number of

Also, the hang I mentioned wasn't related to your patch. The .21 hangs
without it as well.

Since .23 was just pushed out, I'll retry with that, with and without
your patch.

Thanks for the help.


> I have also attached the kernel config for it that is working for me.
>> And lastly, just for confirmation, this it the patch I applied:
> Yes. This is the patch I mean.
> The kernel mentioned above and my patch gives me a system that works quite
> well on my machines.
> Regards Andreas

Xen-devel mailing list