From: Chris Wright Subject: domU crashing Xen Date: Wed, 11 Oct 2006 23:26:34 -0700 Message-ID: <20061012062634.GA6201@sequoia.sous-sol.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Jeremy Fitzhardinge List-Id: xen-devel@lists.xenproject.org Haven't worked out exactly what's causing the bug, but in testing the pv_ops tree against current Xen (11736:f7d65fb7299b) I can reliably crash Xen with the following trace, caused by: arch/x86/traps.c::handle_gdt_ldt_mapping_fault() ... /* Should never fault in another vcpu's area. */ BUG_ON(vcpu_area !=3D current->vcpu_id); (XEN) BUG at traps.c:715 (XEN) ----=C4 Xen-3.0-unstable x86_32 debug=3Dy Not tainted =DC---- (XEN) CPU: 1 (XEN) EIP: e008:=C4=DC __bug+0x25/0x29 (XEN) EFLAGS: 00210296 CONTEXT: hypervisor (XEN) eax: 00000000 ebx: ffbdc080 ecx: 0000000a edx: ff1c6d53 (XEN) esi: ff1fbef8 edi: fe964194 ebp: ff1fbebc esp: ff1fbea4 (XEN) cr0: 8005003b cr4: 000026d0 cr3: 43d5b000 cr2: fe964194 (XEN) ds: e010 es: e010 fs: 0000 gs: 00d8 ss: e010 cs: e008 (XEN) Xen stack trace from esp=3Dff1fbea4: (XEN) ff17d1bc ff17eb6f 000002cb 00000001 ffbdc080 ffbdc080 ff1fbeec ff1= 37c66 (XEN) ff17eb6f 000002cb 00043d5b ff1198c6 ff1167cd ffbca080 44e07067 ffb= ca080 (XEN) 00a59065 c2fcfea4 00e040f3 ff16690a ff1fbef8 00a59065 ff1fbfb4 ffb= dc080 (XEN) 00a59065 c2fcfea4 ff1fbf8c 00000000 000e0000 ff12e006 0000e008 002= 10246 (XEN) ff1fbf74 c2fcfe98 0000000c c011548a 00000061 00210202 c2fcfeac 000= 00069 (XEN) 00000000 0000007b ffbca080 ffbdc080 00000000 c2fcfe98 fede8dac 007= 6b063 (XEN) 000462c0 0003a253 00000000 00000000 00000006 00a59065 c2fcfeac ffb= ca080 (XEN) 0000001a ff1fbfac 00e04037 ff1665fd c2fcfe98 00000001 00000000 000= 07ff0 (XEN) deadbeef deadbeef c0102347 0000001a c2fcfe98 00000001 00000000 000= 07ff0 (XEN) c1014b20 c2fcfeac 0000001a 000e0003 c0102347 00000061 00200292 c2f= cfe94 (XEN) 00000069 0000007b 0000007b 00000000 000000d8 00000001 ffbca080 (XEN) Xen call trace: (XEN) =C4=DC __bug+0x25/0x29 (XEN) =C4=DC do_page_fault+0x25e/0x6ea (XEN) =C4=DC handle_exception+0x6a/0x9a (XEN) =C4=DC do_mmuext_op+0x2a8/0xd49 (XEN) =C4=DC hypercall+0x9d/0xbd (XEN) (XEN) (XEN) **************************************** (XEN) Panic on CPU 1: (XEN) CPU1 FATAL TRAP: vector =3D 6 (invalid opcode) (XEN) **************************************** (XEN) (XEN) Reboot in five seconds...