From owner-freebsd-current@FreeBSD.ORG Sat Oct 3 14:21:04 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD1411065672 for ; Sat, 3 Oct 2009 14:21:04 +0000 (UTC) (envelope-from lotte@winnipeg.nl) Received: from mail.owl-ict.nl (mail.owl-ict.nl [80.69.76.80]) by mx1.freebsd.org (Postfix) with ESMTP id 3E27C8FC08 for ; Sat, 3 Oct 2009 14:21:03 +0000 (UTC) Received: (qmail 23244 invoked by uid 89); 3 Oct 2009 13:54:18 -0000 Received: from uil.winnipeg.nl (HELO ?192.168.1.14?) (lotte@winnipeg.nl@83.161.204.37) by mail.owl-ict.nl with SMTP; 3 Oct 2009 15:54:18 +0200 Message-ID: <4AC7578A.4060400@winnipeg.nl> Date: Sat, 03 Oct 2009 15:54:18 +0200 From: Lotte-Sara Laan User-Agent: Thunderbird 2.0.0.23 (X11/20090820) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sat, 03 Oct 2009 14:26:31 +0000 Subject: xenU - FreeBSD 8.0 CURRENT rev. 197720 kernel panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Oct 2009 14:21:05 -0000 I'm trying to get FreeBSD CURRENT working under Xen 3.4.1 using the Gentoo dom0 kernel 2.6.29.6 I downloaded and compiled the 8.0 svn version revision 197720 from http://svn.freebsd.org/base/head with the KERNCONF=XEN option but when I'm starting my domU I'm getting the following panic: WARNING: loader(8) metadata is missing! GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.0-CURRENT #1 r197720: Sat Oct 3 14:09:31 CEST 2009 root@freebsd.winnipeg.nl:/usr/local/xen/current-obj/usr/src/sys/XEN-LOTJUH i386 WARNING: WITNESS option enabled, expect reduced performance. Xen reported: 2611.800 MHz processor. Timecounter "ixen" frequency 1000000000 Hz quality 0 CPU: AMD Phenom(tm) II X4 810 Processor (2611.80-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x100f42 Stepping = 2 Features=0x178bfbff Features2=0x802009 AMD Features=0xee500800 AMD Features2=0x37ff TSC: P-state invariant Data TLB: 48 entries, fully associative Instruction TLB: 32 entries, fully associative L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L2 internal cache: 512 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative real memory = 1073741824 (1024 MB) Physical memory chunk(s): 0x00000000008ab000 - 0x000000003ecb2fff, 1044414464 bytes (254984 pages) avail memory = 1040429056 (992 MB) APIC: Using the MPTable enumerator. SMP: Added CPU 0 (BSP) SMP: Added CPU 1 (AP) SMP: Added CPU 2 (AP) SMP: Added CPU 3 (AP) 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> bt Tracing pid 0 tid 0 td 0xc03e10f0 kdb_enter(c03698a8,c03698a8,c038e3f1,c06f9cd4,0,...) at kdb_enter+0x3a panic(c038e3f1,c0396429,c0396207,4f5,0,...) at panic+0x136 pmap_mapdev_attr(0,0,100000,6,c06f9d44,...) at pmap_mapdev_attr+0x13d pmap_mapbios(0,0,100000,1,c03c946c,...) at pmap_mapbios+0x27 x86bios_intr(c36e4840,0,0,76,c0395e2b,...) at x86bios_intr+0x1b0 module_register_init(c03dbe88,3040800,3040800,6fe000,0,...) at module_register_init+0xa7 mi_startup(6fe000,0,0,0,0,...) at mi_startup+0x96 btext() at btext+0x95 db> I'm getting the same panic when I add only 1 cpu. I'm using the following boot line for pygrub: kernel /boot/kernel/kernel vfs.root.mountfrom=ufs:xbd0,kern.hz=100,kern.smp.disabled=1,boot_verbose=1,boot_single=1 I've tried it with and without the kern.smp.disabled option Does anyone have any ideas about what's going wrong? Lotte-Sara Laan