From owner-freebsd-bugs Sun Jun 2 9:40:11 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7BE3C37B404 for ; Sun, 2 Jun 2002 09:40:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g52Ge2641257; Sun, 2 Jun 2002 09:40:02 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id 17C5F37B401 for ; Sun, 2 Jun 2002 09:37:01 -0700 (PDT) Received: from www.freebsd.org (localhost [127.0.0.1]) by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g52Gb0hG072804 for ; Sun, 2 Jun 2002 09:37:00 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.2/8.12.2/Submit) id g52Gb0Bb072803; Sun, 2 Jun 2002 09:37:00 -0700 (PDT) Message-Id: <200206021637.g52Gb0Bb072803@www.freebsd.org> Date: Sun, 2 Jun 2002 09:37:00 -0700 (PDT) From: tyler spivey To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: conf/38829: bootblock recompile instructions in handbook fail to work (15.6.4.1) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 38829 >Category: conf >Synopsis: bootblock recompile instructions in handbook fail to work (15.6.4.1) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 02 09:40:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: tyler spivey >Release: 4.5-r >Organization: home >Environment: FreeBSD .bc.hsia.telus.net 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386 >Description: the instructions in the handbook, cd /sys/boot/i386/boot2 make make install don't work - the make output follows. Script started on Sun Jun 2 08:40:50 2002 # pwd /usr/src/sys/boot/i386/boot2 # uname -a FreeBSD .bc.hsia.telus.net 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386 # cat /etc/make.conf BOOT_COMCONSOLE_SPEED=19200 # pwd /usr/src/sys/boot/i386/boot2 # make as --defsym FLAGS=0x80 boot1.s -o boot1.o ld -nostdlib -static -N -e start -Ttext 0x7c00 -o boot1.out boot1.o objcopy -S -O binary boot1.out boot1 dd if=/dev/zero of=boot2.ldr bs=512 count=1 2>/dev/null 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 -c boot2.c as --defsym SIOPRT=0x3f8 --defsym SIOFMT=0x3 --defsym SIOSPD=19200 sio.s -o sio.o ld -nostdlib -static -N -Ttext 0x1000 -o boot2.out /usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o boot2.o sio.o /usr/libexec/elf/ld: cannot open /usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o: No such file or directory *** Error code 1 Stop in /usr/src/sys/boot/i386/boot2. # # exit exit Script done on Sun Jun 2 08:41:51 2002 >How-To-Repeat: use the instructions in the handbook, and try to recompile the boot blocks. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message