Subject: Motorola PowerStack II / Estrella 300 and options FIRMWORKSBUGS
To: None <port-powerpc@netbsd.org>
From: Jochen Kunz <jkunz@unixag-kl.fh-kl.de>
List: port-powerpc
Date: 11/01/2002 19:00:59
Hi.=20

1. If any developer in Germany (Europe) wants to get a machine like this
contact me off-list. I may be able to get 10 of them for about 20..30
EUR each (+ shipping).=20

2. I am trying to get ofppc-current to run on my Motorola PowerStack II
(aka Bull Estrella 300). 1.6 runs more or less. (Single user shell
crashes.)
With the current kernel the machine hangs after printing=20

NetBSD does not yet support the "MOT,PowerStack_II_Pro4000".
Using generic OpenFirmware driver support.

I thought about the good old printf debugging, but I found a document at
docs.sun.com describing the use of OpenFirmWare for low level debugging.
So I wrote a small sh/awk script that extracts C-function names from
source files and looks up the address via nm in netbsd.gdb. So it is
easy to set breakpoints in the OFW, "load net" the kernel and stepping
with "go" from breakpoint to breakpoint. When it hangs and doesn't get
to the next breakpoint I know closer where to start putting printfs into
the source.

This was the theory. In practice the kernel prints as usual its "NetBSD
does not yet"...=20
when I "load net" and "go" without breakpoints, but hangs immediately
when I set any breakpoints at functions from e.g. ofppc/machdep.c

Is this is a firmware bug or am I completely wrong and it is not
possible to use OFW debugging functionality to debug a NetBSD kernel?=20

As speaking of firmware bugs: Is there any document on "options
FIRMWORKSBUGS"?=20

This machine has a:
PowerPC Open Firmware                                                  =20
      =20
Version 1.2 RM11   Thu Jun 4 10:20:43 MST 1998                         =20
      =20
Copyright Motorola 1995-96, All Rights Reserved                        =20
      =20
Copyright FirmWorks 1995-96, All Rights Reserved                       =20
      =20

 Open Firmware Revision ID . . . . . . . . . . . . . . . . =3D1.2 RM11
 Open Firmware Revision Date . . . . . . . . . . . . . . . =3DJun 4, 1998
 MicroProcessor Version/Revision . . . . . . . . . . . . . =3D9 / 203
 CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . =3DPowerPC,604=
e
 MicroProcessor Internal Clock Speed (MHZ) . . . . . . . . =3D200
 MicroProcessor External Clock Speed (MHZ) . . . . . . . . =3D67
 PCI Bus Clock Speed (MHZ) . . . . . . . . . . . . . . . . =3D33
 CPU Type Identifier . . . . . . . . . . . . . . . . . . . =3D6
 Local Memory Size . . . . . . . . . . . . . . . . . . . . =3D4000000 (64
MB)
 Memory Type . . . . . . . . . . . . . . . . . . . . . . . =3DEDO
 Memory Error Checking . . . . . . . . . . . . . . . . . . =3DECC
 Memory Speed. . . . . . . . . . . . . . . . . . . . . . . =3D60 NS
 L2 Cache Size . . . . . . . . . . . . . . . . . . . . . . =3D256KB
 L2 Cache Type . . . . . . . . . . . . . . . . . . . . . . =3DAsynchronou=
s
 L2 Cache Parity . . . . . . . . . . . . . . . . . . . . . =3DDisabled
 Configuration Checksum. . . . . . . . . . . . . . . . . . =3DFailed
 Super I/O Device. . . . . . . . . . . . . . . . . . . . . =3Da0
 PCI Bus Bridge Device ID/Revision . . . . . . . . . . . . =3D371014/2
 /pci/ethernet@4                                                       =20
      =20
    Device ID/Revision . . . . . . . . . . . . . . . . . . =3D91011/22
 /pci/scsi@2
    Device ID/Revision . . . . . . . . . . . . . . . . . . =3D31000/13
 /pci/display@8
    Device ID/Revision . . . . . . . . . . . . . . . . . . =3Db81013/0
 /pci/isa@1
    Device ID/Revision . . . . . . . . . . . . . . . . . . =3D56510ad/10

ok .properties                                                         =20
      =20
system-id                008003E33E8F5
name                     MOT,PowerStack_II_Pro4000
clock-frequency          03f8e49b
arc-identifier           PowerStack
aix-bus-id               00000080
compatible               prep
#address-cells           00000001

/flash@fff80000
/flash@fff00000
/os
/Planar-ID
/led@800008c0
/cpus
/pci
/mmu
/memory@0
/aliases
/options
/openprom
/chosen
/packages
/os/aix
/cpus/PowerPC,604e@0
/cpus/PowerPC,604e@0/l2-cache@0,0
/pci/ethernet@4
/pci/scsi@2
/pci/display@8
/pci/isa@1
/pci/scsi@2/tape
/pci/scsi@2/disk
/pci/isa@1/sound@i830
/pci/isa@1/abort-sw
/pci/isa@1/8042@i60
/pci/isa@1/floppy@i3f0
/pci/isa@1/parallel@i3bc
/pci/isa@1/serial@i2f8
/pci/isa@1/serial@i3f8
/pci/isa@1/nvram@i74
/pci/isa@1/rtc@i74
/pci/isa@1/timer@i40
/pci/isa@1/interrupt-controller@i20
/pci/isa@1/dma-controller@i00
/pci/isa@1/8042@i60/mouse
/pci/isa@1/8042@i60/keyboard
/openprom/client-services
/packages/windows
/packages/stringio
/packages/disk-label
/packages/iso9660-file-system
/packages/fat-file-system
/packages/obp-tftp
/packages/deblocker
/packages/terminal-emulator
/packages/windows/wbox
/packages/windows/wmenu
/packages/windows/wstdin
/packages/windows/wmouse
/packages/windows/graphical
/packages/windows/data
/packages/windows/data/sviewport
/packages/windows/data/gviewport
--=20



tsch=FC=DF,
         Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/