Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  6 Jul 97 13:46:15 +0200
From:      Ben Stuyts <benst@terminus.stuyts.nl>
To:        hackers@FreeBSD.ORG
Subject:   2.2.2. make world fails with 'boot2 is too big'
Message-ID:  <199707061146.NAA02981@daneel.stuyts.nl>

next in thread | raw e-mail | index | archive | help
I asked this on the questions mailing list but got no response. Recent  
cvsup's didn't fix it. Can somebody help me out with this?

Original message:

During a make world of 2.2.2:

===> sys/i386/boot/biosboot
cc -O2 -malign-functions=0 -malign-jumps=0 -malign-loops=0  -mno-486   
-DDO_BAD144 -DBOOTWAIT=5000 -DTIMEOUT= -DBOOTSEG=0x1000 -DBOOTSTACK=0xFFF0  
-I/usr/src/sys/i386/boot/biosboot/../../.. -Wreturn-type -Wcomment  
-Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes  -Wpointer-arith -DCOMCONSOLE=0x3F8 -DCONSPEED=9600  
-DBOOT_HD_BIAS=1    -N -T 0 -nostdlib -static -o boot start.o table.o boot2.o  
boot.o asm.o bios.o serial.o probe_keyboard.o io.o disk.o sys.o
cp -p boot boot.strip
strip boot.strip
size boot.strip
text    data    bss     dec     hex
7616    96      49052   56764   ddbc
dd if=boot.strip of=boot.nohdr ibs=32 skip=1 obs=1024b
241+0 records in
0+1 records out
7712 bytes transferred in 0.003247 secs (2375186 bytes/sec)
ls -l boot.nohdr
-rw-r--r--  1 root  wheel  7712 Jul  3 23:14 boot.nohdr
dd if=boot.nohdr of=boot1 bs=512 count=1
1+0 records in
1+0 records out
512 bytes transferred in 0.000271 secs (1889559 bytes/sec)
dd if=boot.nohdr of=boot2 bs=512 skip=1
14+1 records in
14+1 records out
7200 bytes transferred in 0.001539 secs (4678387 bytes/sec)
boot2 is too big
*** Error code 2

Stop.

I've updated my src tree with cvsup just half an hour ago. Any idea how I can  
fix this?

Thanks,
Ben



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