[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Re: credit2 BUG_ON triggered


  • To: John Weekes <lists.xen@xxxxxxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.