Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2007 15:27:03 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-hardware@freebsd.org
Cc:        "Jin Guojun \[VFFS\]" <j_guojun@lbl.gov>, questions@freebsd.org, hardware@freebsd.org
Subject:   Re: what causes error -- ELF interpreter /libexec/ld-elf.so.1 not found
Message-ID:  <200706121527.04274.jhb@freebsd.org>
In-Reply-To: <466B4B7E.4000006@lbl.gov>
References:  <466B2B9F.5010308@lbl.gov> <466B4694.3060204@lbl.gov> <466B4B7E.4000006@lbl.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 09 June 2007 08:53:18 pm Jin Guojun [VFFS] wrote:
> I believe that this is a memory sub-system bug somewhere because 
> anything equal to or below 1G
> 
>     options MAXDSIZ="(1024*1024*1024)"
> 
> will work regardless how many memory is installed in the system.
> I doubt this could be a hardware related issue although is memory size 
> related.
> 
> > Finally find cause but no idea why -- in kernel configuration, 
> > following line causes the problem:
> >
> >    options MAXDSIZ="(2097152U*1024)"
> >
> > Can anyone explain why this can cause /libexec/ld-elf.so.1 not seen 
> > for some program?

This is setting aside 2GB for malloc which leaves only 1GB for all of mmap and 
stack.  You probably don't have enough address space to map your binary.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706121527.04274.jhb>