Date: Mon, 19 Jan 1998 12:09:57 -0800 (PST) From: Jin Guojun (ITG staff) <jin@george.lbl.gov> To: FreeBSD-gnats-submit@FreeBSD.ORG, obrien@NUXI.com Cc: hackers@FreeBSD.ORG Subject: Re: kern/5481: boot blocks too big with BOOT_HD_BIAS defined Message-ID: <199801192009.MAA28004@george.lbl.gov>
next in thread | raw e-mail | index | archive | help
> You haven't installed boot blocks with NAMEBLOCK etc. defined. The default /sys/i386/boot/biosboot/Makefile works fine. However, the boot.nohdr ==> boot2 will be too big if any extra flag is defined (uncommented ) in this Makefile: #CFLAGS+= -DNAMEBLOCK #CFLAGS+= -DNAMEBLOCK_WRITEBACK ------------------------------------------ CFLAGS+= -DNAMEBLOCK #CFLAGS+= -DNAMEBLOCK_WRITEBACK # make ... text data bss dec hex 7664 96 49056 56816 ddf0 dd if=boot.strip of=boot.nohdr ibs=32 skip=1 obs=1024b 242+1 records in 0+1 records out 7760 bytes transferred in 0.002194 secs (3536843 bytes/sec) ls -l boot.nohdr -rw-r--r-- 1 root wheel 7760 Jan 19 11:51 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.000391 secs (1309441 bytes/sec) dd if=boot.nohdr of=boot2 bs=512 skip=1 14+1 records in 14+1 records out 7248 bytes transferred in 0.001186 secs (6111845 bytes/sec) boot2 is too big *** Error code 2 Would someone please help how on compiling boot block with extra flag without making boot.nohdr size exceeding 7168 byte? Thanks, -Jin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801192009.MAA28004>