Bug 17779

Summary: ADIC 1200d (DAT changer) and Symbios SCSI controller: does not work as expected using chio
Product: Base System Reporter: tdwyer <tdwyer>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description tdwyer 2000-04-04 02:30:00 UTC
Machine:
ASUS P2B motherboard
Celeron 366
ADIC 1200D DAT Autochanger with WangDAT 3400DX DDS2 drive
2 X IDE drives
4 X SCSI drives
1 X SCSI CD ncr0: <ncr 53c875 fast20 wide scsi> rev 0x26 int a irq 11 on pci0.12.0

sa0 at ncr0 bus 0 target 3 lun 0
sa0: <WangDAT Model 3400DX 1.4a> Removable Sequential Access SCSI-2 device
sa0: 5.000MB/s transfers (5.000MHz, offset 16)

ch0 at ncr0 bus 0 target 6 lun 0
ch0: <ADIC DAT AutoChanger 0458> Removable Changer SCSI-2 device
ch0: 3.300MB/s transfers
ch0: 12 slots, 1 drive, 1 picker, 1 portal
 
Status after chio ielem:
( Tape slots all full, Drive 0 empty )

charon# chio params
/dev/ch0: 12 slots, 1 drive, 1 picker, 1 portal
/dev/ch0: current picker: 0
charon# chio status
picker 0: <INEAB,EXENAB,ACCESS,FULL>
slot 0: <INEAB,EXENAB,ACCESS,FULL>
slot 0: <INEAB,EXENAB,ACCESS,FULL>
slot 0: <INEAB,EXENAB,ACCESS,FULL>
slot 0: <INEAB,EXENAB,ACCESS,FULL>
slot 0: <INEAB,EXENAB,ACCESS,FULL>
slot 0: <INEAB,EXENAB,ACCESS,FULL>
slot 0: <INEAB,EXENAB,ACCESS,FULL>
slot 0: <INEAB,EXENAB,ACCESS,FULL>
slot 0: <INEAB,EXENAB,ACCESS,FULL>
slot 0: <INEAB,EXENAB,ACCESS,FULL>
slot 0: <INEAB,EXENAB,ACCESS,FULL>
slot 0: <INEAB,EXENAB,ACCESS,FULL>
portal 0: <INEAB,EXENAB,ACCESS,FULL>
drive 0: <INEAB,EXENAB,ACCESS,FULL> 

Tape slots are all shown as slot 0, status does not change after any
action.
Doing a chio status on a specific slot always produces the same result:

slot 0: <INEAB,EXENAB,ACCESS,FULL>

Doing a chio status on a the tape drive always produces the same result:

drive 0: <INEAB,EXENAB,ACCESS,FULL> 

From what I've read, this seems to be a problem with the Symbios
SCSI driver, that's why I've reported it as a kernel bug.

I don't have an adaptec controller to test the changer with so
I can't confirm that it's only a Symbios problem.

I'm prepared to do any testing required by someone providing patches.

Fix: 

Unfortunately I have no fix
How-To-Repeat: Behaviour is the same every time
Comment 1 Matt Jacob freebsd_committer freebsd_triage 2001-01-16 07:51:31 UTC
State Changed
From-To: open->feedback

Is this still a problem?
Comment 2 Kris Kennaway freebsd_committer freebsd_triage 2001-05-24 20:44:43 UTC
State Changed
From-To: feedback->closed

Feedback timeout