Subject: port-sparc/16481: cross building -current/sparc from 1.5/i386 fails while making miniroot
To: None <gnats-bugs@gnats.netbsd.org>
From: Eric Schnoebelen <eric@cirr.com>
List: netbsd-bugs
Date: 04/24/2002 10:54:43
>Number: 16481
>Category: port-sparc
>Synopsis: installboot on sparc mini-root fails
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-sparc-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 24 08:55:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Eric Schnoebelen
>Release: NetBSD current (20020423-1608 UTC)
>Organization:
Central Iowa (Model) Railroad
>Environment:
System: NetBSD egsner 1.5.3_ALPHA NetBSD 1.5.3_ALPHA (GENERIC) #0: Wed Feb 20 23:20:03 CST 2002 eric@egsner:/scratch/eric/NetBSD-1.5/syssrc/sys/arch/i386/compile/GENERIC i386
>Description:
Attempting to cross build a release of NetBSD-current for the
sparc processor on a NetBSD 1.5.3/i386 host fails when attempting to
install the boot blocks on the mini-root image.
The Build log:
===> DESTDIR path: /netboot/sparc
===> TOOLDIR path: /scratch/eric/NetBSD-current/src/../tools/
Build started at: Tue Apr 23 13:20:34 CDT 2002
[...]
ARCHDIR=/scratch/eric/NetBSD-current/src/distrib/miniroot/../sparc/miniroot DISTRIBREV=15ZC DISTRIBVER=1.5ZC KERNOBJDIR=/scratch/eric/NetBSD-current/src/../obj.sparc/sys/arch/sparc/compile _SRC_TOP_=/scratch/eric/NetBSD-current/src CRUNCHBIN=instbin CURDIR=/scratch/eric/NetBSD-current/src/distrib/miniroot DESTDIR=/netboot/sparc DISTRIBDIR=/scratch/eric/NetBSD-current/src/distrib MACHINE=sparc MACHINE_ARCH=sparc OBJDIR=/scratch/eric/NetBSD-current/src/../obj.sparc/distrib/miniroot TARGETDIR=/scratch/eric/NetBSD-current/src/../obj.sparc/distrib/miniroot/work awk -f /scratch/eric/NetBSD-current/src/distrib/common/parselist.awk -v mode=populate /scratch/eric/NetBSD-current/src/distrib/miniroot/list /scratch/eric/NetBSD-current/src/distrib/miniroot/../sparc/miniroot/list /scratch/eric/NetBSD-current/src/distrib/common/list.sysinst | sh -e && touch work.built
Creating image into miniroot.fs...
rm -f miniroot.fs miniroot.fs.tmp
/scratch/eric/NetBSD-current/src/../tools//bin/nbmakefs -t ffs -B be -s 7296k -F work.spec -N /scratch/eric/NetBSD-current/src/etc -o bsize=4096,fsize=512 -o optimization=space,minfree=0,nsectors=1,ntracks=128 -o density=4k miniroot.fs.tmp work && mv -f miniroot.fs.tmp miniroot.fs
Calculated size of `miniroot.fs.tmp': 7471104 bytes, 1420 inodes
miniroot.fs.tmp: 14592 sectors in 114 cylinders of 128 tracks, 1 sectors
7.1MB in 1 cyl groups (151 c/g, 9.44MB/g, 1792 i/g)
super-block backups (for fsck -b #) at:
32,
Populating `miniroot.fs.tmp'
Image `miniroot.fs.tmp' complete
/netboot/sparc/usr/mdec/binstall -f miniroot.fs -m /netboot/sparc/usr/mdec -i /scratch/eric/NetBSD-current/src/../tools//bin/nbsparc-installboot -v ffs && touch image.built
Usage: /netboot/sparc/usr/mdec/binstall [options] <"net"|"ffs"> <directory>
Options:
-h - display this message
-u - install sparc64 (UltraSPARC) boot block
-U - install sparc boot block
-b<bootprog> - second-stage boot program to install
-f<pathname> - path to device/file image for filesystem
-m<path> - Look for boot programs in <path> (default: /usr/mdec)
-i<progname> - Use the installboot program at <progname>
(default: /usr/mdec/installboot)
-v - verbose mode
-t - test mode (implies -v)
*** Error code 1
Stop.
nbmake: stopped in /scratch/eric/NetBSD-current/src/distrib/miniroot
*** Error code 1
Stop.
nbmake: stopped in /scratch/eric/NetBSD-current/src/distrib
*** Error code 1
Stop.
nbmake: stopped in /scratch/eric/NetBSD-current/src/etc
*** Error code 1
Stop.
nbmake: stopped in /scratch/eric/NetBSD-current/src
The complete build log is available at
ftp://ftp.cirr.com/pub/NetBSD/Build.sparc.
>How-To-Repeat:
./build.sh -a sparc -m sparc -T $cwd/../tools/ \
-D /netboot/sparc \
-O $cwd/../obj.sparc \
-R /work/release/sparc
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: