Subject: Re: Problems with SCSI-2 on Sparc ELC under 1.1-alpha?
To: Paul Kranenburg <pk@cs.few.eur.nl>
From: Peter Svensson <petersv@df.lth.se>
List: port-sparc
Date: 11/15/1995 13:11:28
On Tue, 14 Nov 1995, Paul Kranenburg wrote:

> > I'm having trouble getting a SCSI-2 drive to work on an ELC under 
> > 1.1-alpha. The drive works just fine when connected to a SparcStation1 
> > also running 1.1-alpha. The disk is a Quantum TRB850S.
> > 
> > Whenever the drive is written to I get all sorts of errors, mostly "FIFO 
> > empty" from the dma code, but occationally "Unknown command" from the esp 
> > driver.
> 
> Can you send me the probe messages from both machines?
> There's at least one other instance of this happening. I wonder whether
> the code to determine the chip revision gets it right in all cases...

The messages from the ELC with the disks attached were lost, but they 
were basically the same, the only difference was that there were disks 
found. The log included is from an older kernel on the ELC. My problems 
were with a newer GENERIC. Unfortunatly, the disks ar locked away right 
now, so I can't send the output from the newer. The messages for the dma 
and esp chips were the same, we checked that.

--------------- output from dmesg on the SS1
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.

NetBSD 1.1_ALPHA (GENERIC) #5: Fri Nov 10 15:20:49 MET 1995
    pk@neon:/usr/src1/sys/arch/sparc/compile/GENERIC
real mem = 16723968
avail mem = 14299136
using 204 buffers containing 835584 bytes of memory
bootpath: /sbus0/esp0/sd@0,0
mainbus0 (root)
cpu0 at mainbus0: Sun 4/60 (MB86900/1A or L64801 @ 20 MHz, WTL3170/2 FPU)
cpu0: 65536 byte write-through, 16 bytes/line, sw flush cache enabled
memreg0 at mainbus0 ioaddr 0xf4000000
clock0 at mainbus0 ioaddr 0xf2000000: mk48t02 (eeprom)
timer0 at mainbus0 ioaddr 0xf3000000
auxreg0 at mainbus0 ioaddr 0xf7400000
zs0 at mainbus0 ioaddr 0xf1000000 pri 12, softpri 6
zs1 at mainbus0 ioaddr 0xf0000000 pri 12, softpri 6
fdc0 at mainbus0 ioaddr 0xf7200000 pri 11, softpri 4: chip 82072
audio0 at mainbus0 ioaddr 0xf7201000 pri 13, softpri 4
sbus0 at mainbus0 ioaddr 0xf8000000: clock = 25 MHz
dma0 at sbus0 slot 0 offset 0x400000: rev 1
esp0 at sbus0 slot 0 offset 0x800000 pri 3: ESP100 25Mhz, target 7
scsibus0 at esp0
esp0 targ 0 lun 0: <QUANTUM, ELS42S, 3.06> SCSI2 0/direct fixed
sd0 at scsibus0: 40MB, 1536 cyl, 1 head, 53 sec, 512 bytes/sec
esp0 targ 3 lun 0: <QUANTUM, TRB850S, 0404> SCSI2 0/direct fixed
sd1 at scsibus0: 810MB, 3653 cyl, 4 head, 113 sec, 512 bytes/sec
esp0 targ 4 lun 0: <QUANTUM, TRB850S, 0404> SCSI2 0/direct fixed
sd2 at scsibus0: 810MB, 3653 cyl, 4 head, 113 sec, 512 bytes/sec
le0 at sbus0 slot 0 offset 0xc00000 pri 5: hardware address 08:00:20:08:5d:3d
bwtwo0 at sbus0 slot 3 offset 0x0: SUNW,501-1419, 1152 x 900 (console)
root on sd0a

--------------- output from dmesg on the ELC
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.

NetBSD 1.1_ALPHA (PILUM.NFS) #2: Tue Oct 24 11:31:50 MET 1995
    petersv@arthur.df.lth.se:/usr/src/sys/arch/sparc/compile/PILUM.NFS
real mem = 16510976
avail mem = 14110720
using 201 buffers containing 823296 bytes of memory
bootpath: /sbus@1,f8000000/le@0,c00000
mainbus0 (root)
cpu0 at mainbus0: SUNW,Sun 4/25 (W8601/8701 or MB86903 @ 33 MHz, on-chip FPU)
cpu0: cache chip bug; trap page uncached
cpu0: 65536 byte write-through, 32 bytes/line, hw flush cache enabled
memreg0 at mainbus0 ioaddr 0xf4000000
clock0 at mainbus0 ioaddr 0xf2000000: mk48t02 (eeprom)
timer0 at mainbus0 ioaddr 0xf3000000
auxreg0 at mainbus0 ioaddr 0xf7400003
zs0 at mainbus0 ioaddr 0xf1000000 pri 12, softpri 6
zs1 at mainbus0 ioaddr 0xf0000000 pri 12, softpri 6
audio0 at mainbus0 ioaddr 0xf7201000 pri 13, softpri 4
sbus0 at mainbus0 ioaddr 0xf8000000: clock = 20 MHz
dma0 at sbus0 slot 0 offset 0x400000: rev 1+
esp0 at sbus0 slot 0 offset 0x800000 pri 3: ESP100A 25Mhz, target 7
scsibus0 at esp0
le0 at sbus0 slot 0 offset 0xc00000 pri 5: hardware address 08:00:20:05:00:fc
bwtwo0 at sbus0 slot 3 offset 0x0: SUNW,501-1561, 1152 x 900 (console)
fdc0 at mainbus0 ioaddr 0xf7200000 CFGLOCK: unexpected response pri 11, softpri 4: chip 82077
nfs_boot: using network interface 'le0'
nfs_boot: client_addr=0xc22f3e36
nfs_boot: server_addr=0xc22f3e14
nfs_boot: hostname=lancelot.df.lth.se
root on pilum.df.lth.se:/export/root/lancelot.df.lth.se
WARNING: clock gained 10 days -- CHECK AND RESET THE DATE!
swap on pilum.df.lth.se:/export/swap/lancelot.df.lth.se
zs1b: fifo overrun