From owner-freebsd-hackers Mon Jan 31 15:24: 5 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from relay.wplus.net (relay.wplus.net [195.131.52.179]) by hub.freebsd.org (Postfix) with ESMTP id 30E0315328 for ; Mon, 31 Jan 2000 15:24:02 -0800 (PST) (envelope-from dms@wplus.net) X-Real-To: freebsd-hackers@FreeBSD.ORG Received: from wplus.net (ppdms.dialup.wplus.net [195.131.52.71]) by relay.wplus.net (8.9.1/8.9.1/wplus.2) with ESMTP id CAA50453; Tue, 1 Feb 2000 02:18:45 +0300 (MSK) Message-ID: <3896191B.5F131A07@wplus.net> Date: Tue, 01 Feb 2000 02:22:03 +0300 From: Dmitry Samersoff X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: ru,en MIME-Version: 1.0 To: Dan Nelson Cc: skafte@worldgate.com, freebsd-hackers@FreeBSD.ORG Subject: Re: HP Type C1559 problems References: <20000131144356.A20190@dan.emsphone.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dan Nelson wrote: > > In the last episode (Jan 31), Dmitry Samersoff said: > > I have problem with HP SureStore 24x6 I can read(write) only from one > > tape from catridge > > > > Could anybody send me ether shell or C (preferable) sequence need to > > read tapes one by one? > > > > i.e something like: > > cat /dev/rsa0 > > camcontrol cmd -n rsa0.ctl -c "1B 00 00" > > You'll probably want to check out the "mt" and "chio" commands instead > of sending raw SCSI commands :) "mt rewoffl" will rewind and eject a > tape. The chio command manages autoloaders. "man mtio" for the C tape > interface, and "man ch" for the C autoloader interface. I'm not so lazy as you belive ;-)) I tried all above before going to camcontrol. mt can rewind, erase end so on current tape, but can't change current slot number. chio report error for every comand except "chio status" . I find now (after lots of experiments) that sending raw SCSI command helps me. Right command causing changer to load next tape looks like: camcontrol stop -n sa -t 100 -v camcontrol cmd -n sa -t 100 -v -c "1B 00 00 00 00 00" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message