Subject: new si and reselects
To: None <port-sun3@NetBSD.ORG>
From: Jason Thorpe <thorpej@SJ.Xenotropic.COM>
List: port-sun3
Date: 11/19/1995 21:33:35
Just thought I'd provide a heads up on a trange thing that happened this 
evening ...

I decided to put a 312MB Micropolis ESDI onto the other LUN of my 
MD/21.  I partitioned it up, and decided to move /usr over there...when 
doing the tar, it wedged ... disk wait.  I recompiled the kernel with 
reselects disabled and was working fine.  Now, I jut got a:

ncr5380_command: short transfer: wanted 10 got 6
si(0:0:0)-28,0,0,3,b1,0,0,0,10,0-

Twice.  On the same file.  Once copying it to the other disk (which is 
si(0:0:1)) and again comparing them.  This results in a "soft error" 
message later, which I did see from time to time with the old driver, so 
I'm guessing it's probably a bad block...happily enough, the file (gdb) 
compares fine.  Dunno ... kinda weird, though.  Worth noting, installing 
gdb with the new driver before the last round of changes was fine ... 
I'll see about the latest one, which is what I'm using now.

In any case, I thought I post this in case anyone had any ideas...here's 
what dmesg(8) says, adjusted to fit 80 columns:

NetBSD 1.0A (OVATION) #36: Sun Nov 19 20:20:43 PST 1995
 thorpej@ovation:/tmp_mnt/basalt/work/netbsd/src/sys/arch/sun3/compile/OVATION
Model: Sun 3/60
real mem = 16760832
avail mem = 14770176
using 115 buffers containing 942080 bytes of memory
mainbus0 (root)
obctl0 at mainbus0
idprom0 at obctl0 hostid 0x17003dc0
fpu0 at mainbus0 (mc68881)
obmem0 at mainbus0
bwtwo0 at obmem0 addr 0xff000000 (1152x900)
obio0 at mainbus0
zs0 at obio0 addr 0x20000 level 6 softpri 3
zs1 at obio0 addr 0x0 level 6 softpri 3
eeprom0 at obio0 addr 0x40000
clock0 at obio0 addr 0x60000 level 5
le0 at obio0 addr 0x120000 level 3 hwaddr 08:00:20:00:c6:4e
si0 at obio0 addr 0x140000 level 2
scsibus0 at si0
si0 targ 0 lun 0: <EMULEX, MD21/S2     ESDI, A00> SCSI0 0/direct fixed
sd0 at scsibus0: 135MB, 823 cyl, 10 head, 33 sec, 512 bytes/sec
si0 targ 0 lun 1: <EMULEX, MD21/S2     ESDI, A00> SCSI0 0/direct fixed
sd1 at scsibus0: 312MB, 1224 cyl, 15 head, 34 sec, 512 bytes/sec
root on sd0a
swap on sd0b
dump on sd0b
ncr5380_command: short transfer: wanted 10 got 6.
si(0:0:0)-28,0,0,3,b1,0,0,0,10,0-
sd0(si0:0:0): soft error (corrected), info = 241932 (decimal),
     data = 00 00 00 00 17 00 00 00 00 00
ncr5380_command: short transfer: wanted 10 got 6.
si(0:0:0)-28,0,0,3,b1,0,0,0,10,0-
sd0(si0:0:0): soft error (corrected), info = 241932 (decimal),
     data = 00 00 00 00 17 00 00 00 00 00


------------------------------------------------------------------------------
Jason R. Thorpe                                         thorpej@Xenotropic.COM

           Just me and my collection of obsolete computer gear(s).