Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Dec 2001 19:30:31 +0100
From:      Andreas Ntaflos <ntaflos.andreas@gmx.net>
To:        freebsd-stable@freebsd.org
Subject:   buildworld failure: boot "-972 bytes available"; maxusers?
Message-ID:  <20011204193031.A500@Deadcell.ANT>

next in thread | raw e-mail | index | archive | help

--VS++wcV0S1rZb1Fb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Good evening everybody,
  I've been running into a strange (?) problem when trying to update and
  rebuild system.

  I was getting the newest sources, rm -rf'ing /usr/obj/* and make'ing
  buildworld. Buildworld seems to run almost to the end (around 2 hours I
  think) and then stops and fails with the following error messages:

  [snipped]
  objcopy -S -O binary boot2.out boot2.bin
  btxld -v -E 0x1000 -f bin -b
  /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr  -o bo
  ot2.ld -P 1 boot2.bin
  kernel: ver=1.01 size=740 load=9000 entry=9010 map=16M pgctl=1:1
  client: fmt=bin size=188c text=0 data=0 bss=0 entry=0
  output: fmt=bin size=21cc text=200 data=1fcc org=0 entry=0
  -972 bytes available
  *** Error code 1
  [snipped]
  
  Kinda strange error (?).
  
  Now this isn't something I've seen very often, in fact, I only had
  something like this once when I built world on my laptop. I had made some
  changes to the kernel config file, and, among others setting maxusers to
  64 (just to experiment a bit). When the build failed, I reduced maxusers
  back to 32 and it went smooth.

  But this time, I haven't made any changes to the kernel config file since
  several weeks (no maxusers, nothing), however, rebuilding world from source 
  went fine. Plus, make buildworld failed, not building the kernel.
  make'ing just kernel KERNCONF=CONFIGFILE works, so I even am not sure if 
  this is related.

  Has anyone a clue about it? 
  Recvsupping didn't seem to help (how else could it be ;))
  
  Attached you'll find the last part of the buildworld log file, maybe it
  is of interest.

Thanks and regards  
-- 
	Andreas "ant" Ntaflos	
	ntaflos.andreas@gmx.net
	Vienna, AUSTRIA

--VS++wcV0S1rZb1Fb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="buildworld.log.snip.011203"

