1 Nov 2002 19:00
Motorola PowerStack II / Estrella 300 and options FIRMWORKSBUGS
Jochen Kunz <jkunz <at> unixag-kl.fh-kl.de>
2002-11-01 18:00:59 GMT
2002-11-01 18:00:59 GMT
Hi. 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). 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 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"... 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?(Continue reading)
.
RSS Feed