Subject: latest current booting trouble on LC630
To: None <port-mac68k@NetBSD.ORG, scottr@og.org, briggs@puma.macbsd.com>
From: Ken and Masami Nakata <masami@fa2.so-net.or.jp>
List: port-mac68k
Date: 04/22/1997 13:37:55
----Next_Part(Tue_Apr_22_13:35:40_1997)--
Content-Type: Text/Plain; charset=us-ascii

Hi,

I've just built a latest current (with the change on if_sn_nubus.c I
suggested plus debugging changes to fpe) and tried to boot it on my
LC630.  It panics after finding the Apple sound chip.  There's a minor
difference between the boot messages with and without serial console
(it finds and attaches my keyboard and trackball when booted without
serial console), but I don't think it's crucial for the panic.

The boot log is attached to this message.  Can anyone make any sense
out of this?  I'm kinda running out of time as I'm going again to the
US on May 9.

Oops, I almost forgot: this kernel is made of source tree supped
yesterday (Apr 21).

Thanks,

Ken

----Next_Part(Tue_Apr_22_13:35:40_1997)--
Content-Type: Text/Plain; charset=us-ascii

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

NetBSD 1.2D (LC040) #0: Tue Apr 22 13:00:22 JST 1997
    kenn@gon:/usr/src/sys/arch/mac68k/compile/LC040
Apple Macintosh Quadra 630  (68040)
real mem = 12582912
avail mem = 9043968
using 179 buffers containing 733184 bytes of memory
mrg: kernel has no ROM vectors for this machine!
adb: using serial console
mainbus0 (root)
obio0 at mainbus0
adb0 at obio0 (ADB event device)
asc0 at obio0: Apple Sound Chip
trap type 0, code = 105, v= 8bf01c
kernel: Bus error trap
pid = 0, pc = 000B20E6, ps = 2004, sfc = 0001, dfc = 0001
Registers:
             0        1        2        3        4        5        6        7
dreg: 00000000 00000BFF 00000001 06BF6600 00151E22 00000000 000E3624 06BF6640
areg: 008BF000 000FB4A0 00151D5C 00151D5C 06BF6600 000E3624 00151D3C FFFFCFFC

Kernel stack (00151C64):
151C64: 000D4404 00151CB0 00000080 00000001 06BF6600 00151E22 00000000 000E3624
151C84: 06BF6640 00151D5C 00151D5C 06BF6600 000E3624 000D2F72 00151D3C 00002FAE
151CA4: 00000000 00000105 008BF01C 00000000 00000BFF 00000001 06BF6600 00151E22
151CC4: 00000000 000E3624 06BF6640 008BF000 000FB4A0 00151D5C 00151D5C 06BF6600
151CE4: 000E3624 00151D3C FFFFCFFC 00000000 2004000B 20E67008 00151D08 01050005
151D04: 00050005 008BF01C 00151C84 F9800000 008BF01C FFFFFFFF 008BF01C FFFFFFFF
151D24: 00001000 00000000 00151D38 06BF6600 000DE256 008BF000 00151D6C 000AC77E
151D44: 06BF6600 000DE256 00151D5C 00000000 00151DA4 000DE256 FFFFFFFF FFFFFFFF
151D64: FFFFFFFF 00000000 00151D88 00027086 06BF6600 000DE256 00000000 000DE1B2
151D84: 000DE256 00151DB8 000270FA 00151DA4 000DE256 000DE4AA 000DE4A6 06BF6600
151DA4: 000AC73C 06BF6600 00000000 00000000 00000000 00151DD8 000AC704 000AC73C
151DC4: 06BF6600 00000000 000AC6D8 00000000 00000000 00151E24 00027668 06BF6640
151DE4: 06BF6600 00000000 06BF6640 00000000 00151EF6 00000000 000E81FC 00000000
151E04: 000DE1E6 000DE1E6 06BF6640 000E81FC 0000000E 36300005 00151E34 00023000
151E24: 00151E44 000D1640 06BF6640 000DE1E6 00000000 00000000 06BF6640 00151E7C
151E44: 00151E60 00027086 06BF6640 000DE1E6 00000000 000DE1BE 000DE1E6 00151E90
panic: Bus error
Stopped at      _Debugger+0x6:  unlk    a6
db> t
_Debugger(0,151c9c,d4422,d4138,1) + 6
_panic(d4138,1,6bf6600,151e22,0) + 40
_trap(0,105,8bf01c) + 1e6
_addrerr(6bf6600,de256,151d5c) + e8
_obio_search(6bf6600,de256,0,de1b2,de256) + 40
_mapply(151da4,de256) + 3c
_config_search(ac73c,6bf6600,0,ac6d8,0) + 56
_obio_attach(6bf6640,6bf6600,0,6bf6640,0) + 24
_config_attach(6bf6640,de1e6,0,0,6bf6640) + 28c
_mainbus_search(6bf6640,de1e6,0,de1be,de1e6) + 2e
_mapply(151e7c,de1e6) + 3c
_config_search(d160c,6bf6640,0,d15de,0) + 56
_mainbus_attach(0,6bf6640,cca19,cca19,cca19) + 1e
_config_attach(0,de1ca,cca19,0,124) + 28c
_config_rootfound(cca19,cca19) + 3a
_configure(cdb52,b3,b3000,cdb41,8a0000) + 24
_cpu_startup(defe4,154147,c0a0,8001078a,f9001000) + 4a6
_main() + 4a
_main() + 4a
db> call boot
Symbol not found
db> 
----Next_Part(Tue_Apr_22_13:35:40_1997)----