From owner-freebsd-questions@FreeBSD.ORG Tue Jun 12 20:51:25 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E1A2216A46E; Tue, 12 Jun 2007 20:51:25 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id 6F57013C468; Tue, 12 Jun 2007 20:51:25 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l5CKBeG7009427; Tue, 12 Jun 2007 16:11:40 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hardware@freebsd.org Date: Tue, 12 Jun 2007 15:27:03 -0400 User-Agent: KMail/1.9.6 References: <466B2B9F.5010308@lbl.gov> <466B4694.3060204@lbl.gov> <466B4B7E.4000006@lbl.gov> In-Reply-To: <466B4B7E.4000006@lbl.gov> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706121527.04274.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Tue, 12 Jun 2007 16:11:40 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/3411/Tue Jun 12 10:55:03 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: "Jin Guojun \[VFFS\]" , questions@freebsd.org, hardware@freebsd.org Subject: Re: what causes error -- ELF interpreter /libexec/ld-elf.so.1 not found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2007 20:51:26 -0000 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