From owner-freebsd-bugs Thu Jan 15 00:50:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA18334 for freebsd-bugs-outgoing; Thu, 15 Jan 1998 00:50:17 -0800 (PST) (envelope-from owner-freebsd-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA18280; Thu, 15 Jan 1998 00:50:06 -0800 (PST) (envelope-from gnats) Received: from home.dragondata.com (root@home.dragondata.com [204.137.237.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA03933 for ; Tue, 13 Jan 1998 14:41:32 -0800 (PST) (envelope-from toasty@home.dragondata.com) Received: (from toasty@localhost) by home.dragondata.com (8.8.5/8.8.5) id WAA29958; Mon, 12 Jan 1998 22:08:07 -0600 (CST) Message-Id: <199801130408.WAA29958@home.dragondata.com> Date: Mon, 12 Jan 1998 22:08:07 -0600 (CST) From: Kevin Day Reply-To: toasty@home.dragondata.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: docs/5487: Adding documentation for scsi(8) usage with autoloaders Sender: owner-freebsd-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 5487 >Category: docs >Synopsis: Adding documentation for scsi(8) usage with autoloaders >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jan 15 00:50:03 PST 1998 >Last-Modified: >Originator: Kevin Day >Organization: DragonData >Release: FreeBSD 2.2.1-RELEASE i386 >Environment: FreeBSD witha Archive 4586NP DAT autoloader >Description: Somewhere in the handbook/FAQ you may want to mention how to use a DAT autoloader. ch0 appears non-functional with these drives. It detects them, but sends bad/incorrect commands to it. Also tested on an HP autoloader (model number unknown) and couldn't get cd0 to grok it. >How-To-Repeat: See below. >Fix: The following command shows the correct scsi command to load/unload a tape. x = Source bay y = Destination bay scsi -f /dev/rst0.ctl -s 100 -c "a5 20 0 0 0 x 0 y 0 0 0 0" Bay 1 = Tape Drive Bay 2 = Loader slot 1 Bay 3 = Loader slot 2 Bay n = Loader slot n+1 To load a tape in slot 2 to the drive, the following command works: scsi -f /dev/rst0.ctl -s 100 -c "a5 20 0 0 0 3 0 1 0 0 0 0" To eject the tape into slot 4: scsi -f /dev/rst0.ctl -s 100 -c "a5 20 0 0 0 1 0 5 0 0 0 0" You do get a bunch of odd errors if you try to load a tape into a bay that's already got a tape in it, or one that doesn't exist. Be warned that on the Archive 4586NP attempting to load a tape into position 0 makes the tape drive lockup. (you need to power cycle it to recover) Kevin >Audit-Trail: >Unformatted: