Subject: PB 145 still has problems.
To: NetBSD Mailing List <port-mac68k@NetBSD.ORG>
From: The Great Mr. Kurtz [David A. Gatwood] <davagatw@Mars.utm.edU>
List: port-mac68k
Date: 01/21/1997 23:12:13
Current status:

ADB: working
Intvid: working
SCSI: not working

Of course NCRSCSI yields bad blocks (haven't tested a -current with
NCRSCSI because I don't even need to...).  The sbc kernels yield:
(at the end of an fsck on the root partition)

sbc0: can not transfer more data
sbc0: aborting, but phase=DATA_OUT (reset)
sbc0: reset SCSI bus for TID=0 LUN=0
panic: ncr5380_scsi_cmd: polled request, abort failed
Stopped at      _Debugger+0x6:  unlk    a6
db>

Any ideas?  (This occurred immediately after telling it to salvage the
summary information.)  Are there any jumper settings I should change
on the drive (it's a quantum 540 meg internal)?

Thankfully, I can always mkfs from scratch any time, since it's no longer
a regularly-used system....

Here's a trace (including a failed cont attempt that tried to sync disks,
even tried to dump and died instantly)

_Debugger(2429c,e054,88fb88,1012,88fba0) + 6
_panic(e054,8,f27c6,8,200) + 34
_ncr5380_scsi_cmd(d4a14,d4a14,66) + 80
_sddump(401,7008,13c000,1000,13c000,0,1000,1) +15a
_dumpsys(da95c) +14a
_boot(100,0,2429c,e054,88fc74) + 88
_panic(e054,0,7,0,3) + 3e
_ncr5380_scsi_cmd(6c00f80) + 80
_scsi_done(6c00f80,df6c,6bfe8b6,6bfe800,6bfe8b6) + 6a
_ncr_5380_done(6bfe800) + 152
_ncr5380_actions(?)
_ncr5380_machine(6bfe800) + 122
_ncr5380_sched(6bfe800) + 240
_ncr5380_scsi_cmd(6c00f80) + 110
_scsi_execute_xs(6c00f80) +28
_scsi_scsi_cmd(6bfbac0,88fdac,6,7857000,800,4,2710,77f830,1001) + a6
_sdstart(6c01e00,6c01ea6,77f830) + 1ca
_sdstrategy(77f830,77f830,800,65000,800) + b4
_physio(a1d20,0,d00,0,a206e) + 188
_sdwrite(d00,88ff28,1) + 18
_spec_write(88fed8,88feec,3bbe8,88fed8,f1) + a2
_ufsspec_write(88fed8) +28
_vn_write(6c0f4c0,88ff28,6c00d00) + ca
_sys_write(6c0cd00,88ff88,88ff80) + a4
_syscall(4) + 13a
_trap0() +e

In the future, I'll avoid sending traces to the entire list, but I'm not
sure who's working on what in the scsi area anymore....

Ideas?

 /---------------------------------------------------------------------\
|David A. Gatwood             And Richard Cory, one calm summer night,  |
|davagatw@mars.utm.edu      Went home and put a bullet through his head.|
|dgatwood@globegate.utm.edu          --Edwin Arlington Robinson         |
|-----------------------------------------------------------------------|
|http://globegate.utm.edu                  http://www.utm.edu/~davagatw |
|http://mars.utm.edu/~davagatw             http://www.nyx.net/~dgatwood |
 \---------------------------------------------------------------------/