Subject: Re: tools build under 3.1
To: Erik Bertelsen <bertelsen.erik@gmail.com>
From: Andreas Moschos <a_moschos@yahoo.com>
List: port-macppc
Date: 07/12/2007 03:37:14
--0-1941287187-1184236634=:50166
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit


Forwarding here after a post to current-users.
   
  2007/7/10, Andreas Moschos :
> i am using 3.1 macppc fresh install.
> The cvs code is old as a week back.
>
> When i tried to build the tools for a native build of current genattrtab
> failed while allocating 250000 bytes after allocating 131MB.
> I had to:
>
> sysctl -w
> proc.proc_id_of_genattrtab.rlimit.datasize.soft=200000000
>
> in order to overcome the problem.At the moment i am building the kernel just
> fine.
>
> I am wondering if anyone else has seen this.
>
> If this seems like a native (macppc) issue please let me know in order to
> post there.
>

In my experience, this is actually (mac)ppc-specific. My cure (for 3.1
as well as for current) is to either ulimit -d before
building or to increase DFLDSIZ from the default 128*1024*1024 in a
custom kernel.

Why not increase the default in
src/sys/arch/powerpc/include/oea|ibm4xx/vmparam.h to 256MB as is
already the case for i386?

- Erik


       
---------------------------------
Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. 
--0-1941287187-1184236634=:50166
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<div><BR>Forwarding here after&nbsp;a post to current-users.</div>  <div>&nbsp;</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">2007/7/10, Andreas Moschos <A_MOSCHOS@YAHOO.COM>:<BR>&gt; i am using 3.1 macppc fresh install.<BR>&gt; The cvs code is old as a week back.<BR>&gt;<BR>&gt; When i tried to build the tools for a native build of current genattrtab<BR>&gt; failed while allocating 250000 bytes after allocating 131MB.<BR>&gt; I had to:<BR>&gt;<BR>&gt; sysctl -w<BR>&gt; proc.proc_id_of_genattrtab.rlimit.datasize.soft=200000000<BR>&gt;<BR>&gt; in order to overcome the problem.At the moment i am building the kernel just<BR>&gt; fine.<BR>&gt;<BR>&gt; I am wondering if anyone else has seen this.<BR>&gt;<BR>&gt; If this seems like a native (macppc) issue please let me know in order to<BR>&gt; post there.<BR>&gt;<BR><BR>In my experience, this is actually (mac)ppc-specific. My cure (for 3.1<BR>as well as for current) is
 to either ulimit -d <ENOUGH>before<BR>building or to increase DFLDSIZ from the default 128*1024*1024 in a<BR>custom kernel.<BR><BR>Why not increase the default in<BR>src/sys/arch/powerpc/include/oea|ibm4xx/vmparam.h to 256MB as is<BR>already the case for i386?<BR><BR>- Erik<BR></BLOCKQUOTE><BR><p>&#32;
      <hr size=1>Sick sense of humor? Visit Yahoo! TV's 
<a href="http://us.rd.yahoo.com/evt=47093/*http://tv.yahoo.com/collections/222">Comedy with an Edge </a>to see what's on, when. 



--0-1941287187-1184236634=:50166--