> 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
--- Begin Message ---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, <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> > To: "Fans of the OS Plan 9 from Bell Labs" <[email protected]> > 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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
--- End Message ---
