From owner-freebsd-xen@FreeBSD.ORG Fri Oct 22 11:48:33 2010 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 142631065672 for ; Fri, 22 Oct 2010 11:48:33 +0000 (UTC) (envelope-from ykohut@onapp.com) Received: from edgelb.ocscloud.net (edge02.ocscloud.net [91.210.68.36]) by mx1.freebsd.org (Postfix) with ESMTP id AD6438FC16 for ; Fri, 22 Oct 2010 11:48:32 +0000 (UTC) Received: from W01EXHUB01.hosting.tg.local (10.101.22.23) by W01EXEDGE02.hosting.tg.local (91.210.68.36) with Microsoft SMTP Server (TLS) id 8.1.311.2; Fri, 22 Oct 2010 12:48:30 +0100 Received: from [192.168.128.133] (194.44.160.178) by smtpauth.thinkgrid.net (10.101.22.25) with Microsoft SMTP Server (TLS) id 8.1.311.2; Fri, 22 Oct 2010 12:48:30 +0100 From: Yuriy Kohut Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Fri, 22 Oct 2010 14:48:27 +0300 Message-ID: <86C62B82-9EEB-418E-B52F-1385E0C1A30B@onapp.com> To: "freebsd-xen@FreeBSD.org" MIME-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) Subject: FreebBSD 8.1-STABLE i386 PV DomU kernel panic at HYPERVISOR_update_va_mapping X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Oct 2010 11:48:33 -0000 Hi, I have installed FreeBSD 8.1-STABLE paravirtualized Xen DomU according = to the documentation at: http://forums.freebsd.org/showthread.php?t=3D10268 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 =3D 0 KDB: enter: panic [thread pid 0 tid 0 ] Stopped at kdb_enter+0x3a: movl $0,kdb_why db>=20 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 =3D "/var/lib/xen/images/kernel.6jZmCCXlzjBa" memory =3D "512" name =3D "6jZmCCXlzjBa" vcpus =3D "1" vid =3D "17" sanip =3D "10.200.200.19" vif =3D [ 'mac=3D00:16:3e:0a:e2:40, bridge=3Dxenbr0, ip=3D68.169.47.45, = vifname=3D6jZmCCXlzjBa, rate=3D0Mb/s' ] disk =3D [ 'phy:/dev/iscsi_0_17,sda,w', 'phy:/dev/iscsi_0_137,sdb,w' ] extra =3D "boot_verbose=3D1" extra +=3D ",vfs.root.mountfrom=3Dufs:/dev/da0" extra +=3D ",kern.hz=3D100" ---- 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