Wednesday, 20 August 2008

Translating OS device paths to physical paths on a Superdome

I want to eyeball two network cards to see why they're down

SD32npar1:/ # lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
4/0/12/1/0/6/0 0x00110A42AC64 0 UP lan0 snap0 1 ETHER Yes 119
5/0/6/1/0/6/0 0x00110A428C82 2 DOWN lan2 snap2 3 ETHER Yes 119
5/0/6/1/0/6/1 0x00110A428C83 3 DOWN lan3 snap3 4 ETHER Yes 119


Looking at the actual superdome didn't give anything marked like '5/0/6/1/0/6/1'

Here's an ioscan which doesn't help at all.

SD32npar1:/ # ioscan -kfnC lan
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
lan 0 4/0/12/1/0/6/0 iether CLAIMED INTERFACE HP AB290-60001 PCI/PCI-X 1000Base-T 2-port U320 SCSI/2-port 1000B-T Combo Adapter
lan 1 4/0/12/1/0/6/1 iether CLAIMED INTERFACE HP AB290-60001 PCI/PCI-X 1000Base-T 2-port U320 SCSI/2-port 1000B-T Combo Adapter
lan 2 5/0/6/1/0/6/0 iether CLAIMED INTERFACE HP AB290-60001 PCI/PCI-X 1000Base-T 2-port U320 SCSI/2-port 1000B-T Combo Adapter
lan 3 5/0/6/1/0/6/1 iether CLAIMED INTERFACE HP AB290-60001 PCI/PCI-X 1000Base-T 2-port U320 SCSI/2-port 1000B-T Combo Adapter


The magic command to find the actual devices is 'rad' (thanks to Andy Cassels)

SD32npar1:/ # rad -q
Driver(s)
Slot Path Bus Max Spd Pwr Occu Susp Capable Max Mode
Num Spd Mode
0-0-3-7 4/0/12/1 96 133 133 On Yes No Yes PCI-X PCI-X
0-0-3-8 4/0/11/1 88 133 133 On Yes No Yes PCI-X PCI-X
8-0-1-5 5/0/6/1 48 133 133 On Yes No Yes PCI-X PCI-X
8-0-1-6 5/0/14/1 112 133 133 On Yes No Yes PCI-X PCI-X

No comments: