From nobody@FreeBSD.org  Tue Oct 16 13:16:34 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 533CB37B408
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 16 Oct 2001 13:16:34 -0700 (PDT)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f9GKGVu59812;
	Tue, 16 Oct 2001 13:16:31 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200110162016.f9GKGVu59812@freefall.freebsd.org>
Date: Tue, 16 Oct 2001 13:16:31 -0700 (PDT)
From: Dylan Carlson <damage_z@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Sony AIT-1 drive not accessible
X-Send-Pr-Version: www-1.0

>Number:         31319
>Category:       kern
>Synopsis:       Sony AIT-1 drive not accessible
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 16 13:20:00 PDT 2001
>Closed-Date:    Tue Oct 16 15:41:47 PDT 2001
>Last-Modified:  Tue Oct 16 15:42:18 PDT 2001
>Originator:     Dylan Carlson
>Release:        4.4-RELEASE
>Organization:
>Environment:
FreeBSD galileo 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001     murray@builder.FreeBSD.org:/usr/src/sys/compile/GENERIC  i386
>Description:
Kernel detects Sony AIT tape changer correctly at boot-time, but 'mt' and 'tapetype' (amanda) do not work with it.  I have confirmed the device to work in Solaris and NT.

I think I'm just missing something obvious.

See various outputs below.

-----------------------------------
Oct  9 21:10:20 galileo /kernel: Waiting 15 seconds for SCSI devices to settle
Oct  9 21:10:20 galileo /kernel: sa0 at sym1 bus 0 target 12 lun 0
Oct  9 21:10:20 galileo /kernel: sa0: <SONY TSL-A300C L202> Removable Sequential Access SCSI-2 device
Oct  9 21:10:20 galileo /kernel: sa0: 20.000MB/s transfers (10.000MHz, offset 15, 16bit)
Oct  9 21:10:20 galileo /kernel: pass1 at sym1 bus 0 target 12 lun 1
Oct  9 21:10:20 galileo /kernel: pass1: <SONY TSL-A300C L202> Removable Changer SCSI-2 device
Oct  9 21:10:20 galileo /kernel: pass1: 20.000MB/s transfers (10.000MHz, offset 15, 16bit)
-----------------------------------
crw-rw----   4 root      operator   14,   0 Oct 16 14:58 sa0
crw-rw----   4 root      operator   14,   0 Oct 16 14:58 sa0.0
crw-rw----   2 root      operator   14,   4 Oct 16 14:58 sa0.1
crw-rw----   2 root      operator   14,   8 Oct 16 14:58 sa0.2
crw-rw----   2 root      operator   14,  12 Oct 16 14:58 sa0.3
crw-rw----   2 root      wheel      14, 0x20000000 Oct 16 14:58 sa0.ctl
-----------------------------------
galileo# mt -f /dev/sa0 status
mt: /dev/sa0: Device not configured
-----------------------------------
galileo# camcontrol devlist -v
scbus0 on sym0 bus 0:
<  >                               at scbus0 target -1 lun -1 ()
scbus1 on sym1 bus 0:
<SONY TSL-A300C L202>              at scbus1 target 12 lun 0 (pass0,sa0)
<SONY TSL-A300C L202>              at scbus1 target 12 lun 1 (pass1)
<  >                               at scbus1 target -1 lun -1 ()
scbus-1 on xpt0 bus 0:
<  >                               at scbus-1 target -1 lun -1 (xpt0)

>How-To-Repeat:
1. Install a basic full distribution of 4.4-RELEASE on a Compaq 1600R 6/500 system with the integrated SCSI2 adapter, with the Sony A300C AIT1 changer attached.

2. mt -f /dev/sa0 status
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: ken 
State-Changed-When: Tue Oct 16 13:27:09 PDT 2001 
State-Changed-Why:  
Looks like you're missing the ch device in your kernel config file. 

Put: 

device		ch 

in your config file, re-run config, recompile, reinstall and reboot.  You 
should then be able to access the changer with chio(1) to move tapes around. 

Let me know if that fixes it (CC your reply to 
FreeBSD-gnats-submit@FreeBSD.org) so this PR can be closed. 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=31319 

From: Dylan Carlson <damage_z@yahoo.com>
To: ken@FreeBSD.org
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: kern/31319: Sony AIT-1 drive not accessible
Date: Tue, 16 Oct 2001 15:33:57 -0700 (PDT)

 Fixed
 
 
 --- ken@FreeBSD.org wrote:
 > Synopsis: Sony AIT-1 drive not accessible
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: ken
 > State-Changed-When: Tue Oct 16 13:27:09 PDT 2001
 > State-Changed-Why: 
 > Looks like you're missing the ch device in your kernel config file.
 > 
 > Put:
 > 
 > device		ch
 > 
 > in your config file, re-run config, recompile, reinstall and reboot.  You
 > should then be able to access the changer with chio(1) to move tapes around.
 > 
 > Let me know if that fixes it (CC your reply to
 > FreeBSD-gnats-submit@FreeBSD.org) so this PR can be closed.
 > 
 > 
 > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=31319
 
 
 __________________________________________________
 Do You Yahoo!?
 Make a great connection at Yahoo! Personals.
 http://personals.yahoo.com
State-Changed-From-To: feedback->closed 
State-Changed-By: ken 
State-Changed-When: Tue Oct 16 15:41:47 PDT 2001 
State-Changed-Why:  
Submitter says his problem is fixed by adding the ch driver to his kernel 
config. 

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