Subject: Re: changing MAXDSIZ causes kernel panic
To: None <tech-kern@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: tech-kern
Date: 07/06/2005 16:25:28
In article <42CBCFAB.30505@globalnet.hr>,
Zeljko Vrba  <zvrba@globalnet.hr> wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: RIPEMD160
>
>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?

Can you please send-pr this? I will try to take a look at it once I revive
my test box.

christos