From owner-freebsd-questions@FreeBSD.ORG Tue Mar 22 14:45:13 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C72416A4CE for ; Tue, 22 Mar 2005 14:45:13 +0000 (GMT) Received: from mail.black-hole.com (192-34.bhi.com [216.185.192.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B92143D1D for ; Tue, 22 Mar 2005 14:45:12 +0000 (GMT) (envelope-from hank@blackhole.com) Received: from blackhole.com (mail.black-hole.com [127.0.0.1]) by blackhole.com for ; Tue, 22 Mar 2005 08:44:03 -0600 Message-ID: <380-22005322214443437@blackhole.com> X-Priority: 3 From: "Henry Miller" To: freebsd-questions@freebsd.org Date: Tue, 22 Mar 2005 08:44:03 -0600 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: chio fails to read barcodes on some tape changers. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2005 14:45:13 -0000 I have a problem reading bar codes with chio on freebsd 4=2E9, and sony 1u (model lib-81) tape changers=2E The library sees the bar code, but chio doesn't report them for reasons I don't understand=2E I did my testing with what should be an otherwise identical 2u (lib-162) changer=2E (Someone shipped us a 1u without the bar code read the first time, since we had the 2u we didn't expect any differences) This worked fine=2E I've tested 5=2E3, and that works fine as well=2E However upgrading is not an option at this point (it is planned, but not for a year or so)=2E I can make changes to the 4=2E9 system, but I cannot do a full upgrade to 4=2E11=2E =20 -bash-2=2E05b# camcontrol cmd 0:0 -c "B8 12 00 00 00 01 00 00 00 76 00 00" -i 0x76 "i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 =20 i1 i1 i1 i1 i1 i1 i1 i1 i1i1 i1 i1 c36" 0 1 0 1 0 0 0 60 2 128 0 52 0 0 0 52 0 1 9 0 0 0 0 0 0 128 0 1 A05Y0M ### A05Y0M is known to be the bar code on the tape, so the unit itself is reading the bar code, somehow chio is not getting it though=2E -bash-2=2E05b# chio status -v picker 0: voltag: <:0> slot 0: voltag: <:0> slot 1: voltag: <:0> slot 2: voltag: <:0> slot 3: voltag: <:0> slot 4: voltag: <:0> slot 5: voltag: <:0> slot 6: voltag: <:0> slot 7: voltag: <:0> drive 0: voltag: <:0> -bash-2=2E05b# ## install 2u -bash-2=2E05b# camcontrol rescan all Re-scan of bus 0 was successful -bash-2=2E05b# camcontrol cmd 0:0 -c "B8 12 00 00 00 01 00 00 00 76 00 00" -i 0x76 "i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1 =20 i1 i1 i1 i1 i1 i1 i1 i1 i1i1 i1 i1 c36" 0 1 0 1 0 0 0 60 2 128 0 52 0 0 0 52 0 1 9 0 0 0 0 0 0 128 0 1 A05Y0Q -bash-2=2E05b# chio status -v picker 0: voltag: <:0> slot 0: voltag: slot 1: voltag: <:0> slot 2: voltag: <:0> slot 3: voltag: <:0> slot 4: voltag: <:0> slot 5: voltag: <:0> slot 6: voltag: <:0> slot 7: voltag: <:0> slot 8: voltag: <:0> slot 9: voltag: <:0> slot 10: voltag: <:0> slot 11: voltag: <:0> slot 12: voltag: <:0> slot 13: voltag: <:0> slot 14: voltag: <:0> slot 15: voltag: <:0> drive 0: voltag: <:0> -bash-2=2E05b# =20 Does anyone know what might be wrong=3F What I could change to make this work=3F I'm looking for an easy fix, though if I must I will write a utility to do the parts of chio we need=2E Should I send this to freebsd-scsi=3F