Subject: Re: changing MAXDSIZ causes kernel panic
To: Zeljko Vrba <zvrba@globalnet.hr>
From: Karl Janmar <karl@utopiafoundation.org>
List: tech-kern
Date: 07/11/2005 21:27:55
just for your information,

On 3.0_BETA that work.
This is part of my kernel config, with this I can allocate >2gig of
virtual memory.

options         MAXDSIZ="3221225472UL"
options         USE_TOPDOWN_VM

- Karl

Zeljko Vrba wrote:
> I just tried to recompile the netbsd 2.0.2 kernel with
> 
> options DMAXSIZ="3221225472U"
> 
> The result is kernel panic on boot: it says error 8 executing /sbin/init
> (if this is errno, then it means ENOEXEC (=exec format error).
> 
> OK, I have a machine with large amount of RAM and a data-intensive
> application that really could use 3G of RAM, but the data seg rlimit is
> limited to DMAXSIZ which is 1G! I get the same panic trying to recompile
> with DMAXSIZ set to 2G.
> 
> Any suggestions how to increase data seg size?