From owner-freebsd-xen@FreeBSD.ORG Sun Jul 19 07:49:36 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 0F71C106566B for ; Sun, 19 Jul 2009 07:49:36 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.237]) by mx1.freebsd.org (Postfix) with ESMTP id D5DD28FC0A for ; Sun, 19 Jul 2009 07:49:35 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by rv-out-0506.google.com with SMTP id f9so482983rvb.43 for ; Sun, 19 Jul 2009 00:49: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=I1B2LStNveGuPC7bdVZ5unFcrtCrYIvcD4Gr28Y2ic0=; b=TrDxjzGio3yzZzANVXgf2eRhzz3Tm0UtUKdasi/F/DHtaPf0aFE6+56+cW23Yezu+m w7Gi6xXriDE6xHiZKcSgy53+HFzGgOUVXJg+IrynS1cKJC5t2p94nI0ZNRJKM14hhqzj dOmhgMF7rZtQNpxH9VG7TNM3bdOcvtqyyEcVk= 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=BGF/rd9O/TEq+l5ZSv8fFlmbq9EbUtydNiLZcSjUtlkKAUv0o6nPmZNO4FHRlobNut Nq35EWDR8p80PfKzibpguqzGTGMXePZq/59Bf9Vwrg1PABNArrM4XorKrk3cATjpx+Cw gbUzsT0rhlKFJelYOci0I+ET6vzwqTYv+BOY0= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.140.203.18 with SMTP id a18mr1621958rvg.217.1247989775579; Sun, 19 Jul 2009 00:49:35 -0700 (PDT) In-Reply-To: <4A61CDA2.7020907@gmail.com> References: <4A61CDA2.7020907@gmail.com> Date: Sun, 19 Jul 2009 15:49:35 +0800 X-Google-Sender-Auth: 8e8fd255fcc6306c Message-ID: From: Adrian Chadd To: "Yury A. Buldakov" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-xen@freebsd.org Subject: Re: buildworld fails for rev195572 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, 19 Jul 2009 07:49:36 -0000 I'm sure it's my fault and I'm sure it will be easy to fix. I'm just busy on other projects at the moment. I'll commit a patch if someone figures out the fix and attaches it to the relevant PR. Thanks, adrian 2009/7/18 Yury A. Buldakov : > %subj > > While doing > =A0make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=3DXEN > > or > =A0cd /usr/src/sys/i386/compile/XEN > =A0make > > build fails with: > ------ > cc -c -O2 -pipe -fno-strict-aliasing =A0-std=3Dc99 =A0-Wall -Wredundant-d= ecls > -Wnested-externs -Wstrict-prototypes =A0-Wmissing-prototypes > -Wpointer-arith -Winline - > Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc =A0= -I. > -I../../.. -I../../../contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include o > pt_global.h -fno-common -finline-limit=3D8000 --param > inline-unit-growth=3D100 --param large-function-growth=3D1000 > -mno-align-long-strings -mpreferred-stack-boun > dary=3D2 =A0-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestandi= ng > -fstack-protector -Werror =A0../../../xdr/xdr_mbuf.c > cc -c -O2 -pipe -fno-strict-aliasing =A0-std=3Dc99 =A0-Wall -Wredundant-d= ecls > -Wnested-externs -Wstrict-prototypes =A0-Wmissing-prototypes > -Wpointer-arith -Winline - > Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc =A0= -I. > -I../../.. -I../../../contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include o > pt_global.h -fno-common -finline-limit=3D8000 --param > inline-unit-growth=3D100 --param large-function-growth=3D1000 > -mno-align-long-strings -mpreferred-stack-boun > dary=3D2 =A0-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestandi= ng > -fstack-protector -Werror =A0../../../xdr/xdr_mem.c > cc -c -O2 -pipe -fno-strict-aliasing =A0-std=3Dc99 =A0-Wall -Wredundant-d= ecls > -Wnested-externs -Wstrict-prototypes =A0-Wmissing-prototypes > -Wpointer-arith -Winline - > Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc =A0= -I. > -I../../.. -I../../../contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include o > pt_global.h -fno-common -finline-limit=3D8000 --param > inline-unit-growth=3D100 --param large-function-growth=3D1000 > -mno-align-long-strings -mpreferred-stack-boun > dary=3D2 =A0-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestandi= ng > -fstack-protector -Werror =A0../../../xdr/xdr_reference.c > cc -c -O2 -pipe -fno-strict-aliasing =A0-std=3Dc99 =A0-Wall -Wredundant-d= ecls > -Wnested-externs -Wstrict-prototypes =A0-Wmissing-prototypes > -Wpointer-arith -Winline - > Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc =A0= -I. > -I../../.. -I../../../contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include o > pt_global.h -fno-common -finline-limit=3D8000 --param > inline-unit-growth=3D100 --param large-function-growth=3D1000 > -mno-align-long-strings -mpreferred-stack-boun > dary=3D2 =A0-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestandi= ng > -fstack-protector -Werror =A0../../../xdr/xdr_sizeof.c > cc -c -O2 -pipe -fno-strict-aliasing =A0-std=3Dc99 =A0-Wall -Wredundant-d= ecls > -Wnested-externs -Wstrict-prototypes =A0-Wmissing-prototypes > -Wpointer-arith -Winline - > Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc =A0= -I. > -I../../.. -I../../../contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include o > pt_global.h -fno-common -finline-limit=3D8000 --param > inline-unit-growth=3D100 --param large-function-growth=3D1000 > -mno-align-long-strings -mpreferred-stack-boun > dary=3D2 =A0-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestandi= ng > -fstack-protector -Werror =A0../../../xen/gnttab.c > cc -c -O2 -pipe -fno-strict-aliasing =A0-std=3Dc99 =A0-Wall -Wredundant-d= ecls > -Wnested-externs -Wstrict-prototypes =A0-Wmissing-prototypes > -Wpointer-arith -Winline - > Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc =A0= -I. > -I../../.. -I../../../contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include o > pt_global.h -fno-common -finline-limit=3D8000 --param > inline-unit-growth=3D100 --param large-function-growth=3D1000 > -mno-align-long-strings -mpreferred-stack-boun > dary=3D2 =A0-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestandi= ng > -fstack-protector -Werror =A0../../../xen/features.c > cc -c -O2 -pipe -fno-strict-aliasing =A0-std=3Dc99 =A0-Wall -Wredundant-d= ecls > -Wnested-externs -Wstrict-prototypes =A0-Wmissing-prototypes > -Wpointer-arith -Winline - > Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc =A0= -I. > -I../../.. -I../../../contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include o > pt_global.h -fno-common -finline-limit=3D8000 --param > inline-unit-growth=3D100 --param large-function-growth=3D1000 > -mno-align-long-strings -mpreferred-stack-boun > dary=3D2 =A0-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestandi= ng > -fstack-protector -Werror =A0../../../xen/evtchn/evtchn.c > cc1: warnings being treated as errors > ../../../xen/evtchn/evtchn.c:653: warning: initialization from > incompatible pointer type > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/XEN. > ----- > > If I try to build it with > make WEARROR=3D > I got this > ----- > ... > cc -c -O2 -pipe -fno-strict-aliasing =A0-std=3Dc99 =A0-Wall -Wredundant-d= ecls > -Wnested-externs -Wstrict-prototypes =A0-Wmissing-prototypes > -Wpointer-arith -Winline - > Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc =A0= -I. > -I../../.. -I../../../contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include o > pt_global.h -fno-common -finline-limit=3D8000 --param > inline-unit-growth=3D100 --param large-function-growth=3D1000 > -mno-align-long-strings -mpreferred-stack-boun > dary=3D2 =A0-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestandi= ng > -fstack-protector =A0 vnode_if.c > :> hack.c > cc -shared -nostdlib hack.c -o hack.So > rm -f hack.c > MAKE=3Dmake sh ../../../conf/newvers.sh XEN > cc -c -O2 -pipe -fno-strict-aliasing =A0-std=3Dc99 =A0-Wall -Wredundant-d= ecls > -Wnested-externs -Wstrict-prototypes =A0-Wmissing-prototypes > -Wpointer-arith -Winline - > Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc =A0= -I. > -I../../.. -I../../../contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include o > pt_global.h -fno-common -finline-limit=3D8000 --param > inline-unit-growth=3D100 --param large-function-growth=3D1000 > -mno-align-long-strings -mpreferred-stack-boun > dary=3D2 =A0-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestandi= ng > -fstack-protector =A0 vers.c > linking kernel > device_pager.o(.text+0x1a9): In function `dev_pager_getpages': > : undefined reference to `pmap_page_set_memattr' > device_pager.o(.text+0x1c5): In function `dev_pager_getpages': > : undefined reference to `pmap_page_set_memattr' > device_pager.o(.text+0x2a8): In function `dev_pager_getpages': > : undefined reference to `pmap_page_set_memattr' > device_pager.o(.text+0x4c0): In function `dev_pager_dealloc': > : undefined reference to `pmap_page_set_memattr' > vm_contig.o(.text+0x776): In function `kmem_alloc_contig': > : undefined reference to `pmap_page_set_memattr' > vm_page.o(.text+0x1536): more undefined references to > `pmap_page_set_memattr' follow > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/XEN. > ----- > My config is almost default XEN config with commented out debug-related > options. > _______________________________________________ > 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 Mon Jul 20 00:52: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 260CE106566B; Mon, 20 Jul 2009 00:52:54 +0000 (UTC) (envelope-from c2thunes@brewtab.com) Received: from mail.brewtab.com (dauphin.brewtab.com [208.86.224.67]) by mx1.freebsd.org (Postfix) with ESMTP id C349A8FC0A; Mon, 20 Jul 2009 00:52:53 +0000 (UTC) (envelope-from c2thunes@brewtab.com) Received: from lethbridge.ncsu.brewtab.com (cpe-173-095-133-194.nc.res.rr.com [173.95.133.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.brewtab.com (Postfix) with ESMTPSA id 86C3E6E94; Sun, 19 Jul 2009 20:44:20 -0400 (EDT) Message-ID: <4A63BDE4.2070508@brewtab.com> Date: Sun, 19 Jul 2009 20:44:20 -0400 From: Christopher Thunes User-Agent: Thunderbird 2.0.0.22 (X11/20090605) MIME-Version: 1.0 To: Adrian Chadd References: <4A61CDA2.7020907@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: buildworld fails for rev195572 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, 20 Jul 2009 00:52:54 -0000 doh, looks like revision 195774 takes care of the linking issue so that second patch is unnecessary. - Chris Thunes Adrian Chadd wrote: > I'm sure it's my fault and I'm sure it will be easy to fix. I'm just > busy on other projects at the moment. > > I'll commit a patch if someone figures out the fix and attaches it to > the relevant PR. > > Thanks, > > > > adrian > > 2009/7/18 Yury A. Buldakov : >> %subj >> >> While doing >> make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=XEN >> >> or >> cd /usr/src/sys/i386/compile/XEN >> make >> >> build fails with: >> ------ >> cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline - >> Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. >> -I../../.. -I../../../contrib/altq -D_KERNEL >> -DHAVE_KERNEL_OPTION_HEADERS -include o >> pt_global.h -fno-common -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 >> -mno-align-long-strings -mpreferred-stack-boun >> dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding >> -fstack-protector -Werror ../../../xdr/xdr_mbuf.c >> cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline - >> Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. >> -I../../.. -I../../../contrib/altq -D_KERNEL >> -DHAVE_KERNEL_OPTION_HEADERS -include o >> pt_global.h -fno-common -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 >> -mno-align-long-strings -mpreferred-stack-boun >> dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding >> -fstack-protector -Werror ../../../xdr/xdr_mem.c >> cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline - >> Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. >> -I../../.. -I../../../contrib/altq -D_KERNEL >> -DHAVE_KERNEL_OPTION_HEADERS -include o >> pt_global.h -fno-common -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 >> -mno-align-long-strings -mpreferred-stack-boun >> dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding >> -fstack-protector -Werror ../../../xdr/xdr_reference.c >> cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline - >> Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. >> -I../../.. -I../../../contrib/altq -D_KERNEL >> -DHAVE_KERNEL_OPTION_HEADERS -include o >> pt_global.h -fno-common -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 >> -mno-align-long-strings -mpreferred-stack-boun >> dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding >> -fstack-protector -Werror ../../../xdr/xdr_sizeof.c >> cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline - >> Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. >> -I../../.. -I../../../contrib/altq -D_KERNEL >> -DHAVE_KERNEL_OPTION_HEADERS -include o >> pt_global.h -fno-common -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 >> -mno-align-long-strings -mpreferred-stack-boun >> dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding >> -fstack-protector -Werror ../../../xen/gnttab.c >> cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline - >> Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. >> -I../../.. -I../../../contrib/altq -D_KERNEL >> -DHAVE_KERNEL_OPTION_HEADERS -include o >> pt_global.h -fno-common -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 >> -mno-align-long-strings -mpreferred-stack-boun >> dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding >> -fstack-protector -Werror ../../../xen/features.c >> cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline - >> Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. >> -I../../.. -I../../../contrib/altq -D_KERNEL >> -DHAVE_KERNEL_OPTION_HEADERS -include o >> pt_global.h -fno-common -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 >> -mno-align-long-strings -mpreferred-stack-boun >> dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding >> -fstack-protector -Werror ../../../xen/evtchn/evtchn.c >> cc1: warnings being treated as errors >> ../../../xen/evtchn/evtchn.c:653: warning: initialization from >> incompatible pointer type >> *** Error code 1 >> >> Stop in /usr/src/sys/i386/compile/XEN. >> ----- >> >> If I try to build it with >> make WEARROR= >> I got this >> ----- >> ... >> cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline - >> Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. >> -I../../.. -I../../../contrib/altq -D_KERNEL >> -DHAVE_KERNEL_OPTION_HEADERS -include o >> pt_global.h -fno-common -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 >> -mno-align-long-strings -mpreferred-stack-boun >> dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding >> -fstack-protector vnode_if.c >> :> hack.c >> cc -shared -nostdlib hack.c -o hack.So >> rm -f hack.c >> MAKE=make sh ../../../conf/newvers.sh XEN >> cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline - >> Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. >> -I../../.. -I../../../contrib/altq -D_KERNEL >> -DHAVE_KERNEL_OPTION_HEADERS -include o >> pt_global.h -fno-common -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 >> -mno-align-long-strings -mpreferred-stack-boun >> dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding >> -fstack-protector vers.c >> linking kernel >> device_pager.o(.text+0x1a9): In function `dev_pager_getpages': >> : undefined reference to `pmap_page_set_memattr' >> device_pager.o(.text+0x1c5): In function `dev_pager_getpages': >> : undefined reference to `pmap_page_set_memattr' >> device_pager.o(.text+0x2a8): In function `dev_pager_getpages': >> : undefined reference to `pmap_page_set_memattr' >> device_pager.o(.text+0x4c0): In function `dev_pager_dealloc': >> : undefined reference to `pmap_page_set_memattr' >> vm_contig.o(.text+0x776): In function `kmem_alloc_contig': >> : undefined reference to `pmap_page_set_memattr' >> vm_page.o(.text+0x1536): more undefined references to >> `pmap_page_set_memattr' follow >> *** Error code 1 >> >> Stop in /usr/src/sys/i386/compile/XEN. >> ----- >> My config is almost default XEN config with commented out debug-related >> options. >> _______________________________________________ >> 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 Mon Jul 20 00:58:39 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 6E2F3106564A; Mon, 20 Jul 2009 00:58:39 +0000 (UTC) (envelope-from c2thunes@brewtab.com) Received: from mail.brewtab.com (dauphin.brewtab.com [208.86.224.67]) by mx1.freebsd.org (Postfix) with ESMTP id 127E98FC19; Mon, 20 Jul 2009 00:58:38 +0000 (UTC) (envelope-from c2thunes@brewtab.com) Received: from lethbridge.ncsu.brewtab.com (cpe-173-095-133-194.nc.res.rr.com [173.95.133.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.brewtab.com (Postfix) with ESMTPSA id BC1D66E8B; Sun, 19 Jul 2009 20:39:21 -0400 (EDT) Message-ID: <4A63BCB7.8040702@brewtab.com> Date: Sun, 19 Jul 2009 20:39:19 -0400 From: Christopher Thunes User-Agent: Thunderbird 2.0.0.22 (X11/20090605) MIME-Version: 1.0 To: Adrian Chadd References: <4A61CDA2.7020907@gmail.com> In-Reply-To: Content-Type: multipart/mixed; boundary="------------080804000500070103060902" Cc: freebsd-xen@freebsd.org Subject: Re: buildworld fails for rev195572 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, 20 Jul 2009 00:58:39 -0000 This is a multi-part message in MIME format. --------------080804000500070103060902 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I've attached a patch to fix this issues (pr136271_fix.patch), but even after this was done the kernel still failed to build because of a linking issue. The linking failure is due to sys/i386/xen/pmap.c lacking a definition for pmap_page_set_memattr. The attached xen_pmap_fix.patch will add the definition which I copied out of src/sys/i386/i386/pmap.c. I don't know if this was reasonable to do, but it did compile and the kernel did at least attempt to boot on a Xen 3.2.1 machine I have. - Chris Thunes Adrian Chadd wrote: > I'm sure it's my fault and I'm sure it will be easy to fix. I'm just > busy on other projects at the moment. > > I'll commit a patch if someone figures out the fix and attaches it to > the relevant PR. > > Thanks, > > > > adrian > > 2009/7/18 Yury A. Buldakov : >> %subj >> >> While doing >> make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=XEN >> >> or >> cd /usr/src/sys/i386/compile/XEN >> make >> >> build fails with: >> ------ >> cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline - >> Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. >> -I../../.. -I../../../contrib/altq -D_KERNEL >> -DHAVE_KERNEL_OPTION_HEADERS -include o >> pt_global.h -fno-common -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 >> -mno-align-long-strings -mpreferred-stack-boun >> dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding >> -fstack-protector -Werror ../../../xdr/xdr_mbuf.c >> cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline - >> Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. >> -I../../.. -I../../../contrib/altq -D_KERNEL >> -DHAVE_KERNEL_OPTION_HEADERS -include o >> pt_global.h -fno-common -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 >> -mno-align-long-strings -mpreferred-stack-boun >> dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding >> -fstack-protector -Werror ../../../xdr/xdr_mem.c >> cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline - >> Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. >> -I../../.. -I../../../contrib/altq -D_KERNEL >> -DHAVE_KERNEL_OPTION_HEADERS -include o >> pt_global.h -fno-common -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 >> -mno-align-long-strings -mpreferred-stack-boun >> dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding >> -fstack-protector -Werror ../../../xdr/xdr_reference.c >> cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline - >> Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. >> -I../../.. -I../../../contrib/altq -D_KERNEL >> -DHAVE_KERNEL_OPTION_HEADERS -include o >> pt_global.h -fno-common -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 >> -mno-align-long-strings -mpreferred-stack-boun >> dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding >> -fstack-protector -Werror ../../../xdr/xdr_sizeof.c >> cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline - >> Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. >> -I../../.. -I../../../contrib/altq -D_KERNEL >> -DHAVE_KERNEL_OPTION_HEADERS -include o >> pt_global.h -fno-common -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 >> -mno-align-long-strings -mpreferred-stack-boun >> dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding >> -fstack-protector -Werror ../../../xen/gnttab.c >> cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline - >> Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. >> -I../../.. -I../../../contrib/altq -D_KERNEL >> -DHAVE_KERNEL_OPTION_HEADERS -include o >> pt_global.h -fno-common -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 >> -mno-align-long-strings -mpreferred-stack-boun >> dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding >> -fstack-protector -Werror ../../../xen/features.c >> cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline - >> Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. >> -I../../.. -I../../../contrib/altq -D_KERNEL >> -DHAVE_KERNEL_OPTION_HEADERS -include o >> pt_global.h -fno-common -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 >> -mno-align-long-strings -mpreferred-stack-boun >> dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding >> -fstack-protector -Werror ../../../xen/evtchn/evtchn.c >> cc1: warnings being treated as errors >> ../../../xen/evtchn/evtchn.c:653: warning: initialization from >> incompatible pointer type >> *** Error code 1 >> >> Stop in /usr/src/sys/i386/compile/XEN. >> ----- >> >> If I try to build it with >> make WEARROR= >> I got this >> ----- >> ... >> cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline - >> Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. >> -I../../.. -I../../../contrib/altq -D_KERNEL >> -DHAVE_KERNEL_OPTION_HEADERS -include o >> pt_global.h -fno-common -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 >> -mno-align-long-strings -mpreferred-stack-boun >> dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding >> -fstack-protector vnode_if.c >> :> hack.c >> cc -shared -nostdlib hack.c -o hack.So >> rm -f hack.c >> MAKE=make sh ../../../conf/newvers.sh XEN >> cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline - >> Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. >> -I../../.. -I../../../contrib/altq -D_KERNEL >> -DHAVE_KERNEL_OPTION_HEADERS -include o >> pt_global.h -fno-common -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 >> -mno-align-long-strings -mpreferred-stack-boun >> dary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding >> -fstack-protector vers.c >> linking kernel >> device_pager.o(.text+0x1a9): In function `dev_pager_getpages': >> : undefined reference to `pmap_page_set_memattr' >> device_pager.o(.text+0x1c5): In function `dev_pager_getpages': >> : undefined reference to `pmap_page_set_memattr' >> device_pager.o(.text+0x2a8): In function `dev_pager_getpages': >> : undefined reference to `pmap_page_set_memattr' >> device_pager.o(.text+0x4c0): In function `dev_pager_dealloc': >> : undefined reference to `pmap_page_set_memattr' >> vm_contig.o(.text+0x776): In function `kmem_alloc_contig': >> : undefined reference to `pmap_page_set_memattr' >> vm_page.o(.text+0x1536): more undefined references to >> `pmap_page_set_memattr' follow >> *** Error code 1 >> >> Stop in /usr/src/sys/i386/compile/XEN. >> ----- >> My config is almost default XEN config with commented out debug-related >> options. >> _______________________________________________ >> 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" --------------080804000500070103060902 Content-Type: text/x-diff; name="pr136271_fix.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pr136271_fix.patch" diff -burN src-old/sys/xen/evtchn/evtchn.c src/sys/xen/evtchn/evtchn.c --- src-old/sys/xen/evtchn/evtchn.c 2009-05-30 08:53:13.000000000 +0000 +++ src/sys/xen/evtchn/evtchn.c 2009-07-19 14:28:54.000000000 +0000 @@ -626,7 +626,7 @@ static int xenpic_source_pending(struct intsrc *isrc); static void xenpic_suspend(struct pic* pic); static void xenpic_resume(struct pic* pic); -static void xenpic_assign_cpu(struct intsrc *, u_int apic_id); +static int xenpic_assign_cpu(struct intsrc *, u_int apic_id); struct pic xenpic_dynirq_template = { @@ -752,10 +752,11 @@ TODO; } -static void +static int xenpic_assign_cpu(struct intsrc *isrc, u_int apic_id) { TODO; + return 0; } void --------------080804000500070103060902 Content-Type: text/x-diff; name="xen_pmap_fix.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="xen_pmap_fix.patch" --- src-old/sys/i386/xen/pmap.c 2009-07-12 19:31:20.000000000 -0400 +++ src/sys/i386/xen/pmap.c 2009-07-19 17:27:51.000000000 -0400 @@ -3921,6 +3921,24 @@ kmem_free(kernel_map, base, size); } +/* + * Sets the memory attribute for the specified page. + */ +void +pmap_page_set_memattr(vm_page_t m, vm_memattr_t ma) +{ + + m->md.pat_mode = ma; + + /* + * Flush CPU caches to make sure any data isn't cached that shouldn't + * be, etc. + */ + /* If "Self Snoop" is supported, do nothing. */ + if (!(cpu_feature & CPUID_SS)) + pmap_invalidate_cache(); +} + int pmap_change_attr(va, size, mode) vm_offset_t va; --------------080804000500070103060902-- From owner-freebsd-xen@FreeBSD.ORG Mon Jul 20 11:07:08 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 20247106566B for ; Mon, 20 Jul 2009 11:07:08 +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 0DC338FC15 for ; Mon, 20 Jul 2009 11:07:08 +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 n6KB7791002513 for ; Mon, 20 Jul 2009 11:07:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6KB77ET002507 for freebsd-xen@FreeBSD.org; Mon, 20 Jul 2009 11:07:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 20 Jul 2009 11:07:07 GMT Message-Id: <200907201107.n6KB77ET002507@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, 20 Jul 2009 11:07:08 -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/136251 xen [xen] [patch] xn0 doesn't DHCP o kern/135421 xen [xen] FreeBSD Xen PVM DomU network failure - netfronc. 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 [xen] FreeBSD-current/Xen timecounter jumps o kern/134926 xen [xen] [panic] FreeBSD-current Xen DomU networking pani 7 problems total. From owner-freebsd-xen@FreeBSD.ORG Wed Jul 22 21:16:22 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 3DF971065674 for ; Wed, 22 Jul 2009 21:16:22 +0000 (UTC) (envelope-from sfourman@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 EDA148FC28 for ; Wed, 22 Jul 2009 21:16:21 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so262715qwe.7 for ; Wed, 22 Jul 2009 14:16:21 -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:content-transfer-encoding; bh=g3Iz6asks4ptsUZwlsLTmxYVvf1kwqRP/263OaM1Q0U=; b=O77cPgx77onkM2kyUAoNzf6vsb4UXIV6memj3j8AXHfKJAGmIviiXa3Gdua8e7X5AX 4PrSWBL9nvDOTXSlGgVjmYA5T0oPWH1oF8pxKmEBxkQMq/FxSHSPFFti6zS2y5E3Z0No cOt2NSa0bZcsAYKEPg4LZZXarQv81GZOK5d8Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=lkK2OHIXNCd8OPDCpVbnCMp7u92yucM7zxdaxNqcXfTUQqkPGPgI/b0wllDDBROWSK WmsF+ANYFY4dbUJ5aKimvJbADI7sK0dKMNT/v3XXQKgiBClx2asw2G/oHqS53DQPTMA4 bcaxuvroxleMiFQntcTuDiCx3H6WytypmAwGE= MIME-Version: 1.0 Received: by 10.229.81.70 with SMTP id w6mr302077qck.11.1248297381107; Wed, 22 Jul 2009 14:16:21 -0700 (PDT) Date: Wed, 22 Jul 2009 16:16:21 -0500 Message-ID: <11167f520907221416o5d5e9e7ak7368dbaebc0e54ce@mail.gmail.com> From: "Sam Fourman Jr." To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: FreeBSD handbook says xen Dom0 support in FreeBSD 8.0 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, 22 Jul 2009 21:16:22 -0000 Hello Xen List, I found the following mention of xen Dom0 support in the FreeBSD handbook. Does this mean that someone is actively working on Xen Dom0 support for FreeBSD 8? 22.3.2 Other Virtualization Options There is ongoing work in getting Xen=99 to work as a host environment on FreeBSD. An experimental version of this will appear in FreeBSD 8.0 http://www.freebsd.org/doc/en/books/handbook/virtualization-host.html Just wondering Sam Fourman Jr. From owner-freebsd-xen@FreeBSD.ORG Thu Jul 23 00:11:44 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 89349106566B for ; Thu, 23 Jul 2009 00:11:44 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.210.181]) by mx1.freebsd.org (Postfix) with ESMTP id 3F3188FC19 for ; Thu, 23 Jul 2009 00:11:43 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by yxe11 with SMTP id 11so970764yxe.3 for ; Wed, 22 Jul 2009 17:11:43 -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=YPJADPxaQHKFd5Wmp6WsmFbBrwAxy8Csl/aRiuxG/e8=; b=RvNg/H1kh0ACnfzkB4VACtvTXoUrZn83teXAv46y8MhIc8y8XRPyTWPXDBKZ56v4Oa oMracvhjg79jurp2e8a8yc2Wi8I6qdzlWNr+sfKrrFDAnAeHWp46AuT3nFdZaWFbYBls pKpc7k14KonM4wU69wtk4KV56sMbr24rDHi7A= 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=XYFRTKyq4lx+dSUwud/dNlKkvfwEMibZTzcYelkrXmhwRSzAThAnWqQPu9TSiArLP2 Wl5Sb7BhvdhZ97LMr2FVlg0WSHaARQOE8ynrceSWs8PhiqZ3/5wA6JWbApuQqKtyCDOI FVW4txR3NUiOf0emtE7gxVZGLUR3uAA8MWxjU= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.90.115.17 with SMTP id n17mr1253666agc.108.1248307903496; Wed, 22 Jul 2009 17:11:43 -0700 (PDT) In-Reply-To: <11167f520907221416o5d5e9e7ak7368dbaebc0e54ce@mail.gmail.com> References: <11167f520907221416o5d5e9e7ak7368dbaebc0e54ce@mail.gmail.com> Date: Thu, 23 Jul 2009 08:11:43 +0800 X-Google-Sender-Auth: 8cb1ff62351efa92 Message-ID: From: Adrian Chadd To: "Sam Fourman Jr." Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: freebsd-xen@freebsd.org Subject: Re: FreeBSD handbook says xen Dom0 support in FreeBSD 8.0 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, 23 Jul 2009 00:11:44 -0000 No, noone is actively working on dom0 support for FreeBSD at this time. I guess the handbook needs updating. adrian 2009/7/23 Sam Fourman Jr. : > Hello Xen List, > > I found the following mention of xen Dom0 support in the FreeBSD handbook= . > > Does this mean that someone is actively working on Xen Dom0 support > for FreeBSD 8? > > > 22.3.2 Other Virtualization Options > > There is ongoing work in getting Xen=99 to work as a host environment on > FreeBSD. An experimental version of this will appear in FreeBSD 8.0 > > http://www.freebsd.org/doc/en/books/handbook/virtualization-host.html > > > Just wondering > > Sam Fourman Jr. > _______________________________________________ > 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 Jul 23 18:19:36 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 F044B106567A for ; Thu, 23 Jul 2009 18:19:36 +0000 (UTC) (envelope-from freebsd-xen@adam.gs) Received: from mail.adam.gs (cl-127.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:7e::2]) by mx1.freebsd.org (Postfix) with ESMTP id BBA7D8FC1E for ; Thu, 23 Jul 2009 18:19:36 +0000 (UTC) (envelope-from freebsd-xen@adam.gs) Received: from [127.0.0.1] (localhost.adam.gs [127.0.0.1]) by mail.adam.gs (Postfix) with ESMTP id A9A6CF34DD1 for ; Thu, 23 Jul 2009 14:19:35 -0400 (EDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=mail; d=adam.gs; b=PlnD9IRQI1sTKBro23gjTRPi+CSkpG7vDoqNpUBf//UaqpsEtQNEXmV2yFTsU1GVVWcB/+cd1yjESY8q8yDigdVUve4wuTNYNrC1/Zsr2zprXGKUhDZyeyOljtFa/H+evBbzWEYP+43knQaM1CFyxRl4/QOO00H19Om5YF14ces=; Message-Id: From: Adam Jacob Muller To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Thu, 23 Jul 2009 14:19:35 -0400 X-Authentication: odHPhDYd/HKdIOWHhDVXRJc+GZWfiMmYaNiFzc5OmYSAO3dMY+LoSByvYIKA2qAjpY6baeICritP6bEnGtoSUVYjyTk2xUzQASwzaNRCq73UBgAxsKkzxG10w/wxMC3vaBWIGFqSCg+3XGvpd4/k6aV/x8Eqcii1Wrx7vrgZE193b4KiLA+2exvg1g== Subject: XEN kernel compile failure 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, 23 Jul 2009 18:19:37 -0000 HI, New to trying to get FreeBSD running under XEN (as a domU). trying to compile a XEN kernel seems to fail for me here: 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/xen/evtchn/evtchn.c cc1: warnings being treated as errors /usr/src/sys/xen/evtchn/evtchn.c:653: warning: initialization from incompatible pointer type Am i doing something wrong or is this a known issue? -Adam