Solved

How to read device path in sol10

Posted on 2009-07-02
13
2,007 Views
Last Modified: 2013-12-27
Hi Experts

I would like to know the procedure on how to read/understand device path and do troubleshoot

How to tell if the device is on control0 or control1
whether its a internal disk or external disk ?
Same follow for pci cards
whether its on-board ethernet port  or pci ethernet port

Example device paths

/pci@0,0/pci15ad,790@11/pci1274,1371@1" 0-- vmware virtual box. But not sure what device it is
/pci@1f,0/pmu@3/i2c@0,0/dimm-fru-prom@0,a8- not sure
/ssm@0,0/pci@18,600000/scsi@2/sd@1,0- not sure
/pci@8,700000/scsi@6/sd@6,0-not sure


PS:Apart from path_to_inst file

Thanks
Javeed Abdul
0
Comment
Question by:javeedabdul
  • 5
  • 3
13 Comments
 
LVL 1

Accepted Solution

by:
vardyb earned 250 total points
ID: 24766691
0
 
LVL 6

Author Comment

by:javeedabdul
ID: 24769141
vardyb.
I have copied the example device path from above InfoDoc.
The InfoDoc is not complete.It only describe about SUN EOL system..

I would like to learn/know how to read it and by looking at i should be able to pickup the disk or pci card.

I am unable to find any Specific Documents on how to decode the device path.

Javeed Abdul

0
 
LVL 13

Assisted Solution

by:Rowley
Rowley earned 250 total points
ID: 24786326
Here's one specific doc about decoding the device path for i/o devices, has come in handy a few times.

http://developers.sun.com/solaris/articles/devicemapping.html

hth.
0
 
LVL 6

Author Comment

by:javeedabdul
ID: 24811218
Rowley/vard


Thanks for the links
But both the don't complete entire sun system . its only covers EOL systems.

I have attached a file  of path_to_inst.
This is from v480 .. Still by looking at the path . I am unable to figure out what the pci slots are, what kind of HBA is installed and so on .
what disk are internal and external
etc....

Thanks
Javeed Abdul
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 13

Expert Comment

by:Rowley
ID: 24811385
some of the examples given are from older models but the principals are the same.

From what I remember about the 480, if there is a fault in an FRU you'll get information verbose enough in the boot diags, fault manager commands, system logs, LED;s on the system boards and by reading the labels on the boards, slots and everything else to be able to establish exactly which part is causing you trouble.

If that wasn't enough, you could always sift through all the hardware  and system docs for the v480 on docs.sun.com.
0
 
LVL 13

Expert Comment

by:Rowley
ID: 24821801
heh, as if by magic. Got this on a v240 this morning. As you can see, the fmdump tells me exactly which dimm to pick out.


SUNW-MSG-ID: SUN4U-8000-35, TYPE: Fault, VER: 1, SEVERITY: Critical

EVENT-TIME: Fri Jul 10 06:09:21 EDT 2009

PLATFORM: SUNW,Sun-Fire-V240, CSN: -, HOSTNAME: stimpy

SOURCE: cpumem-diagnosis, REV: 1.6

EVENT-ID: dd0aecad-f94d-cb1b-fb56-d2430ad98bbe

DESC: The number of errors associated with this memory module has exceeded accep                                                   table levels.  Refer to http://sun.com/msg/SUN4U-8000-35 for more information.

AUTO-RESPONSE: Pages of memory associated with this memory module are being remo                                                   ved from service as errors are reported.

IMPACT: Total system memory capacity will be reduced as pages are retired.

REC-ACTION: Schedule a repair procedure to replace the affected memory module. 
 

Jul 10 06:10:40 stimpy login: ROOT LOGIN /dev/console

You have new mail.

stimpy # fmdump -v -u dd0aecad-f94d-cb1b-fb56-d2430ad98bbe

TIME                 UUID                                 SUNW-MSG-ID

Jul 10 06:09:21.0858 dd0aecad-f94d-cb1b-fb56-d2430ad98bbe SUN4U-8000-35

   95%  fault.memory.bank
 

        Problem in: mem:///unum=MB/P0/B1:B1/D0,B1/D1

           Affects: mem:///unum=MB/P0/B1:B1/D0,B1/D1

               FRU: mem:///unum=MB/P0/B1:B1/D0,B1/D1

          Location: -

Open in new window

0
 
LVL 6

Author Comment

by:javeedabdul
ID: 24821959
Dimms i guess its easy to find

Finding Faulty dimm and its slot is bit simple compare to other devices.

prtdiag -v  will give a very good explanation on  the dimms
ECC error are easily picked up in /var/adm/messages
there are tools such as Cediag which decode the dimms size and location.

I am concern in decoding the other devices. as stated above.




 
0
 
LVL 6

Author Comment

by:javeedabdul
ID: 24856790
Found a good link .Which explain in depth not fully though..

useful to know.
http://www.sunshack.org/data/sh/2.1/infoserver.central/data/syshbk/collections/intinfodoc/47824.html

Looking for few more tools

Ta
Javeed
0
 
LVL 6

Author Closing Comment

by:javeedabdul
ID: 31599285
I was unable to get full information to what i was after
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now