From owner-freebsd-current@FreeBSD.ORG Thu Jan 22 15:21:55 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 661EE1065670 for ; Thu, 22 Jan 2009 15:21:55 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw2.york.ac.uk (mail-gw2.york.ac.uk [144.32.128.247]) by mx1.freebsd.org (Postfix) with ESMTP id EEAED8FC18 for ; Thu, 22 Jan 2009 15:21:54 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw7.york.ac.uk (mail-gw7.york.ac.uk [144.32.129.30]) by mail-gw2.york.ac.uk (8.13.6/8.13.6) with ESMTP id n0MFLlnb028471; Thu, 22 Jan 2009 15:21:47 GMT Received: from buffy-128.york.ac.uk ([144.32.128.160] helo=buffy.york.ac.uk) by mail-gw7.york.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1LQ1NK-00014z-RC; Thu, 22 Jan 2009 15:21:46 +0000 Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.14.2/8.14.2) with ESMTP id n0MFLktf045958; Thu, 22 Jan 2009 15:21:46 GMT (envelope-from gavin@FreeBSD.org) Received: (from ga9@localhost) by buffy.york.ac.uk (8.14.2/8.14.2/Submit) id n0MFLkTZ045954; Thu, 22 Jan 2009 15:21:46 GMT (envelope-from gavin@FreeBSD.org) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin@FreeBSD.org using -f From: Gavin Atkinson To: mister.olli@googlemail.com In-Reply-To: <1232565243.5225.31.camel@phoenix.blechhirn.net> References: <1232565243.5225.31.camel@phoenix.blechhirn.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 22 Jan 2009 15:21:45 +0000 Message-Id: <1232637705.16898.3.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin@freebsd.org Cc: freebsd-current@FreeBSD.org Subject: Re: KDB panic with 2 vcpus 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: Thu, 22 Jan 2009 15:21:56 -0000 On Wed, 2009-01-21 at 20:14 +0100, Mister Olli wrote: > Hi.. > > I'm currently trying to setup FreeBSD 8-CURRENT as a para-virtualized > domU on XEN 3.3.0 (with gentoo dom0). > > When I configure 2 CPU's (using vcpus=2) in the domU config file, I get > the following error during bootup: > ========================================================================== > virt-001 template_8-CURRENT # xm create -c 00_template_8-CURRENT.XENconfig > Using config file "./00_template_8-CURRENT.XENconfig". > Started domain template_8-CURRENT > 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 8.0-CURRENT #0: Wed Jan 14 21:47:10 CET 2009 > root@template-8_CURRENT.localdomain:/usr/obj/usr/src/sys/freebsd8_XEN > WARNING: WITNESS option enabled, expect reduced performance. > Xen reported: 1600.056 MHz processor. > Timecounter "ixen" frequency 1000000000 Hz quality 0 > CPU: AMD Athlon(tm) Processor (1600.06-MHz 686-class CPU) > Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 > Features=0x383fbff > AMD Features=0xc0480800 > real memory = 268435456 (256 MB) > avail memory = 256045056 (244 MB) > gdtpfn=3e2d8 pdptpfn=28a43 > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu=0 irq=0 vector=0 > cpu=0 irq=0 vector=1 > cpu=1 irq=0 vector=0 > cpu=1 irq=0 vector=1 > kbd0 at kbdmux0 > xenbus0: on motherboard > xc0: on motherboard > Timecounters tick every 100.000 msec > xbd0: 5120MB at device/vbd/768 on xenbus0 > xbd0: attaching as ad0 > xn0: at device/vif/0 on xenbus0 > xn0: Ethernet address: 00:16:3e:11:4d:c4 > GEOM: ad0s1: geometry does not match label (16h,63s != 255h,63s). > [XEN] netfront_backend_changed: newstate=2 > [XEN] netfront_backend_changed: newstate=4 > Spanic: blockable sleep lock (sleep mutex) XCONS LOCK @ /usr/src/sys/dev/xen/console/console.c:290 > cpuid = 1 > KDB: enter: panic > [thread pid 11 tid 100003 ] > Stopped at kdb_enter+0x3a: movl $0,kdb_why > db> At this point, can you enter the following commands and show the result? bt show alllocks Thanks, Gavin