Yousef Raffah
2006-May-16 14:16 UTC
Upgrading to 6.1-RELEASE problems with make buildkernel
Hi, I'm trying to upgrade from 6.1-RC to 6.1-RELEASE my cvssup file is: *default host=cvsup3.de.FreeBSD.org *default base=/var/db *default prefix=/usr/ *default tag=RELENG_6_1_0_RELEASE *default release=cvs delete use-rel-suffix compress src-all my /etc/make.conf is: # added by use.perl 2006-03-31 21:01:28 PERL_VER=5.8.8 PERL_VERSION=5.8.8 CPUTYPE=pentium3 NO_I4B=true NO_INET6=true NO_RCMDS=true NO_SHAREDOCS=true ENABLE_WPA_SUPPLICANT_EAPOL=true After cvsupping using the above cvs-supfile, I managed to buildworld with problems (I get a lot of segmentation fault 11) but it completed the build after several tries. Now the problem comes when building the kernel. To insure I have a working "world", I thought of building a new GENERIC kernel, therefore, I used the following, assuming this would build a new GENERIC Kernel; # cd /usr/src # make buildkernel Unfortunately, it keeps on failing with the following: MAKE=/usr/obj/usr/src/make.i386/make sh /usr/src/sys/conf/newvers.sh GENERIC cc -c -O -pipe -march=pentium3 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -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 -ffreestanding -Werror vers.c linking kernel.debug text data bss dec hex filename 5951318 622880 323724 6897922 694102 kernel.debug objcopy --strip-debug kernel.debug kernel cd /usr/src/sys/modules; MAKEOBJDIRPREFIX=/usr/obj/usr/src/sys/GENERIC/modules KMODDIR=/boot/kernel DEBUG_FLAGS="-g" MACHINE=i386 KERNBUILDDIR="/usr/obj/usr/src/sys/GENERIC" /usr/obj/usr/src/make.i386/make all ===> 3dfx (all) cc -O2 -fno-strict-aliasing -pipe -march=pentium3 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -I/usr/obj/usr/src/sys/GENERIC -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/src/sys/modules/3dfx/../../dev/tdfx/tdfx_pci.c ld -d -warn-common -r -d -o 3dfx.kld tdfx_pci.o touch export_syms awk -f /usr/src/sys/modules/3dfx/../../conf/kmod_syms.awk 3dfx.kld export_syms | xargs -J% objcopy % 3dfx.kld *** Error code 1 Stop in /usr/src/sys/modules/3dfx. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Any suggestions? :'( -- Sincerely, Yousef Raffah Senior Systems Administrator -- Aren't you using Firefox? Get it at http://www.getfirefox.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060516/72e0fce6/attachment.pgp
Michael Proto
2006-May-16 14:33 UTC
Upgrading to 6.1-RELEASE problems with make buildkernel
Don't you want a release tag of RELENG_6_1 and not RELENG_6_1_0_RELEASE? -Proto Yousef Raffah wrote:> Hi, > > I'm trying to upgrade from 6.1-RC to 6.1-RELEASE > > my cvssup file is: > *default host=cvsup3.de.FreeBSD.org > *default base=/var/db > *default prefix=/usr/ > *default tag=RELENG_6_1_0_RELEASE > *default release=cvs delete use-rel-suffix compress > src-all > > my /etc/make.conf is: > # added by use.perl 2006-03-31 21:01:28 > PERL_VER=5.8.8 > PERL_VERSION=5.8.8 > CPUTYPE=pentium3 > NO_I4B=true > NO_INET6=true > NO_RCMDS=true > NO_SHAREDOCS=true > ENABLE_WPA_SUPPLICANT_EAPOL=true > > After cvsupping using the above cvs-supfile, I managed to buildworld > with problems (I get a lot of segmentation fault 11) but it completed > the build after several tries. > Now the problem comes when building the kernel. To insure I have a > working "world", I thought of building a new GENERIC kernel, therefore, > I used the following, assuming this would build a new GENERIC Kernel; > > # cd /usr/src > # make buildkernel > > Unfortunately, it keeps on failing with the following: > > MAKE=/usr/obj/usr/src/make.i386/make sh /usr/src/sys/conf/newvers.sh > GENERIC > cc -c -O -pipe -march=pentium3 -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. > -I/usr/src/sys -I/usr/src/sys/contrib/altq > -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf > -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd > -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -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 > -ffreestanding -Werror vers.c > linking kernel.debug > text data bss dec hex filename > 5951318 622880 323724 6897922 694102 kernel.debug > objcopy --strip-debug kernel.debug kernel > cd /usr/src/sys/modules; > MAKEOBJDIRPREFIX=/usr/obj/usr/src/sys/GENERIC/modules > KMODDIR=/boot/kernel DEBUG_FLAGS="-g" MACHINE=i386 > KERNBUILDDIR="/usr/obj/usr/src/sys/GENERIC" /usr/obj/usr/src/make.i386/make all > ===> 3dfx (all) > cc -O2 -fno-strict-aliasing -pipe -march=pentium3 -Werror -D_KERNEL > -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS > -include /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ > -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g > -I/usr/obj/usr/src/sys/GENERIC -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -ffreestanding -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -std=c99 > -c /usr/src/sys/modules/3dfx/../../dev/tdfx/tdfx_pci.c > ld -d -warn-common -r -d -o 3dfx.kld tdfx_pci.o > touch export_syms > awk -f /usr/src/sys/modules/3dfx/../../conf/kmod_syms.awk 3dfx.kld > export_syms | xargs -J% objcopy % 3dfx.kld > *** Error code 1 > > Stop in /usr/src/sys/modules/3dfx. > *** Error code 1 > > Stop in /usr/src/sys/modules. > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/GENERIC. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > Any suggestions? :'( > > > -- > Sincerely, > Yousef Raffah > Senior Systems Administrator > -- > > Aren't you using Firefox? Get it at http://www.getfirefox.com > > >
Ruslan Ermilov
2006-May-16 15:04 UTC
Upgrading to 6.1-RELEASE problems with make buildkernel
On Tue, May 16, 2006 at 05:15:04PM +0300, Yousef Raffah wrote:> Hi, > > I'm trying to upgrade from 6.1-RC to 6.1-RELEASE > > my cvssup file is: > *default host=cvsup3.de.FreeBSD.org > *default base=/var/db > *default prefix=/usr/ > *default tag=RELENG_6_1_0_RELEASE > *default release=cvs delete use-rel-suffix compress > src-all >[...]> # cd /usr/src > # make buildkernel > > Unfortunately, it keeps on failing with the following: > > MAKE=/usr/obj/usr/src/make.i386/make sh /usr/src/sys/conf/newvers.sh > GENERIC > cc -c -O -pipe -march=pentium3 -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. > -I/usr/src/sys -I/usr/src/sys/contrib/altq > -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf > -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd > -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -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 > -ffreestanding -Werror vers.c > linking kernel.debug > text data bss dec hex filename > 5951318 622880 323724 6897922 694102 kernel.debug > objcopy --strip-debug kernel.debug kernel > cd /usr/src/sys/modules; > MAKEOBJDIRPREFIX=/usr/obj/usr/src/sys/GENERIC/modules > KMODDIR=/boot/kernel DEBUG_FLAGS="-g" MACHINE=i386 > KERNBUILDDIR="/usr/obj/usr/src/sys/GENERIC" /usr/obj/usr/src/make.i386/make all > ===> 3dfx (all) > cc -O2 -fno-strict-aliasing -pipe -march=pentium3 -Werror -D_KERNEL > -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS > -include /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ > -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g > -I/usr/obj/usr/src/sys/GENERIC -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -ffreestanding -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -std=c99 > -c /usr/src/sys/modules/3dfx/../../dev/tdfx/tdfx_pci.c > ld -d -warn-common -r -d -o 3dfx.kld tdfx_pci.o > touch export_syms > awk -f /usr/src/sys/modules/3dfx/../../conf/kmod_syms.awk 3dfx.kld > export_syms | xargs -J% objcopy % 3dfx.kld > *** Error code 1 > > Stop in /usr/src/sys/modules/3dfx. > *** Error code 1 > > Stop in /usr/src/sys/modules. > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/GENERIC. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > Any suggestions? :'( >The above output doesn't have any provisions as to what the actual error was, so it's really hard to help you. Please try to catch the actual error message. Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060516/22088ad3/attachment.pgp
Yousef Raffah wrote:> After cvsupping using the above cvs-supfile, I managed to buildworld > with problems (I get a lot of segmentation fault 11) but it completed > the build after several tries.Check your hardware. Especially search for memory problems (eg. memtest) and overheating. http://www.bitwizard.nl/sig11/ -- Tuomo ... How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE.