ADSM-L

Re: 3575 Library Barcode Reader Not Working

2000-07-21 09:37:09
Subject: Re: 3575 Library Barcode Reader Not Working
From: Francois Swanepoel <fswanepoel AT GOV DOT BW>
Date: Fri, 21 Jul 2000 15:37:09 +0200
Hi Steven and Jane

When I run the "audit library lib3575 checklabel=barcode" command it
returns with success status 10 seconds later.
When running the "Checkin  libvol lib3575 search=bulk status=scratch
checklabel=barcode" and after replying
I can see the barcode reader switch on and then the tape gets moved to a
drive. Checking the activity log I find the following error:
ANR8788W Unable to read the barcode of cartridge in
                      slot-id 31 in library LIB3575;  loading in drive
to read
                      label.
This would indicate the scanner is broken, but when the commands
mentioned below are run it scans the barcodes successfully.


Steven P Roder wrote:
>
> > I upgraded the firmware on the tape drives to the latest IBM had to offer.
> > However, I have not been able to find any firmware upgrades for the medium
> > changer.
>
> The library firmware is an EPROM that your CE must order and install.  I
> have two 3575-L18's and one L12, all running version 2.19 of the library
> code.  You can display this via the front panel.  If the barcode reader is
> not working, you should place a service call, as something is most likely
> either mis-alligned, or broken.
>
> What happens if you run "audit library lib3575 checklabel=barcode"?
>
> If you get a bunch of "Unable to read barcode for tape blah, loading in
> drive..." messages, this is an indication that the library itself could
> not read the barcodes when it did it's "INIT ELEMENT STATUS", and
> therefore does not have all the barcode stored.
>
> I once had a case on one of my 3575's where the laser did not shutoff when
> not in use, buring it out, leaving me without a barcode reader until
> the laser was replaced...
>
> Hope this helps...
>
> >
> > "Bhaskarla, Sunil" wrote:
> >
> > > I have heard of other problems using Magstar (ex. unable to make mksysb).
> > > Try upgrading the firmware on the device...
> > >
> > > hth,
> > > Sunil
> > >
> > > |-----Original Message-----
> > > |From: Francois Swanepoel [mailto:fswanepoel AT GOV DOT BW]
> > > |Sent: Friday, July 21, 2000 2:08 AM
> > > |To: ADSM-L AT VM.MARIST DOT EDU
> > > |Subject: 3575 Library Barcode Reader Not Working
> > > |
> > > |
> > > |Hi
> > > |When trying to check in new tapes into the library through ADSM we get
> > > |the following errors:
> > > |
> > > |Command we used:
> > > |label libvol lib3575 search=bulk labelsource=barcode checkin=scratch
> > > |
> > > |ADSM output:
> > > |07/06/00   10:42:23  ANR0984I Process 55 for LABEL LIBVOLUME started in
> > > |the
> > > |                      BACKGROUND at 10:42:23.
> > > |07/06/00   10:42:23  ANR8799I LABEL LIBVOLUME: Operation for library
> > > |LIB3575
> > > |                      started as process 55.
> > > |07/06/00   10:42:23  ANR8373I 003: Fill the bulk entry/exit port
> > > |oflibrary
> > > |                      LIB3575 with all 3570 volumes to be processed
> > > |within 60
> > > |                      minute(s); issue 'REPLY' along with the
> > > |request ID
> > > |when
> > > |                      ready.
> > > |07/06/00   10:42:50  ANR2017I Administrator ADMIN issued command: REPLY
> > > |003
> > > |07/06/00   10:42:50  ANR8499I Command accepted.
> > > |07/06/00   10:42:58  ANR8813W Unable to read the barcode of
> > > |cartridge in
> > > |slot
> > > |                      element 30 in library LIB3575.
> > > |07/06/00   10:42:58  ANR8813W Unable to read the barcode of
> > > |cartridge in
> > > |slot
> > > |                      element 31 in library LIB3575.
> > > |07/06/00   10:42:58  ANR8841I Remove any volumes from slot 30
> > > |of library
> > > |
> > > |                      LIB3575 at your convenience.
> > > |07/06/00   10:42:58  ANR8801I LABEL LIBVOLUME process 55 for library
> > > |LIB3575
> > > |                      completed; 0 volume(s) labelled, 0 volume(s)
> > > |checked-in.
> > > |07/06/00   10:42:58  ANR0985I Process 55 for LABEL LIBVOLUME running in
> > > |the
> > > |                      BACKGROUND completed with completion
> > > |state SUCCESS
> > > |at
> > > |                      10:42:58.
> > > |
> > > |---------------------------------------------------------------
> > > |---------------------------------------------------------------
> > > |---------
> > > |
> > > |# lscfg -vl smc0
> > > |  DEVICE            LOCATION          DESCRIPTION
> > > |
> > > |  smc0              40-60-00-0,1      IBM Magstar MP 3575
> > > |Library Medium
> > > |
> > > |                                      Changer
> > > |
> > > |        Manufacturer................IBM
> > > |        Machine Type and Model......03575L18
> > > |        Serial Number...............0000000A4906
> > > |        Device Specific.(FW)........2.15
> > > |
> > > |
> > > |# lscfg -vl rmt2
> > > |  DEVICE            LOCATION          DESCRIPTION
> > > |
> > > |  rmt2              40-60-00-0,0      IBM Magstar MP 3570 Library Tape
> > > |                                      Drive
> > > |
> > > |        Manufacturer................IBM
> > > |        Machine Type and Model......03570C1A
> > > |        Serial Number...............0000000A4906
> > > |        Device Specific.(FW)........5424
> > > |        Loadable Microcode Level....A0B00E27
> > > |
> > > |---------------------------------------------------------------
> > > |-----------------------------------------------------------------------
> > > |
> > > |We are using IBM c-format media.
> > > |AIX level: 4.3.3.0 - 02
> > > |ADSM level: adsm.server.rte 3.1.2.50
> > > |                    adsm.devices.rte 3.1.2.50
> > > |
> > > |Atape.driver 5.1.3.0
> > > |
> > > |We get the same errors when running: audit library 3575lib
> > > |checklabel=barcode
> > > |
> > > |I logged a call with IBM and this was their response:
> > > |
> > > | I don't think it is an ADSM problem.
> > > | I think you can try the following to verify that barcode reader
> > > | had no hardware problem :
> > > |
> > > |  From AIX use tapeutil command when ADSM server is halted =>
> > > | option 1 - open device => /dev/smc0
> > > |  "     14 - element inventory
> > > |  You'll see all the library slots. Each entries is as follow :
> > > |
> > > | Slot Address 34
> > > |
> > > |   Slot State ..................... Normal
> > > |
> > > |   ASC/ASCQ ....................... 0000
> > > |
> > > |
> > > |    Media Present .................. Yes
> > > |    Robot Access Allowed ........... Yes
> > > |    Source Element Address Valid ... No
> > > |    Media Inverted ................. No
> > > |    Volume Tag ..................... xxxxxxx
> > > |  Choose a slot where "media present = yes" and verify if
> > > |  "volume tag option show a volume label" . If there is no label
> > > |  in the "volume tag" field, then I think the barcode reader is
> > > |  not in a good state.
> > > |You can also try another method,
> > > |  from dir /usr/lpp/adsmserv/bin , start "lbtest"
> > > |   option 1 - manual test
> > > |
> > > |    "     1 - set device special file => /dev/smc0
> > > |
> > > |    "     6 - open
> > > |
> > > |    "    12 - audit then option 2 scan barcode .
> > > |
> > > |I tried the above 2 methods and the both worked fine.
> > > |
> > > |It seems like the barcode reader works fine, but is net set up
> > > |correctly
> > > |in ADSM.
> > > |I have read all the manuals, redbooks, redpieces, etc. on setting up
> > > |this library in ADSM and cannot find the problem.
> > > |What is wrong and how can I fix it?
> > > |
> > > |Thanks
> > > |
> > > |
> > > |
> > > |--
> > > |Francois Swanepoel
> > > |AIX, HACMP and ADSM System Administrator
> > > |Tel: +2673616961
> > > |Fax: +267304144
> > > |
> > > |
> > > |
> >
> > --
> > Francois Swanepoel
> > AIX, HACMP and ADSM System Administrator
> > Tel: +2673616961
> > Fax: +267304144
> >
> >
> >
>
> Steve Roder, University at Buffalo
> VM Systems Programmer
> UNIX Systems Administrator (Solaris and AIX)
> ADSM Administrator
> (tkssteve AT buffalo DOT edu | (716)645-3564 | 
> http://ubvm.cc.buffalo.edu/~tkssteve)

--
Francois Swanepoel
Francois Swanepoel
AIX, HACMP and ADSM System Administrator
Tel: +2673616961
Fax: +267304144