Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MPPk4-0006Dy-2e for qemu-devel@nongnu.org; Fri, 10 Jul 2009 19:43:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MPPk2-0006DA-Hp for qemu-devel@nongnu.org; Fri, 10 Jul 2009 19:42:59 -0400 Received: from [199.232.76.173] (port=51372 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPPk2-0006D7-Fj for qemu-devel@nongnu.org; Fri, 10 Jul 2009 19:42:58 -0400 Received: from hall.aurel32.net ([88.191.82.174]:38265) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MPPk2-0005CP-22 for qemu-devel@nongnu.org; Fri, 10 Jul 2009 19:42:58 -0400 Date: Sat, 11 Jul 2009 01:42:52 +0200 From: Aurelien Jarno Subject: Re: [Qemu-devel] Powerpc regressions? Message-ID: <20090710234252.GC23268@hall.aurel32.net> References: <200907071748.03623.rob@landley.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <200907071748.03623.rob@landley.net> Sender: Aurelien Jarno List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rob Landley Cc: qemu-devel@nongnu.org On Tue, Jul 07, 2009 at 05:48:02PM -0500, Rob Landley wrote: > If you grab this tarball: > > http://impactlinux.com/fwl/downloads/binaries/system-image/system-image-powerpc.tar.bz2 > > Extract it, and ./run-emulator.sh. > > This ran fine under svn 6657 (which is git 2d18e637e5ec). The next commit screwed up openbios, but > reverting openbios worked for a while. > > In the last couple months, two problems have cropped up: > > 1) -hda sets /dev/hdc instead of /dev/hda (which is the cdrom). Wrong. -hda sets the first hard drive, that is on the internal PowerMAC controller. -hdc sets the first drive of the add-on IDE card that is used in this emulation to connect the CD-ROM, as the PowerMAC IDE controller emulation has still some bugs. Then the Linux kernel decide to call the cdrom hda and the hard-disk hdc. You will get exactly the same result if you put an add-on card on a real PowerMAC machine. If you consider that a bug, you should report the bug to the Linux kernel. > 2) The kernel panics running init: This is a bug I don't reproduce with my Debian installation, but that I am able to reproduce with your image. You listed commit 6657 as the culprit, but is it only for both 1) and/or 2). It would be nice to know the first bad commit for 2). If the problem lies in OpenBIOS, then the solution is to bisect on the OpenBIOS side. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net