From owner-freebsd-emulation Thu Feb 18 10:50: 1 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id A1722117D4 for ; Thu, 18 Feb 1999 10:49:58 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.1/8.9.1) with ESMTP id KAA18712; Thu, 18 Feb 1999 10:49:57 -0800 (PST) (envelope-from jdp@polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.9.2/8.9.1) id KAA73170; Thu, 18 Feb 1999 10:49:57 -0800 (PST) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <36CC4AA8.F7488014@scc.nl> Date: Thu, 18 Feb 1999 10:49:57 -0800 (PST) Organization: Polstra & Co., Inc. From: John Polstra To: Marcel Moolenaar Subject: Re: ELF/VM problem [was: Re: linux ELF emulation is kinda broken Cc: emulation@freebsd.org Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Marcel Moolenaar wrote: > > It seems that the interpreter is loaded at address 0x08000000. The VM map > already has an entry with start address 0x08000000 (see objdump). As a result > vm_map_insert() returns KERN_NO_SPACE. Recent changes in the ELF image code > hardwired the loading of the interpreter to that address (for i386 that is). Augh! Major bummer. It's already in 3.1. :-( I can't fix it until tonight at the earliest, because of work pressures. If you'll replace the definition of ELF_RTLD_ADDR in "src/sys/i386/include/elf.h" with the definition from "src/sys/alpha/include/elf.h", that should fix it. If anybody gets a chance to try this, please let me know whether it works. Thanks, John --- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Nobody ever went broke underestimating the taste of the American public." -- H. L. Mencken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message