From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 15 23:20:03 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABDBC1065695 for ; Tue, 15 Sep 2009 23:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8622E8FC19 for ; Tue, 15 Sep 2009 23:20:03 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8FNK3sD001681 for ; Tue, 15 Sep 2009 23:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8FNK352001680; Tue, 15 Sep 2009 23:20:03 GMT (envelope-from gnats) Resent-Date: Tue, 15 Sep 2009 23:20:03 GMT Resent-Message-Id: <200909152320.n8FNK352001680@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kevin Day Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 842BA106566B for ; Tue, 15 Sep 2009 23:16:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 72F8B8FC08 for ; Tue, 15 Sep 2009 23:16:25 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n8FNGP0P045157 for ; Tue, 15 Sep 2009 23:16:25 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n8FNGOZO045156; Tue, 15 Sep 2009 23:16:24 GMT (envelope-from nobody) Message-Id: <200909152316.n8FNGOZO045156@www.freebsd.org> Date: Tue, 15 Sep 2009 23:16:24 GMT From: Kevin Day To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138863: pmap_invalidate_cache_range panic on boot in 8.0-BETA4 in XenServer VM X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Sep 2009 23:20:03 -0000 >Number: 138863 >Category: kern >Synopsis: pmap_invalidate_cache_range panic on boot in 8.0-BETA4 in XenServer VM >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 15 23:20:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Kevin Day >Release: 8.0-BETA4 >Organization: Your.Org, Inc. >Environment: 8.0-BETA4 dvd boot disk >Description: FreeBSD 7.x and early snapshots of 8.0 worked fine in XenServer VM instances. Trying 8.0-BETA4 gives me: (hand typed) real memory = 536870912 (512 MB) avail memory = 482701312 (460 MB) kernel trap 9 with interrupts disabled Fatal trap 9: general protection fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x20:0xfffffff805b2e3 stack pointer = 0x20:0xffffffff81402bb0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = resume, IOPL = 0 current process = 0 () [thread pid 0 tid 0 ] Stopped at pmap_invalidate_cache_range+0x43: clflushl (%rdi) db> bt Tracing pid 0 tid 0 td 0xffffffff80c1bba0 pmap_invalidate_cache_range() at pmap_invalidate_cache_range+0x43 pmap_change_attr_locked() at pmap_change_attr_locked+0x368 pmap_change_attr() at pmap_change_addr+0x43 pmap_mapdev_attr() at pmap_mapdev_attr+0x112 lapic_init() at lapic_init+0x29 madt_setup_local() at madt_setup_local+0x26 apic_setup_local() at apic_setup_local+0x13 mi_startup() at mi_startup+0x59 btext() at btext+0x2c Booting with ACPI disabled gets me further into the boot, but dies similarly in pmap_invalidate_cache_range when nexus_activate_resource() tries to map an address in. >How-To-Repeat: Boot FreeBSD 8.0-BETA4 DVD in a XenServer instance >Fix: n/a >Release-Note: >Audit-Trail: >Unformatted: