Subject: Re: miniroot.fs too small
To: Luke Mewburn <lukem@wasabisystems.com>
From: Greywolf <greywolf@starwolf.com>
List: port-sparc
Date: 06/07/2002 23:03:19
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
---2138151675-1944109631-1023516199=:756
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Sat, 8 Jun 2002, Luke Mewburn wrote:
# On Fri, Jun 07, 2002 at 05:24:19PM -0700, Greywolf wrote:
# | 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.
#
# Do you have anything in sparc/conf/GENERIC.local ?
I'll check it out. (I turns out that I have no such beast.)
# I'd be curious to know what you do on your systems to break the builds
# in so many ways, when in the majority of the cases it's been extremely
# difficult to reproduce your problems... :-/
I understand your frustration at not being able to reproduce the
problem, from a sysadmin's point of view. I've run into it before, too,
so I'm sorry for being such a problem child.
Someone else reported the same thing regarding the miniroot, though,
so this time I'm sure it's not just me.
Here is everything I've done (see attached "tool" for more reference):
umount /usr/src
newfs wd2g # /dev/wd2g on /usr/src type ffs
mount /usr/src
cd /usr/src
sup -asz # to get the main update
find . -name CVS |
awk '{\
printf "echo :pserver:anoncvs@anoncvs.netbsd.org:/cvsroot > %s/Root;",$1}' |
sh # to set the CVS root right
cvs update -d -P . # to catch all the stragglers
tool -m sparc ./build.sh -m sparc -O /export/obj/sparc -d \
-D /export/build/sparc -R /export/release/sparc
I don't HAVE a /sys/arch/sparc/conf/GENERIC.local, nor does it get referenced
by GENERIC. I'm using stock stuff here. I even moved /etc/mk.conf out
of the way lest it throw off a variable here or there (and I have my
mk.conf tuned, pathwise, so that builds end up sane).
# Luke.
Now unless you can tell me that "tool" was ill-thought-out (clue:
./build.sh -m sparc done without "tool -m sparc" DOES NOT BUILD FOR ME,
because I don't feel like permanently embedding the goddamn build bin
in my $PATH for every arch i might want to build), I'm at a total loss
for WHY this thing is blowing up on me, and more so as to why it works
for you.
[and I know someone's going to take umbrage at my frustration. Deal.
I am.]
--*greywolf;
--
NetBSD: the OS WORM - Write Once, Run Many.
---2138151675-1944109631-1023516199=:756
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=tool
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.NEB.4.44.0206072303190.756@lothlorien.starwolf.com>
Content-Description: NetBSD Build Tool Script
Content-Disposition: attachment; filename=tool
IyEgL2Jpbi9zaCAtDQojDQpQPWBiYXNlbmFtZSAkMGANClBBVEg9JHtQQVRI
fTovdXNyL3NyYw0KREVCVUc9JHtERUJVRytgZWNobyAkREVCVUcgfCB0ciA6
IFxcbiB8IHdoaWxlIHJlYWQgaTtkbyBjYXNlICRpIGluICRQKSBlY2hvIDo7
YnJlYWs7O2VzYWM7ZG9uZWB9DQpEUFJJTlQ9JHtERUJVRzorZWNob30NCiRE
UFJJTlQgOiAiREVCVUc9PCRERUJVRz4iDQpldmFsIGB1bmFtZSAtbXJzIHwg
KHJlYWQgcyByIG07IGVjaG8gIk1BQ0hJTkU9JG0gUkVMPSRyIFNZUz0kcyIp
YA0KYXJndj1gZ2V0b3B0IGE6bTogJEBgDQppZiBbICQ/ICE9IDAgXTsgdGhl
bg0KICAgIGVjaG8gInVzYWdlOiAkUCBbIC1hIE1BQ0hJTkVfQVJDSCBdIFsg
LW0gTUFDSElORSBdIGNvbW1hbmQiDQogICAgZXhpdCAyDQpmaQ0Kc2V0IC0t
ICRhcmd2IA0KZm9yIGkNCmRvDQogICAgY2FzZSAke2l9IGluDQogICAgLWEp
DQoJc2hpZnQ7DQoJTUFDSElORV9BUkNIPSQxOw0KCXNoaWZ0Ow0KCTs7DQog
ICAgLW0pDQoJc2hpZnQ7DQoJTUFDSElORT0kMTsNCglzaGlmdDsNCgk7Ow0K
ICAgIC0tKQ0KCXNoaWZ0Ow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