FreebBSD 8.1-STABLE i386 PV DomU kernel panic at HYPERVISOR_update_va_mapping

Yuriy Kohut ykohut at onapp.com
Fri Oct 22 11:48:33 UTC 2010


Hi,

I have installed FreeBSD 8.1-STABLE paravirtualized Xen DomU according to the documentation at:
http://forums.freebsd.org/showthread.php?t=10268

RELENG_8 CVS tag was used to get world and kernel sources.

The kernel get into panic while booting:
----
panic: HYPERVISOR_update_va_mapping(((unsigned long)(va)), (pa | 0x002 | 0x001 | pgeflag | pmap_cache_bits(mode, 0)), UVMF_INVLPG| UVMF_ALL) < 0: /usr/src/sys/i386/xen/pmap.c:1269
cpuid = 0
KDB: enter: panic
[thread pid 0 tid 0 ]
Stopped at      kdb_enter+0x3a: movl    $0,kdb_why
db> 

db> where
Tracing pid 0 tid 0 td 0xc03e0af0
kdb_enter(c036c678,c036c678,c0390af5,c051ecb4,0,...) at kdb_enter+0x3a
panic(c0390af5,c0398fbf,c0398cd1,4f5,0,...) at panic+0x134
pmap_mapdev_attr(0,0,500,6,c051ed44,...) at pmap_mapdev_attr+0x13d
pmap_mapbios(0,0,500,1,c051ed44,...) at pmap_mapbios+0x27
x86bios_call(c22ca3c0,0,0,76,c051ed64,...) at x86bios_call+0x212
module_register_init(c03db8f0,7020800,7020800,523000,0,...) at module_register_init+0xa7
mi_startup(523000,0,0,0,0,...) at mi_startup+0x96
btext() at btext+0x95
----



DomU details
FreeBSD 8.1-STABLE #8
kernel config: /usr/src/sys/XEN i386
xen config:
----
kernel = "/var/lib/xen/images/kernel.6jZmCCXlzjBa"
memory = "512"
name = "6jZmCCXlzjBa"
vcpus = "1"
vid = "17"
sanip = "10.200.200.19"

vif = [ 'mac=00:16:3e:0a:e2:40, bridge=xenbr0, ip=68.169.47.45, vifname=6jZmCCXlzjBa, rate=0Mb/s' ]
disk = [ 'phy:/dev/iscsi_0_17,sda,w', 'phy:/dev/iscsi_0_137,sdb,w' ]

extra = "boot_verbose=1"
extra += ",vfs.root.mountfrom=ufs:/dev/da0"
extra += ",kern.hz=100"
----


Dom0 details
CentOS release 5.4 (Final)
Linux vl-radar-box1.slc.westdc.net 2.6.18-164.6.1.el5xen #1 SMP Tue Nov 3 16:48:13 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
xen-3.0.3-94.el5_4.2



DomU built from RELENG_8_0 booted fine for me. But it is very unstable. Kernel panics every time DomU is more higher loaded with network, CPU or memory. I reported several BRs for them, but with no result for the moment.


Could somebody please assist with the panic ?

---
Yura



More information about the freebsd-xen mailing list