From owner-freebsd-xen@FreeBSD.ORG Sun Jun 7 01:50:34 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 7FBC5106566B for ; Sun, 7 Jun 2009 01:50:34 +0000 (UTC) (envelope-from poleris@gmail.com) Received: from mail-gx0-f207.google.com (mail-gx0-f207.google.com [209.85.217.207]) by mx1.freebsd.org (Postfix) with ESMTP id 2F03C8FC17 for ; Sun, 7 Jun 2009 01:50:34 +0000 (UTC) (envelope-from poleris@gmail.com) Received: by gxk3 with SMTP id 3so3201200gxk.19 for ; Sat, 06 Jun 2009 18:50:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=t6UPJfTvw/qRxTt2eUuLALgJHdaSvgLHipjHHMT0tPk=; b=MsZ9+97g5TowFJnwV5MrEmeGBSrqPeBXerE8Uh4MUKgbRTiZhaD35w+dNlKw0Dzk3b lPY83MGYgTWpMgCCKCMhDM0eeXZ49TfuGWLJc8hnHvJiMs/E4OXHFV6s0g8y+IeAcLlq +Yac85TWj95lDStFqKd82DIYzm6+aMb0NTPFo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=PNAQAAvJw90foUuSdrFrZwYEp3mIJypHGrEKHSO36kZIzFlCcZjRIY/l923+MeLLdm B0PfCakEMqIPj6nWUuYjpN/BjHNUUZPgiAZYlYyYg9sDfEFD8JWQ3HQqtqQZmuRh2Xam yHg19jTAm5rMbRiEWtW1D3f85Ed4AUxdd7rr8= MIME-Version: 1.0 Received: by 10.231.38.198 with SMTP id c6mr1372299ibe.21.1244337564551; Sat, 06 Jun 2009 18:19:24 -0700 (PDT) From: Edwin Shao Date: Sat, 6 Jun 2009 21:19:03 -0400 Message-ID: <17ca67550906061819g635b6ddew5a95a9fea1311884@mail.gmail.com> To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: -current XEN build fails with WITNESS off 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: Sun, 07 Jun 2009 01:50:34 -0000 Hi all, I am running Adrian's Xen image on a pygrub domU and am building the kernel targeted towards production use. With that in mind, commenting out the lines: #options WITNESS # Enable checks to detect deadlocks and cycles #options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed Yields the error: In file included from /usr/src/sys/dev/xen/netfront/netfront.c:33: /usr/src/sys/sys/sx.h:211:2: error: #error "LOCK_DEBUG not defined, include before " mkdep: compile failed This is reproducible, at the very least, between 20090520 and 20090606. A very simple fix is: diff netfront.c netfront.old.c 33d32 < #include Let me know if I am doing something stupidly wrong (as I've only been running FreeBSD since yesterday) or if you need any more information. Thanks, Edwin PS. If there is any interest, I can provide weekly or so kernel builds. My config file is aimed towards use in a production environment with jails use, and thus has debugging options off and pf/vlan/NULLFS/FDESCFS enabled. ---------- Error Log ---------- -------------------------------------------------------------- >>> Kernel build for XENNEKO started on Sat Jun =A06 20:55:49 EDT 2009 -------------------------------------------------------------- =3D=3D=3D> XENNEKO mkdir -p /usr/obj/usr/src/sys -------------------------------------------------------------- >>> stage 1: configuring the kernel -------------------------------------------------------------- cd /usr/src/sys/i386/conf; PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr= /bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/u= sr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/s= bin:/usr/bin =A0config =A0-d /usr/obj/usr/src/sys/XENNEKO /usr/src/sys/i386/conf/XENNEKO Kernel build directory is /usr/obj/usr/src/sys/XENNEKO Don't forget to do ``make cleandepend && make depend'' -------------------------------------------------------------- >>> stage 2.1: cleaning up the object tree -------------------------------------------------------------- cd /usr/obj/usr/src/sys/XENNEKO; MAKEOBJDIRPREFIX=3D/usr/obj MACHINE_ARCH=3Di386 =A0MACHINE=3Di386 =A0CPUTYPE=3Dpentiumpro GROFF_BIN_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=3D/usr/obj/usr/src/tmp =A0VERSION=3D"FreeBSD 8.0-CURRENT i386 800095" =A0INSTALL=3D"sh /usr/src/tools/install.sh" PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr= /bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/u= sr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/s= bin:/usr/bin NO_CTF=3D1 make KERNEL=3Dkernel cleandir rm -f *.o *.so *.So *.ko *.s eddep errs =A0kernel.debug kernel kernel.symbols =A0linterrs makelinks tags vers.c =A0vnode_if.c vnode_if.h vnode_if_newproto.h vnode_if_typedef.h =A0eisa_if.c mmcbr_if.c mmcbus_if.c card_if.c power_if.c pci_if.c pcib_if.c g_part_if.c isa_if.c bus_if.c clock_if.c cpufreq_if.c device_if.c linker_if.c serdev_if.c xenbus_if.c acpi_if.c eisa_if.h mmcbr_if.h mmcbus_if.h card_if.h power_if.h pci_if.h pcib_if.h g_part_if.h isa_if.h bus_if.h clock_if.h cpufreq_if.h device_if.h linker_if.h serdev_if.h xenbus_if.h acpi_if.h =A0pccarddevs.h rm -f .depend machine cd /usr/src/sys/modules; MAKEOBJDIRPREFIX=3D/usr/obj/usr/src/sys/XENNEKO/modules KMODDIR=3D/boot/kernel MODULES_OVERRIDE=3D"""" DEBUG_FLAGS=3D"-g" MACHINE=3Di386 KERNBUILDDIR=3D"/usr/obj/usr/src/sys/XENNEKO" SYSDIR=3D"/usr/src/sys" make =A0cleandir -------------------------------------------------------------- >>> stage 2.2: rebuilding the object tree -------------------------------------------------------------- cd /usr/obj/usr/src/sys/XENNEKO; MAKEOBJDIRPREFIX=3D/usr/obj MACHINE_ARCH=3Di386 =A0MACHINE=3Di386 =A0CPUTYPE=3Dpentiumpro GROFF_BIN_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=3D/usr/obj/usr/src/tmp =A0VERSION=3D"FreeBSD 8.0-CURRENT i386 800095" =A0INSTALL=3D"sh /usr/src/tools/install.sh" PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr= /bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/u= sr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/s= bin:/usr/bin NO_CTF=3D1 make KERNEL=3Dkernel obj cd /usr/src/sys/modules; MAKEOBJDIRPREFIX=3D/usr/obj/usr/src/sys/XENNEKO/modules KMODDIR=3D/boot/kernel MODULES_OVERRIDE=3D"""" DEBUG_FLAGS=3D"-g" MACHINE=3Di386 KERNBUILDDIR=3D"/usr/obj/usr/src/sys/XENNEKO" SYSDIR=3D"/usr/src/sys" make =A0obj -------------------------------------------------------------- >>> stage 2.3: build tools -------------------------------------------------------------- cd /usr/obj/usr/src/sys/XENNEKO; MAKESRCPATH=3D/usr/src/sys/dev/aic7xxx/aicasm =A0make SSP_CFLAGS=3D -DNO_CPU_CFLAGS -DNO_CTF =A0-f /usr/src/sys/dev/aic7xxx/aicasm/Makefile Warning: Object directory not changed from original /usr/obj/usr/src/sys/XE= NNEKO cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c aicasm_gram.c cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c aicasm_macro_gram.c cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c aicasm_scan.c cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c aicasm_macro_scan.c cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign =A0-o aicasm aicasm.o aicasm_symbol.o aicasm_gram.o aicasm_macro_gram.o aicasm_scan.o aicasm_macro_scan.o -ll cd /usr/src/sys/modules/aic7xxx/aicasm; MAKEOBJDIRPREFIX=3D/usr/obj/usr/src/sys/XENNEKO/modules =A0make SSP_CFLAGS=3D -DNO_CPU_CFLAGS -DNO_CTF obj cd /usr/src/sys/modules/aic7xxx/aicasm; MAKEOBJDIRPREFIX=3D/usr/obj/usr/src/sys/XENNEKO/modules =A0make SSP_CFLAGS=3D -DNO_CPU_CFLAGS -DNO_CTF depend cd /usr/src/sys/modules/aic7xxx/aicasm; MAKEOBJDIRPREFIX=3D/usr/obj/usr/src/sys/XENNEKO/modules =A0make SSP_CFLAGS=3D -DNO_CPU_CFLAGS -DNO_CTF all -------------------------------------------------------------- >>> stage 3.1: making dependencies -------------------------------------------------------------- cd /usr/obj/usr/src/sys/XENNEKO; MAKEOBJDIRPREFIX=3D/usr/obj MACHINE_ARCH=3Di386 =A0MACHINE=3Di386 =A0CPUTYPE=3Dpentiumpro GROFF_BIN_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=3D/usr/obj/usr/src/tmp =A0VERSION=3D"FreeBSD 8.0-CURRENT i386 800095" =A0INSTALL=3D"sh /usr/src/tools/install.sh" PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr= /bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/u= sr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/s= bin:/usr/bin NO_CTF=3D1 make KERNEL=3Dkernel depend -DNO_MODULES_OBJ machine -> /usr/src/sys/i386/include cc -c -O -pipe -march=3Dpentiumpro -std=3Dc99 -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 -finline-limit=3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D1000 -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector /usr/src/sys/i386/i386/genassym.c NM=3D'nm' sh /usr/src/sys/kern/genassym.sh genassym.o > assym.s awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -p awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -q awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -h awk -f /usr/src/sys/tools/pccarddevs2h.awk /usr/src/sys/dev/pccard/pccardde= vs awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/eisa/eisa_if.m -c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/mmc/mmcbr_if.m -c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/mmc/mmcbus_if.m -= c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pccard/card_if.m = -c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pccard/power_if.m= -c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pcib_if.m -c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/geom/part/g_part_if.m= -c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/isa/isa_if.m -c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/clock_if.m -c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/cpufreq_if.m -c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/linker_if.m -c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/serdev_if.m -c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/xen/xenbus/xenbus_if.= m -c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/acpica/acpi_if.m = -c awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/eisa/eisa_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/mmc/mmcbr_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/mmc/mmcbus_if.m -= h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pccard/card_if.m = -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pccard/power_if.m= -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pcib_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/geom/part/g_part_if.m= -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/isa/isa_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/clock_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/cpufreq_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/linker_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/serdev_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/xen/xenbus/xenbus_if.= m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/acpica/acpi_if.m = -h rm -f .newdep make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | =A0MKDEP_CPP=3D"cc -E" CC=3D"cc" xargs mkdep -a -f .newdep -O -pipe -march=3Dpentiumpro -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc =A0-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=3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D1000 =A0-mno-align-long-strings -mpreferred-stack-boundary=3D2 =A0-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protec! =A0tor *** Error code 1 Stop in /usr/obj/usr/src/sys/XENNEKO. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. In file included from /usr/src/sys/dev/xen/netfront/netfront.c:33: /usr/src/sys/sys/sx.h:211:2: error: #error "LOCK_DEBUG not defined, include before " mkdep: compile failed From owner-freebsd-xen@FreeBSD.ORG Sun Jun 7 03:58:46 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 F0DDB106566B for ; Sun, 7 Jun 2009 03:58:45 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id A50D98FC27 for ; Sun, 7 Jun 2009 03:58:45 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so1293761qwe.7 for ; Sat, 06 Jun 2009 20:58:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=g39ZW7xZxPjqUwN7aX4cjhJZf5vamd5WmXSXzOBb/ww=; b=vAexoC2vHxl8Brcd6lq/myTIppHgvfJ+3aSxOqAlnnaXRsDRpziyWp5X8NBTK+RS8g QwEQLQshNSrCV2BcLeEP221zVfCvx0T9jC8UziRixgJwPANW9xogOU0VvhikXHVGqgxn dpyekG6VKZb10YQbc5jSG6SkP6zN8GjwO5ujU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Qv3vnqWvqTWws3E1dlfsEAHf2fCUjfDgAXVsfXAtzRARVaWXhXluA4Jlxj+VODHvcz 9F9zLVbWQdago6SWg/EQNtuzglvOoVSYarHTVnEeyeq0I7nkmGeWHOZJCH2YVet4uK2T MnYwuc0rcRA5bOIJEqt7G5/+wsxN9DqmXZKF0= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.100.81 with SMTP id x17mr1157291qcn.15.1244347124802; Sat, 06 Jun 2009 20:58:44 -0700 (PDT) In-Reply-To: <17ca67550906061819g635b6ddew5a95a9fea1311884@mail.gmail.com> References: <17ca67550906061819g635b6ddew5a95a9fea1311884@mail.gmail.com> Date: Sun, 7 Jun 2009 11:58:44 +0800 X-Google-Sender-Auth: 6b3279f025585e47 Message-ID: From: Adrian Chadd To: Edwin Shao Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-xen@freebsd.org Subject: Re: -current XEN build fails with WITNESS off 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: Sun, 07 Jun 2009 03:58:46 -0000 You absolutely want to run the witness checks; freebsd/xen is still in development. I'll commit the netfront fix though. Thanks! Adrian 2009/6/7 Edwin Shao : > Hi all, > > I am running Adrian's Xen image on a pygrub domU and am building the > kernel targeted towards production use. With that in mind, commenting > out the lines: > #options =A0 =A0 =A0 =A0WITNESS =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # Enable = checks to detect > deadlocks and cycles > #options =A0 =A0 =A0 =A0WITNESS_SKIPSPIN =A0 =A0 =A0 =A0# Don't run witne= ss on > spinlocks for speed > > Yields the error: > In file included from /usr/src/sys/dev/xen/netfront/netfront.c:33: > /usr/src/sys/sys/sx.h:211:2: error: #error "LOCK_DEBUG not defined, > include before " > mkdep: compile failed > > This is reproducible, at the very least, between 20090520 and 20090606. > > A very simple fix is: > diff netfront.c netfront.old.c > 33d32 > < #include > > Let me know if I am doing something stupidly wrong (as I've only been > running FreeBSD since yesterday) or if you need any more information. > > Thanks, > Edwin > > PS. If there is any interest, I can provide weekly or so kernel > builds. My config file is aimed towards use in a production > environment with jails use, and thus has debugging options off and > pf/vlan/NULLFS/FDESCFS enabled. > > > ---------- Error Log ---------- > > > -------------------------------------------------------------- >>>> Kernel build for XENNEKO started on Sat Jun =A06 20:55:49 EDT 2009 > -------------------------------------------------------------- > =3D=3D=3D> XENNEKO > mkdir -p /usr/obj/usr/src/sys > > -------------------------------------------------------------- >>>> stage 1: configuring the kernel > -------------------------------------------------------------- > cd /usr/src/sys/i386/conf; > PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/u= sr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:= /usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr= /sbin:/usr/bin > =A0config =A0-d /usr/obj/usr/src/sys/XENNEKO > /usr/src/sys/i386/conf/XENNEKO > Kernel build directory is /usr/obj/usr/src/sys/XENNEKO > Don't forget to do ``make cleandepend && make depend'' > > -------------------------------------------------------------- >>>> stage 2.1: cleaning up the object tree > -------------------------------------------------------------- > cd /usr/obj/usr/src/sys/XENNEKO; MAKEOBJDIRPREFIX=3D/usr/obj > MACHINE_ARCH=3Di386 =A0MACHINE=3Di386 =A0CPUTYPE=3Dpentiumpro > GROFF_BIN_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/bin > GROFF_FONT_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/groff_font > GROFF_TMAC_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/tmac > _SHLIBDIRPREFIX=3D/usr/obj/usr/src/tmp =A0VERSION=3D"FreeBSD 8.0-CURRENT > i386 800095" =A0INSTALL=3D"sh /usr/src/tools/install.sh" > PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/u= sr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:= /usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr= /sbin:/usr/bin > NO_CTF=3D1 make KERNEL=3Dkernel cleandir > rm -f *.o *.so *.So *.ko *.s eddep errs =A0kernel.debug kernel > kernel.symbols =A0linterrs makelinks tags vers.c =A0vnode_if.c vnode_if.h > vnode_if_newproto.h vnode_if_typedef.h =A0eisa_if.c mmcbr_if.c > mmcbus_if.c card_if.c power_if.c pci_if.c pcib_if.c g_part_if.c > isa_if.c bus_if.c clock_if.c cpufreq_if.c device_if.c linker_if.c > serdev_if.c xenbus_if.c acpi_if.c eisa_if.h mmcbr_if.h mmcbus_if.h > card_if.h power_if.h pci_if.h pcib_if.h g_part_if.h isa_if.h bus_if.h > clock_if.h cpufreq_if.h device_if.h linker_if.h serdev_if.h > xenbus_if.h acpi_if.h =A0pccarddevs.h > rm -f .depend machine > cd /usr/src/sys/modules; > MAKEOBJDIRPREFIX=3D/usr/obj/usr/src/sys/XENNEKO/modules > KMODDIR=3D/boot/kernel MODULES_OVERRIDE=3D"""" DEBUG_FLAGS=3D"-g" > MACHINE=3Di386 KERNBUILDDIR=3D"/usr/obj/usr/src/sys/XENNEKO" > SYSDIR=3D"/usr/src/sys" make =A0cleandir > > -------------------------------------------------------------- >>>> stage 2.2: rebuilding the object tree > -------------------------------------------------------------- > cd /usr/obj/usr/src/sys/XENNEKO; MAKEOBJDIRPREFIX=3D/usr/obj > MACHINE_ARCH=3Di386 =A0MACHINE=3Di386 =A0CPUTYPE=3Dpentiumpro > GROFF_BIN_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/bin > GROFF_FONT_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/groff_font > GROFF_TMAC_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/tmac > _SHLIBDIRPREFIX=3D/usr/obj/usr/src/tmp =A0VERSION=3D"FreeBSD 8.0-CURRENT > i386 800095" =A0INSTALL=3D"sh /usr/src/tools/install.sh" > PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/u= sr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:= /usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr= /sbin:/usr/bin > NO_CTF=3D1 make KERNEL=3Dkernel obj > cd /usr/src/sys/modules; > MAKEOBJDIRPREFIX=3D/usr/obj/usr/src/sys/XENNEKO/modules > KMODDIR=3D/boot/kernel MODULES_OVERRIDE=3D"""" DEBUG_FLAGS=3D"-g" > MACHINE=3Di386 KERNBUILDDIR=3D"/usr/obj/usr/src/sys/XENNEKO" > SYSDIR=3D"/usr/src/sys" make =A0obj > > -------------------------------------------------------------- >>>> stage 2.3: build tools > -------------------------------------------------------------- > cd /usr/obj/usr/src/sys/XENNEKO; > MAKESRCPATH=3D/usr/src/sys/dev/aic7xxx/aicasm =A0make SSP_CFLAGS=3D > -DNO_CPU_CFLAGS -DNO_CTF =A0-f /usr/src/sys/dev/aic7xxx/aicasm/Makefile > Warning: Object directory not changed from original /usr/obj/usr/src/sys/= XENNEKO > cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. > -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werro= r > -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls > -Wno-pointer-sign -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c > cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. > -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werro= r > -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls > -Wno-pointer-sign -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c > cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. > -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werro= r > -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls > -Wno-pointer-sign -c aicasm_gram.c > cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. > -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werro= r > -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls > -Wno-pointer-sign -c aicasm_macro_gram.c > cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. > -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werro= r > -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls > -Wno-pointer-sign -c aicasm_scan.c > cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. > -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werro= r > -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls > -Wno-pointer-sign -c aicasm_macro_scan.c > cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. > -I/usr/src/sys/dev/aic7xxx/aicasm -std=3Dgnu99 =A0-Wsystem-headers -Werro= r > -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls > -Wno-pointer-sign =A0-o aicasm aicasm.o aicasm_symbol.o aicasm_gram.o > aicasm_macro_gram.o aicasm_scan.o aicasm_macro_scan.o -ll > cd /usr/src/sys/modules/aic7xxx/aicasm; > MAKEOBJDIRPREFIX=3D/usr/obj/usr/src/sys/XENNEKO/modules =A0make > SSP_CFLAGS=3D -DNO_CPU_CFLAGS -DNO_CTF obj > cd /usr/src/sys/modules/aic7xxx/aicasm; > MAKEOBJDIRPREFIX=3D/usr/obj/usr/src/sys/XENNEKO/modules =A0make > SSP_CFLAGS=3D -DNO_CPU_CFLAGS -DNO_CTF depend > cd /usr/src/sys/modules/aic7xxx/aicasm; > MAKEOBJDIRPREFIX=3D/usr/obj/usr/src/sys/XENNEKO/modules =A0make > SSP_CFLAGS=3D -DNO_CPU_CFLAGS -DNO_CTF all > > -------------------------------------------------------------- >>>> stage 3.1: making dependencies > -------------------------------------------------------------- > cd /usr/obj/usr/src/sys/XENNEKO; MAKEOBJDIRPREFIX=3D/usr/obj > MACHINE_ARCH=3Di386 =A0MACHINE=3Di386 =A0CPUTYPE=3Dpentiumpro > GROFF_BIN_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/bin > GROFF_FONT_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/groff_font > GROFF_TMAC_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/tmac > _SHLIBDIRPREFIX=3D/usr/obj/usr/src/tmp =A0VERSION=3D"FreeBSD 8.0-CURRENT > i386 800095" =A0INSTALL=3D"sh /usr/src/tools/install.sh" > PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/u= sr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:= /usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr= /sbin:/usr/bin > NO_CTF=3D1 make KERNEL=3Dkernel depend -DNO_MODULES_OBJ > machine -> /usr/src/sys/i386/include > cc -c -O -pipe -march=3Dpentiumpro -std=3Dc99 -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 > -finline-limit=3D8000 --param inline-unit-growth=3D100 --param > large-function-growth=3D1000 -mno-align-long-strings > -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -mno-sse3 -ffreestanding -fstack-protector > /usr/src/sys/i386/i386/genassym.c > NM=3D'nm' sh /usr/src/sys/kern/genassym.sh genassym.o > assym.s > awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -p > awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -q > awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -h > awk -f /usr/src/sys/tools/pccarddevs2h.awk /usr/src/sys/dev/pccard/pccard= devs > awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -c > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/eisa/eisa_if.m = -c > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/mmc/mmcbr_if.m = -c > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/mmc/mmcbus_if.m= -c > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pccard/card_if.= m -c > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pccard/power_if= .m -c > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -c > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pcib_if.m -= c > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/geom/part/g_part_if= .m -c > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/isa/isa_if.m -c > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -c > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/clock_if.m -c > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/cpufreq_if.m -= c > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -c > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/linker_if.m -c > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/serdev_if.m -c > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/xen/xenbus/xenbus_i= f.m -c > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/acpica/acpi_if.= m -c > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/eisa/eisa_if.m = -h > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/mmc/mmcbr_if.m = -h > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/mmc/mmcbus_if.m= -h > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pccard/card_if.= m -h > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pccard/power_if= .m -h > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pcib_if.m -= h > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/geom/part/g_part_if= .m -h > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/isa/isa_if.m -h > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/clock_if.m -h > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/cpufreq_if.m -= h > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/linker_if.m -h > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/serdev_if.m -h > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/xen/xenbus/xenbus_i= f.m -h > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/acpica/acpi_if.= m -h > rm -f .newdep > make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | =A0MKDEP_CPP=3D"cc -E" > CC=3D"cc" xargs mkdep -a -f .newdep -O -pipe -march=3Dpentiumpro -std=3Dc= 99 > -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual =A0-Wundef > -Wno-pointer-sign -fformat-extensions -nostdinc =A0-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=3D8000 --param inline-unit-growth=3D100 --para= m > large-function-growth=3D1000 =A0-mno-align-long-strings > -mpreferred-stack-boundary=3D2 =A0-mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -mno-sse3 -ffreestanding -fstack-protec! > =A0tor > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/XENNEKO. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > In file included from /usr/src/sys/dev/xen/netfront/netfront.c:33: > /usr/src/sys/sys/sx.h:211:2: error: #error "LOCK_DEBUG not defined, > include before " > mkdep: compile failed > _______________________________________________ > 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" > From owner-freebsd-xen@FreeBSD.ORG Sun Jun 7 04:24:03 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 6C0001065677 for ; Sun, 7 Jun 2009 04:24:03 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 206538FC16 for ; Sun, 7 Jun 2009 04:24:02 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qyk3 with SMTP id 3so3427047qyk.3 for ; Sat, 06 Jun 2009 21:24:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=iCUc+ChTPBul44TCjqN7MGJ2FxIfuvBPSmcJT8zgy3Q=; b=pWrDgQkCru/wt9F+74IAA9DieK1GbPMKnnxFtOTpehMqQhRJrCZJUsLV7hVadzEWrM NRARQI6NHUy99jG2d05hH/gl6ZzghNGWYdS+3UMrvIwmPu4NISHAuPAqCgniCNGeXjtJ HAZUXMMA3LQFnBOn2UbTcWgU1EXu0EKjIvSwM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=tXSebNDXDd4Lhplmd74gXMIEIftT+dTtaeKihkltb7nFakh+KxZ3WLnE7fIHCFb9j6 9zCaM+G36dwd6MSJXRc8OmOcI3iIwQbjeVuC7G5Wx//4KSowoW8j8J2eL2mhxdvJctj+ klIoM7qwfxErsipBMWnxPL/YKYwBefGrfICXk= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.81.144 with SMTP id x16mr1170489qck.69.1244348642461; Sat, 06 Jun 2009 21:24:02 -0700 (PDT) In-Reply-To: <4A2A962A.9050207@ruomad.net> References: <4A2864E1.40208@ruomad.net> <4A28A674.6020809@ruomad.net> <4A28AA18.3010808@ruomad.net> <4A2A962A.9050207@ruomad.net> Date: Sun, 7 Jun 2009 12:24:02 +0800 X-Google-Sender-Auth: c54df68514514078 Message-ID: From: Adrian Chadd To: Bruno Damour Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-xen@freebsd.org Subject: Re: freebsd on opensolaris dom0 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: Sun, 07 Jun 2009 04:24:03 -0000 2009/6/7 Bruno Damour : > =A0 Fatal trap 12: page fault while in kernel mode > =A0 cpuid =3D 0; apic id =3D 00 > =A0 fault virtual address =A0 =A0=3D 0x2 > =A0 fault code =A0 =A0 =A0 =A0=3D supervisor read, page not present > =A0 instruction pointer =A0 =A0=3D 0x21:0xc02f719b > =A0 stack pointer =A0 =A0 =A0 =A0 =A0 =A0=3D 0x29:0xc3527bc8 > =A0 frame pointer =A0 =A0 =A0 =A0 =A0 =A0=3D 0x29:0xc3527bf8 > =A0 code segment =A0 =A0 =A0 =A0=3D base 0x0, limit 0xf9800, type 0x1b > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D DPL 1, pres 1, def32 1, gran 1 > =A0 processor eflags =A0 =A0=3D interrupt enabled, resume, IOPL =3D 0 > =A0 current process =A0 =A0 =A0 =A0=3D 12 (irq135: xn) > =A0 [thread pid 12 tid 100024 ] > =A0 Stopped at =A0 =A0 =A0xlvbd_add+0x204b: =A0 =A0 =A0 cmpl =A0 =A0$0,0(= %edx) That seems to be dereferencing a mbuf pointer. I'll look into it. What are you doing to trigger this condition again? Adrian From owner-freebsd-xen@FreeBSD.ORG Sun Jun 7 04:37:45 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 0E924106566B; Sun, 7 Jun 2009 04:37:45 +0000 (UTC) (envelope-from llama@ruomad.net) Received: from relay2-v.mail.gandi.net (relay2-v.mail.gandi.net [217.70.178.76]) by mx1.freebsd.org (Postfix) with ESMTP id 915A78FC1A; Sun, 7 Jun 2009 04:37:44 +0000 (UTC) (envelope-from llama@ruomad.net) Received: from localhost (mfilter3-d.gandi.net [217.70.178.44]) by relay2-v.mail.gandi.net (Postfix) with ESMTP id 88B07135D0; Sun, 7 Jun 2009 06:37:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter3-d.mgt.gandi.net Received: from relay2-v.mail.gandi.net ([217.70.178.76]) by localhost (mfilter3-d.mgt.gandi.net [217.70.178.44]) (amavisd-new, port 10024) with ESMTP id hbs4Nqd+BNLk; Sun, 7 Jun 2009 06:37:41 +0200 (CEST) Received: from [192.168.0.103] (vln78-1-82-238-160-33.fbx.proxad.net [82.238.160.33]) by relay2-v.mail.gandi.net (Postfix) with ESMTP id 7DD2F135BD; Sun, 7 Jun 2009 06:37:39 +0200 (CEST) Message-ID: <4A2B4412.8030704@ruomad.net> Date: Sun, 07 Jun 2009 06:37:38 +0200 From: Bruno Damour User-Agent: Thunderbird 2.0.0.21 (X11/20090323) MIME-Version: 1.0 To: Adrian Chadd References: <4A2864E1.40208@ruomad.net> <4A28A674.6020809@ruomad.net> <4A28AA18.3010808@ruomad.net> <4A2A962A.9050207@ruomad.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: freebsd on opensolaris dom0 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: Sun, 07 Jun 2009 04:37:45 -0000 Adrian Chadd wrote: > That seems to be dereferencing a mbuf pointer. I'll look into it. > > What are you doing to trigger this condition again? > > > Adrian > Hello, Well it is consistently reproductible : each time I issue a cvsup command. The interesting point is that I can _download_ without any problem with ftp (that is why sysinstall works) but if I start a ftpd on my host I get (consistently) a similar crash : # Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex xennetif_tx (network transmit lock) r = 0 (0xc39400a0) locked @ /home/adrian/work/freebsd/xen/svn/head/sys/dev/xen/netfront/netfront.c:1118 KDB: stack backtrace: X_db_sym_numargs(c0360308,c3524ab8,c0111ac5,c0383ef6,45e,...) at X_db_sym_numargs+0x146 kdb_backtrace(c0383ef6,45e,ffffffff,c0511c8c,c3524af0,...) at kdb_backtrace+0x29 witness_display_spinlock(c036278d,c3524b04,4,1,0,...) at witness_display_spinlock+0x75 witness_warn(5,0,c038c634,c3524b60,c,...) at witness_warn+0x1fd trap(c3524b8c) at trap+0x13e alltraps(c39400a0,0,c0383ef6,45e,d2cc5800,...) at alltraps+0x1b xlvbd_add(c3940000,c3524cc8,c00c3814,c03d5d00,c3783638,...) at xlvbd_add+0x32d0 intr_event_execute_handlers(c37097ec,c3783600,c0358a72,4e9,c3783670,...) at intr_event_execute_handlers+0x125 intr_event_add_handler(c378a440,c3524d38,c03587a5,336,c37097ec,...) at intr_event_add_handler+0x41f fork_exit(c00afcd0,c378a440,c3524d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xc3524d70, ebp = 0 --- Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x2 fault code = supervisor read, page not present instruction pointer = 0x21:0xc0300ad9 stack pointer = 0x29:0xc3524bcc frame pointer = 0x29:0xc3524bfc code segment = base 0x0, limit 0xf9800, type 0x1b = DPL 1, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 12 (irq134: xn) [thread pid 12 tid 100023 ] Stopped at xlvbd_add+0x2039: cmpl $0,0(%edi) db> bt Tracing pid 12 tid 100023 td 0xc3784000 xlvbd_add(c39400a0,0,c0383ef6,45e,d2cc5800,...) at xlvbd_add+0x2039 xlvbd_add(c3940000,c3524cc8,c00c3814,c03d5d00,c3783638,...) at xlvbd_add+0x32d0 intr_event_execute_handlers(c37097ec,c3783600,c0358a72,4e9,c3783670,...) at intr_event_execute_handlers+0x125 intr_event_add_handler(c378a440,c3524d38,c03587a5,336,c37097ec,...) at intr_event_add_handler+0x41f fork_exit(c00afcd0,c378a440,c3524d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xc3524d70, ebp = 0 --- db> so the problem seems to come more from upload traffic than download ? Hope it gives you some clues (I'm totally unable to help on this type of problems, sorry, but will gladly issue any command you want and report back). Bruno From owner-freebsd-xen@FreeBSD.ORG Sun Jun 7 04:41:01 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 E8F43106564A for ; Sun, 7 Jun 2009 04:41:01 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 9B3CD8FC0C for ; Sun, 7 Jun 2009 04:41:01 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so1298629qwe.7 for ; Sat, 06 Jun 2009 21:41:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=ROcKcRPmFXWGeNQu+Cdiw2gE8EQoZ6dhQg+r7RyAZyU=; b=ExjOr4oAcn88nnvNWvfwE+YYsjslzKD6bH+oketu8sQdznK24rCZRwJT1UEFqwgxdd WA61oUEs1x7eSpHBcFmdBdCvpZHI7Xta9tHfMLI/NIKBBjb0+HU5rfK6b9ZQHSeeIvxS wBL1GlGlS9oO6OEDKehZAsV+qWikgjuKzPklo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=lpoTAIvfGBLiY7ovKlDQXaovjtGF2NUSg6CkFHBt+gk4ifx/ysvtekot2le82eTu1j Y1CSikCptZb3ovAxD04qnodOfwE6dVGz3woh3MjUEmuVSTZK6jJccOY+dHdbDojW0BMx 0LMw+mniiqzGozZgQf8IXk6DFriYsHffiqhA0= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.74.212 with SMTP id v20mr1167651qcj.16.1244349660764; Sat, 06 Jun 2009 21:41:00 -0700 (PDT) In-Reply-To: <4A2B4412.8030704@ruomad.net> References: <4A2864E1.40208@ruomad.net> <4A28A674.6020809@ruomad.net> <4A28AA18.3010808@ruomad.net> <4A2A962A.9050207@ruomad.net> <4A2B4412.8030704@ruomad.net> Date: Sun, 7 Jun 2009 12:41:00 +0800 X-Google-Sender-Auth: 9805a26e99198583 Message-ID: From: Adrian Chadd To: Bruno Damour Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-xen@freebsd.org Subject: Re: freebsd on opensolaris dom0 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: Sun, 07 Jun 2009 04:41:02 -0000 2009/6/7 Bruno Damour : > Adrian Chadd wrote: >> >> That seems to be dereferencing a mbuf pointer. I'll look into it. >> >> What are you doing to trigger this condition again? >> >> >> Adrian >> > > Hello, > Well it is consistently reproductible : each time I issue a cvsup command= . Ok, so cvsup'ing a fresh tree from what, a local or remote repository? > The interesting point is that I can _download_ without any problem with f= tp > (that is why sysinstall works) but if I start a ftpd on my host I get > (consistently) a similar crash : What, so fetching data from ftpd running on the xen domU to another LAN connected host? > so the problem seems to come more from upload traffic than download ? See, thats the sort of information I need to reproduce the problem. :) > > Hope it gives you some clues (I'm totally unable to help on this type of > problems, sorry, but will =A0gladly =A0issue any command you want and rep= ort > back). You're helping. :) I have some motivation to make this stuff work better whilst I have some free time. I'm just trying to get it done before my free time runs out and I need to get back to paid work (which this absolutely isn't. :( ) adrian From owner-freebsd-xen@FreeBSD.ORG Sun Jun 7 04:56:42 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 EDE731065672; Sun, 7 Jun 2009 04:56:42 +0000 (UTC) (envelope-from llama@ruomad.net) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by mx1.freebsd.org (Postfix) with ESMTP id A72B48FC18; Sun, 7 Jun 2009 04:56:42 +0000 (UTC) (envelope-from llama@ruomad.net) Received: from localhost (mfilter6-d.gandi.net [217.70.178.40]) by relay1-d.mail.gandi.net (Postfix) with ESMTP id 7FDB02552F7; Sun, 7 Jun 2009 06:56:41 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter6-v.mgt.gandi.net Received: from relay1-d.mail.gandi.net ([217.70.183.193]) by localhost (mfilter6-d.mgt.gandi.net [217.70.178.40]) (amavisd-new, port 10024) with ESMTP id kYIVuyMbwXmf; Sun, 7 Jun 2009 06:56:40 +0200 (CEST) Received: from [192.168.0.103] (vln78-1-82-238-160-33.fbx.proxad.net [82.238.160.33]) by relay1-d.mail.gandi.net (Postfix) with ESMTPA id 56A572552F5; Sun, 7 Jun 2009 06:56:34 +0200 (CEST) Message-ID: <4A2B4881.4040309@ruomad.net> Date: Sun, 07 Jun 2009 06:56:33 +0200 From: Bruno Damour User-Agent: Thunderbird 2.0.0.21 (X11/20090323) MIME-Version: 1.0 To: Adrian Chadd References: <4A2864E1.40208@ruomad.net> <4A28A674.6020809@ruomad.net> <4A28AA18.3010808@ruomad.net> <4A2A962A.9050207@ruomad.net> <4A2B4412.8030704@ruomad.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: freebsd on opensolaris dom0 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: Sun, 07 Jun 2009 04:56:43 -0000 Adrian Chadd wrote: > 2009/6/7 Bruno Damour : > >> Adrian Chadd wrote: >> >>> That seems to be dereferencing a mbuf pointer. I'll look into it. >>> >>> What are you doing to trigger this condition again? >>> >>> >>> Adrian >>> >>> >> Hello, >> Well it is consistently reproductible : each time I issue a cvsup command. >> > > Ok, so cvsup'ing a fresh tree from what, a local or remote repository? > > >> The interesting point is that I can _download_ without any problem with ftp >> (that is why sysinstall works) but if I start a ftpd on my host I get >> (consistently) a similar crash : >> > > What, so fetching data from ftpd running on the xen domU to another > LAN connected host? > From the domU I get access to the real internet and can download a whole dvd from let's say ftp.freebsd.org ;-) I didn't try from a local LAN host, but suspect it would also be OK > >> so the problem seems to come more from upload traffic than download ? >> > > See, thats the sort of information I need to reproduce the problem. :) > > >> Hope it gives you some clues (I'm totally unable to help on this type of >> problems, sorry, but will gladly issue any command you want and report >> back). >> > > You're helping. :) I have some motivation to make this stuff work > better whilst I have some free time. I'm just trying to get it done > before my free time runs out and I need to get back to paid work > (which this absolutely isn't. :( ) > > It isn't for me either (pure hobby!!), so i understand perfectly your situation and I'm just glad someone is motivated and competent to try to solve this problem and make things go forward, thanks again. bruno From owner-freebsd-xen@FreeBSD.ORG Sun Jun 7 05:11:02 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 1D544106566C; Sun, 7 Jun 2009 05:11:02 +0000 (UTC) (envelope-from llama@ruomad.net) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx1.freebsd.org (Postfix) with ESMTP id A26088FC16; Sun, 7 Jun 2009 05:11:01 +0000 (UTC) (envelope-from llama@ruomad.net) Received: from localhost (mfilter3-d.gandi.net [217.70.178.44]) by relay2-d.mail.gandi.net (Postfix) with ESMTP id 9E8C522517B; Sun, 7 Jun 2009 07:11:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter3-d.mgt.gandi.net Received: from relay2-d.mail.gandi.net ([217.70.183.194]) by localhost (mfilter3-d.mgt.gandi.net [217.70.178.44]) (amavisd-new, port 10024) with ESMTP id oE66pm1HFCDJ; Sun, 7 Jun 2009 07:10:58 +0200 (CEST) Received: from [192.168.0.103] (vln78-1-82-238-160-33.fbx.proxad.net [82.238.160.33]) by relay2-d.mail.gandi.net (Postfix) with ESMTPA id 1A10B225176; Sun, 7 Jun 2009 07:10:52 +0200 (CEST) Message-ID: <4A2B4BDC.2020900@ruomad.net> Date: Sun, 07 Jun 2009 07:10:52 +0200 From: Bruno Damour User-Agent: Thunderbird 2.0.0.21 (X11/20090323) MIME-Version: 1.0 To: Adrian Chadd References: <4A2864E1.40208@ruomad.net> <4A28A674.6020809@ruomad.net> <4A28AA18.3010808@ruomad.net> <4A2A962A.9050207@ruomad.net> <4A2B4412.8030704@ruomad.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: freebsd on opensolaris dom0 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: Sun, 07 Jun 2009 05:11:02 -0000 Adrian Chadd wrote: > What, so fetching data from ftpd running on the xen domU to another > LAN connected host? > > >> so the problem seems to come more from upload traffic than download ? >> > > See, thats the sort of information I need to reproduce the problem. :) > > I enable a ftp on a local LAN host (not the dom0) and it confirms that ftp get works whereas a ftp put command triggers an immediate crash : # ftp 192.168.0.103 ftp: Unknown port `ftp', using port 21 Connected to 192.168.0.103. 220 random FTP server ready. Name (192.168.0.103): bruno 331 Password required for bruno. Password: 230 User bruno logged in. Remote system type is UNIX. Using binary mode to transfer files. ftp> get zaum_by_slbprod-2.6.sql local: zaum_by_slbprod-2.6.sql remote: zaum_by_slbprod-2.6.sql 229 Entering Extended Passive Mode (|||14185|) 150 Opening BINARY mode data connection for zaum_by_slbprod-2.6.sql (10514 bytes). 226 Transfer complete. 10514 bytes received in 00:00 (31.29 KB/s) ftp> put foobar local: foobar remote: foobar 229 Entering Extended Passive Mode (|||20050|) 150 Opening BINARY mode data connection for foobar. Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex xennetif_tx (network transmit lock) r = 0 (0xc39430a0) locked @ /home/adrian/work/freebsd/xen/svn/head/sys/dev/xen/netfront/netfront.c:1144 KDB: stack backtrace: X_db_sym_numargs(c03578d2,c3527ab4,c01166d5,c037b2c8,478,...) at X_db_sym_numargs+0x146 kdb_backtrace(c037b2c8,478,ffffffff,c050a9cc,c3527aec,...) at kdb_backtrace+0x29 witness_display_spinlock(c0359db5,c3527b00,4,1,0,...) at witness_display_spinlock+0x75 witness_warn(5,0,c0383c74,c3527b5c,c,...) at witness_warn+0x1fd trap(c3527b88) at trap+0x13e alltraps(c39430a0,0,c037b2c8,478,2,...) at alltraps+0x1b xlvbd_add(c3943000,c3527cc8,c00c6924,c03ce780,c3782538,...) at xlvbd_add+0x36b3 intr_event_execute_handlers(c37087ec,c3782500,c034fbb5,4e9,c3782570,...) at intr_event_execute_handlers+0x125 intr_event_add_handler(c3948140,c3527d38,c034f8e8,335,c37087ec,...) at intr_event_add_handler+0x41f fork_exit(c00afe50,c3948140,c3527d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xc3527d70, ebp = 0 --- Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x2 fault code = supervisor read, page not present instruction pointer = 0x21:0xc02f719b stack pointer = 0x29:0xc3527bc8 frame pointer = 0x29:0xc3527bf8 code segment = base 0x0, limit 0xf9800, type 0x1b = DPL 1, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 12 (irq135: xn) [thread pid 12 tid 100024 ] Stopped at xlvbd_add+0x204b: cmpl $0,0(%edx) db> bt Tracing pid 12 tid 100024 td 0xc3756d80 xlvbd_add(c39430a0,0,c037b2c8,478,2,...) at xlvbd_add+0x204b xlvbd_add(c3943000,c3527cc8,c00c6924,c03ce780,c3782538,...) at xlvbd_add+0x36b3 intr_event_execute_handlers(c37087ec,c3782500,c034fbb5,4e9,c3782570,...) at intr_event_execute_handlers+0x125 intr_event_add_handler(c3948140,c3527d38,c034f8e8,335,c37087ec,...) at intr_event_add_handler+0x41f fork_exit(c00afe50,c3948140,c3527d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xc3527d70, ebp = 0 --- db> From owner-freebsd-xen@FreeBSD.ORG Sun Jun 7 05:31:49 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 AEDC3106566C for ; Sun, 7 Jun 2009 05:31:49 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 61F9B8FC08 for ; Sun, 7 Jun 2009 05:31:49 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qyk3 with SMTP id 3so3444386qyk.3 for ; Sat, 06 Jun 2009 22:31:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=+xjVsjqlSko5sOMHF3A2iP6uwQty+bf6BV9wiesu890=; b=GZMHmk+mNuZ3UQPio++qa+t8BX/p4uxnZh8LfZaGp9RNxT77sXrAZH5rtN+84zUfJW yKJXfO6Mo+bUnx3XPklHNZBPirQfTbrYp//ErK8zMBUSjFdR18a9EEWgQr4kFmvshxYH j+eWbFKjJhgEJ+8EQYVamwqOdP+gVNvBJuJ0M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Lcx7iarJBi7Ek309sPRuKh3NK/0qMEe+w6LgxzCBWu2U/D1XMzNp9oTV7VOS9o+3rw 0pt/XPPrYD8w9LXXKceIU2/oXcwwvfk+EgpfHGqHtqLbJGgrEScee5k8jvRyOoKZACcZ C9grHEYWmFVzmcHHcSHe32y5A+8VC9/Hv3y8s= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.74.212 with SMTP id v20mr1172691qcj.16.1244352708577; Sat, 06 Jun 2009 22:31:48 -0700 (PDT) In-Reply-To: <4A2B4BDC.2020900@ruomad.net> References: <4A2864E1.40208@ruomad.net> <4A28A674.6020809@ruomad.net> <4A28AA18.3010808@ruomad.net> <4A2A962A.9050207@ruomad.net> <4A2B4412.8030704@ruomad.net> <4A2B4BDC.2020900@ruomad.net> Date: Sun, 7 Jun 2009 13:31:48 +0800 X-Google-Sender-Auth: 013ac27ea7e7de0e Message-ID: From: Adrian Chadd To: Bruno Damour Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-xen@freebsd.org Subject: Re: freebsd on opensolaris dom0 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: Sun, 07 Jun 2009 05:31:49 -0000 I can't trigger this here with my Centos 5.3 domU. I have a feeling this may be related to the hypervisor/dom0 environment. Not to say it isn't a bug, it is just going to take me more time to try and figure out. I'll commit some more Xen tidyups to -current and build a new image for you. It'll still have the bug but it will at least include the local source changes I am trying out. That will make testing a bit easier on me. Thanks, Adrian 2009/6/7 Bruno Damour : > Adrian Chadd wrote: >> >> What, so fetching data from ftpd running on the xen domU to another >> LAN connected host? >> >> >>> >>> so the problem seems to come more from upload traffic than download ? >>> >> >> See, thats the sort of information I need to reproduce the problem. :) >> >> > > I enable a ftp on a local LAN host (not the dom0) and it confirms that = =A0ftp > get works whereas a ftp put command triggers an immediate crash : > > =A0 # ftp 192.168.0.103 > =A0 ftp: Unknown port `ftp', using port 21 > =A0 Connected to 192.168.0.103. > =A0 220 random FTP server ready. > =A0 Name (192.168.0.103): bruno > =A0 331 Password required for bruno. > =A0 Password: > =A0 230 User bruno logged in. > =A0 Remote system type is UNIX. > =A0 Using binary mode to transfer files. > =A0 ftp> get zaum_by_slbprod-2.6.sql > =A0 local: zaum_by_slbprod-2.6.sql remote: zaum_by_slbprod-2.6.sql > =A0 229 Entering Extended Passive Mode (|||14185|) > =A0 150 Opening BINARY mode data connection for zaum_by_slbprod-2.6.sql > =A0 (10514 bytes). > =A0 226 Transfer complete. > =A0 10514 bytes received in 00:00 (31.29 KB/s) > =A0 ftp> put foobar > =A0 local: foobar remote: foobar > =A0 229 Entering Extended Passive Mode (|||20050|) > =A0 150 Opening BINARY mode data connection for foobar. > =A0 Kernel page fault with the following non-sleepable locks held: > =A0 exclusive sleep mutex xennetif_tx (network transmit lock) r =3D 0 > =A0 (0xc39430a0) locked @ > > /home/adrian/work/freebsd/xen/svn/head/sys/dev/xen/netfront/netfront.c:11= 44 > =A0 KDB: stack backtrace: > =A0 X_db_sym_numargs(c03578d2,c3527ab4,c01166d5,c037b2c8,478,...) at > =A0 X_db_sym_numargs+0x146 > =A0 kdb_backtrace(c037b2c8,478,ffffffff,c050a9cc,c3527aec,...) at > =A0 kdb_backtrace+0x29 > =A0 witness_display_spinlock(c0359db5,c3527b00,4,1,0,...) at > =A0 witness_display_spinlock+0x75 > =A0 witness_warn(5,0,c0383c74,c3527b5c,c,...) at witness_warn+0x1fd > =A0 trap(c3527b88) at trap+0x13e > =A0 alltraps(c39430a0,0,c037b2c8,478,2,...) at alltraps+0x1b > =A0 xlvbd_add(c3943000,c3527cc8,c00c6924,c03ce780,c3782538,...) at > =A0 xlvbd_add+0x36b3 > =A0 intr_event_execute_handlers(c37087ec,c3782500,c034fbb5,4e9,c3782570,.= ..) > =A0 at intr_event_execute_handlers+0x125 > =A0 intr_event_add_handler(c3948140,c3527d38,c034f8e8,335,c37087ec,...) > =A0 at intr_event_add_handler+0x41f > =A0 fork_exit(c00afe50,c3948140,c3527d38) at fork_exit+0xb8 > =A0 fork_trampoline() at fork_trampoline+0x8 > =A0 --- trap 0, eip =3D 0, esp =3D 0xc3527d70, ebp =3D 0 --- > > > =A0 Fatal trap 12: page fault while in kernel mode > =A0 cpuid =3D 0; apic id =3D 00 > =A0 fault virtual address =A0 =3D 0x2 > =A0 fault code =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D supervisor read, page not p= resent > =A0 instruction pointer =A0 =A0 =3D 0x21:0xc02f719b > =A0 stack pointer =A0 =A0 =A0 =A0 =A0 =3D 0x29:0xc3527bc8 > =A0 frame pointer =A0 =A0 =A0 =A0 =A0 =3D 0x29:0xc3527bf8 > =A0 code segment =A0 =A0 =A0 =A0 =A0 =A0=3D base 0x0, limit 0xf9800, type= 0x1b > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D DPL 1, pres 1, de= f32 1, gran 1 > =A0 processor eflags =A0 =A0 =A0 =A0=3D interrupt enabled, resume, IOPL = =3D 0 > =A0 current process =A0 =A0 =A0 =A0 =3D 12 (irq135: xn) > =A0 [thread pid 12 tid 100024 ] > =A0 Stopped at =A0 =A0 =A0xlvbd_add+0x204b: =A0 =A0 =A0 cmpl =A0 =A0$0,0(= %edx) > =A0 db> bt =A0 Tracing pid 12 tid 100024 td 0xc3756d80 > =A0 xlvbd_add(c39430a0,0,c037b2c8,478,2,...) at xlvbd_add+0x204b > =A0 xlvbd_add(c3943000,c3527cc8,c00c6924,c03ce780,c3782538,...) at > =A0 xlvbd_add+0x36b3 > =A0 intr_event_execute_handlers(c37087ec,c3782500,c034fbb5,4e9,c3782570,.= ..) > =A0 at intr_event_execute_handlers+0x125 > =A0 intr_event_add_handler(c3948140,c3527d38,c034f8e8,335,c37087ec,...) > =A0 at intr_event_add_handler+0x41f > =A0 fork_exit(c00afe50,c3948140,c3527d38) at fork_exit+0xb8 > =A0 fork_trampoline() at fork_trampoline+0x8 > =A0 --- trap 0, eip =3D 0, esp =3D 0xc3527d70, ebp =3D 0 --- > =A0 db> > > From owner-freebsd-xen@FreeBSD.ORG Sun Jun 7 05:52:33 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 92A301065707 for ; Sun, 7 Jun 2009 05:52:32 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 9C3238FC14 for ; Sun, 7 Jun 2009 05:52:30 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so1304855qwe.7 for ; Sat, 06 Jun 2009 22:52:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=8ZoCG1usf/p5qazqa5zmNyVeuwPdL+cv+o6PUwF/ZSc=; b=AhHCdMQuVDqBgl2mLIaKETUQohCQxl9VbDeSRhSprC8xPY7yDFRJQlo/5vlF5Yvi2N MwtDST7cFoF1J2jg3KL/OSIAke+XsXcCzt/q6Geft3rDjX2KbIGLSD56eV7q9QZKyxqM iETNsX2rD9ddTZmvz5tiWGcQ3QwgT/K1OxIFw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=l5Uzp3wXgqKHO6kT9Mb8LgEPDJESDChsAmeffOU7iKZ29n4kfQZ4yIGcHkI7NTbin8 cTL8SR9IZoCUiPN+7tQIyGROcCDc/4M+y6vIUkcGozwv/V7h53w9ZxYKUxiZoWx0JHVh 3LzYZJs0ZX1T7sxQn76gKMMTRT9VrfeSMnPZI= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.85.4 with SMTP id m4mr1154072qcl.55.1244353949677; Sat, 06 Jun 2009 22:52:29 -0700 (PDT) In-Reply-To: <17ca67550906061819g635b6ddew5a95a9fea1311884@mail.gmail.com> References: <17ca67550906061819g635b6ddew5a95a9fea1311884@mail.gmail.com> Date: Sun, 7 Jun 2009 13:52:29 +0800 X-Google-Sender-Auth: 9d63a57265ec2006 Message-ID: From: Adrian Chadd To: Edwin Shao Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: -current XEN build fails with WITNESS off 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: Sun, 07 Jun 2009 05:52:34 -0000 Committed in revision 193618. Thanks! Adrian From owner-freebsd-xen@FreeBSD.ORG Sun Jun 7 06:29:19 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 0EA6B1065680; Sun, 7 Jun 2009 06:29:19 +0000 (UTC) (envelope-from llama@ruomad.net) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx1.freebsd.org (Postfix) with ESMTP id B82418FC17; Sun, 7 Jun 2009 06:29:18 +0000 (UTC) (envelope-from llama@ruomad.net) Received: from localhost (mfilter4-v.gandi.net [217.70.178.38]) by relay2-d.mail.gandi.net (Postfix) with ESMTP id A8D2C225176; Sun, 7 Jun 2009 08:29:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter4-v.mgt.gandi.net Received: from relay2-d.mail.gandi.net ([217.70.183.194]) by localhost (mfilter4-v.mgt.gandi.net [217.70.178.38]) (amavisd-new, port 10024) with ESMTP id KtgtI72RrIDT; Sun, 7 Jun 2009 08:29:17 +0200 (CEST) Received: from [192.168.0.100] (vln78-1-82-238-160-33.fbx.proxad.net [82.238.160.33]) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id C1498225173; Sun, 7 Jun 2009 08:29:13 +0200 (CEST) Message-ID: <4A2B5E24.9000901@ruomad.net> Date: Sun, 07 Jun 2009 08:28:52 +0200 From: Bruno Damour User-Agent: Thunderbird 2.0.0.21 (X11/20090323) MIME-Version: 1.0 To: Adrian Chadd References: <4A2864E1.40208@ruomad.net> <4A28A674.6020809@ruomad.net> <4A28AA18.3010808@ruomad.net> <4A2A962A.9050207@ruomad.net> <4A2B4412.8030704@ruomad.net> <4A2B4BDC.2020900@ruomad.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org, xen-discuss@opensolaris.org Subject: Re: freebsd on opensolaris dom0 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: Sun, 07 Jun 2009 06:29:19 -0000 Adrian Chadd wrote: > I can't trigger this here with my Centos 5.3 domU. I have a feeling > this may be related to the hypervisor/dom0 environment. > > Not to say it isn't a bug, it is just going to take me more time to > try and figure out. > > I'll commit some more Xen tidyups to -current and build a new image > for you. It'll still have the bug but it will at least include the > local source changes I am trying out. That will make testing a bit > easier on me. > Well there are a couple of things to take into consideration. First, I _did_ get some dom0 crashes so that in deed the opensolaris xvm code could be responsible for this Second, xen version on opensolaris is still 3.1.4, which may also explain the difference and the fact that you can't reproduce the crash on CentOS (must be 3.3 ?) Third, there has been a heavy development in opensolaris on he virtual network interface level (so call crossbow) Four, it might also be related to the actual opensolaris driver (which is 3rd party, myk for my Marvell yukon Gb), I could try to test if it's the same with another one Four, i386 vs amd64 I think it might be useful to copy this thread to the xen mailing list on opensolaris Thanks Bruno From owner-freebsd-xen@FreeBSD.ORG Sun Jun 7 06:45:35 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 E500D106566B for ; Sun, 7 Jun 2009 06:45:35 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 9A2168FC18 for ; Sun, 7 Jun 2009 06:45:35 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qyk3 with SMTP id 3so3460543qyk.3 for ; Sat, 06 Jun 2009 23:45:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=WoUN25q9mMQWpn35HykJRpfMOcBnCaEutTH89SasF2M=; b=Dm+8+93peLj/beaVXPOoIKxdgCSQNOAKMws7khO544/ZRB7C5cab5ZWA/K+iW9WXl9 lqIF+SxorB+44+do7G5jcYSpaDKN4yq9Z1WZCaDWMQBcbTlFe6leUzVaZHnIjFw7E8P+ WrlSPQLgn0MIZjRPdBKclIJaKUBADHWIwJcgo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=o6Lz7t3ThnNbgbbkDqdtMdrIorRCAaNHMDazTjfm4w5E9di8ak5Uc/WMWMPwhW3BMB VfAHD3DyAh627cfy9b/y0xI/eHRyMbaLHpLXOISU1mgPm4OZxPxe/4HWrnvwZjSuB5hw x67PBEABmEQKkh2Nly+h0jyfcf/GnTTwVZOxY= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.85.14 with SMTP id m14mr1153367qcl.64.1244357135088; Sat, 06 Jun 2009 23:45:35 -0700 (PDT) In-Reply-To: <4A2B5E24.9000901@ruomad.net> References: <4A2864E1.40208@ruomad.net> <4A28A674.6020809@ruomad.net> <4A28AA18.3010808@ruomad.net> <4A2A962A.9050207@ruomad.net> <4A2B4412.8030704@ruomad.net> <4A2B4BDC.2020900@ruomad.net> <4A2B5E24.9000901@ruomad.net> Date: Sun, 7 Jun 2009 14:45:34 +0800 X-Google-Sender-Auth: 24107c2b627c9d3b Message-ID: From: Adrian Chadd To: Bruno Damour Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org, xen-discuss@opensolaris.org Subject: Re: freebsd on opensolaris dom0 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: Sun, 07 Jun 2009 06:45:36 -0000 2009/6/7 Bruno Damour : > Well there are a couple of things to take into consideration. > First, I _did_ get some dom0 crashes so that in deed the opensolaris xvm > code could be responsible for this Ok. > Second, xen version on opensolaris is still 3.1.4, which may also explain > the difference and the fact that you can't reproduce the crash on CentOS > (must be 3.3 ?) Xen version 3.1.2-128.1.10.el5 (mockbuild@centos.org) (gcc version 4.1.2 200807 04 (Red Hat 4.1.2-44)) Thu May 7 10:31:40 EDT 2009 > Third, there has been a heavy development in opensolaris on he virtual > network interface level (so call crossbow) I know about crossbow; I've just not looked into it. > Four, it might also be related to the actual opensolaris driver (which is > 3rd party, myk for my Marvell yukon Gb), I could try to test if it's the > same with another one It -shouldn't- have anything to do with your physical network hardware but who knows. :) I haven't looked at the opensolaris source at all. I know for Linux that it is almost 100% abstracted away via the bridging layer stuff. The only knowledge of the NIC the netfront driver has is the hardware TX/RX checksum and TSO. > Four, i386 vs amd64 Right. I'm running 32 bit in 32 bit; you're running 32 bit domU in 64 bit dom0? > I think it might be useful to copy this thread to the xen mailing list on > opensolaris Sure. I'm open to discuss ideas but I'm just a bit too busy with paid work to be spending many more brain cycles on this for the time being. I'd like you to wrap all of this up and submit a PR please. I'd like you to include details about your running opensolaris environment, hardware, xen hypervisor version and such. I can't make any promises that I'll be able to set up an opensolaris Xen environment with debugging support to figure this out any time soon but it may be possible for me to commit some further sanity checks so we can slowly narrow down the cause. Adrian From owner-freebsd-xen@FreeBSD.ORG Sun Jun 7 12:09: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 EA9E91065676; Sun, 7 Jun 2009 12:09:54 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from mail-fx0-f215.google.com (mail-fx0-f215.google.com [209.85.220.215]) by mx1.freebsd.org (Postfix) with ESMTP id 07C1D8FC19; Sun, 7 Jun 2009 12:09:53 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by fxm11 with SMTP id 11so186219fxm.43 for ; Sun, 07 Jun 2009 05:09:53 -0700 (PDT) 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=w1RsQh8t9TrWBFFAuuleJD2WwcSYxx2dJCElDc6szCE=; b=mVlstthZebNizhNvTOdiWmzqbqqCzGyrDwDdZ4hXQGW733ASvbYn1lGPHCWTTvotfm OFwuaM5UZtFoL2+svMIOpi2ckW8Uf07lVX2qRIunh4xMiD2MzH2iTI9S5tCFo2qoRN1r DIG0ZmBf0/H0TRPpR/PjnapRxDJL5XAWrGoMo= 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=OplRdh6NfbPHNODbM4li9+f+15Puj1zPVmnVbK1o1TqkgXTDUEusk8yCH5aG8ylyXg nguuc9Z5QVZ6SUAuoOCw0Q28cJK+cvdomcMtdph+cHRIWsn0XaWrITJVgBXtvmI1yOI8 G8oRa3K4dekdN++ZyB/62zwDIdCGpOS8jjXYI= Received: by 10.86.86.2 with SMTP id j2mr5966347fgb.74.1244376593039; Sun, 07 Jun 2009 05:09:53 -0700 (PDT) Received: from ?192.168.220.101? (Zf4c8.z.pppool.de [89.61.244.200]) by mx.google.com with ESMTPS id 4sm1557253fgg.8.2009.06.07.05.09.52 (version=SSLv3 cipher=RC4-MD5); Sun, 07 Jun 2009 05:09:52 -0700 (PDT) From: Mister Olli To: Adrian Chadd In-Reply-To: References: <17ca67550906061819g635b6ddew5a95a9fea1311884@mail.gmail.com> Content-Type: text/plain Date: Sun, 07 Jun 2009 14:09:51 +0200 Message-Id: <1244376591.4320.1.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: -current XEN build fails with WITNESS off 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: Sun, 07 Jun 2009 12:09:55 -0000 Hi, so testing 8-CURRENT as production could best be done by using the default kernel config and putting services into it, right? Regards, --- Mr. Olli On Sun, 2009-06-07 at 11:58 +0800, Adrian Chadd wrote: > You absolutely want to run the witness checks; freebsd/xen is still in > development. > > I'll commit the netfront fix though. Thanks! > > > Adrian > > 2009/6/7 Edwin Shao : > > Hi all, > > > > I am running Adrian's Xen image on a pygrub domU and am building the > > kernel targeted towards production use. With that in mind, commenting > > out the lines: > > #options WITNESS # Enable checks to detect > > deadlocks and cycles > > #options WITNESS_SKIPSPIN # Don't run witness on > > spinlocks for speed > > > > Yields the error: > > In file included from /usr/src/sys/dev/xen/netfront/netfront.c:33: > > /usr/src/sys/sys/sx.h:211:2: error: #error "LOCK_DEBUG not defined, > > include before " > > mkdep: compile failed > > > > This is reproducible, at the very least, between 20090520 and 20090606. > > > > A very simple fix is: > > diff netfront.c netfront.old.c > > 33d32 > > < #include > > > > Let me know if I am doing something stupidly wrong (as I've only been > > running FreeBSD since yesterday) or if you need any more information. > > > > Thanks, > > Edwin > > > > PS. If there is any interest, I can provide weekly or so kernel > > builds. My config file is aimed towards use in a production > > environment with jails use, and thus has debugging options off and > > pf/vlan/NULLFS/FDESCFS enabled. > > > > > > ---------- Error Log ---------- > > > > > > -------------------------------------------------------------- > >>>> Kernel build for XENNEKO started on Sat Jun 6 20:55:49 EDT 2009 > > -------------------------------------------------------------- > > ===> XENNEKO > > mkdir -p /usr/obj/usr/src/sys > > > > -------------------------------------------------------------- > >>>> stage 1: configuring the kernel > > -------------------------------------------------------------- > > cd /usr/src/sys/i386/conf; > > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > > config -d /usr/obj/usr/src/sys/XENNEKO > > /usr/src/sys/i386/conf/XENNEKO > > Kernel build directory is /usr/obj/usr/src/sys/XENNEKO > > Don't forget to do ``make cleandepend && make depend'' > > > > -------------------------------------------------------------- > >>>> stage 2.1: cleaning up the object tree > > -------------------------------------------------------------- > > cd /usr/obj/usr/src/sys/XENNEKO; MAKEOBJDIRPREFIX=/usr/obj > > MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE=pentiumpro > > GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin > > GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font > > GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac > > _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp VERSION="FreeBSD 8.0-CURRENT > > i386 800095" INSTALL="sh /usr/src/tools/install.sh" > > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > > NO_CTF=1 make KERNEL=kernel cleandir > > rm -f *.o *.so *.So *.ko *.s eddep errs kernel.debug kernel > > kernel.symbols linterrs makelinks tags vers.c vnode_if.c vnode_if.h > > vnode_if_newproto.h vnode_if_typedef.h eisa_if.c mmcbr_if.c > > mmcbus_if.c card_if.c power_if.c pci_if.c pcib_if.c g_part_if.c > > isa_if.c bus_if.c clock_if.c cpufreq_if.c device_if.c linker_if.c > > serdev_if.c xenbus_if.c acpi_if.c eisa_if.h mmcbr_if.h mmcbus_if.h > > card_if.h power_if.h pci_if.h pcib_if.h g_part_if.h isa_if.h bus_if.h > > clock_if.h cpufreq_if.h device_if.h linker_if.h serdev_if.h > > xenbus_if.h acpi_if.h pccarddevs.h > > rm -f .depend machine > > cd /usr/src/sys/modules; > > MAKEOBJDIRPREFIX=/usr/obj/usr/src/sys/XENNEKO/modules > > KMODDIR=/boot/kernel MODULES_OVERRIDE="""" DEBUG_FLAGS="-g" > > MACHINE=i386 KERNBUILDDIR="/usr/obj/usr/src/sys/XENNEKO" > > SYSDIR="/usr/src/sys" make cleandir > > > > -------------------------------------------------------------- > >>>> stage 2.2: rebuilding the object tree > > -------------------------------------------------------------- > > cd /usr/obj/usr/src/sys/XENNEKO; MAKEOBJDIRPREFIX=/usr/obj > > MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE=pentiumpro > > GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin > > GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font > > GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac > > _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp VERSION="FreeBSD 8.0-CURRENT > > i386 800095" INSTALL="sh /usr/src/tools/install.sh" > > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > > NO_CTF=1 make KERNEL=kernel obj > > cd /usr/src/sys/modules; > > MAKEOBJDIRPREFIX=/usr/obj/usr/src/sys/XENNEKO/modules > > KMODDIR=/boot/kernel MODULES_OVERRIDE="""" DEBUG_FLAGS="-g" > > MACHINE=i386 KERNBUILDDIR="/usr/obj/usr/src/sys/XENNEKO" > > SYSDIR="/usr/src/sys" make obj > > > > -------------------------------------------------------------- > >>>> stage 2.3: build tools > > -------------------------------------------------------------- > > cd /usr/obj/usr/src/sys/XENNEKO; > > MAKESRCPATH=/usr/src/sys/dev/aic7xxx/aicasm make SSP_CFLAGS= > > -DNO_CPU_CFLAGS -DNO_CTF -f /usr/src/sys/dev/aic7xxx/aicasm/Makefile > > Warning: Object directory not changed from original /usr/obj/usr/src/sys/XENNEKO > > cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. > > -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99 -Wsystem-headers -Werror > > -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls > > -Wno-pointer-sign -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c > > cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. > > -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99 -Wsystem-headers -Werror > > -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls > > -Wno-pointer-sign -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c > > cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. > > -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99 -Wsystem-headers -Werror > > -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls > > -Wno-pointer-sign -c aicasm_gram.c > > cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. > > -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99 -Wsystem-headers -Werror > > -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls > > -Wno-pointer-sign -c aicasm_macro_gram.c > > cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. > > -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99 -Wsystem-headers -Werror > > -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls > > -Wno-pointer-sign -c aicasm_scan.c > > cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. > > -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99 -Wsystem-headers -Werror > > -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls > > -Wno-pointer-sign -c aicasm_macro_scan.c > > cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. > > -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99 -Wsystem-headers -Werror > > -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls > > -Wno-pointer-sign -o aicasm aicasm.o aicasm_symbol.o aicasm_gram.o > > aicasm_macro_gram.o aicasm_scan.o aicasm_macro_scan.o -ll > > cd /usr/src/sys/modules/aic7xxx/aicasm; > > MAKEOBJDIRPREFIX=/usr/obj/usr/src/sys/XENNEKO/modules make > > SSP_CFLAGS= -DNO_CPU_CFLAGS -DNO_CTF obj > > cd /usr/src/sys/modules/aic7xxx/aicasm; > > MAKEOBJDIRPREFIX=/usr/obj/usr/src/sys/XENNEKO/modules make > > SSP_CFLAGS= -DNO_CPU_CFLAGS -DNO_CTF depend > > cd /usr/src/sys/modules/aic7xxx/aicasm; > > MAKEOBJDIRPREFIX=/usr/obj/usr/src/sys/XENNEKO/modules make > > SSP_CFLAGS= -DNO_CPU_CFLAGS -DNO_CTF all > > > > -------------------------------------------------------------- > >>>> stage 3.1: making dependencies > > -------------------------------------------------------------- > > cd /usr/obj/usr/src/sys/XENNEKO; MAKEOBJDIRPREFIX=/usr/obj > > MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE=pentiumpro > > GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin > > GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font > > GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac > > _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp VERSION="FreeBSD 8.0-CURRENT > > i386 800095" INSTALL="sh /usr/src/tools/install.sh" > > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > > NO_CTF=1 make KERNEL=kernel depend -DNO_MODULES_OBJ > > machine -> /usr/src/sys/i386/include > > cc -c -O -pipe -march=pentiumpro -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 > > -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 > > /usr/src/sys/i386/i386/genassym.c > > NM='nm' sh /usr/src/sys/kern/genassym.sh genassym.o > assym.s > > awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -p > > awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -q > > awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -h > > awk -f /usr/src/sys/tools/pccarddevs2h.awk /usr/src/sys/dev/pccard/pccarddevs > > awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -c > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/eisa/eisa_if.m -c > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/mmc/mmcbr_if.m -c > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/mmc/mmcbus_if.m -c > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pccard/card_if.m -c > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pccard/power_if.m -c > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -c > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pcib_if.m -c > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/geom/part/g_part_if.m -c > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/isa/isa_if.m -c > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -c > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/clock_if.m -c > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/cpufreq_if.m -c > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -c > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/linker_if.m -c > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/serdev_if.m -c > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/xen/xenbus/xenbus_if.m -c > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/acpica/acpi_if.m -c > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/eisa/eisa_if.m -h > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/mmc/mmcbr_if.m -h > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/mmc/mmcbus_if.m -h > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pccard/card_if.m -h > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pccard/power_if.m -h > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pcib_if.m -h > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/geom/part/g_part_if.m -h > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/isa/isa_if.m -h > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/clock_if.m -h > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/cpufreq_if.m -h > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/linker_if.m -h > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/serdev_if.m -h > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/xen/xenbus/xenbus_if.m -h > > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/acpica/acpi_if.m -h > > rm -f .newdep > > make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" > > CC="cc" xargs mkdep -a -f .newdep -O -pipe -march=pentiumpro -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-protec! > > tor > > *** Error code 1 > > > > Stop in /usr/obj/usr/src/sys/XENNEKO. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > > > In file included from /usr/src/sys/dev/xen/netfront/netfront.c:33: > > /usr/src/sys/sys/sx.h:211:2: error: #error "LOCK_DEBUG not defined, > > include before " > > mkdep: compile failed > > _______________________________________________ > > 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" > > > _______________________________________________ > 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" From owner-freebsd-xen@FreeBSD.ORG Sun Jun 7 12:21:24 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 586EA1065678 for ; Sun, 7 Jun 2009 12:21:24 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 0F1118FC26 for ; Sun, 7 Jun 2009 12:21:23 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so1335996qwe.7 for ; Sun, 07 Jun 2009 05:21:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=lIDMe+cVHbdT08R2Z+PWAHr1vW+rZ1DivQJmN+cZfLw=; b=jX1FL0Yeh8wSD8ddeRi1h2fsiFbhje+iUTA1rSx8LaQEkcTKfmT7O8ik9mSDXX9Z2W Z/4D/YncxB9ju3/JDNSGrbFyki6xcBS96CGzovvIxwcjiljtCh2mvb3B128cQthbs7s3 5EVS4WVRUq9XAZXupB1tOLrWnZINXiPFILel0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=eTzdWkx25i95yYrLQoJRSOaw8IvIlZhhUnKSMWaAI82inX2ZkNzoUEjWMds0WbtoHU 4rznHsHVbVvkl61MqD2LBaLIG7XEuuaO3clk+A4LB6dkGvD1jN7cCV1Q+4TWTErdG7MA H3eK6y0jk2ftk31aAtYPYjUlHrYj5t07rOPN0= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.99.76 with SMTP id t12mr1188082qcn.46.1244376819306; Sun, 07 Jun 2009 05:13:39 -0700 (PDT) In-Reply-To: <1244376591.4320.1.camel@phoenix.blechhirn.net> References: <17ca67550906061819g635b6ddew5a95a9fea1311884@mail.gmail.com> <1244376591.4320.1.camel@phoenix.blechhirn.net> Date: Sun, 7 Jun 2009 20:13:38 +0800 X-Google-Sender-Auth: 40412f2f27fe0eb7 Message-ID: From: Adrian Chadd To: mister.olli@googlemail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: -current XEN build fails with WITNESS off 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: Sun, 07 Jun 2009 12:21:24 -0000 2009/6/7 Mister Olli : > Hi, > > so testing 8-CURRENT as production could best be done by using the > default kernel config and putting services into it, right? Yes. Its going to be slower because of witness, etc. Thing is, lock debugging is more important when I figure out why SMP is broken and y'all can test it with >1 CPU. :) Adrian From owner-freebsd-xen@FreeBSD.ORG Mon Jun 8 11:07:05 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 BE9131065690 for ; Mon, 8 Jun 2009 11:07:05 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AB30A8FC28 for ; Mon, 8 Jun 2009 11:07:05 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n58B75cJ020873 for ; Mon, 8 Jun 2009 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n58B75K9020869 for freebsd-xen@FreeBSD.org; Mon, 8 Jun 2009 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 8 Jun 2009 11:07:05 GMT Message-Id: <200906081107.n58B75K9020869@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-xen@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-xen@FreeBSD.org 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: Mon, 08 Jun 2009 11:07:06 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/135179 xen [xen] Xen domU does not properly reboot o kern/135178 xen [xen] Xen domU outgoing data transfer stall when TSO i o kern/135069 xen [xen] FreeBSD-current/Xen SMP doesn't function at all o kern/135008 xen FreeBSD-current/Xen timecounter jumps o kern/134926 xen [xen] [panic] FreeBSD-current Xen DomU networking pani 5 problems total. From owner-freebsd-xen@FreeBSD.ORG Tue Jun 9 11: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 522BF1065713 for ; Tue, 9 Jun 2009 11:05:54 +0000 (UTC) (envelope-from marcodisano@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id D62A38FC08 for ; Tue, 9 Jun 2009 11:05:53 +0000 (UTC) (envelope-from marcodisano@gmail.com) Received: by fg-out-1718.google.com with SMTP id e12so961984fga.12 for ; Tue, 09 Jun 2009 04:05:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=e53XEwKUswZDDtDcV7nfDmEZFBZ8kG7NcnE0gwKBn70=; b=emoU9MeMM1mpOMy2/6IegzcsVEBFfhOpGh25VKi68EKobQNYlb1lLx9QJz1mxu62Me t7K4SpaWElShHRkvIyIPPH6kmOTv/hXLInSd7d7cTvaQ6MsjGUZzxY4+Cbooby1/t6cm IT4yRZZpIWBb/dCc0Xm4m60PFMBnP+GWx+L7s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=NLczrrAi7S4EU1Dkiae/pRmcZgEYI2NP3Qf+tKb3pghndCC/EQTrmIN5isVeBsoFzU Cdc/n5MOCKTl5O7R9pWQukeCwx3KrBJe7wGIKCk3AHwGqWxcOi3NLBqhDTHP6i7tv7HJ ev/gGFXmqPge04NQUUoo/tDq2Pigq34TxlOs4= MIME-Version: 1.0 Received: by 10.86.91.3 with SMTP id o3mr32550fgb.40.1244544221807; Tue, 09 Jun 2009 03:43:41 -0700 (PDT) Date: Tue, 9 Jun 2009 12:43:41 +0200 Message-ID: <1a5985cf0906090343x645f7fe7necb56651feb45ef3@mail.gmail.com> From: marco di sano To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: kernel freebsd 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: Tue, 09 Jun 2009 11:05:55 -0000 hi, I'm new on this list. I have a debian etch system with xen support 3.0.3-1. I want to create a freebsd domU, but i don't find any freebsd kernel on the net. Instead I found the image .iso of the realese. Where can i find a freebsd kernel source with the XEN support? How can i start the machine domU? Thanks From owner-freebsd-xen@FreeBSD.ORG Tue Jun 9 16:12:21 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 DB2081065670 for ; Tue, 9 Jun 2009 16:12:21 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 8E8F18FC19 for ; Tue, 9 Jun 2009 16:12:21 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qyk3 with SMTP id 3so129200qyk.3 for ; Tue, 09 Jun 2009 09:12:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=ymnZvh4O0KfJ3g7VE6m8EQExU+w/JgNNeQztZzyc2Qw=; b=tTbGLvH9CLt51SBatqZbs8/1h0IVlBOR12vfCD8aNLKnV6qcTDiopi4clxhTV/vQTz bTE+aG2BWQi2desNyEXgeeDqNS499tXbqYbnNy05FNn+QEmSPVgX8sTD73eJi2TppXr+ bunYX4Agbda3xA+ukjVQaQA2xnQ8LYsZFi0nE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=KWcUJrdfSQ1A41BMC4GySf8BhGf2+8cx8RHcE7C9lfR/vVTQLwT+GsRppXMvWQLtbX GMco60TEc+AhCAv4PilLqnTY4A7tdFODw7Rnn3gqsa9ygQHS3AvY+dc/ztn+RDepFxmc qge40nLVWeXTW9fkq+qgrGkLSmJA7RhayRxzs= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.99.69 with SMTP id t5mr86179qcn.30.1244563940643; Tue, 09 Jun 2009 09:12:20 -0700 (PDT) In-Reply-To: <1a5985cf0906090343x645f7fe7necb56651feb45ef3@mail.gmail.com> References: <1a5985cf0906090343x645f7fe7necb56651feb45ef3@mail.gmail.com> Date: Wed, 10 Jun 2009 00:12:20 +0800 X-Google-Sender-Auth: 469c0dd1ff768810 Message-ID: From: Adrian Chadd To: marco di sano Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-xen@freebsd.org Subject: Re: kernel freebsd 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: Tue, 09 Jun 2009 16:12:22 -0000 http://wiki.freebsd.org/AdrianChadd/XenImages/ has a couple of FreeBSD Xen system images that I've locally built. Hopefully that'll be enough for you to get started. Thanks, Adrian 2009/6/9 marco di sano : > hi, > I'm new on this list. > I have a debian etch system with xen support 3.0.3-1. > I want to create a freebsd domU, but i don't =A0find =A0any freebsd kerne= l on > the net. > Instead I found the image .iso of the realese. > Where can i find a freebsd kernel source with the XEN support? > How can i start the machine domU? > Thanks > _______________________________________________ > 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" > From owner-freebsd-xen@FreeBSD.ORG Wed Jun 10 05:21:11 2009 Return-Path: Delivered-To: freebsd-xen@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0091C106564A; Wed, 10 Jun 2009 05:21:11 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C997A8FC0C; Wed, 10 Jun 2009 05:21:10 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5A5LAb5043097; Wed, 10 Jun 2009 05:21:10 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5A5LAZm043093; Wed, 10 Jun 2009 05:21:10 GMT (envelope-from linimon) Date: Wed, 10 Jun 2009 05:21:10 GMT Message-Id: <200906100521.n5A5LAZm043093@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-xen@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/135421: [xen] FreeBSD Xen PVM DomU network failure - netfronc.c driver crashes when downloading/uploading files 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: Wed, 10 Jun 2009 05:21:11 -0000 Synopsis: [xen] FreeBSD Xen PVM DomU network failure - netfronc.c driver crashes when downloading/uploading files Responsible-Changed-From-To: freebsd-bugs->freebsd-xen Responsible-Changed-By: linimon Responsible-Changed-When: Wed Jun 10 05:20:55 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=135421 From owner-freebsd-xen@FreeBSD.ORG Wed Jun 10 14:10:31 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 B36B21065673 for ; Wed, 10 Jun 2009 14:10:31 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from mail-bw0-f214.google.com (mail-bw0-f214.google.com [209.85.218.214]) by mx1.freebsd.org (Postfix) with ESMTP id 3197E8FC21 for ; Wed, 10 Jun 2009 14:10:30 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by bwz10 with SMTP id 10so147012bwz.43 for ; Wed, 10 Jun 2009 07:10:29 -0700 (PDT) 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=kLsY/T/zZwg8BkoBmR9wQD7DQo8V05TMbu1UB1HiZlM=; b=f56MnS3Svl+SfOhcWRl1sXJslSmzj7psSzOoWmysahWgtwMbzR/C8xpJdS3OKW7BHd GSAsbc9fa9lih2PHyr+3s7iMkPcMYhQ97xLB0piywTuJS7CbWeFX868/+prmrjDoWwWl ULEJb+zjZY205iCJe957dxSRoHwfx3vif1jx4= 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=yBxVaaKtLMspHscWkrG3Dg7YePoplWE7zAsMJ002HLbGJRHy3LgN6aK+U1ntDmnFVv jkE1PW3Z0S8YicxW63MQcaqXBsPTuy2zO/qhtqDjk/Lo4b+NS3cY6Jsz8fa3P4gJV6oK 9EbJrtxz5w27q1S0VKgSlfxk2uayJiNiSteew= Received: by 10.204.61.209 with SMTP id u17mr1356227bkh.86.1244643029344; Wed, 10 Jun 2009 07:10:29 -0700 (PDT) Received: from ?88.128.24.142? ([88.128.24.142]) by mx.google.com with ESMTPS id 35sm7133528fkt.20.2009.06.10.07.10.24 (version=SSLv3 cipher=RC4-MD5); Wed, 10 Jun 2009 07:10:25 -0700 (PDT) From: Mister Olli To: mukosi@gmail.com In-Reply-To: <200906100521.n5A5LAZm043093@freefall.freebsd.org> References: <200906100521.n5A5LAZm043093@freefall.freebsd.org> Content-Type: text/plain Date: Wed, 10 Jun 2009 16:08:55 +0200 Message-Id: <1244642935.5685.8.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/135421: [xen] FreeBSD Xen PVM DomU network failure - netfronc.c driver crashes when downloading/uploading files 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: Wed, 10 Jun 2009 14:10:32 -0000 Hi, I had similar problems on the i386 architecture, and they have been gone, since I disabled TCP segment offloading by appending '-tso' to my xn0 config line in '/etc/rc.conf' the problem is gone. the line looks like this now: ifconfig_xn0="inet 10.30.1.16 netmask 255.255.255.0 -tso" Regards, --- Mr. Olli On Wed, 2009-06-10 at 05:21 +0000, linimon@FreeBSD.org wrote: > Synopsis: [xen] FreeBSD Xen PVM DomU network failure - netfronc.c driver crashes when downloading/uploading files > > Responsible-Changed-From-To: freebsd-bugs->freebsd-xen > Responsible-Changed-By: linimon > Responsible-Changed-When: Wed Jun 10 05:20:55 UTC 2009 > Responsible-Changed-Why: > Over to maintainer(s). > > http://www.freebsd.org/cgi/query-pr.cgi?pr=135421 > _______________________________________________ > 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" From owner-freebsd-xen@FreeBSD.ORG Wed Jun 10 21:40:51 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 7B9891065673; Wed, 10 Jun 2009 21:40:51 +0000 (UTC) (envelope-from mukosi@gmail.com) Received: from mail-ew0-f212.google.com (mail-ew0-f212.google.com [209.85.219.212]) by mx1.freebsd.org (Postfix) with ESMTP id BB6D48FC0A; Wed, 10 Jun 2009 21:40:50 +0000 (UTC) (envelope-from mukosi@gmail.com) Received: by ewy8 with SMTP id 8so1163802ewy.43 for ; Wed, 10 Jun 2009 14:40:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=E8g3qIsdahnA4DFUpLM2wm+LwUM6X/wHj0BoyLyaJUI=; b=D5zHzLafObhihkx4sules9hZVHC49kLabHPj8iZVS4w4vWGJZpomxnLJfGzGoRnkEz hws/2eSCFAtb2gfp2+uB/XYKWt35wOugbzviMWUhmHFW751EiqB44ZSbGlC4pVb6a+TF pZFA2ZgaLLyAY607WIujWwN0foXnqyEeRIzlg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=asn/tQUq0gCArSL3AJEn4OtUvEoVlK/f1D9B5puF1tfRz4qbCG3Fm4PK3acE+xVCPf kO8HzsIacjU207p4lSfhrhjGlf+yxWV+T5A+7RedyrUq3nur5p762evvycsLUR/A9s++ DtC0M7qk7C9qodPnjvRUySWREzNtP/e4XMQZM= MIME-Version: 1.0 Received: by 10.216.71.196 with SMTP id r46mr680881wed.54.1244668536804; Wed, 10 Jun 2009 14:15:36 -0700 (PDT) In-Reply-To: <1244642935.5685.8.camel@phoenix.blechhirn.net> References: <200906100521.n5A5LAZm043093@freefall.freebsd.org> <1244642935.5685.8.camel@phoenix.blechhirn.net> Date: Wed, 10 Jun 2009 23:15:36 +0200 Message-ID: <2eb767d30906101415g77007adfr6e2fc214053d5f74@mail.gmail.com> From: Mukosi Mukwevho To: mister.olli@googlemail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-xen@freebsd.org, freebsd-bugs@freebsd.org Subject: Re: kern/135421: [xen] FreeBSD Xen PVM DomU network failure - netfronc.c driver crashes when downloading/uploading files 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: Wed, 10 Jun 2009 21:40:51 -0000 Hi Olli, Thank you so much for your help, the problem is gone after applying the -tso setting. Which version of FreeBSD are you running on and where did you download it? Regards, Mukosi On Wed, Jun 10, 2009 at 4:08 PM, Mister Olli wrote: > Hi, > > I had similar problems on the i386 architecture, and they have been > gone, since I disabled TCP segment offloading by appending '-tso' to my > xn0 config line in '/etc/rc.conf' the problem is gone. > > the line looks like this now: > ifconfig_xn0="inet 10.30.1.16 netmask 255.255.255.0 -tso" > > Regards, > --- > Mr. Olli > > On Wed, 2009-06-10 at 05:21 +0000, linimon@FreeBSD.org wrote: > > Synopsis: [xen] FreeBSD Xen PVM DomU network failure - netfronc.c driver > crashes when downloading/uploading files > > > > Responsible-Changed-From-To: freebsd-bugs->freebsd-xen > > Responsible-Changed-By: linimon > > Responsible-Changed-When: Wed Jun 10 05:20:55 UTC 2009 > > Responsible-Changed-Why: > > Over to maintainer(s). > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=135421 > > _______________________________________________ > > 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" > > -- Kind regards, Mukosi A Mukwevho Head IT Development - FNB Shared Services (Contact Center Randburg) Mobile: +27 82 859 1123 "Good relationships and good communication deliver software. Good estimation is extremely useful, but guarantees nothing." - http://www.softwarearchitect.biz/arch.htm From owner-freebsd-xen@FreeBSD.ORG Thu Jun 11 12:36:06 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 720C31065670 for ; Thu, 11 Jun 2009 12:36:06 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from mail-fx0-f220.google.com (mail-fx0-f220.google.com [209.85.220.220]) by mx1.freebsd.org (Postfix) with ESMTP id E8B438FC1B for ; Thu, 11 Jun 2009 12:36:05 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by fxm20 with SMTP id 20so1371089fxm.43 for ; Thu, 11 Jun 2009 05:36:04 -0700 (PDT) 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=aEZWKRdznwPW28ACU8ZS+MJm0+T0g0Yr10fL7D0K1oM=; b=kNCvMGuWSeQZ5s3nafsqeJ0OAb3XREFIlHyzTNq6ycqbDThmthd1qlnTBnf7vlGob/ A8a+jN7G+n7SyCf/lERyRo2Z199Jr+6GDdeGyc3W8tGwolF6ou8mehBgA9K2rQhtfbHj DvCS5IBpqSRqY0H6TY/rlpcC/6A8ZhT0NnCbM= 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=WKCPGSQIC68Jt10dP+tzIbgx4EY5fZ8DMfUY6JFrsBGOb4uxuUhkChgGjuvBG0p5sh u0/WuQs6FXH8zVgYpj5cVQ3kSqPBFyYVoqWUXrhMY7e+cOZUIXnq+mBnDTv2u6JTfMqd hEL6Z1aXQXwc1G+QwLwXCyTeKxbNFbGM1cCYQ= Received: by 10.103.223.1 with SMTP id a1mr1303674mur.112.1244723763681; Thu, 11 Jun 2009 05:36:03 -0700 (PDT) Received: from ?88.128.24.236? ([88.128.24.236]) by mx.google.com with ESMTPS id 23sm9116562mum.35.2009.06.11.05.36.01 (version=SSLv3 cipher=RC4-MD5); Thu, 11 Jun 2009 05:36:03 -0700 (PDT) From: Mister Olli To: Mukosi Mukwevho In-Reply-To: <2eb767d30906101415g77007adfr6e2fc214053d5f74@mail.gmail.com> References: <200906100521.n5A5LAZm043093@freefall.freebsd.org> <1244642935.5685.8.camel@phoenix.blechhirn.net> <2eb767d30906101415g77007adfr6e2fc214053d5f74@mail.gmail.com> Content-Type: text/plain Date: Thu, 11 Jun 2009 14:35:45 +0200 Message-Id: <1244723745.5685.34.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: kern/135421: [xen] FreeBSD Xen PVM DomU network failure - netfronc.c driver crashes when downloading/uploading files 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: Thu, 11 Jun 2009 12:36:06 -0000 Hi Mukosi, great to hear that the workaround did work for you also. I hope the developers will disable TSO by default in the xn driver (if it is possible ;-)) I'm currently running 8-CURRENT on svn revision 193636 but I started around 5 months ago testing 8-CURRENT as PV domU and I started building the domU using vmware and then transported the disk image via DD onto my xen box. This way is quite complex. IMHO the easiest way (at the moment) is to start off with the xen images adrian is providing for download (http://wiki.freebsd.org/AdrianChadd/XenImages/) as you're then able to build your own system as you like it. Regards, --- Mr. Olli On Wed, 2009-06-10 at 23:15 +0200, Mukosi Mukwevho wrote: > Hi Olli, > > Thank you so much for your help, the problem is gone after applying > the -tso setting. > > Which version of FreeBSD are you running on and where did you download > it? > > Regards, > Mukosi > > > On Wed, Jun 10, 2009 at 4:08 PM, Mister Olli > wrote: > Hi, > > I had similar problems on the i386 architecture, and they have > been > gone, since I disabled TCP segment offloading by appending > '-tso' to my > xn0 config line in '/etc/rc.conf' the problem is gone. > > the line looks like this now: > ifconfig_xn0="inet 10.30.1.16 netmask 255.255.255.0 > -tso" > > Regards, > --- > Mr. Olli > > On Wed, 2009-06-10 at 05:21 +0000, linimon@FreeBSD.org wrote: > > Synopsis: [xen] FreeBSD Xen PVM DomU network failure - > netfronc.c driver crashes when downloading/uploading files > > > > Responsible-Changed-From-To: freebsd-bugs->freebsd-xen > > Responsible-Changed-By: linimon > > Responsible-Changed-When: Wed Jun 10 05:20:55 UTC 2009 > > Responsible-Changed-Why: > > Over to maintainer(s). > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=135421 > > _______________________________________________ > > 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" > > > > > > -- > Kind regards, > > Mukosi A Mukwevho > Head IT Development - FNB Shared Services (Contact Center Randburg) > Mobile: +27 82 859 1123 > > "Good relationships and good communication deliver software. Good > estimation is extremely useful, but guarantees nothing." - > http://www.softwarearchitect.biz/arch.htm From owner-freebsd-xen@FreeBSD.ORG Thu Jun 11 13:29:37 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 5DE1D106574C for ; Thu, 11 Jun 2009 13:29:37 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 129A18FC08 for ; Thu, 11 Jun 2009 13:29:36 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qyk3 with SMTP id 3so2120759qyk.3 for ; Thu, 11 Jun 2009 06:29:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=nx63o2XERGsB/iv0BNfm5jyeC7cCrnM8inkFfofzz2k=; b=Y5VetL+1fRSQJ4p4bVXqJWir5zUXCdpbDYlXcpethiLUaogjfdbjgeJkIOZnaaBKkd CBEIROtGwgRmFvIyZ/nd5wHI9R8ZO5/mFZG9tWs8Aez9I8STyRU5UEDdbwxNYTi5+l6Q vi1LC+hhr+YqP3ffKuhnc0Zf89SEWfVfZ/lpc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=x+8FI5cC1Qel/bMyII7acSuCBsdHXqudeBsZfRl+JEAwyZfcZ8dmu0HcrfWdY3+W2I jQW77cNLzTWt/5hfzVHctBaPDOXY7xQXHxbG045c45LD49vg2Xeepw5GDW8kEz3ZWVWI Gvi1O77OOnQe4AUX7Wru9XsRjn0z+Iysov9HY= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.109.202 with SMTP id k10mr591945qcp.58.1244726976198; Thu, 11 Jun 2009 06:29:36 -0700 (PDT) In-Reply-To: <1244723745.5685.34.camel@phoenix.blechhirn.net> References: <200906100521.n5A5LAZm043093@freefall.freebsd.org> <1244642935.5685.8.camel@phoenix.blechhirn.net> <2eb767d30906101415g77007adfr6e2fc214053d5f74@mail.gmail.com> <1244723745.5685.34.camel@phoenix.blechhirn.net> Date: Thu, 11 Jun 2009 21:29:36 +0800 X-Google-Sender-Auth: 7944b9bb9dde50bc Message-ID: From: Adrian Chadd To: mister.olli@googlemail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org, Mukosi Mukwevho Subject: Re: kern/135421: [xen] FreeBSD Xen PVM DomU network failure - netfronc.c driver crashes when downloading/uploading files 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: Thu, 11 Jun 2009 13:29:37 -0000 2009/6/11 Mister Olli : > Hi Mukosi, > > great to hear that the workaround did work for you also. I hope the > developers will disable TSO by default in the xn driver (if it is > possible ;-)) Its possible, but TSO related crashes should be fixed rather than patched around. > I'm currently running 8-CURRENT on svn revision 193636 but I started > around 5 months ago testing 8-CURRENT as PV domU and I started building > the domU using vmware and then transported the disk image via DD onto my > xen box. > This way is quite complex. IMHO the easiest way (at the moment) is to > start off with the xen images adrian is providing for download > (http://wiki.freebsd.org/AdrianChadd/XenImages/) as you're then able to > build your own system as you like it. :) Thanks. I'll hopefully get some time next week to investigate the other netfront related crashes and see if I can make the driver more sensible. adrian From owner-freebsd-xen@FreeBSD.ORG Thu Jun 11 16:15:58 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 C42E31065676 for ; Thu, 11 Jun 2009 16:15:58 +0000 (UTC) (envelope-from marcodisano@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 58F678FC18 for ; Thu, 11 Jun 2009 16:15:58 +0000 (UTC) (envelope-from marcodisano@gmail.com) Received: by fg-out-1718.google.com with SMTP id 22so485635fge.12 for ; Thu, 11 Jun 2009 09:15:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=iQjFAGtLqLSRoTUfJ5aTXd6PD39hy6QdmNNWR7A/X+Q=; b=uIsIlLDLZktS5KN3BNb/ttmkIC8IOm2E8PiTBj0AGBM8TcpzBFjX00kM3yPfZQBr0d gj+BUYM+LlT1h6s3vpfnXey+rGKyihiiKV7Tj/D/TzE8wPFZgAUo5yZg4ygHlkA/O5pw P4qlpO12Ly0RZ4v/IMwdINx4COIk5dhYv0B9M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=oegTXTq9X4aah+mps9TJuSYt0xx67p/VjcaY8u4w6Z/6YwJCMGozP6f2eSCSH4yYaa Bl6OfJRJHFxym5gB/24sJ47EZdh7j29IWi8x1x9JzdwKHcmFhfDw20ed9zeUu4cCV085 jTwxHzwRIDgn5/2bVEkGeEOExLUknU9UUPTzI= MIME-Version: 1.0 Received: by 10.86.86.10 with SMTP id j10mr2434853fgb.37.1244736957426; Thu, 11 Jun 2009 09:15:57 -0700 (PDT) Date: Thu, 11 Jun 2009 18:15:57 +0200 Message-ID: <1a5985cf0906110915uf37860m44fde93e71cdb06d@mail.gmail.com> From: marco di sano To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: freebsd image 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: Thu, 11 Jun 2009 16:15:59 -0000 hi, I'm new on this list. I would know how can I boot a freebsd image disk on xen. where can i find some freebsd image? And how can I boot them? How can be written the configuration file of my freebsd virtual machines? I wait for your answer...:-) Thanks From owner-freebsd-xen@FreeBSD.ORG Thu Jun 11 17:52:03 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 265711065674 for ; Thu, 11 Jun 2009 17:52:03 +0000 (UTC) (envelope-from marcodisano@gmail.com) Received: from mail-fx0-f220.google.com (mail-fx0-f220.google.com [209.85.220.220]) by mx1.freebsd.org (Postfix) with ESMTP id 9EFA28FC19 for ; Thu, 11 Jun 2009 17:52:02 +0000 (UTC) (envelope-from marcodisano@gmail.com) Received: by fxm20 with SMTP id 20so1575969fxm.43 for ; Thu, 11 Jun 2009 10:52:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=jJJqfIT8WzjlXTkQFQgzgh1CJEfC/2p8nlWi93rcozk=; b=fTl4YniOkDtnKUQnXAVirHsr3hZMAcKtYFSE+fz7o3nlZZIFDBepDDImdlI7PcgmhD wY3ZVXWcnZHlA3Cu0I6dI6pZwkL9rt2TJsUs5RT6JKLC43yGbbtneUsl94SF+tXVeXQy UftPznVuPMhG2J3eGgakW0ya6zBqvGsMeoHhw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=JHty7kDz+PuQzZ1qaJ32JjDgAd5HJryUUXq5iJK1K+Ax7CJXqcmdY2/fuVOsfL/Kpr SF3bQPwuC6UR2AsjX1pPtP868Mc8v587AGOxeOyFt+TPYYImgiicJ9XL/Moc4AlHIZ+7 TMs68V+EgICTz1PzHmOk1zQ88TzcXpo+Vbz4Q= MIME-Version: 1.0 Received: by 10.86.23.20 with SMTP id 20mr2591707fgw.17.1244742721513; Thu, 11 Jun 2009 10:52:01 -0700 (PDT) Date: Thu, 11 Jun 2009 19:52:01 +0200 Message-ID: <1a5985cf0906111052s7fc129ceje3869cf52504a9e4@mail.gmail.com> From: marco di sano To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: freebsd error 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: Thu, 11 Jun 2009 17:52:03 -0000 hi, I have downloaded the freebsd images from http://wiki.freebsd.org/AdrianChadd/XenImages/ , but I tried to boot the machine with this configuration file: bootloader = '/usr/lib/xen-3.0.3-1/bin/pygrub' memory = 256 name = 'freebsd_current' vif = [ 'bridge=xenbr0' ] disk = ['phy:/dev/VolGroup00/FreeBsdRoot,sda3,w','phy:/dev/VolGroup00/FreeBsdSwap,sda3,w'] on_poweroff = 'destroy' on_reboot = 'restart' on_crash = 'restart' but I had this error(this is the output): Traceback (most recent call last): File "/usr/lib/xen-3.0.3-1/bin/pygrub", line 481, in ? g = Grub(file, isconfig) File "/usr/lib/xen-3.0.3-1/bin/pygrub", line 147, in __init__ self.read_config(file, isconfig) File "/usr/lib/xen-3.0.3-1/bin/pygrub", line 338, in read_config raise RuntimeError, "Unable to read filesystem" RuntimeError: Unable to read filesystem No handlers could be found for logger "xend" Error: Boot loader didn't return any data! Usage: xm create [options] [vars] Someone can tell me the correct way to use the frebsd image and boot it? Is there something to change in my configuration file? Thanks Marco From owner-freebsd-xen@FreeBSD.ORG Thu Jun 11 19:09:30 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 06CFC106566C for ; Thu, 11 Jun 2009 19:09:30 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from mail-fx0-f220.google.com (mail-fx0-f220.google.com [209.85.220.220]) by mx1.freebsd.org (Postfix) with ESMTP id 82C388FC1B for ; Thu, 11 Jun 2009 19:09:29 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by fxm20 with SMTP id 20so1615813fxm.43 for ; Thu, 11 Jun 2009 12:09:28 -0700 (PDT) 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=XlqueCqWmJhhsPyn/XZ4Q5yNWAO+wBKrCSMeJoc8PD0=; b=hc8EYCSE6bBKCB4qhGPOnIyRhTqeX3RxdtpTSIw2wi1A5fnV4k+fZEQJhVcM/BGNjf DQyE7mJElEw9x/HIleDSD9FKhOn5HJ4YktrLmyEHjxAMbE9nAbhgFXMOSgreFe1Q7wvA MNd1itgxvHSGRDx5BfEka+78AnT7atffH2MsI= 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=dTTJtd9Rdk94/7nGzcGGxx92CH+z+XR73HNQPa3dWPWxoIMWbdHIbgEbF0f/XvB3AS T9mVoyUb74rBjNSRi5b7ecpfuOaMzTBocLAMs7pF/ma38IFd1EEAfu4ML1HPQO10i9Vd b7b49cjkyfFoAs4o9hJzhyCQDzPo4B/ECik94= Received: by 10.103.174.16 with SMTP id b16mr1455787mup.28.1244747368327; Thu, 11 Jun 2009 12:09:28 -0700 (PDT) Received: from ?88.128.35.74? ([88.128.35.74]) by mx.google.com with ESMTPS id 25sm350662mul.50.2009.06.11.12.09.26 (version=SSLv3 cipher=RC4-MD5); Thu, 11 Jun 2009 12:09:27 -0700 (PDT) From: Mister Olli To: marco di sano In-Reply-To: <1a5985cf0906111052s7fc129ceje3869cf52504a9e4@mail.gmail.com> References: <1a5985cf0906111052s7fc129ceje3869cf52504a9e4@mail.gmail.com> Content-Type: text/plain Date: Thu, 11 Jun 2009 21:09:19 +0200 Message-Id: <1244747359.7881.4.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: freebsd error 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: Thu, 11 Jun 2009 19:09:31 -0000 Hi, I've tried to use the configuration file adrian provided myself, and ended up with almost the same failure: 'Error: Boot loader didn't return any data!' As I didn't have the time to look further into this, I just reverted my config to the old version. Somehow after thinking about this issue I realized that the domU may need kernel support for UFS to do this task which mine definetly does not have. I don't have the time ATM to look into this. But maybe you can check if this is the same within your setup, and if adding kernel UFS support helps fixing it. Regards, --- Mr. Olli On Thu, 2009-06-11 at 19:52 +0200, marco di sano wrote: > hi, > I have downloaded the freebsd images from > http://wiki.freebsd.org/AdrianChadd/XenImages/ , but I tried to boot the > machine with this configuration file: > > bootloader = '/usr/lib/xen-3.0.3-1/bin/pygrub' > memory = 256 > name = 'freebsd_current' > vif = [ 'bridge=xenbr0' ] > disk = > ['phy:/dev/VolGroup00/FreeBsdRoot,sda3,w','phy:/dev/VolGroup00/FreeBsdSwap,sda3,w'] > on_poweroff = 'destroy' > on_reboot = 'restart' > on_crash = 'restart' > > but I had this error(this is the output): > > Traceback (most recent call last): > File "/usr/lib/xen-3.0.3-1/bin/pygrub", line 481, in ? > g = Grub(file, isconfig) > File "/usr/lib/xen-3.0.3-1/bin/pygrub", line 147, in __init__ > self.read_config(file, isconfig) > File "/usr/lib/xen-3.0.3-1/bin/pygrub", line 338, in read_config > raise RuntimeError, "Unable to read filesystem" > RuntimeError: Unable to read filesystem > No handlers could be found for logger "xend" > Error: Boot loader didn't return any data! > Usage: xm create [options] [vars] > > Someone can tell me the correct way to use the frebsd image and boot it? > Is there something to change in my configuration file? > > Thanks > Marco > _______________________________________________ > 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" From owner-freebsd-xen@FreeBSD.ORG Thu Jun 11 22:14:53 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 5DBA9106566C for ; Thu, 11 Jun 2009 22:14:53 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 140CE8FC1A for ; Thu, 11 Jun 2009 22:14:52 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so990320qwe.7 for ; Thu, 11 Jun 2009 15:14:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=5FSJNU6asg2/bwYAC/oD7y7YSbgBgzLtssjmw3mhX7A=; b=fUwOaBP7a7ZMUh/zWi6j4j+uxjoC0i4q2azeOwpQC+vuTOHgT/UzRcSmWblhx37Pg7 rRcOLg5y78oxQsIV2u07INPuAo4c5XSwldzLS0xI1ar5bDqYFhGqSpXzzg7ygXD4ZKN3 R5RJQBkN6UaBhgsPWyCFUveLwhenJzum9Cr+8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=AznZKivHXwk6WkSDlDzXzgTHXsNbfmdWJV05afo8OQXSj/MLJnngYSpiK91MDpSUh1 eOpxSZBVoAQ17BF9ErBeuT820yxAc++T8bL9IOGqWAByuEDAbcnLJ3H+892oKzwNOSfe K6S+GFAXzJQcq7JwHlAOdwYqoUyKm0Feds3DY= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.80.21 with SMTP id r21mr641286qck.80.1244758492370; Thu, 11 Jun 2009 15:14:52 -0700 (PDT) In-Reply-To: <1a5985cf0906111052s7fc129ceje3869cf52504a9e4@mail.gmail.com> References: <1a5985cf0906111052s7fc129ceje3869cf52504a9e4@mail.gmail.com> Date: Fri, 12 Jun 2009 06:14:50 +0800 X-Google-Sender-Auth: 2da2a097271ca6d0 Message-ID: From: Adrian Chadd To: marco di sano Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-xen@freebsd.org Subject: Re: freebsd error 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: Thu, 11 Jun 2009 22:14:53 -0000 G'day, 2009/6/12 marco di sano : > bootloader =3D '/usr/lib/xen-3.0.3-1/bin/pygrub' I haven't tried it under 3.0.3. > disk =3D > ['phy:/dev/VolGroup00/FreeBsdRoot,sda3,w','phy:/dev/VolGroup00/FreeBsdSwa= p,sda3,w'] It tries extracting a config and kernel image from the first disk, just FYI= . > =A0File "/usr/lib/xen-3.0.3-1/bin/pygrub", line 338, in read_config > =A0 =A0raise RuntimeError, "Unable to read filesystem" pygrub uses a bunch of C library things in a filesystem library to read the file(s) from the disk image. It also reads the partition table via magic byte offsets and direct reads from python code. It is all a bit evil :) I'm not sure whether 3.0.3 came with the pygrub modules to read UFS. It doesn't do this from kernel space - it does this in 100% userland code. It may be possible to backport the UFS module for pygrub if needed. > Someone can tell me the correct way to use the frebsd image and boot it? > Is there something to change in my configuration file? You may need to extract the kernel image + command line options and boot the kernel using the non-pygrub method. Sorry. adrian From owner-freebsd-xen@FreeBSD.ORG Sat Jun 13 21:23:14 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 01180106566B; Sat, 13 Jun 2009 21:23:14 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 57AD68FC14; Sat, 13 Jun 2009 21:23:12 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by fg-out-1718.google.com with SMTP id e12so157684fga.12 for ; Sat, 13 Jun 2009 14:23:12 -0700 (PDT) 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 :content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=69zWRl5g1UiJk5/ccZGIE/Xxp2UomizzZk4A3F+q248=; b=RW+SVcyg53SWGStAb01Hw5qBVBISsZEvhi9BUVBNBmMJZ7IV46xrOdcjNueq5piY32 xPYhEbwA0dqmRfs1sZFs0TqOPH/JiU6suCu8Q/uiDyUXhh7EEOZKZ24AHZbsZ0USyLeF M24c2YR6y0qyGn+aDCciEYmMJNRQEN2ub8UZQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:cc:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=Gc8stfhQuhAMMHc/aqWEjJLN8MdCnIRrRNV51dp9VNhGiNqas5TGyc2cb5MIOAUN9C ojXjIMmteeIjytyV8ohwIQcvv7TBTqPT25xi+8HHLUJAmCXaLClI+UA/69m58I0fke2f l6PJkjvhgQvuadvxKLPourl+Ns8j/iCbKDgx8= Received: by 10.86.27.6 with SMTP id a6mr5301844fga.18.1244928191917; Sat, 13 Jun 2009 14:23:11 -0700 (PDT) Received: from ?80.187.5.2? (tmo-005-2.customers.d1-online.com [80.187.5.2]) by mx.google.com with ESMTPS id l19sm6050066fgb.7.2009.06.13.14.23.10 (version=SSLv3 cipher=RC4-MD5); Sat, 13 Jun 2009 14:23:11 -0700 (PDT) From: Mister Olli To: freebsd-current@freebsd.org Content-Type: text/plain Date: Sat, 13 Jun 2009 23:23:01 +0200 Message-Id: <1244928181.6570.1.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: XEN kernel fails to build with 8-CURRENT t194017 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: Sat, 13 Jun 2009 21:23:14 -0000 Hi, during 'make buildkernel KERNCONF=XEN' I currently get the following error: cc -c -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 -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 -Werror /usr/src/sys/dev/xen/blkfront/blkfront.c cc1: warnings being treated as errors /usr/src/sys/dev/xen/blkfront/blkfront.c:1104: warning: pointer type mismatch in conditional expression *** 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# svn info /usr/src Path: /usr/src URL: http://svn.freebsd.org/base/head Repository Root: http://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 194107 Node Kind: directory Schedule: normal Last Changed Author: edwin Last Changed Rev: 194107 Last Changed Date: 2009-06-13 15:35:18 +0200 (Sat, 13 Jun 2009) Regards, --- Mr. Olli From owner-freebsd-xen@FreeBSD.ORG Sat Jun 13 21:57:49 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 A41131065673; Sat, 13 Jun 2009 21:57:49 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by mx1.freebsd.org (Postfix) with ESMTP id 478508FC18; Sat, 13 Jun 2009 21:57:49 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1606423ywe.13 for ; Sat, 13 Jun 2009 14:57:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=ya6SNk6c32FNSHMF9+p5iyjgA11S++VhMY9kKV8lyrw=; b=MPB/p3z8rytrW2ae0JOUjbE835ODzhkY4YpJi+/i4JqMtIEBIdWxhDoVI/mV/k0/Xm PFIIe+u9TM+O2zawg3bAV8ykFawvFL3hwzb4HNZwfv9MVFgX2MY4i57CWiAUelGvThnY 5dv+R8pxfddbNnzHcLzpj2lnDnTiLys9286m8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Qqmy2Q0NViUXFF9vGG7tiNxaB7N+iIclYOfycZU/u8XcCDSMMkMGdgHR23Xzkz7jer 0RfXgsA5jdtTvpveCEeb/1tvxpvcsXsXLN0nBukBMxNixkRDBaZAKNwbhUgR5eyMKOUf jxoHX1V7MFcT2HjKVY3qCO/gnSFJEFC4gZEaI= MIME-Version: 1.0 Sender: mat.macy@gmail.com Received: by 10.100.3.13 with SMTP id 13mr6783973anc.75.1244930268446; Sat, 13 Jun 2009 14:57:48 -0700 (PDT) In-Reply-To: <1244928181.6570.1.camel@phoenix.blechhirn.net> References: <1244928181.6570.1.camel@phoenix.blechhirn.net> Date: Sat, 13 Jun 2009 14:57:48 -0700 X-Google-Sender-Auth: 880306bf1c7786ac Message-ID: <3c1674c90906131457p3656732ka64c8d0ded3269a6@mail.gmail.com> From: Kip Macy To: mister.olli@googlemail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-xen@freebsd.org, freebsd-current@freebsd.org Subject: Re: XEN kernel fails to build with 8-CURRENT t194017 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: Sat, 13 Jun 2009 21:57:50 -0000 Should be fixed now. Cheers, Kip On Sat, Jun 13, 2009 at 2:23 PM, Mister Olli wr= ote: > Hi, > > during 'make buildkernel KERNCONF=3DXEN' I currently get the following er= ror: > > > cc -c -O -pipe =A0-std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs = -Wstrict-prototypes =A0-Wmissing-prototypes -Wpointer-arith -Winline -Wcast= -qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc =A0-I. -I/= usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEAD= ERS -include opt_global.h -fno-common -finline-limit=3D8000 --param inline-= unit-growth=3D100 --param large-function-growth=3D1000 =A0-mno-align-long-s= trings -mpreferred-stack-boundary=3D2 =A0-mno-mmx -mno-3dnow -mno-sse -mno-= sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror =A0/usr/src/sys/dev= /xen/blkfront/blkfront.c > cc1: warnings being treated as errors > /usr/src/sys/dev/xen/blkfront/blkfront.c:1104: warning: pointer type mism= atch in conditional expression > *** 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# svn info /usr/src > Path: /usr/src > URL: http://svn.freebsd.org/base/head > Repository Root: http://svn.freebsd.org/base > Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f > Revision: 194107 > Node Kind: directory > Schedule: normal > Last Changed Author: edwin > Last Changed Rev: 194107 > Last Changed Date: 2009-06-13 15:35:18 +0200 (Sat, 13 Jun 2009) > > > > > Regards, > --- > 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" > --=20 When bad men combine, the good must associate; else they will fall one by one, an unpitied sacrifice in a contemptible struggle. Edmund Burke