From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: xen-unstable domU smp broken for vcpus > physical cpus Date: Fri, 01 Apr 2005 17:40:01 -0600 Message-ID: <424DDBD1.8090404@us.ibm.com> References: <20050401232540.GP5052@luffy.austin.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010505040406070804070207" Return-path: In-Reply-To: <20050401232540.GP5052@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 This is a multi-part message in MIME format. --------------010505040406070804070207 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I can reproduce reliably. My setup is vcpus > physical in domU. SMP is disabled in dom0. Only my linux kernel crashes (in domU). Attached is the oops. Ryan Harper wrote: >Hi, > >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. > >Ryan Harper >Software Engineer; Linux Technology Center >IBM Corp., Austin, Tx >(512) 838-9253 T/L: 678-9253 >ryanh@us.ibm.com > > >------------------------------------------------------------------------ > >(XEN) Assertion '(x & PGT_count_mask) != 0' failed, line 1087, file mm.c >(XEN) BUG at mm.c:1087 >(XEN) CPU: 1 >(XEN) EIP: 0808:[] >(XEN) EFLAGS: 00010292 CONTEXT: hypervisor >(XEN) eax: fc562191 ebx: f0000000 ecx: 00000000 edx: 00000000 >(XEN) esi: fc5553d0 edi: f0000000 ebp: efffffff esp: fcff9d24 >(XEN) ds: 0810 es: 0810 fs: 0810 gs: 0810 ss: 0810 cs: 0808 >(XEN) Stack trace from ESP=fcff9d24: >(XEN) fc54d1ba fc555eda 0000043f fc555eda 075e0000 00000004 00000000 fc000000 >(XEN) c00245b4 c00245b8 00000000 fd4b0010 fcffac40 00000958 fcffac40 [fc529678] >(XEN) fd4b0010 e0000000 00000001 000006c0 fc56a6c0 0000001b fcff9db8 [fc51eebf] >(XEN) fd93faa8 fcffac40 80000002 80000003 80000002 fcffac40 fcffac40 fd4b7810 >(XEN) 07556063 07a56000 00000004 07a56000 fc558248 c0025958 07a56000 [fc52925b] >(XEN) c0025958 00000000 07a56000 00000004 00000000 00000004 0000004e [fc536c35] >(XEN) c0025958 07a56000 00000004 00000004 00000040 [fc50f14a] [fc520c1e] 00000808 >(XEN) 0651cd76 00000000 00000000 00000004 00000000 006dc0a0 00000000 006dc0a0 >(XEN) 00000000 a9470320 00000034 0000e76d fcfe7089 fcff3bac fcfe7040 00000040 >(XEN) [fc50f14a] 00000292 fcfb9040 00000002 00000040 00000001 fcffb640 aec00b55 >(XEN) 00000092 fcffb640 fc561790 fffffffc 00000006 00000092 00003700 00000089 >(XEN) c10004a0 07a56000 00000063 c0025958 c1000000 00000000 07a56000 000e0003 >(XEN) c0114a2b 00000061 00010246 c7a4fe3c 00000069 0000007b 0000007b 00000000 >(XEN) 00000000 ff913000 fcffac40 20000000 00000001 00000004 07a56000 07556063 >(XEN) c0025958 075e0000 c7a4fe1c 0000000c 00000000 00000004 07a56000 07a56000 >(XEN) fcff9e9c 00000034 fcffac40 00000000 fd4b0d00 00000000 fcffac40 c0025958 >(XEN) fcff9fb8 fcfe6040 fc558248 [fc5255eb] fcff9fb8 c0025958 fc558248 00000004 >(XEN) fc561204 fc561204 c7a4fb58 fcfe6040 37fc7061 fcffac40 80000002 fcfe6040 >(XEN) fcffac40 00037fc7 19ee6b00 fcffac40 c0025958 fcfe6040 fcff9fb8 [fc530262] >(XEN) c0025958 00000006 c131ef20 c0114d38 00000000 075e0bfc 00000000 fcfe6040 >(XEN) Call Trace from ESP=fcff9d24: >(XEN) [] [] [] [] [] [] >(XEN) [] [] [] [] > >**************************************** >CPU1 FATAL TRAP: vector = 6 (invalid operand) >[error_code=0000] >Aieee! CPU1 is toast... >**************************************** > > >------------------------------------------------------------------------ > >_______________________________________________ >Xen-devel mailing list >Xen-devel@lists.xensource.com >http://lists.xensource.com/xen-devel > > --------------010505040406070804070207 Content-Type: text/x-log; name="xen.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="xen.log" / # (sleep 3; rm test) & / # Failed update VA mapping: 0809d730, 16d00067, 00000000 ------------[ cut here ]------------ kernel BUG at :13289! invalid operand: 0000 [#1] PREEMPT SMP Modules linked in: CPU: 1 EIP: 0061:[] Not tainted VLI EFLAGS: 00010296 (2.6.11-xenU) EIP is at do_wp_page+0x2a6/0x420 eax: 0000003a ebx: 0809d730 ecx: fbffc008 edx: 00000000 esi: 16d00067 edi: 0809d730 ebp: c1002020 esp: c0313e94 ds: 0069 es: 0069 ss: 0069 Process rm (pid: 88, threadinfo=c0312000 task=c0750060) Stack: c02a2e84 0809d730 16d00067 00000000 c7c4eb00 c10f8ae0 c7c46080 c7c4eac0 0809d730 c7c4eb00 c0148c65 c7c4eac0 c032b0cc 0809d730 c7e50274 c7c46080 02856025 00000000 c7c4eac0 c7c4eaec 00000007 c032b0cc c01138dc c7c4eac0 Call Trace: [] handle_mm_fault+0x1b5/0x1d0 [] do_page_fault+0x19c/0x6a7 [] makecrc+0x54/0x90 [] makecrc+0x54/0x90 [] copy_strings+0x188/0x200 [] load_elf_binary+0x0/0xc40 [] initrd_load+0x0/0x90 [] search_binary_handler+0x25f/0x2b0 [] makecrc+0x54/0x90 [] do_execve+0x1a8/0x220 [] makecrc+0x54/0x90 [] initrd_load+0x0/0x90 [] smp_store_cpu_info+0xd0/0xe0 [] initrd_load+0x0/0x90 [] sys_execve+0x5d/0xa0 [] smp_store_cpu_info+0xd0/0xe0 [] initrd_load+0x0/0x90 [] page_fault+0x4e/0x54 Code: 89 d0 e8 2e a9 ff ff eb ba 0f 0b eb a6 89 74 24 08 31 c0 89 44 24 0c 8b 44 24 34 c7 04 24 84 2e 2a c0 89 44 24 04 e8 aa 3c fd ff <0f> 0b e9 33 ff ff ff 89 74 24 04 8b 54 24 38 89 14 24 e8 43 c7 <6>note: rm[88] exited with preempt_count 1 --------------010505040406070804070207 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 --------------010505040406070804070207--