From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <14ec7b180809232252j45cf8eeagaa8beabf8c48d88e@mail.gmail.com> Date: Tue, 23 Sep 2008 23:52:45 -0600 From: "andrey mirtchovski" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Re: [9fans] ape/psh can't exec in 9vx Topicbox-Message-UUID: 13bcd0be-ead4-11e9-9d60-3106f5b1d025 i couldn't find out what the bug was but it was in the library's interaction with the VM environment and not in SH: for example, pcc also crashed when attempting to exec ape's 'diff'. acid's truss wasn't useful since it immediately faulted with: "invalid opcode 8c 24 d0 at eip 000130c3" anyway, if you just recompile "ape" you will not see the problem, or at least that's what worked for me: % cd /sys/src/ape % mk nuke && mk install % uname uname: '/bin/uname' file does not exist % ape/psh $ uname -a Plan9 vx32 4 0 i386 $ you may want to do it from the init rc window before you have started rio: it crashed the VM with "9vx panic: sigsegv on cpu3" with amazing regularity. andrey On Tue, Sep 23, 2008 at 11:17 PM, Gary V. Vaughan wrote: > Was just starting to settle in to 9vx, but this is a real showstopper: > > term% ls -ld /bin/ape > d-rwxr-xr-x Z 1 gary gary 578 Sep 23 11:28 /bin/ape > term% ls -l /bin/ape/sh > --rwxr-xr-x Z 1 gary gary 482209 Sep 23 11:28 /bin/ape/sh > term% /bin/ape/uname -a > Plan9 vx32 4 0 i386 > term% ape/psh > $ /bin/ape/uname -a > /bin/sh: /bin/ape/uname: cannot execute - Access denied > > Any ideas on how to debug this one? > > Cheers, > Gary > -- > Email me: gary@gnu.org ._(() > Read my blog: http://blog.azazil.net \' ) > And my other blog: http://www.machaxor.net =( \ > ...and my book: http://sources.redhat.com/autobook _(~_)' > > >