<?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: decoding &amp;quot;dev: bc0000000&amp;quot; in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/decoding-quot-dev-bc0000000-quot/m-p/4074313#M486209</link>
    <description>First of all, 31 makes perfect sense because that is the block device associated with the character device 188. They refer to the same physical drive but the block device (major 31) uses the buffer cache while the raw (character) device (major 188) does not. Repeat your lsdev command and this will be obvious.&lt;BR /&gt;&lt;BR /&gt;Secondly, to match major device 188 you should have done an lssf /dev/rdsk/* for the reason mentioned above.&lt;BR /&gt;&lt;BR /&gt;Doing a more command on a device node is generally a bad idea. At the least, you could expect a garbaged stdout.&lt;BR /&gt;&lt;BR /&gt;Look carefully at your lssf of c0d0t0, you will see ??? at the HW path position indicating something is indeed wrong with c0t0d0.&lt;BR /&gt;&lt;BR /&gt;Now how those controller instance numbers is assigned is something of a crap shoot (although it is logical). In general, the lowest hardware address gets the lowest instance numbers but suppose that you start out with a controller in slot '0' and another in slot '10' of some mythical HP box. Those controllers would get c0 and c1 respectively. Now suppose that you later install a controller in slot 5. It becomes c2 eventhough its HW path precedes that of c1. In short, you cannot translate a HW path directly into a controller instance number because the instance number depends upon the order in which the device was "discovered".&lt;BR /&gt; &lt;BR /&gt;Do an ioscan -fn and note the "ext_bus" entries. Those correspond to the controller instance numbers.</description>
    <pubDate>Fri, 21 Sep 2007 14:34:20 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2007-09-21T14:34:20Z</dc:date>
    <item>
      <title>decoding "dev: bc0000000"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decoding-quot-dev-bc0000000-quot/m-p/4074312#M486208</link>
      <description>&lt;!--!*#--&gt;
&lt;P&gt;I'm puzzled about "dev: bc000000" in&lt;BR /&gt;our syslog. I know A. Clay's decoding&lt;BR /&gt;rule would say "major device 188,&lt;BR /&gt;controller instance 0, scsi 0, lun 0".&lt;BR /&gt;(And, 188 is sdisk on our system).&lt;BR /&gt;&lt;BR /&gt;But...&lt;BR /&gt;&lt;BR /&gt;lssf /dev/dsk/* shows:&lt;BR /&gt;&lt;BR /&gt;sdisk card instance 0 SCSI target 0 SCSI LUN 0 section 0 at address ??? /dev/dsk/c0t0d0&lt;BR /&gt;sdisk card instance 1 SCSI target 15 SCSI LUN 0 section 0 at address 0/0/1/1.15.0 /dev/dsk/c1t15d0&lt;BR /&gt;sdisk card instance 2 SCSI target 0 SCSI LUN 0 section 0 at address 0/0/2/0.0.0 /dev/dsk/c2t0d0&lt;BR /&gt;sdisk card instance 3 SCSI target 15 SCSI LUN 0 section 0 at address 0/0/2/1.15.0 /dev/dsk/c3t15d0&lt;BR /&gt;&lt;BR /&gt;so, one would think ...aha, the first drive&lt;BR /&gt;listed! (/dev/dsk/c0t0d0)&lt;BR /&gt;&lt;BR /&gt;But: more /dev/dsk/c0t0d0 &lt;BR /&gt;gets:&lt;BR /&gt; /dev/dsk/c0t0d0: No such device or address&lt;BR /&gt;and dmesg then shows:&lt;BR /&gt;&lt;BR /&gt;SCSI: bp: 0000000058e8ec00&lt;BR /&gt; dev: 1f000000&lt;BR /&gt; cdb: 12 00 00 00 80 00&lt;BR /&gt; residual: 80&lt;BR /&gt; status: (200) None -- Select Timeout&lt;BR /&gt;&lt;BR /&gt;Note that dev value, a DIFFERENT one than bc0000000!&lt;BR /&gt;(0x1f is 31, which is driver "tun", class "pseudo", according to lsdev).&lt;BR /&gt;&lt;BR /&gt;So, why did A.Clay's rules fail me? &lt;BR /&gt;&lt;BR /&gt;How do I determine what bc0000000 is?&lt;BR /&gt;&lt;BR /&gt;The actual dmesg/syslog error that started&lt;BR /&gt;me looking for bc000000 is:&lt;BR /&gt;&lt;BR /&gt;SCSI: bp: 000000005efad400&lt;BR /&gt; dev: bc000000&lt;BR /&gt; cdb: 12 00 00 00 80 00&lt;BR /&gt; residual: 80&lt;BR /&gt; status: (200) None -- Select Timeout&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;&lt;BR /&gt;Stan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S. This thread has been moved&amp;nbsp;from HP-UX &amp;gt; Messaging to HP-UX &amp;gt; sysadmin.- Hp Forum Moderator&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2014 00:34:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decoding-quot-dev-bc0000000-quot/m-p/4074312#M486208</guid>
      <dc:creator>Stan Sieler</dc:creator>
      <dc:date>2014-02-18T00:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: decoding "dev: bc0000000"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decoding-quot-dev-bc0000000-quot/m-p/4074313#M486209</link>
      <description>First of all, 31 makes perfect sense because that is the block device associated with the character device 188. They refer to the same physical drive but the block device (major 31) uses the buffer cache while the raw (character) device (major 188) does not. Repeat your lsdev command and this will be obvious.&lt;BR /&gt;&lt;BR /&gt;Secondly, to match major device 188 you should have done an lssf /dev/rdsk/* for the reason mentioned above.&lt;BR /&gt;&lt;BR /&gt;Doing a more command on a device node is generally a bad idea. At the least, you could expect a garbaged stdout.&lt;BR /&gt;&lt;BR /&gt;Look carefully at your lssf of c0d0t0, you will see ??? at the HW path position indicating something is indeed wrong with c0t0d0.&lt;BR /&gt;&lt;BR /&gt;Now how those controller instance numbers is assigned is something of a crap shoot (although it is logical). In general, the lowest hardware address gets the lowest instance numbers but suppose that you start out with a controller in slot '0' and another in slot '10' of some mythical HP box. Those controllers would get c0 and c1 respectively. Now suppose that you later install a controller in slot 5. It becomes c2 eventhough its HW path precedes that of c1. In short, you cannot translate a HW path directly into a controller instance number because the instance number depends upon the order in which the device was "discovered".&lt;BR /&gt; &lt;BR /&gt;Do an ioscan -fn and note the "ext_bus" entries. Those correspond to the controller instance numbers.</description>
      <pubDate>Fri, 21 Sep 2007 14:34:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decoding-quot-dev-bc0000000-quot/m-p/4074313#M486209</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-09-21T14:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: decoding "dev: bc0000000"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decoding-quot-dev-bc0000000-quot/m-p/4074314#M486210</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;thanks!  (I assigned 10 points!)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Doing a more command on a device node is generally a bad idea. At the least, you could expect a garbaged stdout.&lt;BR /&gt;&lt;BR /&gt;of course...in this case, I'd done a different command first (a local thing called "dumpfile") for that very reason.  I did the "more" mostly to be using only HP software and to quickly assure the reader that the drive wasn't accessible.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Look carefully at your lssf of c0d0t0, you will see ??? at the HW path position indicating something is indeed wrong with c0t0d0.&lt;BR /&gt;&lt;BR /&gt;We now suspect it's an old device file&lt;BR /&gt;created 3 years ago for some reaason (perhaps&lt;BR /&gt;testing an external disk drive now&lt;BR /&gt;long gone), so we're going to remove it.&lt;BR /&gt;&lt;BR /&gt;thanks!&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Sep 2007 16:20:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decoding-quot-dev-bc0000000-quot/m-p/4074314#M486210</guid>
      <dc:creator>Stan Sieler</dc:creator>
      <dc:date>2007-09-21T16:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: decoding "dev: bc0000000"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decoding-quot-dev-bc0000000-quot/m-p/4074315#M486211</link>
      <description>Hi again Stan,&lt;BR /&gt;&lt;BR /&gt;you know probably much more about the system than all others, but I would assume it is a A400 or 500 running an early 11.00 release and having a problem with an internal disk.&lt;BR /&gt;&lt;BR /&gt;Knowing the current condition of the system in question and the environment may save a lot of time while troubleshooting. &lt;BR /&gt;&lt;BR /&gt;Having in mind that 11.00 was current at a time when win98 was state of the art I would not pay attention about a specific error message detail and I would continue to follow the usual steps to find a disk failure.&lt;BR /&gt;&lt;BR /&gt;Providing more details may be helpful as you already know ;-)&lt;BR /&gt;&lt;BR /&gt;I would think about the time needed to troubleshoot this.&lt;BR /&gt;&lt;BR /&gt;I may be totally wrong, so what.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Sep 2007 17:15:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decoding-quot-dev-bc0000000-quot/m-p/4074315#M486211</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-09-21T17:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: decoding "dev: bc0000000"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decoding-quot-dev-bc0000000-quot/m-p/4074316#M486212</link>
      <description>While we don't yet know what tried to&lt;BR /&gt;touch the disk, whatever it is seems to&lt;BR /&gt;run once every 4 hours :)&lt;BR /&gt;&lt;BR /&gt;(Eerily coinciding with one innocuous &lt;BR /&gt;looking cron job that removes old&lt;BR /&gt;FileMaker cookies ... but it shouldn't&lt;BR /&gt;be touching the (now deleted) disk,&lt;BR /&gt;and manual runs of the script didn't&lt;BR /&gt;trigger the problem.)&lt;BR /&gt;&lt;BR /&gt;We've removed the special files (dsk and rdsk) for the non-existant drive, and&lt;BR /&gt;that should solve the problem.&lt;BR /&gt;&lt;BR /&gt;thanks.&lt;BR /&gt;sieler@allegro.com</description>
      <pubDate>Fri, 21 Sep 2007 18:21:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decoding-quot-dev-bc0000000-quot/m-p/4074316#M486212</guid>
      <dc:creator>Stan Sieler</dc:creator>
      <dc:date>2007-09-21T18:21:48Z</dc:date>
    </item>
  </channel>
</rss>

