Subject: Re: PC164 & ISP1020 hassles with narrow disks.
To: None <port-alpha@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: port-alpha
Date: 04/30/2000 23:58:57
Simon Burge wrote:

> Folks,
> 
> I recently picked up an ISP1020 to use on my home PC164.  It works fine
> with a borrowed Seagate wide disk, but fails to find any of my old
> RZ28M narrow disks (from the SRM with "show dev").  I've tried just a
> single RZ28M on a 50 pin cable to the ISP and also with the Seagate
> attacked with a 68 pin cable.  I'm pretty sure that termination is ok -
> once I didn't have the narrow cable terminated and I got a "waiting for
> pka0.7.0.7 to poll..." error from "show dev" but didn't get that message
> when the terminator was put back.  I also don't have SCSI ID conflicts.
> I _haven't_ tried to boot NetBSD off the wide disk to see if the ISP
> driver in NetBSD can find the disks that the SRM can't find (I'm typing
> this on said alpha, so I can't test that right this second ;).
> 
> Any ideas?  Oh, I've got a less than one day old -current, but the
> NetBSD version doesn't actually matter for the info above...

Further to this, if I put the narrow disks on the ISP and boot NetBSD
-current, the disks probe but can't be accessed.  Here's a dmesg, with
all the isp0 messages after the single user boot comming from an "fsck
-p", which reported failures on all fscks.

[ preserving 250264 bytes of netbsd ELF symbol table ]
Copyright (c) 1996, 1997, 1998, 1999, 2000
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.4X (THOREAU) #1: Fri Apr 28 21:36:11 EST 2000
    simonb@thoreau.thistledown.com.au:/data/02/netbsd/src/sys/arch/alpha/compile/THOREAU
