<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Errors with mc command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/errors-with-mc-command/m-p/2752005#M70458</link>
    <description>Hi Alan:&lt;BR /&gt;&lt;BR /&gt;This is rather puzzling. One thing you might try is the uma 'doorlock 0' to unlock the mailslot door and 'doorlock 1' to lock it.&lt;BR /&gt;It might require these commands before any 'move' commands are issued.&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;I assume that your uma 'stat' command indeed shows that S87 is valid. I suppose that it's also possible that you have some OB2 processes hung (possibly on other hosts) - or hung mc commands.&lt;BR /&gt;</description>
    <pubDate>Tue, 25 Jun 2002 17:41:36 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2002-06-25T17:41:36Z</dc:date>
    <item>
      <title>Errors with mc command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/errors-with-mc-command/m-p/2752004#M70457</link>
      <description>I'm not sure where to put this wuestion, so I'm dropping it in familiar waters.  The situation:&lt;BR /&gt;&lt;BR /&gt;ADIC Tape library: a tape had jammed during retrieval from the mailbox and then fallen to the floor.  I popped open the front and reslotted the tape.  No problem, right?&lt;BR /&gt;&lt;BR /&gt;Well, in teh past I have had issues with the door not being "really shut" so that while the initial barcode scan would function properly nothing else would.  I use mc commands to test library operations when that happens.  No problem, right?&lt;BR /&gt;&lt;BR /&gt;I wish.  While these commands have functioned for me in the past, I now receive:&lt;BR /&gt;&lt;BR /&gt;# mc -p /dev/picker -r DS&lt;BR /&gt;ERROR: 0x5 Illegal Request : 0x2400 Invalid field in command descriptor block&lt;BR /&gt;&lt;BR /&gt;Confused by this, I tried using uma to do some tape manipulations:&lt;BR /&gt;&lt;BR /&gt;# /opt/omni/lbin/uma -ioctl /dev/picker&lt;BR /&gt;*** PROGRAM: UMA        VERSION: HP OpenView OmniBack II A.03.50&lt;BR /&gt;&lt;BR /&gt;*** Copyright (C) 1996 Hewlett-Packard Company&lt;BR /&gt;*** License is restricted for use with licensed&lt;BR /&gt;*** HP OpenView OmniBack II products.&lt;BR /&gt;&lt;BR /&gt;/dev/picker&amp;gt; stat&lt;BR /&gt;'Element Status (T=Transport, X=Im/Export, D=Drive, S=Storage):&lt;BR /&gt;          1 T1   Empty  "" ""&lt;BR /&gt;&lt;BR /&gt;         16 X1   Empty  "" ""&lt;BR /&gt;          .&lt;BR /&gt;          .&lt;BR /&gt;          .&lt;BR /&gt;/dev/picker&amp;gt; move from 4182 to 16&lt;BR /&gt;move: Invalid element address.&lt;BR /&gt;&lt;BR /&gt;dev/picker&amp;gt; move from S87 to X1&lt;BR /&gt;move: Invalid element address.&lt;BR /&gt;&lt;BR /&gt;So, door not seated right?  Nope.  Library self-checks and direct manipulations work fine.  And, here's the kicker, I can load and initialize tapes successfully through omniback!  So, am I missing something in the mc/uma commands?  I admit that I don't use these evrfyday, but I can't see the errors (invalid field/invalid element) the error message is referencing.  Any ideas?&lt;BR /&gt;&lt;BR /&gt;Now, it has been a very long start of the week</description>
      <pubDate>Tue, 25 Jun 2002 17:20:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/errors-with-mc-command/m-p/2752004#M70457</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2002-06-25T17:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Errors with mc command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/errors-with-mc-command/m-p/2752005#M70458</link>
      <description>Hi Alan:&lt;BR /&gt;&lt;BR /&gt;This is rather puzzling. One thing you might try is the uma 'doorlock 0' to unlock the mailslot door and 'doorlock 1' to lock it.&lt;BR /&gt;It might require these commands before any 'move' commands are issued.&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;I assume that your uma 'stat' command indeed shows that S87 is valid. I suppose that it's also possible that you have some OB2 processes hung (possibly on other hosts) - or hung mc commands.&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Jun 2002 17:41:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/errors-with-mc-command/m-p/2752005#M70458</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-06-25T17:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Errors with mc command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/errors-with-mc-command/m-p/2752006#M70459</link>
      <description>It is puzzling, but it appears to be patch related.   PHKL_22460 (cumulative SCSI) apparently broke some ioctls that send null data (like mc).  It is corrected in PHKL_22759 and later.  I will try the patch and see whether it resolves my problem.&lt;BR /&gt;&lt;BR /&gt;If not, then I will be well and truly stumped.</description>
      <pubDate>Tue, 25 Jun 2002 21:25:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/errors-with-mc-command/m-p/2752006#M70459</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2002-06-25T21:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Errors with mc command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/errors-with-mc-command/m-p/2752007#M70460</link>
      <description>I know it is rather plebian, but have you tried the old standby of power/cycle the library and reboot the cell-server?&lt;BR /&gt;&lt;BR /&gt;Another possibility is that your picker is going out.  It happened to me on my HP branded StorageTek after about 4 years of service.  Got the exact same errors with uma and mc.  Eventually, they started showing up in omniback as well.&lt;BR /&gt;&lt;BR /&gt;I think your idea of the patch is definitely the proper place to start though.</description>
      <pubDate>Thu, 27 Jun 2002 14:31:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/errors-with-mc-command/m-p/2752007#M70460</guid>
      <dc:creator>Angus Crome</dc:creator>
      <dc:date>2002-06-27T14:31:09Z</dc:date>
    </item>
  </channel>
</rss>

