From nobody@FreeBSD.org  Mon Apr  3 18:26:21 2000
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
	by hub.freebsd.org (Postfix) with ESMTP id 9303C37B768
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  3 Apr 2000 18:26:21 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id SAA57865;
	Mon, 3 Apr 2000 18:26:21 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Message-Id: <200004040126.SAA57865@freefall.freebsd.org>
Date: Mon, 3 Apr 2000 18:26:21 -0700 (PDT)
From: tdwyer@bigpond.com
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: ADIC 1200d (DAT changer) and Symbios SCSI controller: does not work as expected using chio
X-Send-Pr-Version: www-1.0

>Number:         17779
>Category:       kern
>Synopsis:       ADIC 1200d (DAT changer) and Symbios SCSI controller: does not work as expected using chio
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr  3 18:30:00 PDT 2000
>Closed-Date:    Thu May 24 12:44:43 PDT 2001
>Last-Modified:  Thu May 24 12:44:55 PDT 2001
>Originator:     Terry Dwyer
>Release:        FreeBSD-3.4-Stable  #0: Mon Apr  3 06:51:46 WST 2000
>Organization:
home
>Environment:
FreeBSD charon.ctnet.org.au 3.4-STABLE FreeBSD 3.4-STABLE #0: Mon Apr  3 06:51:46 WST 2000     tdwyer@charon.ctnet.org.au:/usr/src/sys/compile/CHARON  i386
>Description:
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.




>How-To-Repeat:
Behaviour is the same every time
>Fix:

Unfortunately I have no fix

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: mjacob 
State-Changed-When: Mon Jan 15 23:51:31 PST 2001 
State-Changed-Why:  
Is this still a problem? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=17779 
State-Changed-From-To: feedback->closed 
State-Changed-By: kris 
State-Changed-When: Thu May 24 12:44:43 PDT 2001 
State-Changed-Why:  
Feedback timeout 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=17779 
>Unformatted:
