Subject: 630 doesn't like recent kernels
To: port-mac68k <port-mac68k@NetBSD.ORG>
From: Rolf Braun <rbraun@geocities.com>
List: port-mac68k
Date: 04/13/1997 20:13:32
OK, the LC040 bug is still bothering me but I tried booting some recent
kernels anyway to see if anything else got fixed/broken... this is on a
Performa 637CD, 20 MB RAM, 68LC040, AppleDesign extended keyboard (the
standard one), Apple Desktop Bus Mouse II (again, the standard one), no
cards of any sort.

GENERIC-26: works fine

GENERIC-27: this doesn't boot.

Output from booting GENERIC-27:

(Note: I wrote this stuff down by hand. Don't sue me for typos. =)

[ preserving 308578 bytes of netbsd symbol table ]
Bootstrapping NetBSD/mac68k.
Faked range to byte 0x1400000.
Bootstrapping the pmap system.
Pmap bootstrapped.
Moving ROMBase from 0x40800000 to 0x9b4000.
Video address 0xf9001000 -> 0xbb4000.
Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California. All rights reserved.

NetBSD 1.2D (GENERIC) #27: Tue Apr 8 01:27:04 CDT 1997
     scottr@beech:/a/src/sys/arch/mac68k/compile/GENERIC
Apple Macintosh Quadra 630 (68040)
real mem = 20971520
avail mem = 17068032
using 204 buffers containing 835584 bytes of memory
mrg: 'Quadra630 ROMs' ROM glue, tracing off, debug off, silent traps
mrg: I/O map kludge for ROMs that use hardware addresses directly.
adb: bus subsystem
Got following HwCfgFlags: 0xec80, 0x4100183f, 0x4b807926, 0x  a5bef8
mrg: setup_egret:
mrg: setup_egret: done.
adb: extended keyboard at 2
adb: 300 dpi mouse at 3
mainbus0 (root)
obio0 at mainbus0
adb0 at obio0 (ADB event device)
asc0 at obio0: Apple Sound Chip

<OK, looks good so far... here comes the bad stuff>

trap type 0, code = 105, v= 7fe01c
kernel: Bus error trap
pid = 0, pc = 0x000be062, ps = 0x00002004, sfc = 0x00000001, dfc = 0x00000001

Registers:
dreg: 00000000 000013ff 00000001 06bbc940 00167e22 00000000 000f60e0 06bbc980
areg: 007fe000 0010e824 00167d5c 00167d5c 06bbc940 000f60e0 00167d3c ffffcffc

Kernel stack (00167cac):

00167cac: 007fe01c 00000000 000013ff 00000001 06bbc940 00167e22 00000000
000f60e0
00167ccc: <sorry, I messed up writing this line down>
00167cec: ffffcffc 00000000 2004000b e0627008 00167d08 01050005 00050005
007fe01c
00167d0c: 00167e84 f9800000 007fe01c ffffffff 007fe01c ffffffff 00001060
00000000

panic: Bus error
Stopped at _Debugger+0x6: unlk a6
db>

Note that the keyboard works at this point. I can type stuff in the debugger.

GENERIC-28: this no worko either. repeating "adb: cleanup: nothing
returned" right after "adb: using Cuda hardware support"... freezes in a
few seconds after that. Command-Reset invokes debugger, but I can't type
anything.

- Rolf Braun ... rbraun@geocities.com ... TidalWave on IRC
- Sassy Software: cool stuff for Macintosh & Apple II
- http://www.geocities.com/SiliconValley/Heights/3110/