From owner-freebsd-emulation Wed Feb 17 13:32:50 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id 2D6A1111DC for ; Wed, 17 Feb 1999 13:32:39 -0800 (PST) (envelope-from freebsd-emulation@scc.nl) Received: from scones.sup.scc.nl (i408.ztm.euronet.nl [194.134.67.129]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id WAA24223 from for ; Wed, 17 Feb 1999 22:32:35 +0100 (MET) Received: (from daemon@localhost) by scones.sup.scc.nl (8.9.2/8.9.1) id WAA00727 for emulation@FreeBSD.ORG; Wed, 17 Feb 1999 22:25:22 +0100 (CET) (envelope-from freebsd-emulation@scc.nl) Received: from GATEWAY by scones.sup.scc.nl with netnews for emulation@FreeBSD.ORG (emulation@FreeBSD.ORG) To: emulation@FreeBSD.ORG Date: Wed, 17 Feb 1999 22:25:21 +0100 From: Marcel Moolenaar Message-ID: <36CB33C1.F5A4D530@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: , <36CB2206.4F559F87@scc.nl> Subject: Re: ELF/VM problem [was: Re: linux ELF emulation is kinda broken (fwd)] Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Marcel Moolenaar wrote: > I did some kernel debugging and found out that there is something funny going > on when ld-linux.so.1 is about to get loaded. Function elf_load_section() in > file /sys/kern/imgact_elf.c fails to load the first program header. More > specifically, The very first vm_map_insert() in that function fails with > error 22 (EINVAL). Correction: vm_map_insert() fails with error code 3 (KERN_NO_SPACE). elf_load_section() fails with error code 22 (EINVAL). marcel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message