Digital AlphaPC 164 500 MHz
8192 byte page size, 1 processor.
total memory = 128 MB
(2472 KB reserved for PROM, 125 MB used by NetBSD)
avail memory = 106 MB
using 1600 buffers containing 12800 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164A-2 (pass 2)
cpu0: Architecture extensions: 1<BWX>
cpu0: VAX FP support, IEEE FP support, Primary Eligible
cia0 at mainbus0: DECchip 2117x Core Logic Chipset (ALCOR/ALCOR2), pass 3
cia0: extended capabilities: 21<DWEN,BWEN>
cia0: using BWX for PCI config access
pci0 at cia0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
epic0 at pci0 dev 5 function 0: SMC 83c170 Fast Ethernet, rev. 6
epic0: interrupting at eb164 irq 2
epic0: SMC9432TX, Ethernet address 00:e0:29:07:9a:90
qsphy0 at epic0 phy 3: QS6612 10/100 media interface, rev. 1
qsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isp0 at pci0 dev 7 function 0
Qlogic ISP Driver, NetBSD (pci) Platform Version 0.997 Core Version 1.12
isp0: interrupting at eb164 irq 1
isp0: Board Revision 1020A, loaded F/W Revision 4.65.0
isp0: Last F/W revision was 5.57.1
isp0: 243 max I/O commands supported
isp0: driver initiated bus reset of bus 0
scsibus0 at isp0: 16 targets, 8 luns per target
sio0 at pci0 dev 8 function 0: Intel 82378ZB System I/O (SIO) (rev. 0x43)
ncr0 at pci0 dev 9 function 0: ncr 53c810a fast10 scsi
ncr0: interrupting at eb164 irq 3
ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma fifo
ncr0: single-ended, open drain IRQ driver
ncr0: restart (scsi reset).
scsibus1 at ncr0: 8 targets, 8 luns per target
pciide0 at pci0 dev 11 function 0: CMD Technology PCI0646
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
pciide0: secondary channel wired to compatibility mode
pciide0: disabling secondary channel (no drives)
isa0 at sio0
aha0 at isa0 port 0x330-0x333 irq 11 drq 5
aha0: model AHA-1540A/1542A/1542B, firmware 0.5
aha0: sync, parity
scsibus2 at aha0: 8 targets, 8 luns per target
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
wsdisplay0 at vga0: console (80x25, vt100 emulation), using wskbd0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
scsibus0: waiting 2 seconds for devices to settle...
isp0: Bus 0 Target 0 Async Mode
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST34555W, 0930> SCSI2 0/direct fixed
sd0: 4340 MB, 6300 cyl, 8 head, 176 sec, 512 bytes/sect x 8888924 sectors
isp0: Bus 0 Target 1 Async Mode
sd1 at scsibus0 target 1 lun 0: <DEC, RZ28     (C) DEC, T436> SCSI2 0/direct fixed
sd1: 2007 MB, 3045 cyl, 16 head, 84 sec, 512 bytes/sect x 4110480 sectors
isp0: Bus 0 Target 2 Async Mode
sd2 at scsibus0 target 2 lun 0: <DEC, RZ28     (C) DEC, T436> SCSI2 0/direct fixed
sd2: 2007 MB, 3045 cyl, 16 head, 84 sec, 512 bytes/sect x 4110480 sectors
isp0: Bus 0 Target 3 Async Mode
sd3 at scsibus0 target 3 lun 0: <DEC, RZ28     (C) DEC, T436> SCSI2 0/direct fixed
sd3: 2007 MB, 3045 cyl, 16 head, 84 sec, 512 bytes/sect x 4110480 sectors
isp0: Bus 0 Target 4 Async Mode
sd4 at scsibus0 target 4 lun 0: <DEC, RZ28     (C) DEC, T436> SCSI2 0/direct fixed
sd4: 2007 MB, 3045 cyl, 16 head, 84 sec, 512 bytes/sect x 4110480 sectors
scsibus1: waiting 2 seconds for devices to settle...
scsibus2: waiting 2 seconds for devices to settle...
cd0 at scsibus2 target 4 lun 0: <DEC, RRD42   (C) DEC, 4.3d> SCSI2 5/cdrom removable
st0 at scsibus2 target 5 lun 0: <DEC, TLZ06     (C)DEC, 491A> SCSI2 1/sequential removable
st0: drive empty
st1 at scsibus2 target 6 lun 0: <DEC, TKZ09   90097000, 045H> SCSI2 1/sequential removable
st1: density code 0x0, 1024-byte blocks, write-enabled
root on sd0a dumps on sd0b
isp0: channel 0 target 0 can do SYNC xfers
isp0: channel 0 target 0 can do WIDE xfers
isp0: channel 0 target 0 can do TAGGED xfers
isp0: Bus 0 Target 0 at 10MHz Max Offset 12, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 0 at 10MHz Max Offset 12, 16 bit wide, Tagged Queueing Enabled
mountroot: trying nfs...
mountroot: trying msdos...
isp0: Bus 0 Target 0 at 10MHz Max Offset 12, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 0 at 10MHz Max Offset 12, 16 bit wide, Tagged Queueing Enabled
mountroot: trying cd9660...
isp0: Bus 0 Target 0 at 10MHz Max Offset 12, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 0 at 10MHz Max Offset 12, 16 bit wide, Tagged Queueing Enabled
mountroot: trying ffs...
isp0: Bus 0 Target 0 at 10MHz Max Offset 12, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 0 at 10MHz Max Offset 12, 16 bit wide, Tagged Queueing Enabled
readclock: 0/4/30/13/33/13=>957101593 (957101405)
root file system type: ffs
init: copying out flags `-s' 3
init: copying out path `/sbin/init' 11
isp0: channel 0 target 2 can do SYNC xfers
isp0: channel 0 target 2 can do TAGGED xfers
isp0: Bus 0 Target 2 at 10MHz Max Offset 12, Tagged Queueing Enabled
isp0: channel 0 target 3 can do SYNC xfers
isp0: channel 0 target 3 can do TAGGED xfers
isp0: channel 0 target 4 can do SYNC xfers
isp0: channel 0 target 4 can do TAGGED xfers
isp0: Bus 0 Target 3 at 10MHz Max Offset 12, Tagged Queueing Enabled
isp0: bus reset destroyed command for 0.2.0
isp0: bus reset destroyed command for 0.0.0
isp0: Bus 0 Target 2 Async Mode
isp0: timeout initiated SCSI bus reset of bus 0
isp0: timeout initiated SCSI bus reset of bus 0
isp0: Bus 0 Target 4 at 10MHz Max Offset 12, Tagged Queueing Enabled
isp0: timeout initiated SCSI bus reset of bus 0
isp0: bus reset destroyed command for 0.3.0
isp0: bus reset destroyed command for 0.4.0
isp0: bus reset destroyed command for 0.2.0
isp0: bus reset destroyed command for 0.0.0
isp0: Bus 0 Target 0 at 7MHz Max Offset 12, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 2 at 10MHz Max Offset 12, Tagged Queueing Enabled
isp0: bus reset destroyed command for 0.3.0
isp0: Bus 0 Target 3 at 10MHz Max Offset 12, Tagged Queueing Enabled
isp0: timeout initiated SCSI bus reset of bus 0
isp0: bus reset destroyed command for 0.0.0
isp0: bus reset destroyed command for 0.2.0
isp0: bus reset destroyed command for 0.4.0
isp0: timeout initiated SCSI bus reset of bus 0
isp0: bus reset destroyed command for 0.4.0
isp0: bus reset destroyed command for 0.0.0
isp0: bus reset destroyed command for 0.2.0
isp0: bus reset destroyed command for 0.3.0
isp0: Bus 0 Target 4 at 10MHz Max Offset 12, Tagged Queueing Enabled
isp0: mbox cmd 15 failed with COMMAND_ERROR
isp0: isp_control MBOX_ABORT failure (code 4005)
isp0: isp_watch failed to abort command
isp0: Board Revision 1020A, loaded F/W Revision 4.65.0
isp0: Last F/W revision was 5.57.1
isp0: 243 max I/O commands supported
isp0: mbox cmd 15 failed with COMMAND_ERROR
isp0: isp_control MBOX_ABORT failure (code 4005)
isp0: isp_watch failed to abort command
isp0: Board Revision 1020A, loaded F/W Revision 4.65.0
isp0: Last F/W revision was 5.57.1
isp0: 243 max I/O commands supported
isp0: NULL xs in xflist (handle 0x76)
isp0: timeout initiated SCSI bus reset of bus 0
isp0: NULL xs in xflist (handle 0x77)
isp0: NULL xs in xflist (handle 0x78)
isp0: NULL xs in xflist (handle 0x79)
isp0: bus reset destroyed command for 0.0.0
isp0: bus reset destroyed command for 0.2.0
isp0: Bus 0 Target 0 Async Mode
isp0: Bus 0 Target 2 Async Mode
isp0: Bus 0 Target 4 Async Mode

Simon.