From: Andrew Lyon Subject: Re: Xen unstable crash Date: Tue, 17 Mar 2009 11:12:30 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: "Li, Haicheng" , "Jiang, Yunhong" , Xen-devel List-Id: xen-devel@lists.xenproject.org On Tue, Mar 17, 2009 at 10:37 AM, Andrew Lyon wrote= : > On Tue, Mar 17, 2009 at 10:20 AM, Andrew Lyon wro= te: >> On Tue, Mar 17, 2009 at 10:10 AM, Keir Fraser wrote: >>> On 17/03/2009 10:00, "Andrew Lyon" wrote: >>> >>>> This time I was able to start all 3 of the vm's I mentioned, they are >>>> setup to automatically boot up, run a chkdsk , then shutdown, , the >>>> two vista vm's completed the cycle and I was able to start them again >>>> before the error happened, this time it triggered just as one of them >>>> was shutting down: >>> >>> Can you try reverting some suspicious changesets? >>> =A0hg export 19317 | patch -Rp1 >>> =A0hg export 19285 | patch -Rp1 >>> Then re-build the hypervisor (no need to redo tools or kernel). To put = the >>> tree back in a clean state afterwards: >>> =A0hg diff | patch -Rp1 >>> >>> =A0Thanks, >>> =A0Keir >>> >>> >>> >> >> Building now... I noticed that both of those changesets touch multi.c, >> and I happened to notice this message was displayed before one of the >> crashes: >> >> (XEN) multi.c:3348:d12 write to pagetable during event injection: >> cr2=3D0x80392d74, mfn=3D0xb58bb >> >> Perhaps related? >> >> Andy >> > > Reverting those two changesets did not stop the problem, I didn't get > the crash message this time because the scrollback buffer in my serial > console had been overwritten before I got a change to copy it, but it > looked the same as the others. > > Andy > here is a crash with the two changesets reverted: (XEN) ** page_alloc.c:407 -- 279/512 ffffffffffffffff (XEN) Xen BUG at page_alloc.c:409 (XEN) ----[ Xen-3.4-unstable x86_64 debug=3Dy Not tainted ]---- (XEN) CPU: 0 (XEN) RIP: e008:[] alloc_heap_pages+0x35a/0x486 (XEN) RFLAGS: 0000000000010286 CONTEXT: hypervisor (XEN) rax: 0000000000000000 rbx: ffff8284014422e0 rcx: 0000000000000001 (XEN) rdx: 000000000000000a rsi: 000000000000000a rdi: ffff828c801fec6c (XEN) rbp: ffff828c8027fcb8 rsp: ffff828c8027fc58 r8: 0000000000000004 (XEN) r9: 0000000000000004 r10: 0000000000000010 r11: 0000000000000010 (XEN) r12: ffff828401440000 r13: 0000000000000117 r14: 0000000000000200 (XEN) r15: 0000000000000000 cr0: 0000000080050033 cr4: 00000000000026f0 (XEN) cr3: 000000011d9e6000 cr2: 000000000142f000 (XEN) ds: 0000 es: 0000 fs: 0063 gs: 0000 ss: e010 cs: e008 (XEN) Xen stack trace from rsp=3Dffff828c8027fc58: (XEN) 0000000900000001 0000000000000098 0000000000000200 000000010000000= 1 (XEN) ffff828c8027fcf8 ffff828c801a5c6d ffff828c8027fccc ffff828c8027ff2= 8 (XEN) 0000000000000027 0000000000000000 ffff830102176000 000000000000000= 0 (XEN) ffff828c8027fcf8 ffff828c8011383b 0100000400000009 ffff828c8027ff2= 8 (XEN) 0000000000000006 0000000044803758 00000000448037c0 000000000000000= 0 (XEN) ffff828c8027ff08 ffff828c80110591 0000000000000000 000000000000000= 0 (XEN) 0000000000000000 0000000000000000 0000000000000000 000000000000000= 0 (XEN) 0000000000000200 0000000000000000 0000000000000000 ffff830127fcc00= 0 (XEN) 0000000000800167 000000000004ee7f 800000004ee7f167 ffff8284009dcfe= 0 (XEN) ffff828c8027fd88 ffff828c80151777 ffff828c8027fda8 ffff828c8013c55= 9 (XEN) 0000000000000004 0000020000000001 ffff828c8027fdb8 ffff828c8013c5f= 6 (XEN) ffff828c8027fde8 ffff828c80107247 ffff828c8027fde8 ffff828c8011d72= e (XEN) 0000000000000000 0000000000000000 ffff828c8027fe28 ffff83010217600= 0 (XEN) 0000000000000282 0000000400000009 0000000044803750 ffff8300cfdfc03= 0 (XEN) ffff83004f6bc018 ffff83004f6bc010 0000000000000001 ffff828c80119cb= 7 (XEN) 0000000000000082 ffff828c80237180 0000000000000002 ffff828c8027fe6= 8 (XEN) ffff828c8011c0c8 ffff828c80237180 ffff828c8027fe78 ffff828c8014c17= 3 (XEN) ffff828c8027fe98 ffff828c801d166d ffff828c8027fe98 00000000000a220= 0 (XEN) 0000000000007c00 ffff828c801d2063 0000000044803750 000000000000000= 4 (XEN) 0000000000000009 0000000000000004 00002af8d03b0eb7 ffff83010217600= 0 (XEN) Xen call trace: (XEN) [] alloc_heap_pages+0x35a/0x486 (XEN) [] alloc_domheap_pages+0x128/0x17b (XEN) [] do_memory_op+0x988/0x17a7 (XEN) [] syscall_enter+0xef/0x149 (XEN) (XEN) (XEN) **************************************** (XEN) Panic on CPU 0: (XEN) Xen BUG at page_alloc.c:409