Subject: Re: more on last current elf problem on last I386 current
To: fgh salle <pikapika@8-0.net>
From: fgh salle <pikapika@8-0.net>
List: current-users
Date: 05/07/2007 20:37:03
------=_Part_88777_22850991.1178563023465
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Thanks for help
in fact I have :
 ls -la /emul/linux
lrwxr-xr-x  1 root  wheel  19 Apr  5 23:32 /emul/linux ->
/usr/pkg/emul/linux
and
 ls -la /emul/linux/lib/ld-linux.so.2
lrwxr-xr-x  1 root  wheel  11 Oct  4  2006 /emul/linux/lib/ld-linux.so.2 ->
ld-2.3.5.so


On 5/7/07, David Laight <david@l8s.co.uk> wrote:
>
> On Mon, May 07, 2007 at 01:07:14AM +0200, fgh salle wrote:
> > the result of of a ktrace on linux bash :
> > 27069      1 ktrace   EMUL  "netbsd"
> > 27069      1 ktrace   CALL  execve(0xbfbfe84b,0xbfbfe750,0xbfbfe758)
> > 27069      1 ktrace   NAMI  "/usr/pkg/emul/linux/bin/bash"
> > 27069      1 ktrace   NAMI  "/emul/linux"
> > 27069      1 ktrace   NAMI  "/emul/linux/lib/ld-linux.so.2"
> > 27069      1 ktrace   NAMI  "/lib/ld-linux.so.2"
>
> It has already all gone wrong...
>
> /lib/ld-linux.so.2 should have been found inside the emulation root.
> /emul/linux is usually a symlink to /usr/pkg/emul/linux
>
>         David
>
> --
> David Laight: david@l8s.co.uk
>

------=_Part_88777_22850991.1178563023465
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Thanks for help<br>in fact I have :<br>&nbsp;ls -la /emul/linux&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>lrwxr-xr-x&nbsp; 1 root&nbsp; wheel&nbsp; 19 Apr&nbsp; 5 23:32 /emul/linux -&gt; /usr/pkg/emul/linux<br>and <br>&nbsp;ls -la /emul/linux/lib/ld-
linux.so.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>lrwxr-xr-x&nbsp; 1 root&nbsp; wheel&nbsp; 11 Oct&nbsp; 4&nbsp; 2006 /emul/linux/lib/ld-linux.so.2 -&gt; <a href="http://ld-2.3.5.so">ld-2.3.5.so</a><br><br><br><div><span class="gmail_quote">On 5/7/07, <b class="gmail_sendername">
David Laight</b> &lt;<a href="mailto:david@l8s.co.uk">david@l8s.co.uk</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Mon, May 07, 2007 at 01:07:14AM +0200, fgh salle wrote:
<br>&gt; the result of of a ktrace on linux bash :<br>&gt; 27069&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1 ktrace&nbsp;&nbsp; EMUL&nbsp;&nbsp;&quot;netbsd&quot;<br>&gt; 27069&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1 ktrace&nbsp;&nbsp; CALL&nbsp;&nbsp;execve(0xbfbfe84b,0xbfbfe750,0xbfbfe758)<br>&gt; 27069&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1 ktrace&nbsp;&nbsp; NAMI&nbsp;&nbsp;&quot;/usr/pkg/emul/linux/bin/bash&quot;
<br>&gt; 27069&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1 ktrace&nbsp;&nbsp; NAMI&nbsp;&nbsp;&quot;/emul/linux&quot;<br>&gt; 27069&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1 ktrace&nbsp;&nbsp; NAMI&nbsp;&nbsp;&quot;/emul/linux/lib/ld-linux.so.2&quot;<br>&gt; 27069&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1 ktrace&nbsp;&nbsp; NAMI&nbsp;&nbsp;&quot;/lib/ld-linux.so.2&quot;<br><br>It has already all gone wrong...
<br><br>/lib/ld-linux.so.2 should have been found inside the emulation root.<br>/emul/linux is usually a symlink to /usr/pkg/emul/linux<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;David<br><br>--<br>David Laight: <a href="mailto:david@l8s.co.uk">david@l8s.co.uk
</a><br></blockquote></div><br>

------=_Part_88777_22850991.1178563023465--