From owner-freebsd-xen@FreeBSD.ORG Fri Feb 6 09:05:54 2009 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 92E83106564A; Fri, 6 Feb 2009 09:05:54 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from mail-fx0-f16.google.com (mail-fx0-f16.google.com [209.85.220.16]) by mx1.freebsd.org (Postfix) with ESMTP id 5CEDB8FC2B; Fri, 6 Feb 2009 09:05:52 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by fxm9 with SMTP id 9so34471fxm.19 for ; Fri, 06 Feb 2009 01:05:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=adGzD/NB0HgEGT5VMOkLUHEduLZE8nifCG66HIRd/DM=; b=wCtXKHNY6usIwBwF2oE/6mre6d/ZlszWU0bzqdwALTlBG9JY6j4W60YFoLNzfKLfnE 9XVAURaB0wUtSRW2XxzkY6AvaTUY9mqlE4xiJWtqbWFqurokkEK6KMBsy9Ru6OCxDoeW oOydnz6TU/+Kflj0lWzDvSnUNpj9zMbYuhLFk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=Yw5kuFH+7BCbmJoO6uXvP7uCG8LBOGwT3BmIV40V+Mpo6PdxXYIP2QJOW72/XYBR0d MrXOGIo/q20cxbXxGDQf3CMnmlHALVRl1ceE0BMeAemDqBONryjxUbIH+TLmXWA5m1/x Eg08Nyj7GktCXvrm1YvMew6Qw3TtN/arUP14o= Received: by 10.223.106.68 with SMTP id w4mr1075350fao.19.1233911149645; Fri, 06 Feb 2009 01:05:49 -0800 (PST) Received: from ?10.30.1.235? (vpn-or.studi-planet.com [78.47.172.52]) by mx.google.com with ESMTPS id y15sm2035954fkd.32.2009.02.06.01.05.48 (version=SSLv3 cipher=RC4-MD5); Fri, 06 Feb 2009 01:05:49 -0800 (PST) From: Mister Olli To: Kip Macy In-Reply-To: <3c1674c90902042004m1b7261d7o60a57a80c447582b@mail.gmail.com> References: <1233687579.4832.11.camel@phoenix.blechhirn.net> <3c1674c90902042004m1b7261d7o60a57a80c447582b@mail.gmail.com> Content-Type: text/plain Date: Fri, 06 Feb 2009 10:04:59 +0100 Message-Id: <1233911099.22390.6.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: 8-CURRENT does not build without WITNESS activated X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mister.olli@googlemail.com 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, 06 Feb 2009 09:05:55 -0000 Hi, unfortunately building a kernel without options WITNESS options WITNESS_SKIPSPIN creates a unusable kernel. When starting the domain and trying to attach the console I nothing happens, and the domain doesn't seem to start up: ================================================================ virt-001 template_8-CURRENT # xm list Name ID Mem VCPUs State Time(s) Domain-0 0 116 2 r----- 8886.2 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 xenconsole: Could not open tty `/dev/pts/7': No such file or directory virt-001 template_8-CURRENT # xm list Name ID Mem VCPUs State Time(s) Domain-0 0 116 2 r----- 8894.1 ================================================================ Sometimes I get some python errors from the 'xm create' command: ================================================================ 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 Unexpected error: Please report to xen-devel@lists.xensource.com Traceback (most recent call last): File "/usr/sbin/xm", line 10, in main.main(sys.argv) File "usr/lib/python2.5/site-packages/xen/xm/main.py", line 2883, in main File "usr/lib/python2.5/site-packages/xen/xm/main.py", line 2907, in _run_cmd File "", line 1, in File "usr/lib/python2.5/site-packages/xen/xm/main.py", line 1375, in xm_importcommand File "usr/lib/python2.5/site-packages/xen/xm/create.py", line 1321, in main File "usr/lib/python2.5/site-packages/xen/xm/create.py", line 1348, in do_console OSError: [Errno 10] No child processes virt-001 template_8-CURRENT # xm list Name ID Mem VCPUs State Time(s) Domain-0 0 116 2 r----- 8894.1 ================================================================ When having a look at '/var/log/xen/xend.log' I found the following message: [2009-02-06 09:06:15 3867] WARNING (XendDomainInfo:1617) Domain has crashed: name=template_8-CURRENT id=44. It appears right after the domain has been created. -- Mr. Olli Am Mittwoch, den 04.02.2009, 20:04 -0800 schrieb Kip Macy: > adding lock.h will fix that - sorry about it > > Thanks, > Kip > > > On Tue, Feb 3, 2009 at 10:59 AM, Mister Olli wrote: > > Hi. > > > > I'm currently unable to build the 8-CURRENT kernel in a PV domU, without > > "options WITNESS" in my kernel config. > > > > The output is the following: > > ====================================================== > > make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" > > CC="cc" xargs mkdep -a -f .newdep -O -pipe -std=c99 -g -Wall > > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > > -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys > > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter > > -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath > > -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm > > -I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD > > -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs > > -I/usr/src/sys/contrib/opensolaris/compat -I/usr/src/sys/dev/cxgb > > -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > > -finline-limit=8000 --param inline-unit-growth=100 --param > > large-function-growth=1000 -mno-align-long-strings > > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > > -mno-sse3 -ffreestanding -fstack-protector > > In file included from /usr/src/sys/dev/xen/netfront/netfront.c:32: > > /usr/src/sys/sys/sx.h:210:2: error: #error "LOCK_DEBUG not defined, > > include before " > > mkdep: compile failed > > *** Error code 1 > > > > Stop in /usr/obj/usr/src/sys/XEN. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > template_8-CURRENT# > > ====================================================== > > > > -- > > Mr. Olli > > > > > > > > > > _______________________________________________ > > freebsd-xen@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-xen > > To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org" > >