9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: cinap_lenrek@gmx.de
To: 9fans@cse.psu.edu
Subject: Re: [9fans] opera under linuxemu
Date: Fri,  4 Jan 2008 00:08:23 +0100	[thread overview]
Message-ID: <f5f944f28b3870e641191dc4ce365eb5@gmx.de> (raw)
In-Reply-To: <7d3530220801031424k4ce6d7d9y39837d80478c5a1c@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]


> Okay, thanks for clearing that up, cinap. That's pretty impressive,
> actually. 
...lerned a lot from it about Linux and Plan9. I would never
have started it by myself. What Russ left in his contrib had done the
trick (catching syscalls with a note handler)... and was well 
structured and easy for me to understand. From that, it was
easy to extend and implement further syscalls. So thanks Russ!

> Do you plan to put together some kind of package that we can
> just drop in and run?
linuxemu is just one binary. The linux-part is the porblem :-)
I had started a script that tars a binary and all its dependencies into
a tarball. And an rc-script that can be cat'ed at the top of the tar to
make it executable (unpacks/build the linux-namespace and 
some config-files/run).

see:

http://9hal.ath.cx/magic/webls?dir=/usr/cinap_lenrek/lbun

But i'm not sure if that is the right way todo it. The best would be just
some directory where all the linux lives in and maybe some script that
downloads/installs packages from some major linux distrio in it.

By the way:
Linuxemu has some limitation so that you cant use the TLS versions of
glibc/pthreads. (set_thread_area syscall). So you need the Linuxthreads
implementation of pthreads and not NTPL.

> It makes a lot more sense to find that
> everything is run under Plan 9 :)
> 
> John

cinap

[-- Attachment #2: Type: message/rfc822, Size: 6426 bytes --]

From: "John Floren" <slawmaster@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] opera under linuxemu
Date: Thu, 3 Jan 2008 14:24:20 -0800
Message-ID: <7d3530220801031424k4ce6d7d9y39837d80478c5a1c@mail.gmail.com>

Okay, thanks for clearing that up, cinap. That's pretty impressive,
actually. Do you plan to put together some kind of package that we can
just drop in and run? It makes a lot more sense to find that
everything is run under Plan 9 :)

John

On Jan 3, 2008 2:12 PM,  <cinap_lenrek@gmx.de> wrote:
> The Xserver is Xvnc running under linuxemu too... i connect with native
> Plan9 vncv to it. The twm is from the ape/X distribution running native
> on Plan9.
>
>
> ---------- Forwarded message ----------
> From: "John Floren" <slawmaster@gmail.com>
> To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
> Date: Wed, 2 Jan 2008 22:39:05 -0500
> Subject: Re: [9fans] opera under linuxemu
> Pardon me for be a doubting Thomas, but that screenshot looks a hell
> of a lot like a VNC session. You know, with the X cursor in the top of
> the window and the default X background behind it, and TWM providing
> window decorations. Now, having file:/net/ open in one of the windows,
> I don't know what's up :)
> I'm sorry for being skeptical, but that's what I'm seeing.
>
> John
>
> On 1/2/08, Federico G. Benavento <benavento@gmail.com> wrote:
> > hola,
> >
> > getting real static binaries in linux is a bit tricky and no one seems to
> > be doing so, they always need ld-linux.so, libnss and others.
> > cinap creates some kind of bundles that create a  fake ns in /tmp/$lbun
> > with this (http://9hal.ath.cx/usr/cinap_lenrek/lbun/mklbun) or something
> > like, but I know he got opera running in Plan 9.
> > http://9hal.ath.cx/usr/cinap_lenrek/plan9opera.png
> >
> >
> > On Jan 2, 2008 9:55 PM, ron minnich <rminnich@gmail.com> wrote:
> > > anybody got a howto? I grabbed cinap's linuxemu from sources. Right
> > > now I get this:
> > >
> > > cpu% ./8.out opera-9.25-20071214.1-static-qt.i386-en-687/bin/opera
> > > opera-9.25-20071214.1-static-qt.i386-en-687/bin/opera: cant load
> > > interpreter: '/lib/ld-linux.so.2' does not exist
> > > cpu% bind -a /mnt/term/lib /lib
> > > cpu% ./8.out opera-9.25-20071214.1-static-qt.i386-en-687/bin/opera
> > > 8.out 20707: suicide: sys: trap: fault read addr=0x57425810 pc=0x57425810
> > > cpu%
> > >
> > > I am wondering if there is some simple thing I'm missing. I thought
> > > static would not need ld-linux.so.2 but ...
> > >
> > > thanks
> > >
> > > ron
> > >
> >
> >
> >
> > --
> > Federico G. Benavento
> >
>
>
> --
> Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn
>



-- 
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn

  parent reply	other threads:[~2008-01-03 23:08 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-03  0:55 ron minnich
2008-01-03  2:54 ` Iruata Souza
2008-01-03  3:29 ` Federico G. Benavento
2008-01-03  3:39   ` John Floren
2008-01-03  3:58     ` Federico G. Benavento
2008-01-03  4:03       ` Uriel
2008-01-03  4:02     ` Uriel
2008-01-03  5:26       ` ron minnich
2008-01-03  7:45         ` Uriel
2008-01-03 22:12     ` cinap_lenrek
2008-01-03 22:24       ` John Floren
2008-01-03 22:43         ` Francisco J Ballesteros
2008-01-03 22:50           ` [9fans] contrib(1) (was: opera under linuxemu) Federico G. Benavento
2008-01-03 23:09             ` Pietro Gagliardi
2008-01-03 23:22               ` Federico G. Benavento
2008-01-03 23:39                 ` Pietro Gagliardi
2008-01-04  4:08             ` marina
2008-01-03 23:26               ` Federico G. Benavento
2008-01-04  4:28                 ` marina
2008-01-03 23:08         ` cinap_lenrek [this message]
2008-01-03  8:37   ` [9fans] opera under linuxemu Martin Neubauer
2008-01-03 10:54     ` Lluís Batlle
2008-01-03 10:55       ` Lluís Batlle
2008-01-03 21:07     ` csant
2008-01-04  2:34 Russ Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f5f944f28b3870e641191dc4ce365eb5@gmx.de \
    --to=cinap_lenrek@gmx.de \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).