Subject: Re: miniroot.fs too small
To: Luke Mewburn <lukem@wasabisystems.com>
From: Greywolf <greywolf@starwolf.com>
List: port-sparc
Date: 06/07/2002 17:24:19
The problem I think is that the generic kernel for the SPARCstation now
exceeds 5MB by itself.  My builds aren't done with -g; indeed, COPTS for
me gets set to -pipe. Previous to that, mk.conf was moved out of the way
to make sure there was nothing to hinder the build or the release.  I
ended up with zero- length miniroot.fs files.


On Sat, 8 Jun 2002, Luke Mewburn wrote:

# Date: Sat, 8 Jun 2002 08:47:11 +1000
# From: Luke Mewburn <lukem@wasabisystems.com>
# To: Ingolf Steinbach <ingolf-200206@steinba.ch>
# Cc: port-sparc@netbsd.org
# Subject: Re: miniroot.fs too small
#
# On Fri, Jun 07, 2002 at 11:01:54PM +0200, Ingolf Steinbach wrote:
#   | I'm trying to cross-compile netbsd-1-6 release for sparc on a
#   | 1.5.3_ALPHA i386 machine -- without success. The build.sh
#   | script always terminates with
#   |
#   |     Creating image into miniroot.fs...
#   |     rm -f miniroot.fs miniroot.fs.tmp
#   |     /usr/obj/tools/tools.NetBSD-1.5.3_ALPHA-i386/bin/nbmakefs
#   |         -t ffs -B be -s 7680k -F work.spec  -N /usr/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
#   |     nbmakefs: `work' size of 9654272 is larger than the maxsize of 7864320.
#   |
#   | Does this only happen when cross-compiling? How can I enlarge
#   | the miniroot.fs?
#
# Do you have COPTS=-g (or something like that) in /etc/mk.conf?
# That will affect the size of the compiled binaries.
#
# The sparc 1.6_BETA1 releases cross compiled from an i386 box have been
# building without issue.
#


				--*greywolf;
--
NetBSD: priapic OS