From owner-freebsd-scsi Wed Apr 11 7:41: 9 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from hercules.icarz.com (ns1.icarz.com [207.99.22.7]) by hub.freebsd.org (Postfix) with ESMTP id 9B2A237B422 for ; Wed, 11 Apr 2001 07:41:06 -0700 (PDT) (envelope-from kenm@icarz.com) Received: from newken (dhcp113.icarz.com [207.99.22.113]) by hercules.icarz.com (8.10.1/8.10.1) with SMTP id f3BEev208711; Wed, 11 Apr 2001 10:40:57 -0400 (EDT) Message-ID: <06b301c0c295$5154c700$711663cf@icarz.com> From: "Ken Menzel" To: "Eric Lee Green" Cc: References: Subject: Re: 'ch' Errors using chio w-sony changer Date: Wed, 11 Apr 2001 10:40:13 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thanks Eric! I guess it's my drive returning an error when the VOLTAG bit is set in Element 1 of the READ ELEMENT STAUS command. OK that I understand. What really confused me was that chio seems to need this bit set to execute 'chio return drive 0'. I would guess that this is because the 'return' command gets the source information from the VOLTAG info, and if there is no VOLTAG(bar code) info, of course it can't return the tape! I am learning alot from this. I think the man page could mention this. I wonder if I should give someone(freebsd-stable?) a patch for what I feel would be appropriate? I will try 'mtx' now also, I am hoping it will also run on BSDi, because I need this for BSD/OS also. From reading the web page it looks as if 'mtx' works like 'chio' but supports more features and drives and runs in users land. I wonder why 'mtx' is not in the /usr/ports or a part of freebsd! Thanks for your help everyone. Ken > BTW, if you want to try it, 'mtx' works fine on FreeBSD. > http://mtx.sourceforge.net . Also works fine on Linux, Solaris 8, Solaris > 2.[67], and IRIX. Uses same syntax on all of these guys, just uses a > different device name for the passthru driver (e.g. /dev/pass1 on FreeBSD, > /dev/sg1 on Linux, some godaweful concoction on Solaris, ....). With the > latest version 1.2.11, it's just a case of "./configure ; make ; make > install", thanks to the wonders of GNU Autoconf. > > -- > Eric Lee Green eric@estinc.com > Software Engineer "The BRU Guys" > Enhanced Software Technologies, Inc. http://www.estinc.com/ > (602) 470-1115 voice (602) 470-1116 fax > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-scsi" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message