From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HP5SV-0006yH-U2 for qemu-devel@nongnu.org; Wed, 07 Mar 2007 18:22:11 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HP5ST-0006wW-Az for qemu-devel@nongnu.org; Wed, 07 Mar 2007 18:22:10 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HP5ST-0006wT-7d for qemu-devel@nongnu.org; Wed, 07 Mar 2007 18:22:09 -0500 Received: from mtaout02-winn.ispmail.ntl.com ([81.103.221.48]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HP5SJ-00039M-Qn for qemu-devel@nongnu.org; Wed, 07 Mar 2007 18:22:00 -0500 Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com with ESMTP id <20070307232157.MSGR3103.mtaout02-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Wed, 7 Mar 2007 23:21:57 +0000 Received: from miranda.arrow ([213.107.21.212]) by aamtaout03-winn.ispmail.ntl.com with ESMTP id <20070307232157.INYF26699.aamtaout03-winn.ispmail.ntl.com@miranda.arrow> for ; Wed, 7 Mar 2007 23:21:57 +0000 Received: from sdb by miranda.arrow with local (Exim 4.50) id 1HP5SF-0001hj-Ei for qemu-devel@nongnu.org; Wed, 07 Mar 2007 23:21:55 +0000 Date: Wed, 7 Mar 2007 23:21:55 +0000 From: Stuart Brady Subject: Re: [Qemu-devel] qemu cpu-all.h gdbstub.c monitor.c hw/ppc.c lin... Message-ID: <20070307232155.GA6529@miranda.arrow> References: <20070307141424.GA5962@miranda.arrow> <1173303641.21159.98.camel@rapid> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1173303641.21159.98.camel@rapid> 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, Mar 07, 2007 at 10:40:41PM +0100, J. Mayer wrote: > as far as I can see, prep target was broken before I send this patch: no > PCI IRQ seem to be available anymore, so the target can not even be > boot. There is the same problem with heathrow machine. Looks like the > PCI and/or the IRQ controller has been badly broken for those two > targets. I did not have the time needed for investigations by now... I noticed this with heathrow a while ago. When I bisected the tree, I found that the regression was introduced with this commit: http://lists.gnu.org/archive/html/qemu-devel/2006-09/msg00239.html Strangely, I can boot on prep without any trouble. > The only PowerPC target I'm able to test properly, for now, is mac99. [...] > Could you please check using this target ? I've just tried, with no luck. I'm probably doing something silly: $ qemu-system-ppc -hda hda.img -M mac99 -kernel vmlinuz-2.4.27.001 -nographic init_ppc_proc: PVR 00080000 mask ffffffff => 00080000 register PCI host 'pci' 'pci' 'uni-north' 'AAPL,UniNorth' register 'pci' 'pci' 'uni-north' 'AAPL,UniNorth' 0xf2000000 in 'device-tree' 0xffffffff Done 582b000 582b900 PCI device '' 0 11 0 has no reg properties: PCI device '' 0 11 0 has no assigned addresses properties: register pci device 'Qemu VGA' 0000000c 'display' 'VGA' 'Qemu VGA' register 'Qemu VGA' 'display' 'VGA' 'Qemu VGA' 0x0000000c in 'pci' 0xf2000000 Done 582b900 582ba00 PCI device 'Qemu VGA' 0 12 0 reg properties: addr: 82006010 00000000 80000000 size: 00000000 00800000 PCI device 'Qemu VGA' 0 12 0 assigned addresses properties: addr: 82006010 00000000 80000000 size: 00000000 00800000 register pci device 'NE2000' 0000000d 'network' '' 'NE2000 PCI' register 'NE2000' 'network' '' 'NE2000 PCI' 0x0000000d in 'pci' 0xf2000000 Done 582b900 582bb00 PCI device 'NE2000' 0 13 0 reg properties: addr: 01006810 00000000 00001000 size: 00000000 00000100 PCI device 'NE2000' 0 13 0 assigned addresses properties: addr: 01006810 00000000 00001000 size: 00000000 00000100 register pci device 'mac-io' 0000000e 'mac-io' 'Keylargo' 'AAPL,Keylargo' register 'mac-io' 'mac-io' 'Keylargo' 'AAPL,Keylargo' 0x0000000e in 'pci' 0xf2000000 Done 582b900 582bc00 PCI device 'mac-io' 0 14 0 reg properties: addr: 82007010 00000000 80880000 size: 00000000 00080000 PCI device 'mac-io' 0 14 0 assigned addresses properties: addr: 82007010 00000000 80880000 size: 00000000 00080000 PPC Open Hack'Ware BIOS for qemu version 0.4.1 Build 2005-07-06 23:10:57 Copyright 2003-2005 Jocelyn Mayer Memory size: 144 MB. Booting from device m ide0: drive 0: Hard Disk ERROR: OF_property_copy cannot get property 'hd' for aliases ide0: drive 1: CD-ROM ERROR: OF_property_copy cannot get property 'cd' for aliases ERROR: ATAPI TEST_UNIT_READY : status 41 != 0x40 ide1: drive 0: none ide1: drive 1: none Probe partitions for device c Found Apple partition map... Not a bootable partition 0 0 (0 5835880) Partition: 2 'untitled' 'Apple_Bootstrap' st 40 size 7a2 Not a bootable partition 0 0 (0 5835900) Partition: 3 'untitled' 'Apple_UNIX_SVR2' st 7e2 size 1d6a37 Not a bootable partition 0 0 (0 5835980) Partition: 4 'swap' 'Apple_UNIX_SVR2' st 1d7219 size 28de7 Probe filesystem on dummy Apple partition 'Apple' 5835800 New bootfile Probe filesystem on filesystem Apple partition 'untitled' 5835880 HFS volume Partition is bootable (2) bd_set_boot_part: part 5835880 (0) 2 Probe filesystem on filesystem Apple partition 'untitled' 5835900 ERROR in fs_probe: FS not identified Probe filesystem on filesystem Apple partition 'swap' 5835980 ERROR in fs_probe: FS not identified Boot partition: 5835880 582e5c0 582e5c0 0 Probe partitions for device m Use bloc device as raw partition Boot partition: 0 9401fff8 9401fff8 0 ERROR: OF_property_copy cannot get property 'alias' for boot device: 5835780 image 1000000 size 1233878 Use bloc device as raw partition Boot partition: 0 9401fff8 9401fff8 0 boot device: 5835780 ERROR: Found no boot partition! -- Stuart Brady