From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 25 Mar 2009 21:54:23 +0800 From: "Zhao Shuai" To: 9fans@9fans.net Message-ID: <29998388.496361237989263735.JavaMail.coremail@bj163app70.163.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_133473_5160626.1237989263734" Subject: [9fans] gsoc linuxemu project help Topicbox-Message-UUID: c46259a2-ead4-11e9-9d60-3106f5b1d025 ------=_Part_133473_5160626.1237989263734 Content-Type: text/plain; charset=gbk Content-Transfer-Encoding: 7bit Hi all, I am interested in the GSoc project: Linuxemu improvement. But the project description seems too general. I don't know from which aspect can we make improvement. There is a TODO file in the linuxemu3 source directory and I find TLS, futex, VDSO listed. Can these TODOs make a gsoc project? Thanks. -- Regards, Zhao ------=_Part_133473_5160626.1237989263734 Content-Type: text/html; charset=gbk Content-Transfer-Encoding: quoted-printable
Hi all,
I am interested in the GSoc project: Linuxemu improvement.<= br>But the project description seems too general. I don't know from
whic= h aspect can we make improvement. There is a TODO file in
the linuxemu3 = source directory and I find TLS, futex, VDSO listed.
Can these TODOs mak= e a gsoc project?
Thanks.


--
Regards,
Zhao



=CD=F8=D2=D7=D3=CA=CF=E4=A3=AC=D6=D0=B9=FA= =B5=DA=D2=BB=B4=F3=B5=E7=D7=D3=D3=CA=BC=FE=B7=FE=CE=F1=C9=CC
------=_Part_133473_5160626.1237989263734-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <29998388.496361237989263735.JavaMail.coremail@bj163app70.163.com> References: <29998388.496361237989263735.JavaMail.coremail@bj163app70.163.com> Date: Wed, 25 Mar 2009 10:38:31 -0400 Message-ID: <509071940903250738u1b5fbf33p31b25e70af624fa2@mail.gmail.com> From: Anthony Sorace To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] gsoc linuxemu project help Topicbox-Message-UUID: c481c1fc-ead4-11e9-9d60-3106f5b1d025 it seems like a reasonable start to me, at least, but i don't know as much as i could about the internals of linuxemu (i haven't really looked inside since russ's initial version). the current maintainer is frequently found in #plan9 on irc.freenode.net; i'd encourage you to pop in there and see if you can catch him to ask. From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <2a9616a781a50ae31a8f7cd3fbcd1e1a@gmx.de> To: 9fans@9fans.net Date: Wed, 25 Mar 2009 15:59:46 +0100 From: cinap_lenrek@gmx.de In-Reply-To: <29998388.496361237989263735.JavaMail.coremail@bj163app70.163.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-jtxruxtzsnqacizeuufctgbpnw" Subject: Re: [9fans] gsoc linuxemu project help Topicbox-Message-UUID: c48c17ce-ead4-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --upas-jtxruxtzsnqacizeuufctgbpnw Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit 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 --upas-jtxruxtzsnqacizeuufctgbpnw Content-Type: message/rfc822 Content-Disposition: inline Return-Path: <9fans-bounces+cinap_lenrek=gmx.de@9fans.net> X-Flags: 0000 Delivered-To: GMX delivery to cinap_lenrek@gmx.de Received: (qmail invoked by alias); 25 Mar 2009 13:58:35 -0000 Received: from gouda.swtch.com (EHLO gouda.swtch.com) [67.207.142.3] by mx0.gmx.net (mx078) with SMTP; 25 Mar 2009 14:58:35 +0100 Received: from localhost ([127.0.0.1] helo=gouda.swtch.com) by gouda.swtch.com with esmtp (Exim 4.67) (envelope-from <9fans-bounces@9fans.net>) id 1LmTYx-0001RR-U9; Wed, 25 Mar 2009 13:54:35 +0000 Received: from m13-70.163.com ([220.181.13.70]) by gouda.swtch.com with smtp (Exim 4.67) (envelope-from ) id 1LmTYv-0001RM-8L for 9fans@9fans.net; Wed, 25 Mar 2009 13:54:33 +0000 Received: from upczhsh ( [124.16.139.196] ) by ajax-webmail-wmsvr70 (Coremail) ; Wed, 25 Mar 2009 21:54:23 +0800 (CST) Date: Wed, 25 Mar 2009 21:54:23 +0800 (CST) From: "Zhao Shuai" To: 9fans@9fans.net Message-ID: <29998388.496361237989263735.JavaMail.coremail@bj163app70.163.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_133473_5160626.1237989263734" X-Originating-IP: [124.16.139.196] X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT2_snapshot build 090319(6914.2271.2266) Copyright (c) 2002-2009 www.mailtech.cn 163com X-CM-TRANSID: RsGowLCr8gqPN8pJmeO2AA--.35683W X-CM-SenderInfo: hxsf6xlvk6il2tof0z/1tbitgUwDEPUjH8k3QAAsS X-Coremail-Antispam: 1U50xBIdaVrnRJUUUcCb7IF0VCF04k20xv_GFyrM7k042IE42 xK82IY64kIx2x0424lb7IF0VCFI7km07C26c804VAKzcIF0wAqjxCE34x0Y48IcwAC67AE wI8IwI0EV3sKBsskM4IEnf9ElVAFpTB2q-sK649IAas0WaI_GwCS07vEb7Iv0xC_Jr1lV2 xY67kC6x804xWlV2xY67C26xCjj4IEw4AK0wCS07vE1I0EscIYIxCEI4klw4CSwwCS07vE 5I8CrVAqjxCE14ACF2xKxwCS07vE5I8CrVACY4xI64kE6c02F40Ex7xfMIAIbVAv7VCjz4 8v1sIEY20_JwCS07vE7480Y4vEI4kI2Ix0rVAqx4xJMIAIbVCF72vE77IF4wCS07vEx4CE 17CEb7AF67AKxVWUJVWUXbIYCTnIWIevJa73U Subject: [9fans] gsoc linuxemu project help X-BeenThere: 9fans@9fans.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.9fans.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: 9fans-bounces@9fans.net Errors-To: 9fans-bounces+cinap_lenrek=gmx.de@9fans.net X-GMX-Antivirus: 0 (no virus found) X-GMX-Antispam: 0 (Mail was not recognized as spam) X-GMX-UID: vgH5cZEYMmApOpQryGFn/EIxMjQ1N13H ------=_Part_133473_5160626.1237989263734 Content-Type: text/plain; charset=gbk Content-Transfer-Encoding: 7bit Hi all, I am interested in the GSoc project: Linuxemu improvement. But the project description seems too general. I don't know from which aspect can we make improvement. There is a TODO file in the linuxemu3 source directory and I find TLS, futex, VDSO listed. Can these TODOs make a gsoc project? Thanks. -- Regards, Zhao ------=_Part_133473_5160626.1237989263734 Content-Type: text/html; charset=gbk Content-Transfer-Encoding: quoted-printable
Hi all,
I am interested in the GSoc project: Linuxemu improvement.<= br>But the project description seems too general. I don't know from
whic= h aspect can we make improvement. There is a TODO file in
the linuxemu3 = source directory and I find TLS, futex, VDSO listed.
Can these TODOs mak= e a gsoc project?
Thanks.


