From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcecX-00079H-3t for qemu-devel@nongnu.org; Mon, 08 Sep 2008 07:09:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcecU-00078h-W8 for qemu-devel@nongnu.org; Mon, 08 Sep 2008 07:09:24 -0400 Received: from [199.232.76.173] (port=49664 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcecU-00078P-6f for qemu-devel@nongnu.org; Mon, 08 Sep 2008 07:09:22 -0400 Received: from relay01.mx.bawue.net ([193.7.176.67]:46874) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KcecT-0003Do-Gd for qemu-devel@nongnu.org; Mon, 08 Sep 2008 07:09:21 -0400 Date: Mon, 8 Sep 2008 13:09:09 +0200 From: Thiemo Seufer Subject: Re: [Qemu-devel] user emulation status? Message-ID: <20080908110909.GA30553@networkno.de> References: <48C43986.3030903@wpkg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48C43986.3030903@wpkg.org> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Tomasz Chmielewski Cc: qemu-devel@nongnu.org Tomasz Chmielewski wrote: > According to the list of supported guest OSes on > http://bellard.org/qemu/status.html, these architectures have "OK/green" > status for user emulation: > > x86, ARM, SPARC, PPC, MIPS, m68k, SH-4. > > If these architectures are really fully supported by Qemu, it should be > possible to run a chroot of another architecture (i.e. on x86 we chroot > to ARM base filesystem/pcakages). > > I thought I'd give it a try, with current Qemu SVN, by installing Debian > for different architectures with debootstrap command (debootstrap allows > to install base filesystem/packages). > > > Debian Etch supports ARM, SPARC, PPC and MIPS, so I only tested those on > x86 PC. > > > Results: > > 1. ARM - support is really great. > debootstrap installs base filesystem/packages without any errors in an > ARM chroot made on x86 PC. > It's even possible to start some GUI applications. > > > 2. MIPS - support is not so great. > It's not possible to install a base filesystem. > Chrooting from x86 to an already existing MIPS filesystem works, but > lots of commands just break (i.e., dpkg exits with "Invalid argument"; > some stracing reveals more details). I concentrate mostly on the MIPS system emulation. I figure the usermode emulation needs a fair bit of debugging, particularily the 64-bit variants. Thiemo