kern/138863: pmap_invalidate_cache_range panic on boot in 8.0-BETA4 in XenServer VM

Kevin Day kevin at your.org
Tue Sep 15 23:20:03 UTC 2009


>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:


More information about the freebsd-bugs mailing list