--
Regards,
Zhao



=CD=F8=D2=D7=D3=CA=CF=E4=A3=AC=D6=D0=B9=FA= =B5=DA=D2=BB=B4=F3=B5=E7=D7=D3=D3=CA=BC=FE=B7=FE=CE=F1=C9=CC
------=_Part_133473_5160626.1237989263734-- --upas-jtxruxtzsnqacizeuufctgbpnw-- From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 26 Mar 2009 21:57:47 +0800 From: "Zhao Shuai" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>, "cinap_lenrek@gmx.de" Message-ID: <16413649.1004841238075867457.JavaMail.coremail@bj163app67.163.com> In-Reply-To: <2a9616a781a50ae31a8f7cd3fbcd1e1a@gmx.de> References: <2a9616a781a50ae31a8f7cd3fbcd1e1a@gmx.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_270254_28276779.1238075867456" Subject: Re: [9fans] gsoc linuxemu project help Topicbox-Message-UUID: c7ff8576-ead4-11e9-9d60-3106f5b1d025 ------=_Part_270254_28276779.1238075867456 Content-Type: text/plain; charset=gbk Content-Transfer-Encoding: 7bit >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. ------=_Part_270254_28276779.1238075867456 Content-Type: text/html; charset=gbk Content-Transfer-Encoding: quoted-printable
>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 gi= ve NTPL a try.

Now I wonder how does Linuxemu work? I guess it parse= s 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.



=CD=F8=D2=D7=D3=CA=CF=E4=A3=AC=D6=D0=B9=FA= =B5=DA=D2=BB=B4=F3=B5=E7=D7=D3=D3=CA=BC=FE=B7=FE=CE=F1=C9=CC
------=_Part_270254_28276779.1238075867456-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <16413649.1004841238075867457.JavaMail.coremail@bj163app67.163.com> References: <2a9616a781a50ae31a8f7cd3fbcd1e1a@gmx.de> <16413649.1004841238075867457.JavaMail.coremail@bj163app67.163.com> Date: Thu, 26 Mar 2009 07:25:57 -0700 Message-ID: <3e1162e60903260725x4ea79630qde370e69a84445b3@mail.gmail.com> From: David Leimbach To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=000e0cd22dec0b2fc1046606655e Subject: Re: [9fans] gsoc linuxemu project help Topicbox-Message-UUID: c880463e-ead4-11e9-9d60-3106f5b1d025 --000e0cd22dec0b2fc1046606655e Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable 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 give= 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 a= nd whenever > encounter a system call, emulate using Plan 9's function. I haven't dig i= nto the source > code, just guess. > > > > ------------------------------ > =CD=F8=D2=D7=D3=CA=CF=E4=A3=AC=D6=D0=B9=FA=B5=DA=D2=BB=B4=F3=B5=E7=D7=D3= =D3=CA=BC=FE=B7=FE=CE=F1=C9=CC --000e0cd22dec0b2fc1046606655e Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable

2009/3/26 Zhao Shuai &= lt;upczhsh@163.com>

>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 t=
he
>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.
Is NTPL the same thing as NPTL, and everyone is jus= t repeatedly spelling their acronyms incorrectly?

=  

Now I wonder how does Linuxemu work? I guess it parses the linux b= inary and whenever
encounter a system call, emulate using Plan 9's = function. I haven't dig into the source
code, just guess.



=CD=F8=D2=D7=D3=CA=CF=E4= =A3=AC=D6=D0=B9=FA=B5=DA=D2=BB=B4=F3=B5=E7=D7=D3=D3=CA=BC=FE=B7=FE=CE=F1=C9= =CC

--000e0cd22dec0b2fc1046606655e-- 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 >