From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kci46-0004fp-Fv for qemu-devel@nongnu.org; Mon, 08 Sep 2008 10:50:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kci44-0004db-SB for qemu-devel@nongnu.org; Mon, 08 Sep 2008 10:50:06 -0400 Received: from [199.232.76.173] (port=56568 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kci44-0004dL-Nv for qemu-devel@nongnu.org; Mon, 08 Sep 2008 10:50:04 -0400 Received: from mx03.syneticon.net ([87.79.32.166]:4733) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kci44-0007Xt-C1 for qemu-devel@nongnu.org; Mon, 08 Sep 2008 10:50:04 -0400 Received: from localhost (filter1.syneticon.net [192.168.113.3]) by mx03.syneticon.net (Postfix) with ESMTP id 487E49375 for ; Mon, 8 Sep 2008 16:50:03 +0200 (CEST) Received: from mx03.syneticon.net ([192.168.113.4]) by localhost (mx03.syneticon.net [192.168.113.3]) (amavisd-new, port 10025) with ESMTP id i9dlQ4ya+2Np for ; Mon, 8 Sep 2008 16:49:58 +0200 (CEST) Received: from [192.168.10.145] (koln-4db4007a.pool.einsundeins.de [77.180.0.122]) by mx03.syneticon.net (Postfix) with ESMTP for ; Mon, 8 Sep 2008 16:49:58 +0200 (CEST) Message-ID: <48C53B95.3020604@wpkg.org> Date: Mon, 08 Sep 2008 16:49:57 +0200 From: Tomasz Chmielewski MIME-Version: 1.0 Subject: Re: [Qemu-devel] user emulation status? References: <48C43986.3030903@wpkg.org> <20080908143100.GA923@kos.to> In-Reply-To: <20080908143100.GA923@kos.to> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Riku Voipio schrieb: > On Sun, Sep 07, 2008 at 10:28:54PM +0200, Tomasz Chmielewski wrote: >> Debian Etch supports ARM, SPARC, PPC and MIPS, so I only tested those on >> x86 PC. > > Notice that etch doesn't use many of new syscalls introduced recently, > and doesn't use TLS/NPTL on many archs. So it's not really a very hard > test for qemu-user. Even then, ARM user emulation seem to be the only one fully working. I tried also Lenny on ARM, it had some minor problems, but was working. I could add Lenny to the testing suite, it's not a problem. >> Are you people interested in running processes in a foreign chroot (i.e. >> ARM chroot on x86 PC)? > > Yes. And I need to get my lazy ass off and start cleaning maemo/debian > linux-user patches and propose them here. > >> I wanted to set up some daily automated tests which would fetch current >> SVN, build for ARM, MIPS, PPC and SPARC targets, try to install Debian >> with debootstrap in a chroot. > > Since what we are actually emulating, is linux kernel syscall interface, > the most exhaustive test would be LTP. but debootstrapping debian is > good smoketest. Other nice tests could be perl/python/glibc testsuites. My motivation for running a "foreign chroot" is basically "apt-get update; apt-get upgrade" for some filesystem images I use on embedded devices running Debian. It's easier and faster to do so on a PC than on real hardware or in qemu-system emulation. Running LTP might be a good idea for running on those architectures that pass the "debootstrap smoketest". -- Tomasz Chmielewski http://wpkg.org