From owner-freebsd-current Fri Aug 17 19:26:41 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailgate.westmarsh.com (mailgate.westmarsh.com [193.195.76.50]) by hub.freebsd.org (Postfix) with ESMTP id 9DDE737B408 for ; Fri, 17 Aug 2001 19:26:38 -0700 (PDT) (envelope-from pierre.dampure@westmarsh.com) Received: from westmarsh.com (mailgate.westmarsh.com [193.195.76.50]) by mailgate.westmarsh.com (8.11.5/8.11.5) with ESMTP id f7I2Qga49544 for ; Sat, 18 Aug 2001 03:26:43 +0100 (BST) (envelope-from pierre.dampure@westmarsh.com) Message-ID: <3B7DD25D.3D4DC1D5@westmarsh.com> Date: Sat, 18 Aug 2001 03:26:37 +0100 From: "Pierre Y. Dampure" Organization: Westmarsh X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 Cc: current@freebsd.org Subject: Re: ELF interpreter /co not found References: <3B7DC62B.229E5815@westmarsh.com> <20010818035608.A4068@bank-pedersen.dk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Niels Chr. Bank-Pedersen" wrote: > > I see this as well. Apparantly version 1.98 of > sys/kern/imgact_elf.c causes the string containing the path > to /compat/linux/lib/ld-2.1.2.so to be truncated. A quick > workaround is to symlink /co to /compat/linux/lib/ld-2.1.2.so . > Granted, it's a fix, but hardly a solution :-) After modifying the kernel to print out sizeof(path) upon return of the malloc, it turns out that we are only getting 4 bytes rather than MAXPATHLEN (1024): [pyd@jupiter]: /usr/local/lib/netscape-linux/netscape path was allocated 4 bytes emul_path: /compat/linux interp: /lib/ld-linux.so.2 ELF interpreter /co not found Abort trap Looks like something's gone south rather badly... Clues, anyone? PYD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message