All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stuart Brady <sdbrady@ntlworld.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu cpu-all.h gdbstub.c monitor.c hw/ppc.c lin...
Date: Wed, 7 Mar 2007 23:21:55 +0000	[thread overview]
Message-ID: <20070307232155.GA6529@miranda.arrow> (raw)
In-Reply-To: <1173303641.21159.98.camel@rapid>

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 '<null>' 0 11 0 has no reg properties:
PCI device '<null>' 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' '<null>' 'NE2000 PCI'
register 'NE2000' 'network' '<null>' '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 <null>
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

      parent reply	other threads:[~2007-03-07 23:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-07  8:32 [Qemu-devel] qemu cpu-all.h gdbstub.c monitor.c hw/ppc.c lin Jocelyn Mayer
2007-03-07 14:14 ` Stuart Brady
2007-03-07 21:40   ` J. Mayer
2007-03-07 21:47     ` J. Mayer
2007-03-07 23:21     ` Stuart Brady [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070307232155.GA6529@miranda.arrow \
    --to=sdbrady@ntlworld.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.