From: Ryan Harper Subject: Re: xen-unstable domU smp broken for vcpus > physical cpus Date: Sat, 2 Apr 2005 10:34:43 -0600 Message-ID: <20050402163443.GD3523@luffy.austin.ibm.com> References: <20050401232540.GP5052@luffy.austin.ibm.com> <08a7b8f6564b2eeb38c4c5f2c15cb8f4@cl.cam.ac.uk> <20050402083144.GC3523@luffy.austin.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="C7zPtVaVf+AK4Oqc" Return-path: Content-Disposition: inline In-Reply-To: <20050402083144.GC3523@luffy.austin.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ryan Harper Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline * Ryan Harper [2005-04-02 02:34]: > * Keir Fraser [2005-04-02 01:36]: > > > > On 2 Apr 2005, at 00:25, Ryan Harper wrote: > > > > >Rik mentioned in #xen on irc.oftc.net that his smp domU was crashing. > > >Mine was working and we started to investigate. Turns out that using > > >xen-unstable from 2005-04-01 when domU is launched with vcpus > > > >physical > > >cpus, domU, and in my case, Xen itself crash. Attached is the debug > > >log > > >of Xen going down. > > > > > great would be to know in which changeset the bug first appeared: was > > it actually 1st April, or is that just the only one you've tested with > > vcpus > pcpus and so it could have been there for weeks or months? > > I'm fairly certain that I've had vcpus > pcpus in domU working fine as > recent as 2005-03-31, but I'll backtrack and verify. I just built the 2005-03-31 snapshot, dom0 is SMP, two vcpus, and booted domU with 4 vcpus with no problems. Building 2005-04-01 in a simliar fashion now yields an oops in domU and one error [1]output from Xen. I then went to destroy the domU that I created and Xen went down. And appearently, I don't have xen-sysms set up right as nont of the addresses are translated into function names. Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 ryanh@us.ibm.com 1. (XEN) (file=/home/rharper/work/openhype/xen/unstable/20050401/b/xen/include/asm/mm.h, line=160) Error pfn 000073ae0 --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="xen_20050401_domU_oops.txt" Unable to handle kernel paging request at virtual address c0025ff8 printing eip: c0114b9f *pde = ma 20838067 pa 00374067 *pte = ma 37fc7061 pa 00025061 [] change_page_attr+0x47/0x60 [] kernel_map_pages+0x28/0x40 [] prep_new_page+0x7a/0x90 [] buffered_rmqueue+0x15f/0x270 [] __alloc_pages+0x3fa/0x420 [] dput+0x33/0x1d0 [] do_wp_page+0xac/0x420 [] inflate_dynamic+0x2dc/0x610 [] rd_load_image+0x23c/0x330 [] inflate_dynamic+0x29c/0x610 [] inflate_dynamic+0x2dc/0x610 [] handle_mm_fault+0x1b5/0x1d0 [] inflate_dynamic+0x29c/0x610 [] rd_load_image+0x23c/0x330 [] inflate_dynamic+0x29c/0x610 [] inflate_dynamic+0x2c8/0x610 [] do_page_fault+0x19c/0x6a7 [] inflate_dynamic+0x29c/0x610 [] change_page_attr+0x2d/0x60 [] kernel_map_pages+0x28/0x40 [] cache_free_debugcheck+0x188/0x2c0 [] kmem_cache_free+0x51/0xd0 [] sys_open+0x6c/0x90 [] sys_open+0x6c/0x90 [] page_fault+0x4e/0x54 Oops: 0003 [#1] PREEMPT SMP DEBUG_PAGEALLOC Modules linked in: CPU: 0 EIP: 0061:[] Not tainted VLI EFLAGS: 00010206 (2.6.11-xenU-smp) EIP is at __change_page_attr+0x20f/0x230 eax: 073ae063 ebx: c10004a0 ecx: 00000063 edx: 00007bfe esi: c0025ff8 edi: c1000000 ebp: 00000063 esp: c0051dbc ds: 0069 es: 0069 ss: 0069 Process init (pid: 1, threadinfo=c0050000 task=c137baf0) Stack: c7bfe000 00000002 c7b11244 c7bfe000 c10f7fc0 00000000 00000000 00000000 c0114c07 c10f7fc0 00000063 c10f7fc0 00000000 00000001 c02d74a0 c0114d38 c10f7fc0 00000001 00000063 c013c9fa c10f7fc0 00000001 00000001 00000030 Call Trace: [] change_page_attr+0x47/0x60 [] kernel_map_pages+0x28/0x40 [] prep_new_page+0x7a/0x90 [] buffered_rmqueue+0x15f/0x270 [] __alloc_pages+0x3fa/0x420 [] dput+0x33/0x1d0 [] do_wp_page+0xac/0x420 [] inflate_dynamic+0x2dc/0x610 [] rd_load_image+0x23c/0x330 [] inflate_dynamic+0x29c/0x610 [] inflate_dynamic+0x2dc/0x610 [] handle_mm_fault+0x1b5/0x1d0 [] inflate_dynamic+0x29c/0x610 [] rd_load_image+0x23c/0x330 [] inflate_dynamic+0x29c/0x610 [] inflate_dynamic+0x2c8/0x610 [] do_page_fault+0x19c/0x6a7 [] inflate_dynamic+0x29c/0x610 [] change_page_attr+0x2d/0x60 [] kernel_map_pages+0x28/0x40 [] cache_free_debugcheck+0x188/0x2c0 [] kmem_cache_free+0x51/0xd0 [] sys_open+0x6c/0x90 [] sys_open+0x6c/0x90 [] page_fault+0x4e/0x54 Code: 24 24 29 f9 c1 f9 05 c1 e1 0c 09 d1 f6 c1 01 89 c8 74 18 a1 00 88 33 c0 89 ca c1 ea 0c 81 e1 ff 0f 00 00 8b 04 90 c1 e0 0c 09 c8 <89> 06 f0 ff 4b 04 e9 85 fe ff ff 8d b6 00 00 00 00 0f 0b e9 78 <0>Kernel panic - not syncing: Attempted to kill init! --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="xen_20050401_xen_oops.txt" (XEN) Assertion '(pg[i].u.inuse.type_info & PGT_count_mask) == 0' failed, line 563, file page_alloc.c (XEN) BUG at page_alloc.c:563 (XEN) CPU: 0 (XEN) EIP: 0808:[] (XEN) EFLAGS: 00010292 CONTEXT: hypervisor (XEN) eax: fc562198 ebx: fd4b0238 ecx: 00000000 edx: 00000000 (XEN) esi: 00000001 edi: fcffac40 ebp: fd4b0238 esp: fc503e08 (XEN) ds: 0810 es: 0810 fs: 0810 gs: 0810 ss: 0810 cs: 0808 (XEN) Stack trace from ESP=fc503e08: (XEN) fc54d1ba fc54d478 00000233 fc54d478 ffa5f000 00000000 00000000 00000001 (XEN) fcffac40 fd4b0220 fd4b0238 [fc51a4ed] fd4b0238 00000000 fcfe50dc fd71df58 (XEN) 00000000 fcfbc040 fd71df58 [fc526f2e] fd71df58 fcff3880 fd4b0238 fcffac5c (XEN) fcffac54 fcffac40 00000001 [fc51966d] fcffac40 fcffac54 00000001 [fc510246] (XEN) 00000000 fcffac40 fcffac40 [fc5062f7] fcffac40 fcff2040 00000000 [fc505134] (XEN) fcffac40 bfffd410 00000050 00000069 00000292 fcff2040 00000001 [fc52ed3b] (XEN) 26f25000 fcff3880 40000000 00000001 00000000 00000000 00000001 [fc52233d] (XEN) 00000001 406ad000 0000000c 00000000 00000004 140ba000 140ba000 fc503e9c (XEN) fcfbe040 00000202 00000001 00000001 26818065 fed01ab4 fd79c240 [fc52825f] (XEN) fd79c240 e0000000 [fc5255eb] fc503fb8 c00562e8 fc558248 00000004 ffffffda (XEN) 00000009 aaaa1002 40770001 080766fa 4077f8c8 08274ce0 00000000 401d202c (XEN) 4077979c 406f73c4 bfffd468 080ca8bf 401d202c 4077979c 406f73c5 406fa764 (XEN) bfffd458 401eeba0 bfffd484 406faa50 fc5611c0 00000000 00000000 fcff2040 (XEN) 40771700 401d202c 00185000 [fc5395d3] bfffd410 bfffd3f8 080fde6a 40771700 (XEN) 401d202c 00185000 00000007 000e0007 c028ea21 00000061 00000246 d910dd44 (XEN) 00000069 0000007b 0000007b 00000000 00000000 fcff2040 (XEN) Call Trace from ESP=fc503e08: (XEN) [] [] [] [] [] [] (XEN) [] [] [] [] [] **************************************** CPU0 FATAL TRAP: vector = 6 (invalid operand) [error_code=0000] Aieee! CPU0 is toast... **************************************** --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --C7zPtVaVf+AK4Oqc--