We have this perplexing problem on our Alpha 2100/300 cabinet. When
we try to rebuild the kernel, both generic and the revised one, we get
the following error:
------------
rm -f vmunix vmunix.sys
loading vmunix.sys
ld:
Cannot malloc memory
*** Exit 1 (ignored)
chmod 755 a.out
chmod: a.out: No such file or directory
*** Exit 4
Stop.
-----------
The machine has 512 megs of RAM and we've tried recompiling in single
user mode as well, but nothing seems to work. We've also ran "test"
in the firmware and the memory test came out good.
--------------------------------------------------------------------
The answer to this problem was to be sure to use the csh shell and do
the following:
limit datasize 30m
limit stacksize 1m
This was done due to an answer from Alan Rollow at Dec (Thanks!) which
said:
Do you have any page/swap space? Are the data size or stack size
limits set lower than the defaults (32 MB and 2 MB)? Insufficient
page/swap space and running up against the data/stack limits are the
usual causes.
Jon
Received: from sws1.CTD.ORNL.GOV by PO.VRINET.COM (SMTPLINK V2.11 PreRelease 4)
; Tue, 08 Oct 96 19:24:14 EST
Return-Path: <alpha-osf-managers-relay_at_sws1.ctd.ornl.gov>
Received: (from daemon_at_localhost) by sws1.CTD.ORNL.GOV (8.7.5/8.7.3) id TAA29414 for aomah; Tue, 8 Oct 1996 19:05:06 -0400
Sender: alpha-osf-managers-relay_at_sws1.ctd.ornl.gov
Followup-To: poster
Precedence: bulk
Received: from oaunx1.ctd.ornl.GOV (oaunx1.ctd.ornl.gov [128.219.128.17]) by sws1.CTD.ORNL.GOV (8.7.5/8.7.3) with ESMTP id TAA29371 for <alpha-osf-managers_at_sws1.ctd.ornl.gov>; Tue, 8 Oct 1996 19:03:45 -0400
Received: from uu7.psi.com (uu7.psi.com [38.8.39.2]) by oaunx1.ctd.ornl.GOV (8.7.6/8.7.3) with SMTP id TAA09886 for <alpha-osf-managers_at_ornl.gov>; Tue, 8 Oct 1996 19:03:44 -0400 (EDT)
Received: from [192.104.81.8] by uu7.psi.com (5.65b/4.0.940727-PSI/PSINet) via SMTP;
id AA11959 for ; Tue, 8 Oct 96 18:57:46 -0400
Received: from ccMail by PO2.VRINET.COM (SMTPLINK V2.11 PreRelease 4)
id AA844811362; Tue, 08 Oct 96 14:46:28 EST
Date: Tue, 08 Oct 96 14:46:28 EST
From: "Jon Mitchiner" <mitchinj_at_vrinet.com>
Message-Id: <9609088448.AA844811362_at_PO2.VRINET.COM>
To: alpha-osf-managers_at_ornl.gov, rosenthd_at_vrinet.com, singhh_at_vrinet.com
Subject: ld: Cannot malloc memory during kernel rebuild
Received on Wed Oct 09 1996 - 20:03:31 NZDT