From owner-freebsd-hackers Tue Feb 1 2:57:20 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from relay.wplus.net (relay.wplus.net [195.131.52.179]) by builder.freebsd.org (Postfix) with ESMTP id 3D1603D81 for ; Tue, 1 Feb 2000 02:57:17 -0800 (PST) Received: from woland.wplus.net (woland.wplus.net [195.131.0.39]) by relay.wplus.net (8.9.1/8.9.1/wplus.2) with ESMTP id NAA50383; Tue, 1 Feb 2000 13:51:53 +0300 (MSK) X-Real-To: skafte@worldgate.com Received: (from dms@localhost) by woland.wplus.net (8.9.3/8.9.1/wplus.2) id NAA37491; Tue, 1 Feb 2000 13:56:26 +0300 (MSK) Message-ID: X-Mailer: XFMail 1.4.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20000131173841.A39580@dan.emsphone.com> Date: Tue, 01 Feb 2000 13:56:26 +0300 (MSK) From: Dmitry Samersoff To: Dan Nelson Subject: Re: HP Type C1559 problems Cc: freebsd-hackers@FreeBSD.ORG, skafte@worldgate.com Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 31-Jan-2000 Dan Nelson wrote: > In the last episode (Feb 01), Dmitry Samersoff said: >> > 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 > > What does "chio status" return, and what does a "camcontrol devlist" > print? root@shade:~>chio status slot 0: slot 1: slot 2: slot 3: slot 4: slot 5: drive 0: root@shade:~>camcontrol devlist at scbus0 target 0 lun 0 (pass0,da0) at scbus0 target 4 lun 0 (pass1,da1) at scbus0 target 5 lun 0 (pass2,sa0) at scbus0 target 5 lun 1 (pass3,ch0) > >> 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" > > 1B is just an unload request, so your autoloader is probably in "dumb" 1B 00 00 - is unload request. Purpose of three extra bytes (00 xx 00) is unknown for me but 00 xx 01 it loads tape number x. 00 00 00 load next tape. (I find it in news, the same thing described in handbook's appendix for previouse model of HP changer) > or "gravity feed" mode, where an ejected tape causes the next tape to > be loaded automatically. chio is for smart autoloaders with random > access. A "mt rewoffl" should do the same thing as your camcontrol mt rewoffl cause changer to rewind current tape, then unload it. It doesn't load next tape. -- Dmitry Samersoff, dms@wplus.net, ICQ:3161705 http://devnull.wplus.net * There will come soft rains ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message