From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lk0VI-0003f4-Dl for qemu-devel@nongnu.org; Wed, 18 Mar 2009 14:28:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lk0VH-0003ek-1I for qemu-devel@nongnu.org; Wed, 18 Mar 2009 14:28:36 -0400 Received: from [199.232.76.173] (port=53236 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lk0VG-0003eh-SM for qemu-devel@nongnu.org; Wed, 18 Mar 2009 14:28:34 -0400 Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5]:60475 helo=grelber.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lk0VG-00061n-L6 for qemu-devel@nongnu.org; Wed, 18 Mar 2009 14:28:34 -0400 From: Rob Landley Subject: Re: [Qemu-devel] svn 6658 broke powerpc. Date: Wed, 18 Mar 2009 13:28:30 -0500 References: <200903171857.42875.rob@landley.net> <28469CCD-5C30-4DCF-BA8D-712672FE0A74@suse.de> In-Reply-To: <28469CCD-5C30-4DCF-BA8D-712672FE0A74@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903181328.30900.rob@landley.net> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: qemu-devel@nongnu.org On Wednesday 18 March 2009 03:41:05 Alexander Graf wrote: > On 18.03.2009, at 00:57, Rob Landley wrote: > > Up through svn 6657, I could boot a powerpc kernel with -kernel. > > That commit > > changed it so now it says: > > invalid/unsupported opcode: 00 - 00 - 00 (00000000) fff18f00 1 > > invalid/unsupported opcode: 00 - 00 - 00 (00000000) fff18f04 1 > > invalid/unsupported opcode: 00 - 0c - 06 (00009198) 00009214 0 > > > > And dies. > > > > You can grab a test kernel from http://landley.net/zImage-powerpc > > and try > > booting it (out of the qemu source directory, this is assuming > > you've built it > > but haven't installed it yet) via: > > > > ppc-softmmu/qemu-system-ppc -kernel zImage-powerpc \ > > -append "console=ttyS0 panic=1" -nographic -no-reboot -L pc-bios > > > > With svn 6657, it works. (You get kernel boot messages up until it > > panics and > > dies because it can't find the root filesystem). With 6658 it dies > > immediately with the above error message. > > > > Unfortunately, this means that the 0.10.0 release doesn't work for > > powerpc for > > me, but svn a couple days _before_ the release did. > > That specific commit shouldn't have changed anything with respect to > ppc32 emulation. The one where your command broken is the openBIOS > update. The commit I pointed to is the openbios update, yes. > Please try again without -nographic. It does indeed work without nographic. (It doesn't do anything _useful_ for me without nographic, since I'm scripting the emulated kernel's behavior through stdin and stdout, but allowing it to pop up an SDL window does make it out of openbios and into the kernel.) > Alex Thanks, Rob