On a system cvsuped Tue May 26 08:30 CEST 2009 and only LOADER_ZFS_SUPPORT=yes in the make.conf, I get the following error: ===> sys/boot/i386/zfsboot (all) objcopy -S -O binary zfsldr.out zfsboot1 cp /dev/null zfsboot.ldr cc -Os -g -fno-guess-branch-probability -fomit-frame-pointer -fno-unit-at-a-time -mno-align-long-strings -mrtd -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -DB OOT2 -DFLAGS=0x80 -DSIOPRT=0x3f8 -DSIOFMT=0x3 -DSIOSPD=9600 -I/usr/src/sys/boot/i386/zfsboot/../../zfs -I/usr/src/sys/boot/i386/zfsboot/../../../cddl/boot/zfs -I/u sr/src/sys/boot/i386/zfsboot/../btx/lib -I. -I/usr/src/sys/boot/i386/zfsboot/../boot2 -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -Winline --param max-inline-insns-single=100 -ffreestanding -mpreferr ed-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -m32 -march=i386 -S -o zfsboot.s.tmp /usr/src/sys/boot/i386/zfsboot/zfsboot.c In file included from /usr/src/sys/boot/i386/zfsboot/zfsboot.c:276: /usr/src/sys/boot/i386/zfsboot/../../zfs/zfsimpl.c: In function 'vdev_init_from_nvlist': /usr/src/sys/boot/i386/zfsboot/../../zfs/zfsimpl.c:474: warning: assignment discards qualifiers from pointer target type /usr/src/sys/boot/i386/zfsboot/../../zfs/zfsimpl.c:476: warning: assignment discards qualifiers from pointer target type sed -e '/align/d' -e '/nop/d' < zfsboot.s.tmp > zfsboot.s rm -f zfsboot.s.tmp as --32 -o zfsboot.o zfsboot.s cc -Os -g -fno-guess-branch-probability -fomit-frame-pointer -fno-unit-at-a-time -mno-align-long-strings -mrtd -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -DB OOT2 -DFLAGS=0x80 -DSIOPRT=0x3f8 -DSIOFMT=0x3 -DSIOSPD=9600 -I/usr/src/sys/boot/i386/zfsboot/../../zfs -I/usr/src/sys/boot/i386/zfsboot/../../../cddl/boot/zfs -I/u sr/src/sys/boot/i386/zfsboot/../btx/lib -I. -I/usr/src/sys/boot/i386/zfsboot/../boot2 -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -Winline --param max-inline-insns-single=100 -ffreestanding -mpreferr ed-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -m32 -march=i386 -c /usr/src/sys/boot/i386/zfsboot/../boot2/sio.S ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000 -o zfsboot.out /usr/obj/usr/src/sys/boot/i386/zfsboot/../btx/lib/crt0.o zfsboot.o sio.o /usr/obj/usr/ src/tmp/usr/lib/libstand.a objcopy -S -O binary zfsboot.out zfsboot.bin btxld -v -E 0x2000 -f bin -b /usr/obj/usr/src/sys/boot/i386/zfsboot/../btx/btx/btx -l zfsboot.ldr -o zfsboot.ld -P 1 zfsboot.bin btxld: zfsboot.ldr: Invalid argument *** Error code 2 Stop in /usr/src/sys/boot/i386/zfsboot. *** Error code 1 Looking in the directory, zfsboot.ldr is empty: # cd /usr/obj/usr/src/sys/boot/i386/zfsboot/ # ls .depend sio.o zfsboot.h zfsboot.o zfsboot.s zfsldr.o machine zfsboot.bin zfsboot.ldr zfsboot.out zfsboot1 zfsldr.out # btxld -v -E 0x2000 -f bin -b /usr/obj/usr/src/sys/boot/i386/zfsboot/../btx/btx/btx -l zfsboot.ldr -o zfsboot.ld -P 1 zfsboot.bin btxld: zfsboot.ldr: Invalid argument # file zfsboot.ldr zfsboot.ldr: empty Any pointers? Cheers, G?ran ................................................... the future isMobile Goran Lowkrantz <goran.lowkrantz@ismobile.com> System Architect, isMobile AB Sandviksgatan 81, PO Box 58, S-971 03 Lule?, Sweden Mobile: +46(0)70-587 87 82 http://www.ismobile.com ...............................................
On 2009-05-26 10:20, Goran Lowkrantz wrote:> On a system cvsuped Tue May 26 08:30 CEST 2009 and only > LOADER_ZFS_SUPPORT=yes in the make.conf, I get the following error:...> btxld: zfsboot.ldr: Invalid argument...> Looking in the directory, zfsboot.ldr is empty:Your CVSup mirror may be out of date, this was fixed as of r192697. Since you are using CVS and not Subversion, make sure you have usr.sbin/btxld/btxld.c revision 1.10.2.1.
hi, Simply update btxld first: cd /usr/src/usr.sbin/btxld && make install clean then you can buildworld 2009/5/26 Dimitry Andric <dimitry@andric.com>:> On 2009-05-26 10:20, Goran Lowkrantz wrote: >> On a system cvsuped Tue May 26 08:30 CEST 2009 and only >> LOADER_ZFS_SUPPORT=yes in the make.conf, I get the following error: > ... >> btxld: zfsboot.ldr: Invalid argument > ... >> Looking in the directory, zfsboot.ldr is empty: > > Your CVSup mirror may be out of date, this was fixed as of r192697. > > Since you are using CVS and not Subversion, make sure you have > usr.sbin/btxld/btxld.c revision 1.10.2.1. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >
--On May 26, 2009 11:28:17 +0200 Mickael MAILLOT <mickael.maillot@gmail.com> wrote:> hi, > > Simply update btxld first: > cd /usr/src/usr.sbin/btxld && make install clean > then you can buildworld >Thanks, that worked.> 2009/5/26 Dimitry Andric <dimitry@andric.com>: >> On 2009-05-26 10:20, Goran Lowkrantz wrote: >>> On a system cvsuped Tue May 26 08:30 CEST 2009 and only >>> LOADER_ZFS_SUPPORT=yes in the make.conf, I get the following error: >> ... >>> btxld: zfsboot.ldr: Invalid argument >> ... >>> Looking in the directory, zfsboot.ldr is empty: >> >> Your CVSup mirror may be out of date, this was fixed as of r192697. >> >> Since you are using CVS and not Subversion, make sure you have >> usr.sbin/btxld/btxld.c revision 1.10.2.1. >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >>................................................... the future isMobile Goran Lowkrantz <goran.lowkrantz@ismobile.com> System Architect, isMobile AB Sandviksgatan 81, PO Box 58, S-971 03 Lule?, Sweden Mobile: +46(0)70-587 87 82 http://www.ismobile.com ...............................................