XEN 5.5.0 and clflush

From: Larry Baird <lab_at_gta.com>
Date: Mon, 21 Sep 2009 11:36:55 -0400
Since the end of August I have been unable to boot a generic kernel from
FreeBSD current or 8 under XEN 5.5.0.  Finally had a chance to briefly look
at the problem.  If I apply attached patch to remove calls to clflush() I
am able to boot current.  Hopefully somebody can shed some light.  Is
XEN incorrecty reporting CPUID_CLFSH or is XEN not correctly virtualizing
this option.  Or is the issue someplace else?  I have also attached the
dmesg from a successful boot.  This issue seems to be same as
http://www.freebsd.org/cgi/query-pr.cgi?pr=138863


Here is an attempt to type backtrace from non-booting kernel:
pmap_invalidate_cache_range(c3252000,c3253000,c3253000,0,fee00000,...) at pamp_invalidate_cache_range+0x60
pmap_mapdev_attr(fee00000,400,0,c1420d34,c0ba7a72,...) at pmap_mapdev_attr+0xec
pmap_mapdev() at pmap_mapdev+0x20
lapic_init() at lapic_init+0x32
madt_setup_local() at madt_setup_local+0x2c
apic_init() at apic_init+0x11a
mistartup() at mi_startup+0x96
begin() at begin+0x2c

Larry


-- 
------------------------------------------------------------------------
Larry Baird                        | http://www.gta.com
Global Technology Associates, Inc. | Orlando, FL
Email: lab_at_gta.com                 | TEL 407-380-0220, FAX 407-380-6080

Received on Mon Sep 21 2009 - 13:36:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:55 UTC