From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <3e1162e60903260725x4ea79630qde370e69a84445b3@mail.gmail.com> References: <2a9616a781a50ae31a8f7cd3fbcd1e1a@gmx.de> <16413649.1004841238075867457.JavaMail.coremail@bj163app67.163.com> <3e1162e60903260725x4ea79630qde370e69a84445b3@mail.gmail.com> Date: Thu, 26 Mar 2009 21:53:55 +0100 Message-ID: <859bc0e00903261353g73e30fdcm61376527b27aeff6@mail.gmail.com> From: "Sebastian A. Liem" To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] gsoc linuxemu project help Topicbox-Message-UUID: ca5312e8-ead4-11e9-9d60-3106f5b1d025 On 3/26/09, David Leimbach wrote: > 2009/3/26 Zhao Shuai > >> >> >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 giv= e >> NTPL a try. >> >> Is NTPL the same thing as NPTL, and everyone is just repeatedly spelling > their acronyms incorrectly? > > > >> >> 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. >> >> >> >> ------------------------------ >> =E7=BD=91=E6=98=93=E9=82=AE=E7=AE=B1=EF=BC=8C=E4=B8=AD=E5=9B=BD=E7=AC=AC= =E4=B8=80=E5=A4=A7=E7=94=B5=E5=AD=90=E9=82=AE=E4=BB=B6=E6=9C=8D=E5=8A=A1=E5= =95=86 >