Subject: toolchain/26419: building a release of netbsd-1-6/i386 on Linux dies building floppy images
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <grant@NetBSD.org>
List: netbsd-bugs
Date: 07/24/2004 20:43:39
>Number: 26419
>Category: toolchain
>Synopsis: building a release of netbsd-1-6/i386 on Linux dies building floppy images
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jul 24 11:23:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: grant beattie
>Release: netbsd-1-6, 20040724
>Organization:
>Environment:
System: Linux beastie 2.4.26 #6 Mon Jun 14 19:07:27 PDT 2004 i686 unknown unknown GNU/Linux
Architecture: i686
Machine: i686
>Description:
a ./build.sh release dies when building the floppy images because the
build calls the NetBSD version of installboot:
all ===> i386/floppies/bootfloppy
Copying /data1/netbsd/netbsd-1-6/dest/usr/mdec/biosboot.sym to boot
Copying /data1/netbsd/netbsd-1-6/obj/distrib/i386/floppies/kernel-ramdisk/netbsd.INSTALL.gz to netbsd
Creating boot1.fs from: boot netbsd
PAX=/data1/netbsd/netbsd-1-6/obj/tools/tools.Linux-2.4.26-unknown/bin/nbpax sh /data1/netbsd/netbsd-1-6/src/distrib/common/buildfloppies.sh -i "/data1/netbsd/netbsd-1-6/dest/usr/mdec/installboot -b 17 -f /data1/netbsd/netbsd-1-6/dest/usr/mdec/biosboot.sym @IMAGE@" -m 2 -s .fs boot 2880 boot netbsd
Running instboot: /data1/netbsd/netbsd-1-6/dest/usr/mdec/installboot -b 17 -f /data1/netbsd/netbsd-1-6/dest/usr/mdec/biosboot.sym floppy.22006.tar
*** Error code 1
running the NetBSD installboot just exits silently with $? = 255.
the comment in common/Makefile.bootfloppy says that we need the i386 bits for MI installboot.
>How-To-Repeat:
run ./build.sh -m i386 release on Linux (and maybe others?)
>Fix:
bring in the i386 bits for MI installboot and use nbinstallboot from ${TOOLDIR}.
>Release-Note:
>Audit-Trail:
>Unformatted: