From tdb at FreeBSD.org Thu Jul 2 17:15:20 2009 From: tdb at FreeBSD.org (tdb@FreeBSD.org) Date: Thu Jul 2 17:15:31 2009 Subject: amd64/136251: xn0 doesn't DHCP Message-ID: <200907021715.n62HFJbO092710@freefall.freebsd.org> Synopsis: xn0 doesn't DHCP Responsible-Changed-From-To: freebsd-amd64->freebsd-xen Responsible-Changed-By: tdb Responsible-Changed-When: Thu Jul 2 17:15:19 UTC 2009 Responsible-Changed-Why: Reassign my PR to a more appropriate group. http://www.freebsd.org/cgi/query-pr.cgi?pr=136251 From tim at bishnet.net Thu Jul 2 17:21:24 2009 From: tim at bishnet.net (Tim Bishop) Date: Thu Jul 2 17:21:31 2009 Subject: Fw: XEN kernel config - supposed to build? Message-ID: <20090702172112.GN2504@carrick.bishnet.net> Just FYI, here's an email I sent to freebsd-current earlier. I should maybe have sent it here instead, but I forgot, so this is just a quick ping in case you don't follow freebsd-current. Thanks, Tim. ----- Forwarded message from Tim Bishop ----- Date: Thu, 2 Jul 2009 16:50:55 +0100 From: Tim Bishop To: freebsd-current@FreeBSD.org Subject: XEN kernel config - supposed to build? I'm building the XEN kernel config on a recent (today) csup of CURRENT, but I'm getting the following build error: # make buildkernel KERNCONF=XEN ... 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 *** Error code 1 Is this supposed to be working? Or have I dived randomly in and missed the pool? :-) Thanks, Tim. ----- End forwarded message ----- -- Tim Bishop http://www.bishnet.net/tim/ PGP Key: 0x5AE7D984 From adrian at freebsd.org Fri Jul 3 04:23:38 2009 From: adrian at freebsd.org (Adrian Chadd) Date: Fri Jul 3 04:23:45 2009 Subject: Fw: XEN kernel config - supposed to build? In-Reply-To: <20090702172112.GN2504@carrick.bishnet.net> References: <20090702172112.GN2504@carrick.bishnet.net> Message-ID: Just create a PR with the details and email me the number. I'll look at fixing it if it is broken. It has been working for me though! Adrian 2009/7/3 Tim Bishop : > Just FYI, here's an email I sent to freebsd-current earlier. I should > maybe have sent it here instead, but I forgot, so this is just a quick > ping in case you don't follow freebsd-current. > > Thanks, > > Tim. > > ----- Forwarded message from Tim Bishop ----- > > Date: Thu, 2 Jul 2009 16:50:55 +0100 > From: Tim Bishop > To: freebsd-current@FreeBSD.org > Subject: XEN kernel config - supposed to build? > > I'm building the XEN kernel config on a recent (today) csup of CURRENT, > but I'm getting the following build error: > > # make buildkernel KERNCONF=XEN > ... > 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 > *** Error code 1 > > Is this supposed to be working? Or have I dived randomly in and missed > the pool? :-) > > Thanks, > > Tim. > > ----- End forwarded message ----- > > -- > Tim Bishop > http://www.bishnet.net/tim/ > PGP Key: 0x5AE7D984 > _______________________________________________ > 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 tim at bishnet.net Fri Jul 3 07:43:05 2009 From: tim at bishnet.net (Tim Bishop) Date: Fri Jul 3 07:43:11 2009 Subject: Fw: XEN kernel config - supposed to build? In-Reply-To: References: <20090702172112.GN2504@carrick.bishnet.net> Message-ID: <20090703074256.GQ2504@carrick.bishnet.net> Hi Adrian, PR submitted as kern/136271. Thanks, Tim. On Fri, Jul 03, 2009 at 12:23:37PM +0800, Adrian Chadd wrote: > Just create a PR with the details and email me the number. I'll look > at fixing it if it is broken. > > It has been working for me though! > > > > Adrian > > 2009/7/3 Tim Bishop : > > Just FYI, here's an email I sent to freebsd-current earlier. I should > > maybe have sent it here instead, but I forgot, so this is just a quick > > ping in case you don't follow freebsd-current. > > > > Thanks, > > > > Tim. > > > > ----- Forwarded message from Tim Bishop ----- > > > > Date: Thu, 2 Jul 2009 16:50:55 +0100 > > From: Tim Bishop > > To: freebsd-current@FreeBSD.org > > Subject: XEN kernel config - supposed to build? > > > > I'm building the XEN kernel config on a recent (today) csup of CURRENT, > > but I'm getting the following build error: > > > > # make buildkernel KERNCONF=XEN > > ... > > 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 > > *** Error code 1 > > > > Is this supposed to be working? Or have I dived randomly in and missed > > the pool? :-) > > > > Thanks, > > > > Tim. > > > > ----- End forwarded message ----- -- Tim Bishop http://www.bishnet.net/tim/ PGP Key: 0x5AE7D984 From tim at bishnet.net Sun Jul 5 10:50:03 2009 From: tim at bishnet.net (Tim Bishop) Date: Sun Jul 5 10:50:11 2009 Subject: kern/136251: [xen] [patch] xn0 doesn't DHCP Message-ID: <200907051050.n65Ao3qk095055@freefall.freebsd.org> The following reply was made to PR kern/136251; it has been noted by GNATS. From: Tim Bishop To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/136251: [xen] [patch] xn0 doesn't DHCP Date: Sun, 5 Jul 2009 11:42:29 +0100 I suppose what I'm asking is could (should?) the following entry be added to the default /etc/devd.conf: notify 0 { match "system" "IFNET"; match "subsystem" "xn[0-9]+"; match "type" "ATTACH"; action "/etc/rc.d/dhclient quietstart $subsystem"; }; Tim. -- Tim Bishop http://www.bishnet.net/tim/ PGP Key: 0x5AE7D984 From bugmaster at FreeBSD.org Mon Jul 6 11:07:11 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jul 6 11:10:11 2009 Subject: Current problem reports assigned to freebsd-xen@FreeBSD.org Message-ID: <200907061107.n66B7Adh011001@freefall.freebsd.org> 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 bugmaster at FreeBSD.org Mon Jul 13 11:07:13 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jul 13 11:10:18 2009 Subject: Current problem reports assigned to freebsd-xen@FreeBSD.org Message-ID: <200907131107.n6DB7CZF040851@freefall.freebsd.org> 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 tim at bishnet.net Wed Jul 15 21:59:11 2009 From: tim at bishnet.net (Tim Bishop) Date: Wed Jul 15 21:59:22 2009 Subject: Fw: XEN kernel config - supposed to build? In-Reply-To: References: <20090702172112.GN2504@carrick.bishnet.net> Message-ID: <20090715215859.GD37834@carrick.bishnet.net> Hi Adrian, Did you get a chance to look? It's in PR 136271. I wonder if I'm missing something obvious? I've just installed 8.0 BETA1, updated to the latest sources (with csup), done a full install with the GENERIC kernel and rebooted. Then I tried to build the XEN kernel but get the error mentioned in the PR. If it's working for you I guess it must be me! Tim. On Fri, Jul 03, 2009 at 12:23:37PM +0800, Adrian Chadd wrote: > Just create a PR with the details and email me the number. I'll look > at fixing it if it is broken. > > It has been working for me though! > > > > Adrian > > 2009/7/3 Tim Bishop : > > Just FYI, here's an email I sent to freebsd-current earlier. I should > > maybe have sent it here instead, but I forgot, so this is just a quick > > ping in case you don't follow freebsd-current. > > > > Thanks, > > > > Tim. > > > > ----- Forwarded message from Tim Bishop ----- > > > > Date: Thu, 2 Jul 2009 16:50:55 +0100 > > From: Tim Bishop > > To: freebsd-current@FreeBSD.org > > Subject: XEN kernel config - supposed to build? > > > > I'm building the XEN kernel config on a recent (today) csup of CURRENT, > > but I'm getting the following build error: > > > > # make buildkernel KERNCONF=XEN > > ... > > 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 > > *** Error code 1 > > > > Is this supposed to be working? Or have I dived randomly in and missed > > the pool? :-) > > > > Thanks, > > > > Tim. > > > > ----- End forwarded message ----- > > > > -- > > Tim Bishop > > http://www.bishnet.net/tim/ > > PGP Key: 0x5AE7D984 > > _______________________________________________ > > 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" > > Tim. -- Tim Bishop http://www.bishnet.net/tim/ PGP Key: 0x5AE7D984 From mj at mjw.se Thu Jul 16 07:55:07 2009 From: mj at mjw.se (mattias) Date: Thu Jul 16 07:55:15 2009 Subject: xen In-Reply-To: <20090715215859.GD37834@carrick.bishnet.net> Message-ID: <000201ca05ea$bab34f40$d116e255@jonsson2> So xen work on freebsd as dom0? -----Ursprungligt meddelande----- Fr?n: owner-freebsd-xen@freebsd.org [mailto:owner-freebsd-xen@freebsd.org] F?r Tim Bishop Skickat: den 15 juli 2009 23:59 Till: Adrian Chadd Kopia: freebsd-xen@freebsd.org ?mne: Re: Fw: XEN kernel config - supposed to build? Hi Adrian, Did you get a chance to look? It's in PR 136271. I wonder if I'm missing something obvious? I've just installed 8.0 BETA1, updated to the latest sources (with csup), done a full install with the GENERIC kernel and rebooted. Then I tried to build the XEN kernel but get the error mentioned in the PR. If it's working for you I guess it must be me! Tim. On Fri, Jul 03, 2009 at 12:23:37PM +0800, Adrian Chadd wrote: > Just create a PR with the details and email me the number. I'll look > at fixing it if it is broken. > > It has been working for me though! > > > > Adrian > > 2009/7/3 Tim Bishop : > > Just FYI, here's an email I sent to freebsd-current earlier. I > > should maybe have sent it here instead, but I forgot, so this is > > just a quick ping in case you don't follow freebsd-current. > > > > Thanks, > > > > Tim. > > > > ----- Forwarded message from Tim Bishop > > ----- > > > > Date: Thu, 2 Jul 2009 16:50:55 +0100 > > From: Tim Bishop > > To: freebsd-current@FreeBSD.org > > Subject: XEN kernel config - supposed to build? > > > > I'm building the XEN kernel config on a recent (today) csup of > > CURRENT, but I'm getting the following build error: > > > > # make buildkernel KERNCONF=XEN > > ... > > 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 > > *** Error code 1 > > > > Is this supposed to be working? Or have I dived randomly in and > > missed the pool? :-) > > > > Thanks, > > > > Tim. > > > > ----- End forwarded message ----- > > > > -- > > Tim Bishop > > http://www.bishnet.net/tim/ > > PGP Key: 0x5AE7D984 _______________________________________________ > > 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" > > Tim. -- Tim Bishop http://www.bishnet.net/tim/ PGP Key: 0x5AE7D984 _______________________________________________ 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 mj at mjw.se Thu Jul 16 08:10:58 2009 From: mj at mjw.se (mattias) Date: Thu Jul 16 08:11:04 2009 Subject: SV: xen In-Reply-To: <3481d8e60907160106n7928319dhc877eb8a947c405d@mail.gmail.com> Message-ID: <000001ca05ec$ddbd9390$d116e255@jonsson2> how to get it or are wee talking about adrians image? -----Ursprungligt meddelande----- Fr?n: dzentoo@gmail.com [mailto:dzentoo@gmail.com] F?r Benoit Calvez Skickat: den 16 juli 2009 10:06 Till: mattias Kopia: freebsd-xen@freebsd.org ?mne: Re: xen On Thu, Jul 16, 2009 at 3:55 AM, mattias wrote: So xen work on freebsd as dom0? no, and it seems it's not planned http://wiki.freebsd.org/FreeBSD/Xen "The port will only run as a guest (ie. domU) right now, on i386/PAE platforms." -- Benoit Calvez. From Benoit.Calvez at gmail.com Thu Jul 16 08:32:14 2009 From: Benoit.Calvez at gmail.com (Benoit Calvez) Date: Thu Jul 16 08:32:21 2009 Subject: xen In-Reply-To: <000201ca05ea$bab34f40$d116e255@jonsson2> References: <20090715215859.GD37834@carrick.bishnet.net> <000201ca05ea$bab34f40$d116e255@jonsson2> Message-ID: <3481d8e60907160106n7928319dhc877eb8a947c405d@mail.gmail.com> On Thu, Jul 16, 2009 at 3:55 AM, mattias wrote: > So xen work on freebsd as dom0? no, and it seems it's not planned http://wiki.freebsd.org/FreeBSD/Xen "The port will only run as a guest (ie. domU) right now, on i386/PAE platforms." -- Benoit Calvez. From sfourman at gmail.com Thu Jul 16 10:17:03 2009 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Thu Jul 16 10:17:10 2009 Subject: xen In-Reply-To: <3481d8e60907160106n7928319dhc877eb8a947c405d@mail.gmail.com> References: <20090715215859.GD37834@carrick.bishnet.net> <000201ca05ea$bab34f40$d116e255@jonsson2> <3481d8e60907160106n7928319dhc877eb8a947c405d@mail.gmail.com> Message-ID: <11167f520907160245x4cec9ae1k7efc5ebe5ce78d04@mail.gmail.com> On Thu, Jul 16, 2009 at 8:06 AM, Benoit Calvez wrote: > On Thu, Jul 16, 2009 at 3:55 AM, mattias wrote: > >> So xen work on freebsd as dom0? > > no, and it seems it's not planned > > http://wiki.freebsd.org/FreeBSD/Xen > > "The port will only run as a guest (ie. domU) right now, on i386/PAE > platforms." if no one is working on it atm, is there anyone interested in hacking on FreeBSD Xen Dom0 Support I could possibly provide Hosted hardware with VT enabled CPU's drop me a line off list if interested. Sam Fourman Jr. From yury.buldakov at gmail.com Sat Jul 18 13:55:46 2009 From: yury.buldakov at gmail.com (Yury A. Buldakov) Date: Sat Jul 18 13:55:52 2009 Subject: buildworld fails for rev195572 Message-ID: <4A61CDA2.7020907@gmail.com> %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. From adrian at freebsd.org Sun Jul 19 07:49:36 2009 From: adrian at freebsd.org (Adrian Chadd) Date: Sun Jul 19 07:49:42 2009 Subject: buildworld fails for rev195572 In-Reply-To: <4A61CDA2.7020907@gmail.com> References: <4A61CDA2.7020907@gmail.com> Message-ID: 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" > From c2thunes at brewtab.com Mon Jul 20 00:52:54 2009 From: c2thunes at brewtab.com (Christopher Thunes) Date: Mon Jul 20 00:53:00 2009 Subject: buildworld fails for rev195572 In-Reply-To: References: <4A61CDA2.7020907@gmail.com> Message-ID: <4A63BDE4.2070508@brewtab.com> 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 c2thunes at brewtab.com Mon Jul 20 00:58:39 2009 From: c2thunes at brewtab.com (Christopher Thunes) Date: Mon Jul 20 00:58:46 2009 Subject: buildworld fails for rev195572 In-Reply-To: References: <4A61CDA2.7020907@gmail.com> Message-ID: <4A63BCB7.8040702@brewtab.com> 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" -------------- next part -------------- A non-text attachment was scrubbed... Name: pr136271_fix.patch Type: text/x-diff Size: 751 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-xen/attachments/20090720/c31e4226/pr136271_fix.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: xen_pmap_fix.patch Type: text/x-diff Size: 694 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-xen/attachments/20090720/c31e4226/xen_pmap_fix.bin From bugmaster at FreeBSD.org Mon Jul 20 11:07:08 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jul 20 11:10:13 2009 Subject: Current problem reports assigned to freebsd-xen@FreeBSD.org Message-ID: <200907201107.n6KB77ET002507@freefall.freebsd.org> 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 sfourman at gmail.com Wed Jul 22 21:16:22 2009 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Wed Jul 22 21:16:28 2009 Subject: FreeBSD handbook says xen Dom0 support in FreeBSD 8.0 Message-ID: <11167f520907221416o5d5e9e7ak7368dbaebc0e54ce@mail.gmail.com> 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? 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 adrian at freebsd.org Thu Jul 23 00:11:44 2009 From: adrian at freebsd.org (Adrian Chadd) Date: Thu Jul 23 00:11:50 2009 Subject: FreeBSD handbook says xen Dom0 support in FreeBSD 8.0 In-Reply-To: <11167f520907221416o5d5e9e7ak7368dbaebc0e54ce@mail.gmail.com> References: <11167f520907221416o5d5e9e7ak7368dbaebc0e54ce@mail.gmail.com> Message-ID: 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? 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 freebsd-xen at adam.gs Thu Jul 23 18:19:37 2009 From: freebsd-xen at adam.gs (Adam Jacob Muller) Date: Thu Jul 23 18:19:44 2009 Subject: XEN kernel compile failure Message-ID: 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 From bugmaster at FreeBSD.org Mon Jul 27 11:07:06 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jul 27 11:10:19 2009 Subject: Current problem reports assigned to freebsd-xen@FreeBSD.org Message-ID: <200907271107.n6RB75Zw019167@freefall.freebsd.org> 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.