Date: Tue, 22 Mar 2005 08:44:03 -0600 From: "Henry Miller" <hank@blackhole.com> To: freebsd-questions@freebsd.org Subject: chio fails to read barcodes on some tape changers. Message-ID: <380-22005322214443437@blackhole.com>
next in thread | raw e-mail | index | archive | help
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: <ACCESS,FULL> voltag: <:0> slot 1: <ACCESS> voltag: <:0> slot 2: <ACCESS> voltag: <:0> slot 3: <ACCESS> voltag: <:0> slot 4: <ACCESS> voltag: <:0> slot 5: <ACCESS> voltag: <:0> slot 6: <ACCESS> voltag: <:0> slot 7: <ACCESS> voltag: <:0> drive 0: <ACCESS> 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: <ACCESS,FULL> voltag: <A05Y0Q:0> slot 1: <ACCESS> voltag: <:0> slot 2: <ACCESS> voltag: <:0> slot 3: <ACCESS> voltag: <:0> slot 4: <ACCESS> voltag: <:0> slot 5: <ACCESS> voltag: <:0> slot 6: <ACCESS> voltag: <:0> slot 7: <ACCESS> voltag: <:0> slot 8: <ACCESS> voltag: <:0> slot 9: <ACCESS> voltag: <:0> slot 10: <ACCESS> voltag: <:0> slot 11: <ACCESS> voltag: <:0> slot 12: <ACCESS> voltag: <:0> slot 13: <ACCESS> voltag: <:0> slot 14: <ACCESS> voltag: <:0> slot 15: <ACCESS> voltag: <:0> drive 0: <ACCESS> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?380-22005322214443437>