From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LNF7h-0006k6-Hl for qemu-devel@nongnu.org; Wed, 14 Jan 2009 18:26:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LNF7f-0006jO-UP for qemu-devel@nongnu.org; Wed, 14 Jan 2009 18:26:08 -0500 Received: from [199.232.76.173] (port=38413 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNF7f-0006jL-Ow for qemu-devel@nongnu.org; Wed, 14 Jan 2009 18:26:07 -0500 Received: from hall.aurel32.net ([88.191.82.174]:38822) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LNF7f-0007Pg-Hc for qemu-devel@nongnu.org; Wed, 14 Jan 2009 18:26:07 -0500 Received: from aurel32 by hall.aurel32.net with local (Exim 4.69) (envelope-from ) id 1LNF7d-00022T-PZ for qemu-devel@nongnu.org; Thu, 15 Jan 2009 00:26:05 +0100 Date: Thu, 15 Jan 2009 00:26:05 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] Small powerpc system emulation problem with linux Message-ID: <20090114232605.GL20474@hall.aurel32.net> References: <20090114162140.GI29175@csclub.uwaterloo.ca> <20090114163716.GA15397@volta.aurel32.net> <20090114230838.GK29175@csclub.uwaterloo.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20090114230838.GK29175@csclub.uwaterloo.ca> Sender: Aurelien Jarno 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 On Wed, Jan 14, 2009 at 06:08:38PM -0500, Lennart Sorensen wrote: > On Wed, Jan 14, 2009 at 05:37:16PM +0100, Aurelien Jarno wrote: > > First of all, please retry with the current SVN, a lot of things have > > been fixed. > > But it has only been a couple of days. :) A lot of changes have been done today... > > This is a known problem, looks like there is a problem with IO ports. You > > can workaround the problem by using an other card, like e1000. > > Or using 2.6.26 worked too. Maybe 2.6.18 did something wrong. No, just that the 2.6.26 has both a 8139too and 8139cp driver. The 8139cp is able to use the card, given it only uses MMIO. > > The machine that is emulated is actually a g3beige, that is an OldWorld > > machine. Installing quik on such machine is correct. Note that the > > current version of debian installer installs a totally buggy quik.conf > > file. It has to be fixed manually. > > Ehm, linux kernel detected it as a g3blue&white. I wonder why it would > misdetect it that way. Because of a bug in OpenBIOS. > > Quik is now working correctly with the current SVN. > > Oh OK. I will try updating and then redoing the install with quik. > > > No, this is actually normal, as an OldWorld machine is emulated. > > Yeah so I noticed. Still made me confused since the machine type > detected by the linux kernel is supposed to be newworld, but it also > detects the machine as oldworld. So qemu bug or linux kernel bug? OpenBIOS bug, already fixed in the current SVN. > > The machine in ppc_oldworld.c is an OldWorld machine. There has been > > some mistakes in both OpenBIOS and QEMU, that should now be fixed. > > OK, I will try an update and see what happens. > > > We plan to emulated a NewWorld machine using ppc_chrp.c as a basis when > > all the problem with the OldWorld machine have been solved. > > Oh OK. Given the progress on ppc emulation since 0.9.1, I am sure it > won't be long before that is all working very well. > -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net