- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: decoding "dev: bc0000000"
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2007 07:15 AM - last edited on тАО02-17-2014 04:34 PM by Maiko-I
тАО09-21-2007 07:15 AM - last edited on тАО02-17-2014 04:34 PM by Maiko-I
I'm puzzled about "dev: bc000000" in
our syslog. I know A. Clay's decoding
rule would say "major device 188,
controller instance 0, scsi 0, lun 0".
(And, 188 is sdisk on our system).
But...
lssf /dev/dsk/* shows:
sdisk card instance 0 SCSI target 0 SCSI LUN 0 section 0 at address ??? /dev/dsk/c0t0d0
sdisk card instance 1 SCSI target 15 SCSI LUN 0 section 0 at address 0/0/1/1.15.0 /dev/dsk/c1t15d0
sdisk card instance 2 SCSI target 0 SCSI LUN 0 section 0 at address 0/0/2/0.0.0 /dev/dsk/c2t0d0
sdisk card instance 3 SCSI target 15 SCSI LUN 0 section 0 at address 0/0/2/1.15.0 /dev/dsk/c3t15d0
so, one would think ...aha, the first drive
listed! (/dev/dsk/c0t0d0)
But: more /dev/dsk/c0t0d0
gets:
/dev/dsk/c0t0d0: No such device or address
and dmesg then shows:
SCSI: bp: 0000000058e8ec00
dev: 1f000000
cdb: 12 00 00 00 80 00
residual: 80
status: (200) None -- Select Timeout
Note that dev value, a DIFFERENT one than bc0000000!
(0x1f is 31, which is driver "tun", class "pseudo", according to lsdev).
So, why did A.Clay's rules fail me?
How do I determine what bc0000000 is?
The actual dmesg/syslog error that started
me looking for bc000000 is:
SCSI: bp: 000000005efad400
dev: bc000000
cdb: 12 00 00 00 80 00
residual: 80
status: (200) None -- Select Timeout
thanks,
Stan
P.S. This thread has been moved from HP-UX > Messaging to HP-UX > sysadmin.- Hp Forum Moderator
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2007 07:34 AM
тАО09-21-2007 07:34 AM
SolutionSecondly, to match major device 188 you should have done an lssf /dev/rdsk/* for the reason mentioned above.
Doing a more command on a device node is generally a bad idea. At the least, you could expect a garbaged stdout.
Look carefully at your lssf of c0d0t0, you will see ??? at the HW path position indicating something is indeed wrong with c0t0d0.
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".
Do an ioscan -fn and note the "ext_bus" entries. Those correspond to the controller instance numbers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2007 09:20 AM
тАО09-21-2007 09:20 AM
Re: decoding "dev: bc0000000"
thanks! (I assigned 10 points!)
> Doing a more command on a device node is generally a bad idea. At the least, you could expect a garbaged stdout.
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.
> Look carefully at your lssf of c0d0t0, you will see ??? at the HW path position indicating something is indeed wrong with c0t0d0.
We now suspect it's an old device file
created 3 years ago for some reaason (perhaps
testing an external disk drive now
long gone), so we're going to remove it.
thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2007 10:15 AM
тАО09-21-2007 10:15 AM
Re: decoding "dev: bc0000000"
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.
Knowing the current condition of the system in question and the environment may save a lot of time while troubleshooting.
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.
Providing more details may be helpful as you already know ;-)
I would think about the time needed to troubleshoot this.
I may be totally wrong, so what.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2007 11:21 AM
тАО09-21-2007 11:21 AM
Re: decoding "dev: bc0000000"
touch the disk, whatever it is seems to
run once every 4 hours :)
(Eerily coinciding with one innocuous
looking cron job that removes old
FileMaker cookies ... but it shouldn't
be touching the (now deleted) disk,
and manual runs of the script didn't
trigger the problem.)
We've removed the special files (dsk and rdsk) for the non-existant drive, and
that should solve the problem.
thanks.
sieler@allegro.com