8-5
Cisco SFS InfiniBand Host Drivers User Guide for Linux
OL-12309-01
Chapter 8 HCA Utilities and Diagnostics
Diagnostics
Diagnostics
This section includes diagnostics information. A few diagnostic programs are included with the Linux
IB host drivers.
The vstat utility prints IB information.
The following example shows a vstat utility display:
host1# /usr/local/topspin/bin/vstat
1 HCA found:
hca_id=InfiniHost0
pci_location={BUS=0x07,DEV/FUNC=0x00}
vendor_id=0x02C9
vendor_part_id=0x6278
hw_ver=0x20
fw_ver=0x400070258
PSID=
num_phys_ports=2
port=1
port_state=PORT_ACTIVE
sm_lid=0x0003
port_lid=0x0006
port_lmc=0x00
max_mtu=2048
port=2
port_state=PORT_ACTIVE
sm_lid=0x0003
port_lid=0x000b
port_lmc=0x00
max_mtu=2048
There are also several files in /proc/topspin that contain diagnostic information.
The following are examples of diagnostic files:
host1# cat /proc/topspin/core/ca1/info
name: InfiniHost0
provider: tavor
node GUID: 0005:ad00:0005:00f0
ports: 2
vendor ID: 0x2c9
device ID: 0x6278
HW revision: 0x20
FW revision: 0x400070258
PCIe width: x8
host1# cat /proc/topspin/core/ca1/port1/info
state: ACTIVE
link: 4X
LID: 0x0006
LMC: 0x0000
SM LID: 0x0003
SM SL: 0x0000
Capabilities: IsTrapSupported
IsAutomaticMigrationSupported
IsSLMappingSupported
IsLEDInfoSupported
IsSystemImageGUIDSupported
IsVendorClassSupported
IsCapabilityMaskNoticeSupported