uudecode < /usr/src/share/isdn/4.al.uu
uudecode < /usr/src/share/isdn/5.al.uu
uudecode < /usr/src/share/isdn/6.al.uu
uudecode < /usr/src/share/isdn/7.al.uu
uudecode < /usr/src/share/isdn/8.al.uu
uudecode < /usr/src/share/isdn/9.al.uu
uudecode < /usr/src/share/isdn/beep.al.uu
uudecode < /usr/src/share/isdn/msg.al.uu
===> share/sendmail
===> sys
===> sys/boot
===> sys/boot/ficl
cc -nostdinc -O -pipe   -mpreferred-stack-boundary=2 -I/usr/obj/usr/src/i386/usr/include  -I/usr/src/sys/boot/ficl -I/usr/src/sys/boot/ficl/i386 -I/usr/src/sys/boot/ficl/../common -DFICL_TRACE -c /usr/src/sys/boot/ficl/dict.c -o dict.o
cc -nostdinc -O -pipe   -mpreferred-stack-boundary=2 -I/usr/obj/usr/src/i386/usr/include  -I/usr/src/sys/boot/ficl -I/usr/src/sys/boot/ficl/i386 -I/usr/src/sys/boot/ficl/../common -DFICL_TRACE -c /usr/src/sys/boot/ficl/ficl.c -o ficl.o
/usr/src/sys/boot/ficl/dict.c: In function `dictAbortDefinition':
/usr/src/sys/boot/ficl/dict.c:52: warning: statement with no effect
/usr/src/sys/boot/ficl/dict.c:58: warning: statement with no effect
/usr/src/sys/boot/ficl/ficl.c: In function `ficlFreeVM':
/usr/src/sys/boot/ficl/ficl.c:151: warning: statement with no effect
/usr/src/sys/boot/ficl/dict.c: In function `dictAppendWord2':
/usr/src/sys/boot/ficl/dict.c:210: warning: statement with no effect
/usr/src/sys/boot/ficl/dict.c:232: warning: statement with no effect
/usr/src/sys/boot/ficl/ficl.c: In function `ficlBuild':
/usr/src/sys/boot/ficl/ficl.c:189: warning: statement with no effect
/usr/src/sys/boot/ficl/dict.c: In function `dictLookup':
/usr/src/sys/boot/ficl/dict.c:435: warning: statement with no effect
/usr/src/sys/boot/ficl/dict.c:443: warning: statement with no effect
/usr/src/sys/boot/ficl/dict.c: In function `dictLookupLoc':
/usr/src/sys/boot/ficl/dict.c:464: warning: statement with no effect
/usr/src/sys/boot/ficl/dict.c:480: warning: statement with no effect
cc -nostdinc -O -pipe   -mpreferred-stack-boundary=2 -I/usr/obj/usr/src/i386/usr/include  -I/usr/src/sys/boot/ficl -I/usr/src/sys/boot/ficl/i386 -I/usr/src/sys/boot/ficl/../common -DFICL_TRACE -c /usr/src/sys/boot/ficl/math64.c -o math64.o
cc -nostdinc -O -pipe   -mpreferred-stack-boundary=2 -I/usr/obj/usr/src/i386/usr/include  -I/usr/src/sys/boot/ficl -I/usr/src/sys/boot/ficl/i386 -I/usr/src/sys/boot/ficl/../common -DFICL_TRACE -c /usr/src/sys/boot/ficl/stack.c -o stack.o
cc -nostdinc -O -pipe   -mpreferred-stack-boundary=2 -I/usr/obj/usr/src/i386/usr/include  -I/usr/src/sys/boot/ficl -I/usr/src/sys/boot/ficl/i386 -I/usr/src/sys/boot/ficl/../common -DFICL_TRACE -c /usr/src/sys/boot/ficl/vm.c -o vm.o
cc -nostdinc -O -pipe   -mpreferred-stack-boundary=2 -I/usr/obj/usr/src/i386/usr/include  -I/usr/src/sys/boot/ficl -I/usr/src/sys/boot/ficl/i386 -I/usr/src/sys/boot/ficl/../common -DFICL_TRACE -c /usr/src/sys/boot/ficl/words.c -o words.o
/usr/src/sys/boot/ficl/words.c: In function `colon':
/usr/src/sys/boot/ficl/words.c:454: warning: implicit declaration of function `dictCheckThreshold'
/usr/src/sys/boot/ficl/words.c: In function `exitCoIm':
/usr/src/sys/boot/ficl/words.c:546: warning: statement with no effect
cc -nostdinc -O -pipe   -mpreferred-stack-boundary=2 -I/usr/obj/usr/src/i386/usr/include  -I/usr/src/sys/boot/ficl -I/usr/src/sys/boot/ficl/i386 -I/usr/src/sys/boot/ficl/../common -DFICL_TRACE -c /usr/src/sys/boot/ficl/i386/sysdep.c -o sysdep.o
/usr/src/sys/boot/ficl/i386/sysdep.c: In function `ficlTextOut':
/usr/src/sys/boot/ficl/i386/sysdep.c:58: warning: statement with no effect
cc -nostdinc -O -pipe   -mpreferred-stack-boundary=2 -I/usr/obj/usr/src/i386/usr/include  -I/usr/src/sys/boot/ficl -I/usr/src/sys/boot/ficl/i386 -I/usr/src/sys/boot/ficl/../common -DFICL_TRACE -c /usr/src/sys/boot/ficl/loader.c -o loader.o
/usr/src/sys/boot/ficl/words.c: In function `immediate':
/usr/src/sys/boot/ficl/words.c:2098: warning: statement with no effect
/usr/src/sys/boot/ficl/words.c: In function `compileOnly':
/usr/src/sys/boot/ficl/words.c:2106: warning: statement with no effect
/usr/src/sys/boot/ficl/words.c: In function `doesCoIm':
/usr/src/sys/boot/ficl/words.c:2274: warning: statement with no effect
cc -nostdinc -O -pipe   -mpreferred-stack-boundary=2 -I/usr/obj/usr/src/i386/usr/include  -I/usr/src/sys/boot/ficl -I/usr/src/sys/boot/ficl/i386 -I/usr/src/sys/boot/ficl/../common -DFICL_TRACE -c softcore.c -o softcore.o
/usr/src/sys/boot/ficl/words.c: In function `align':
/usr/src/sys/boot/ficl/words.c:2584: warning: statement with no effect
/usr/src/sys/boot/ficl/words.c: In function `environmentQ':
/usr/src/sys/boot/ficl/words.c:2774: warning: statement with no effect
/usr/src/sys/boot/ficl/words.c: In function `recurseCoIm':
/usr/src/sys/boot/ficl/words.c:3219: warning: statement with no effect
/usr/src/sys/boot/ficl/words.c: In function `getCurrent':
/usr/src/sys/boot/ficl/words.c:3323: warning: statement with no effect
/usr/src/sys/boot/ficl/words.c:3325: warning: statement with no effect
/usr/src/sys/boot/ficl/words.c: In function `getOrder':
/usr/src/sys/boot/ficl/words.c:3344: warning: statement with no effect
/usr/src/sys/boot/ficl/words.c:3351: warning: statement with no effect
/usr/src/sys/boot/ficl/words.c: In function `searchWordlist':
/usr/src/sys/boot/ficl/words.c:3375: warning: statement with no effect
/usr/src/sys/boot/ficl/words.c:3377: warning: statement with no effect
/usr/src/sys/boot/ficl/words.c: In function `setCurrent':
/usr/src/sys/boot/ficl/words.c:3402: warning: statement with no effect
/usr/src/sys/boot/ficl/words.c:3404: warning: statement with no effect
/usr/src/sys/boot/ficl/words.c: In function `setOrder':
/usr/src/sys/boot/ficl/words.c:3431: warning: statement with no effect
/usr/src/sys/boot/ficl/words.c:3446: warning: statement with no effect
/usr/src/sys/boot/ficl/words.c: In function `searchPop':
/usr/src/sys/boot/ficl/words.c:3500: warning: statement with no effect
/usr/src/sys/boot/ficl/words.c:3507: warning: statement with no effect
/usr/src/sys/boot/ficl/words.c: In function `searchPush':
/usr/src/sys/boot/ficl/words.c:3521: warning: statement with no effect
/usr/src/sys/boot/ficl/words.c:3527: warning: statement with no effect
/usr/src/sys/boot/ficl/words.c: In function `seeColon':
/usr/src/sys/boot/ficl/words.c:4027: warning: flag `#' used with type `d'
/usr/src/sys/boot/ficl/words.c:4032: warning: flag `#' used with type `d'
/usr/src/sys/boot/ficl/words.c: In function `ms':
/usr/src/sys/boot/ficl/words.c:4422: warning: implicit declaration of function `delay'
building static ficl library
ranlib libficl.a
===> sys/boot/i386
===> sys/boot/i386/mbr
as  -o mbr.o /usr/src/sys/boot/i386/mbr/mbr.s
ld -N -e start -Ttext 0x600 -o mbr.out mbr.o
objcopy -S -O binary mbr.out mbr
===> sys/boot/i386/boot0
as  --defsym FLAGS=0xf --defsym TICKS=0xb6  /usr/src/sys/boot/i386/boot0/boot0.s -o boot0.o
ld -N -e start -Ttext 0x600 -o boot0.out boot0.o
objcopy -S -O binary boot0.out boot0
===> sys/boot/i386/kgzldr
(cd /usr/src/sys/boot/i386/kgzldr; m4  -DSIOPRT=0x3f8 /usr/src/sys/boot/i386/kgzldr/start.s) | as  -o start.o
cc -fno-builtin -Os -DKZIP -mpreferred-stack-boundary=2   -I/usr/obj/usr/src/i386/usr/include  -c /usr/src/sys/boot/i386/kgzldr/boot.c
cc -fno-builtin -Os -DKZIP -mpreferred-stack-boundary=2   -I/usr/obj/usr/src/i386/usr/include  -c /usr/src/sys/boot/i386/kgzldr/../../../kern/inflate.c
cc -fno-builtin -Os -DKZIP -mpreferred-stack-boundary=2   -I/usr/obj/usr/src/i386/usr/include  -c /usr/src/sys/boot/i386/kgzldr/lib.c
(cd /usr/src/sys/boot/i386/kgzldr; m4  -DSIOPRT=0x3f8 /usr/src/sys/boot/i386/kgzldr/crt.s) | as  -o crt.o
(cd /usr/src/sys/boot/i386/kgzldr; m4  -DSIOPRT=0x3f8 /usr/src/sys/boot/i386/kgzldr/sio.s) | as  -o sio.o
cc -nostdlib -static -r -o kgzldr.o start.o boot.o inflate.o lib.o crt.o sio.o
===> sys/boot/i386/btx
===> sys/boot/i386/btx/btx
(cd /usr/src/sys/boot/i386/btx/btx; m4  btx.s) |  as  --defsym BTX_FLAGS=0x0 -o btx.o
{standard input}: Assembler messages:
{standard input}:527: Warning: stand-alone `data16' prefix
{standard input}:544: Warning: stand-alone `data16' prefix
ld -N -e start -Ttext 0x9000 -o btx.out btx.o
objcopy -S -O binary btx.out btx
===> sys/boot/i386/btx/btxldr
(cd /usr/src/sys/boot/i386/btx/btxldr; m4 -DLOADER_ADDRESS=0x200000 btxldr.s ) |  as  -o btxldr.o
ld -N -e start -Ttext 0x200000 -o btxldr.out btxldr.o
objcopy -S -O binary btxldr.out btxldr
===> sys/boot/i386/btx/lib
as  -elf -o btxcsu.o /usr/src/sys/boot/i386/btx/lib/btxcsu.s
as  -elf -o btxsys.o /usr/src/sys/boot/i386/btx/lib/btxsys.s
as  -elf -o btxv86.o /usr/src/sys/boot/i386/btx/lib/btxv86.s
ld  -elf -i -o crt0.o btxcsu.o btxsys.o btxv86.o 
===> sys/boot/i386/boot2
dd if=/dev/zero of=boot2.ldr bs=512 count=1 2>/dev/null
as  --defsym FLAGS=0x80 /usr/src/sys/boot/i386/boot2/boot1.s -o boot1.o
as  --defsym SIOPRT=0x3f8  --defsym SIOFMT=0x3  --defsym SIOSPD=9600  /usr/src/sys/boot/i386/boot2/sio.s -o sio.o
ld -nostdlib -static -N -e start -Ttext 0x7c00 -o boot1.out boot1.o
objcopy -S -O binary boot1.out boot1
nm -t d boot1.out | awk '/([0-9])+ T xread/  { x = $1 - ORG1; printf("#define XREADORG 0x7%x\n", x) }'  ORG1=`printf "%d" 0x7c00` > boot2.h
cc -elf -I/usr/src/sys/boot/i386/boot2/../btx/lib -I.  -Os -fno-builtin -fforce-addr -fdata-sections  -malign-functions=0 -malign-jumps=0 -malign-loops=0 -mrtd  -mpreferred-stack-boundary=2  -Wall -Waggregate-return -Wbad-function-cast -Wcast-align  -Wmissing-declarations -Wmissing-prototypes -Wnested-externs  -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -mpreferred-stack-boundary=2   -I/usr/obj/usr/src/i386/usr/include  -c /usr/src/sys/boot/i386/boot2/boot2.c
ld -nostdlib -static -N -Ttext 0x1000 -o boot2.out  /usr/obj/usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o boot2.o sio.o
objcopy -S -O binary boot2.out boot2.bin
btxld -v -E 0x1000 -f bin -b /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr  -o boot2.ld -P 1 boot2.bin
kernel: ver=1.01 size=740 load=9000 entry=9010 map=16M pgctl=1:1
client: fmt=bin size=188c text=0 data=0 bss=0 entry=0
output: fmt=bin size=21cc text=200 data=1fcc org=0 entry=0
-972 bytes available
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error


--VS++wcV0S1rZb1Fb--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011204193031.A500>