Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jul 1997 06:36:00 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        benst@terminus.stuyts.nl, hackers@FreeBSD.ORG
Subject:   Re: 2.2.2. make world fails with 'boot2 is too big'
Message-ID:  <199707062036.GAA03705@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>===> 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
>...
>7200 bytes transferred in 0.001539 secs (4678387 bytes/sec)
>boot2 is too big
>*** Error code 2

This is caused by using nonstandard option(s) like BOOT_HD_BIAS.  Here is the
list of nonstandard options that will fit:

	{}

:-).  To use nonstandard option(s), you have to remove standard option(s).
The BOOT_HD_BIAS option should not be used and will go away soon, at least
in -current.  Put the drive numbers in /boot.config instead.

Bruce



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