From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076340321444.tru64-unix-managers.marc@archive.invalid> From: "Jon Mitchiner" Date: Wed, 09 Oct 1996 12:23:24 +0000 To: tru64-unix-managers Subject: SUMMARY: ld: Cannot malloc memory during kernel rebuild X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076340321444 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: Received: (from daemon@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@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 ; 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 ; 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" Message-Id: <9609088448.AA844811362@PO2.VRINET.COM> To: alpha-osf-managers@ornl.gov, rosenthd@vrinet.com, singhh@vrinet.com Subject: ld: Cannot malloc memory during kernel rebuild