From: "Zhao Shuai" <upczhsh@163.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>,
"cinap_lenrek@gmx.de" <cinap_lenrek@gmx.de>
Subject: Re: [9fans] gsoc linuxemu project help
Date: Thu, 26 Mar 2009 21:57:47 +0800 [thread overview]
Message-ID: <16413649.1004841238075867457.JavaMail.coremail@bj163app67.163.com> (raw)
In-Reply-To: <2a9616a781a50ae31a8f7cd3fbcd1e1a@gmx.de>
[-- Attachment #1: Type: text/plain, Size: 1994 bytes --]
>Does creative masoshism count as GSoC project? I dont know :)
>
>Hm... These points all belong to the big topic, getting modern linux
>distro binaries (NTPL stuff) to work. This would be a good thing
>because I'm stuck on some old debian sarge that was just moved to the
>archives.
>
>Step one would be to get the simple single-threaded stuff to run like
>echo and cat. The part point here is TLS. I had a somewhat working
>plan9 driver for it but never packaged it up because i wanted the
>whole thing working before submitting a kernel patch. You may later
>progress to multithreaded apps wich use futex syscall.
>
>The way I work on linuxemu is randomly trying stuff out, see where it
>crashes... try to understand why it crashes... implement/fix
>syscalls and try again. Sometimes it easy and sometimes you scratch
>your head for a several months. Its hard to estimate the time needed
>to get X running because you never know what crazy optimization shit
>the linux/libc guys come up with next to make you suffer.
>
>Here is always a huge risk of failure in linuxemu because all the
>details are in Ulrich Dreppers head only or encrypted with
>c-preprocessor-ifdef-encryption in the glibc-code so getting help is
>very hard and most of the stuff you have to find out yourself (this
>may cause brain damage over time).
>
>I cant (officialy) mentor you as I'm short of time and have no
>scientific background or something, but I will try to give you all
>infeormation/code and support I have... Its good to hear that someone
>starts taking over some work! :) Just drop me an email. I may be
>in irc from time to time too but dont count on it.
>
>--
>cinap
If nothing else in linuxemu can make a GSoc project, I would like to give NTPL a try.
Now I wonder how does Linuxemu work? I guess it parses the linux binary and whenever
encounter a system call, emulate using Plan 9's function. I haven't dig into the source
code, just guess.
[-- Attachment #2: Type: text/html, Size: 2256 bytes --]
next prev parent reply other threads:[~2009-03-26 13:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-25 13:54 Zhao Shuai
2009-03-25 14:38 ` Anthony Sorace
2009-03-25 14:59 ` cinap_lenrek
2009-03-26 13:57 ` Zhao Shuai [this message]
2009-03-26 14:25 ` David Leimbach
2009-03-26 20:53 ` Sebastian A. Liem
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=16413649.1004841238075867457.JavaMail.coremail@bj163app67.163.com \
--to=upczhsh@163.com \
--cc=9fans@9fans.net \
--cc=cinap_lenrek@gmx.de \
/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).