8-CURRENT does not build without WITNESS activated

Mister Olli mister.olli at googlemail.com
Fri Feb 6 01:05:55 PST 2009


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: <type 'exceptions.OSError'>

Please report to xen-devel at lists.xensource.com
Traceback (most recent call last):
  File "/usr/sbin/xm", line 10, in <module>
    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 "<string>", line 1, in <lambda>
  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 <mister.olli at googlemail.com> 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 <sys/lock.h> before <sys/sx.h>"
> > 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 at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-xen
> > To unsubscribe, send any mail to "freebsd-xen-unsubscribe at freebsd.org"
> >



More information about the freebsd-xen mailing list