Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Dec 2002 16:23:13 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Peter Wemm <peter@wemm.org>
Cc:        "M. Warner Losh" <imp@bsdimp.com>, bde@zeta.org.au, phk@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: Did someone break something? 
Message-ID:  <200212160023.gBG0ND5Y031225@apollo.backplane.com>
References:   <20021216001512.EDEA42A8A5@canning.wemm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
:> : ===> sys/boot/i386/boot2
:> : btxld -v -E 0x2000 -f bin -b /usr/obj/FreeBSD/FreeBSD-current/src/sys/boot/
:    i386/boot2/../btx/btx/btx -l boot2.ldr  -o boot2.ld -P 1 boot2.bin
:> : kernel: ver=1.01 size=780 load=9000 entry=9010 map=16M pgctl=1:1
:> : client: fmt=bin size=1524 text=0 data=0 bss=0 entry=0
:> : output: fmt=bin size=1ea4 text=200 data=1ca4 org=0 entry=0
:> : -164 bytes available
:> : *** Error code 1
:> 
:
:Hmm. According to the cvs tree, the default is still UFS1_ONLY..  Have you
:overridden this somewhere?
:
:Cheers,
:-Peter
:--
:Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com

    Something odd is going on.  If I build it manually on my -current
    box it works (but this box has an installed world as of this morning):

sed -e '/align/d' -e '/nop/d' < boot2.s.tmp > boot2.s
rm -f boot2.s.tmp
as  -o boot2.o boot2.s
as  --defsym SIOPRT=0x3f8  --defsym SIOFMT=0x3  --defsym SIOSPD=9600  /FreeBSD/FreeBSD-current/src/sys/boot/i386/boot2/sio.s -o sio.o
ld -nostdlib -static -N -Ttext 0x2000 -o boot2.out  /usr/obj/FreeBSD/FreeBSD-current/src/sys/boot/i386/boot2/../btx/lib/crt0.o boot2.o sio.o
objcopy -S -O binary boot2.out boot2.bin
btxld -v -E 0x2000 -f bin -b /usr/obj/FreeBSD/FreeBSD-current/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr  -o boot2.ld -P 1 boot2.bin
kernel: ver=1.01 size=780 load=9000 entry=9010 map=16M pgctl=1:1
client: fmt=bin size=1524 text=0 data=0 bss=0 entry=0
output: fmt=bin size=1db8 text=114 data=1ca4 org=0 entry=0
72 bytes available
dd if=boot2.ld of=boot2 obs=7680 conv=osync 2>/dev/null

    If I build it via buildworld on my stable box (building -current),
    it fails as above.  I'm currently in the midst of rebuilding the
    world from scratch on the stable box so it wiped the object files,
    but when it's done if I still have a problem I will compare the
    object file sizes.

    I haven't overridden anything.

						-Matt


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




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