Subject: Re: New version of SLOTMAN
To: Paul Goyette <paul@whooppee.com>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: port-mac68k
Date: 02/11/1998 18:57:32
At 15:57 Uhr +0100 10.02.1998, Paul Goyette wrote:
>For those of you who have been patiently waiting for SLOTMAN to support
>your Mac model, have I got a deal for you:
>
>After many days (yeah, verily, it's been weeks) I've finally managed to
>complete a reverse-engineered port of the ROM-resident Slot Manager code
>and placed the result into the NetBSD kernel itself!  So, we no longer
>need to worry about finding hard-to-find ROM addresses, and we won't be
>bitten any more by some Macs' ROMs doing things differently than others.

This is a Quadra 700 / 20 MB RAM / 2BM VRAM for internal video / Macintosh
Monochrome Nubus Graphics Card 640x480/1Bit.

Here we go...


NetBSD/mac68k console
[ preserving 325594 bytes of netbsd symbol table ]
Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.3 (SLOTMAN) #200: Tue Feb 10 05:34:54 PST 1998
    paul@mac1.whooppee.com:/home/paul/src/sys/arch/mac68k/compile/SLOTMAN
        (current as of Tue Jan 6 07:37:52 1998)
Apple Macintosh Quadra 700  (68040)
cpu: delay factor 352
real mem = 20971520
avail mem = 16928768
using 204 buffers containing 835584 bytes of memory
mrg: 'Mac IIci/Q700 ROMs' ROM glue, tracing off, debug off, silent traps
mrg: I/O map kludge for ROMs that use hardware addresses directly.
adb: using serial console
mainbus0 (root)
obio0 at mainbus0
adb0 at obio0 (ADB event device)
asc0 at obio0: Apple Sound Chip
intvid0 at obio0: DAFB: Monitor sense 7.
intvid0: 1152 x 870, monochrome
grf0 at intvid0
ite at grf0 not configured
sn0 at obio0 address 08:00:07:8c:7d:2d
esp0 at obio0 (quick): address 0x893000: NCR53C96, 25MHz, SCSI ID 7
scsibus0 at esp0: 8 targets
sd0 at scsibus0 targ 0 lun 0: <QUANTUM, EMPIRE_1080S, 1220> SCSI2 0/direct
fixed
sd0: 1029MB, 2874 cyl, 8 head, 91 sec, 512 bytes/sect x 2109376 sectors
sd1 at scsibus0 targ 4 lun 0: <FUJITSU, M2512A, 1314> SCSI2 7/optical removable
sd1: drive offline
zsc0 at obio0 chip type 0
zsc0 channel 0: d_speed   9600 DCD clk 0 CTS clk 0
zstty0 at zsc0 channel 0 (console)
zsc0 channel 1: d_speed   9600 DCD clk 0 CTS clk 0
zstty1 at zsc0 channel 1
nubus0 at mainbus0 (slotmanager)
Kernel Illegal Instruction trap.
trap: type 0x2, code 0x0, v 0x0
kernel: Illegal instruction trap
pid = 0, pc = 06B85A90, ps = 2000, sfc = 1, dfc = 1
Registers:
             0        1        2        3        4        5        6        7
dreg: 06B85A5C 00189CFC 00000000 FDFFC040 0000000F 00000000 0010E6E8 CBB8C9BB
areg: 00189CFC 06B85A04 06B85A0C 00189D30 06B8C300 0010E6E8 00189CE0 FFFFCFFC

Kernel stack (00189BF8):
189BF8: 000F9862 00189C44 00000080 00000000 FDFFC040 0000000F 00000000 0010E6E8
189C18: CBB8C9BB 06B85A0C 00189D30 06B8C300 0010E6E8 06B85A04 00189CE0 0000309A
189C38: 00000002 00000000 00000000 06B85A5C 00189CFC 00000000 FDFFC040 0000000F
189C58: 00000000 0010E6E8 CBB8C9BB 00189CFC 06B85A04 06B85A0C 00189D30 06B8C300
189C78: 0010E6E8 00189CE0 FFFFCFFC 00000000 200006B8 5A900010 000FEA76 06B85A0C
189C98: 00189CFC 00000000 FDFFC040 0000000F 00000000 0010E6E8 06B8C9C0 06B85A08
189CB8: 06B85A04 06BBBE84 00189D30 06B8C300 0010E6E8 00189CE0 0000000D FDFFC040
189CD8: 06BBBE84 00189D30 00189D14 000FF732 00189D30 FF000000 00000000 00189D30
189CF8: 001084E6 0D2084E6 20B8C300 00000000 00000000 00189D68 000FECBA 00189D68
189D18: 000FECDC 00189D30 00000000 06B8C300 00189E2E 001084EA 06B85A04 FDFFC040
189D38: 0000006E 00000034 00000030 00189CFC 04040404 00189D68 0002C084 00000000
189D58: 00010000 00000000 000D2200 00012200 00189DE4 000CBF10 000CBEE4 00000000
189D78: 00000000 001084EA 000BCE70 0018F000 06B8E000 06B8F000 00000002 0002380E
189D98: 00002200 00189E2E 00000010 00189DE4 00023B4A 06B8EF00 0000000C 00023BC8
189DB8: 00000004 00000000 00189E2E 00000000 0010E6E8 06B8C9C0 00189E26 06B8C314
189DD8: 06B8C300 0010E6F4 00000005 00189E30 0002A2D6 06B8C9C0 06B8C300 00000000
panic: Illegal instruction
Stopped at      _Debugger+0x6:  unlk    a6
db> t
_Debugger(2,189c30,f9880,f956e,0) + 6
_panic(f956e,0,fdffc040,f,0) + 40
_trap(2,0,0) + 1e6
fault(?)
_mrg_SExec(189d30,ff000000,0,189d30,1084e6) + c
_mrg_SPrimaryInit(189d30,0,6b8c300,189e2e,1084ea) + 62
_mrg_InitSlotManager(cbee4,0,0,1084ea,bce70) + 8a
_nubus_attach(6b8c9c0,6b8c300,0,6b8c9c0,0) + 16
_config_attach(6b8c9c0,108226,0,0,6b8c9c0) + 28e
_mainbus_search(6b8c9c0,108226,0,1081e2,108226) + 2e
_mapply(189e88,108226) + 3c
_config_search(f655c,6b8c9c0,0,f652e,0) + 56
_mainbus_attach(0,6b8c9c0,f108d,f108d,f108d) + 1e
_config_attach(0,1081ee,f108d,0,124) + 28e
_config_rootfound(f108d,f108d) + 3a
_configure(f219a,cc,cc000,f2189,1025000) + 1e
_cpu_startup(109060,7560,6ac0,80040a5a,ffffcffc) + 4b8
_main() + 4a
_main() + 4a
db>

..ouch...

	hauke


--
"It's never straight up and down"     (DEVO)