Subject: Re: build.sh distribution fails in bootfloppy-tiny...
To: Chavdar Ivanov <ci@spidersweb.co.uk>
From: =?ISO-8859-1?Q?Timo_Sch=F6ler?= <wanker4freedom@web.de>
List: current-users
Date: 02/17/2005 10:55:47
hi,
> ... consistently. I had deleted all traces of previous builds, ran
> 'make
> cleandir' in /usr/src and cvs updated the source tree yesterday, but
> this
> has been happening for the last few months; I usually then just run
> 'make
> sets', copy the so-far created boot floppies in the right place and do
> 'make iso-image' in /usr/src/etc, which seems to be fine. The relevant
> part of the log is as follows:
>
> +++++++++++++++
> all ===> etc/i386/floppies/bootfloppy-tiny
> # create bootfloppy-tiny/boot
> (from: /d/netbsd-builds/2_0/i386/destdir/usr/mdec/boot) # create
> bootfloppy-tiny/USTAR.volsize.4540 # create bootfloppy-tiny/netbsd
> (from:
> /d/obj1/netbsd-builds/2_0/i386/obj/distrib/i386/floppies/instkernel/
> netbsd-INSTALL_TINY.gz) #
> create bootfloppy-tiny/boot-tiny1.fs (from: boot USTAR.volsize.4540
> netbsd) PAX=/d/netbsd-builds/2_0/i386/tools/bin/nbpax sh
> /usr/src/distrib/common/buildfloppies.sh -i
> "/d/netbsd-builds/2_0/i386/tools/bin/nbinstallboot -mi386 @IMAGE@
> /d/netbsd-builds/2_0/i386/destdir/usr/mdec/bootxx_ustarfs" -p -m 1 -s
> .fs
> boot-tiny 2400 boot USTAR.volsize.4540 netbsdRunning
> instboot: /d/netbsd-builds/2_0/i386/tools/bin/nbinstallboot -mi386
> floppy.21634.tar
> /d/netbsd-builds/2_0/i386/destdir/usr/mdec/bootxx_ustarfs
> buildfloppies.sh: Image is 16384 bytes (16 KB) too big to fit on 1 disk
>
> *** Failed target: boot-tiny1.fs
> *** Failed command: PAX=/d/netbsd-builds/2_0/i386/tools/bin/nbpax sh
> /usr/src/distrib/common/buildfloppies.sh -i
> "/d/netbsd-builds/2_0/i386/tools/bin/nbinstallboot -mi386 @IMAGE@
> /d/netbsd-builds/2_0/i386/destdir/usr/mdec/bootxx_ustarfs" -p -m 1 -s
> .fs
> boot-tiny 2400 boot USTAR.volsize.4540 netbsd *** Error code 1
> Stop. nbmake: stopped in /usr/src/distrib/i386/floppies/bootfloppy-tiny
>
> -----------------
>
> I seem to recall seeing this earlier, but couldn't find the info. The
> build.sh invocation is:
>
> ===> build.sh command: ./build.sh -a i386 -m i386 -U -u -D
> /d/netbsd-builds/2_0/i386/destdir -R
> /d/netbsd-builds/2_0/i386/releasedir
> -O /d/obj1/netbsd-builds/2_0/i386/obj -T
> /d/netbsd-builds/2_0/i386/tools
> -x release
>
> The system is:
>
> NetBSD loan8 2.99.15 NetBSD 2.99.15 (GENERIC.MPACPI) #1: Tue Feb 15
> 12:06:53 GMT 2005
> root@loan8:/d/obj1/netbsd-builds/2_0/i386/obj/sys/arch/i386/compile/
> GENERIC.MPACPI
> i386
>
> Any ideas?
yes, a quick'n'dirty workaround that works for me like a charm:
add 'FLOPPYMAX= 2' to every *-tiny Makefile
(this is noted in the mail archives at least half a dozend times ;)
regards & HTH,
timo