Subject: ASUS PCI-SC200 SCSI card
To: None <port-alpha@NetBSD.org>
From: Dieter <netbsd@sopwith.solgatos.com>
List: port-alpha
Date: 08/29/2007 09:21:49
I'm trying to get an ASUS PCI-SC200 SCSI card to work
on a 164lx Alpha running NetBSD 3.0.1.

SRM says:

bus 0, slot 6 -- pka -- NCR 53C810

waiting for pka0.7.0.6.0 to poll...	(6 times)

NetBSD says:

siop0 at pci0 dev 6 function 0: Symbios Logic 53c810a (fast scsi)
siop0: interrupting at eb164 irq 0
scsibus1 at siop0: 8 targets, 8 luns per target
...
scsibus1: waiting 2 seconds for devices to settle...
...
siop0: alloc newcdb at PHY addr 0x40232000
...
probe(siop0:0:0:0): command timeout, CDB: 0x12 00 00 00 24 00

And hangs forever.

If I unplug the SCSI cable from the external box with the disk
(leaving the bus unterminated on that end) and press reset, I get:

siop0: scsi bus reset
probe(siop0:0:0:0): command with tag id 0 reset
probe(siop0:0:1:0): command timeout, CDB: 0x12 00 00 00 24 00
siop0: scsi bus reset
probe(siop0:0:1:0): command with tag id 0 reset
probe(siop0:0:2:0): command timeout, CDB: 0x12 00 00 00 24 00
siop0: scsi bus reset
probe(siop0:0:2:0): command with tag id 0 reset
probe(siop0:0:3:0): command timeout, CDB: 0x12 00 00 00 24 00
siop0: scsi bus reset
probe(siop0:0:3:0): command with tag id 0 reset
probe(siop0:0:4:0): command timeout, CDB: 0x12 00 00 00 24 00
siop0: scsi bus reset
probe(siop0:0:4:0): command with tag id 0 reset
probe(siop0:0:5:0): command timeout, CDB: 0x12 00 00 00 24 00
siop0: scsi bus reset
probe(siop0:0:5:0): command with tag id 0 reset
probe(siop0:0:6:0): command timeout, CDB: 0x12 00 00 00 24 00
siop0: scsi bus reset
probe(siop0:0:6:0): command with tag id 0 reset

And NetBSD eventually boots.

If I then plug the disk back in, and probe the SCSI bus with scsictl(8)
looking for the drive, it hangs and the process cannot be killed.  Device
driver waiting for an interrupt that never comes?

There are 2 jumpers for setting the "PCI interrupt" to INTA, B, C or D.
It is currently jumpered for the default INTA.  Do I need to change this?

There is a jumper for bus termination.  It is open, the doc says open
terminates the SCSI bus at the card, which is correct for my setup.

There is also a "jumper" which appears to select AD17 or IDSEL.
It is soldered to IDSEL.

The purpose of this exercise is to build a boot disk for a multia.
I plugged the disk into the multia and SRM sees it, so the disk appears
to be alive.

Please CC me on any replies.  Thanks.