Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 1999 22:25:21 +0100
From:      Marcel Moolenaar <marcel@scc.nl>
To:        emulation@FreeBSD.ORG
Subject:   Re: ELF/VM problem [was: Re: linux ELF emulation is kinda broken (fwd)]
Message-ID:  <36CB33C1.F5A4D530@scc.nl>
References:  <Pine.BSF.3.95.990216120935.13983G-100000@current1.whistle.com>, <36CB2206.4F559F87@scc.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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