From owner-freebsd-hackers Mon Jan 31 15:31:37 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 557B214D35 for ; Mon, 31 Jan 2000 15:31:29 -0800 (PST) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.9.3/8.9.3) with ESMTP id PAA09627; Mon, 31 Jan 2000 15:31:09 -0800 Date: Mon, 31 Jan 2000 15:31:05 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Dmitry Samersoff Cc: Dan Nelson , skafte@worldgate.com, freebsd-hackers@FreeBSD.ORG Subject: Re: HP Type C1559 problems In-Reply-To: <3896191B.5F131A07@wplus.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It sounds to me that you have this device strapped to be in 'stacker' mode- the command you're sending is the same as an 'mt offline' command- so it's loading the next tape in the changer. that means it won't show up as a changer on lun 1. I haven't seen one these beasts for 5-6 years- I don't recall what the switch settings are, but IIRC HP switch settings made no sense. On Tue, 1 Feb 2000, Dmitry Samersoff wrote: > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message