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] Re: credit2 BUG_ON triggered

To: John Weekes <lists.xen@xxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: credit2 BUG_ON triggered
From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Date: Wed, 27 Apr 2011 10:10:26 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir@xxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>
Delivery-date: Wed, 27 Apr 2011 02:11:32 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Ymm/6C60sRvaK6r90VkN3+ptOMqIigkHfB+KHCqYRSQ=; b=V0AfVX+D1nr/TFhdHrAJDB048/pEOo71fUwClwBgHuiUtnHHMZLq7CAJIF7gppCScR sVQQSDgezEzbG4ky7BBiLrceSETSdtjxds5HaXJl/etovnYRasK7PypMoWuRsVnF4QqL 5E7uxuPqO6k3LkxInfBlffrvk4YJ+A2nIRc7g=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=h8MzDEmOD8Jel1FdxV/AImUntecOP77fMR0ldajQ8SeI8OPJ6g5LYO06S5Ct1+oXeC XIninvDz4oAt9Uzkt3ECDCumMk1Nk/Wi3HkCQz6tHB1uAeLAPzVuVtiyOuMltzW3OpAQ uammwMIrX88WirQ8tBsC0MdGRg7A2gcjTXVL4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4DB727E6.5000208@xxxxxxxxxxxxxxxxxx>
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: <4DADF781.7070004@xxxxxxxxxxxxxxxxxx> <1303815713.1955.20223.camel@elijah> <4DB6F6AF.7060909@xxxxxxxxxxxxxxxxxx> <1303837366.1955.21010.camel@elijah> <4DB727E6.5000208@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Apr 26, 2011 at 9:15 PM, John Weekes
<lists.xen@xxxxxxxxxxxxxxxxxx> wrote:
> On 4/26/2011 10:02 AM, George Dunlap wrote:
>>
>> OK -- it turns out on my box, I hit the bug as the machine boots, so
>> repro was very easy. :-)  (Can you tell I haven't been working on
>> credit2 in a little while?)
>>
>> Can you test the attached patch and see if it works for you?cc1: warnings
>> being treated as errors
>
> On 4.1, it doesn't seem to compile:
>
> sched_credit2.c: In function 'csched_vcpu_migrate':
> sched_credit2.c:1363: error: implicit declaration of function 'migrate'
> make[4]: *** [sched_credit2.o] Error 1
> make[4]: Leaving directory `/usr/src/xen-4.1-testing.hg/xen/common'
> make[3]: *** [/usr/src/xen-4.1-testing.hg/xen/common/built_in.o] Error 2
> make[3]: Leaving directory `/usr/src/xen-4.1-testing.hg/xen/arch/x86'
> make[2]: *** [/usr/src/xen-4.1-testing.hg/xen/xen] Error 2
> make[2]: Leaving directory `/usr/src/xen-4.1-testing.hg/xen'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/usr/src/xen-4.1-testing.hg/xen'
> make: *** [install-xen] Error 2

Ah -- yes, you'll also need c/s 22982:591c459ee00a from xen-unstable
if you want to backport it to 4.1.

>
> I switched back over to -unstable and ran 10 tests:
>
> Test 1: domU freeze after "(XEN) HVMx: Writing SMBIOS tables ..."
> Test 2: Seemed to start normally, although VNC didn't work (probably a
> separate bug in -unstable)
> Test 3: domU freeze after "(XEN) HVMx: Writing SMBIOS tables ..."
> Test 4: domU freeze after "(XEN) HVMx: Writing SMBIOS tables ..."
> Test 5: Seemed to start normally, although VNC didn't work (probably a
> separate bug in -unstable)
> Test 6: domU freeze after "(XEN) HVMx: Writing SMBIOS tables ..."
> Test 7: domU freeze after "(XEN) HVMx: Writing SMBIOS tables ..."
> Test 8: Seemed to start normally, although VNC didn't work (probably a
> separate bug in -unstable)
> Test 9: Seemed to start normally, although VNC didn't work (probably a
> separate bug in -unstable)
> Test 10: Seemed to start normally, although VNC didn't work (probably a
> separate bug in -unstable)
>
> This would seem to confirm that the BUG_ON is being avoided now, but the
> frequent SMBIOS issue means that I won't be able to start testing credit2
> with a subset of customers yet.

If you still have time, would you mind:
* Starting a new e-mail thread (since it's a different bug), and
* Taking a 30-second trace of the VM booting and hanging with the
following command:
 # xentrace -D -e all -T 30 [filename] & xl create [configuration]
* Sending me the resulting trace (it will probably be 100-300MiB in size).

> Note that when it started normally, there were also tons of
> "memory.c:196:d18 Bad page free for domain x" and "mm.c:2137:d18 Error pfn
> 0: rd=ffff8304420d7000, od=ffff830xxxxxxxxxx, caf=8000000000000001,
> taf=7400000000000001" warnings, which I imagine is a separate concern.

Hmm -- that one is a bit strange, particularly for an HVM guest.  I'm
not familiar with those messages or what could be causing them.

 -George

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