Subject: Problems w/ Mac ROM Glue code
To: None <current-users@NetBSD.ORG>
From: Paul Goyette <goyettep@ccnet.com>
List: current-users
Date: 01/28/1995 13:05:23
I finally got a netbsd-current to compile after supping from this morning's
source tree.

But, when I boot, it hangs during the adb initialization code.  I turned on
all of the debug stuff I could find in the macrom and adbsys routines
(MRG_DEBUG, MRG_TEST, MRG_TRACE, MRG_FOLLOW, and MRG_SHOWTRAPS), and it got
as far as calling ADBReInit.  The following messages were displayed on the
console:

adb: calling ADBReInit
mrg: a super wd 0xa07b OS # 7b addr 0x4080a752

Then, it just sat there.  I could swear that it "twiddled" the boot disk
about once a minute, but I can't prove it.

So, I then pressed the Interrupt button (good ole NMI), and got the following:

PC is 0x85ba8
pid = 0, pc = 0x00085ba8, ps = 0x00002000, sfc = 0x00000001, dfc = 0x00000001

Registers:
            0        1        2        3        4        5        6       7
d-regs: 00000000 00000000 00000000 0000a07b 40807a52 00000001 0000000c 0000000c
a-regs: 4080a5aa 50f00000 00015650 000a6f0c ffffff68 0179cb08 fffffe88 ffffcffc

Kernel stack (fffffde8):
fffffde8:000016f8 00000000 00000000 00000000 0000a07b 40807a52 00000001 0000000c
fffffe08:0000000c 4080a5aa 50f00000 00015650 000a6f0c ffffff68 0179cb08 fffffe88
fffffe28:ffffcffc 00000000 20000008 5ba8007c a0004080 a8e62024 4080a8ec 4080a766
fffffe48:00000000 0000a07b 00000000 0000a07b 4080a752 0007688a 4080a752 00015650
fffffe68:fffffe94 000850cc 00000124 00000001 00000002 00000000 00015650 00067ab8
fffffe88:ffffff1c 00085a88 fffffe94 00075802 00000005 00000124 00000001 00000002
ffffff08:00000000 0000000c 0000000c fd078402 ffffffff 00015650 00067ab8 ffffff68
(rest of stack dump omitted due to writer's cramp!)

My question:  Does anyone know why this happens?  Is anyone working on it?

------------------------------------------------------------------
| Paul Goyette            | PGP Public key available on request  |
| Paul@pgoyette.ccnet.com | Fingerprint: 9D 3C 90 0E DA 46 10 59 |
| goyettep@ccnet.com      |              15 F2 87 D6 AA BD 90 D5 |
------------------------------------------------------------------