How to read device path in sol10

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
LVL 6
javeedabdulAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
javeedabdulAuthor Commented:
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
RowleyCommented:
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
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

javeedabdulAuthor Commented:
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
RowleyCommented:
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
RowleyCommented:
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
javeedabdulAuthor Commented:
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
javeedabdulAuthor Commented:
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
javeedabdulAuthor Commented:
I was unable to get full information to what i was after
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.