Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@hpv00:~# service opensm restart && service opensm status
- ● opensm.service - LSB: Start opensm subnet manager.
- Loaded: loaded (/etc/init.d/opensm)
- Active: active (running) since Sat 2016-08-20 10:05:24 ADT; 6ms ago
- Process: 2616 ExecStop=/etc/init.d/opensm stop (code=exited, status=0/SUCCESS)
- Process: 2623 ExecStart=/etc/init.d/opensm start (code=exited, status=0/SUCCESS)
- CGroup: /system.slice/opensm.service
- ├─2628 /usr/sbin/opensm -g 0x0002c90200223ac9 -f /var/log/opensm.0x0002c90200223ac9.log
- └─2631 /usr/sbin/opensm -g 0x0002c90200223aca -f /var/log/opensm.0x0002c90200223aca.log
- Aug 20 10:05:24 hpv00 OpenSM[2628]: Entering DISCOVERING state
- Aug 20 10:05:24 hpv00 opensm[2623]: Starting opensm on 0x0002c90200223aca:
- Aug 20 10:05:24 hpv00 OpenSM[2631]: Loading Cached Option:guid = 0x0002c90200223ac9
- Aug 20 10:05:24 hpv00 OpenSM[2631]: Loading Cached Option:sweep_interval = 5
- Aug 20 10:05:24 hpv00 OpenSM[2631]: Loading Cached Option:reassign_lids = TRUE
- Aug 20 10:05:24 hpv00 OpenSM[2631]: Loading Cached Option:force_heavy_sweep = TRUE
- Aug 20 10:05:24 hpv00 OpenSM[2631]: Loading Cached Option:sm_priority = 15
- Aug 20 10:05:24 hpv00 OpenSM[2631]: /var/log/opensm.0x0002c90200223aca.log log file opened
- Aug 20 10:05:24 hpv00 OpenSM[2631]: OpenSM 3.3.18
- Aug 20 10:05:24 hpv00 OpenSM[2631]: Entering DISCOVERING state
- root@hpv00:~# cat /var/log/opensm.0x0002c90200223aca.log
- Aug 20 10:05:24 458428 [8DCEF700] 0x03 -> OpenSM 3.3.18
- Aug 20 10:05:24 458469 [8DCEF700] 0x80 -> OpenSM 3.3.18
- Aug 20 10:05:24 458931 [8DCEF700] 0x02 -> osm_vendor_init: 1000 pending umads specified
- Aug 20 10:05:24 459061 [8DCEF700] 0x80 -> Entering DISCOVERING state
- Aug 20 10:05:24 459179 [8DCEF700] 0x02 -> osm_vendor_bind: Mgmt class 0x81 binding to port GUID 0x2c90200223aca
- Aug 20 10:05:24 487283 [8DCEF700] 0x02 -> osm_vendor_bind: Mgmt class 0x03 binding to port GUID 0x2c90200223aca
- Aug 20 10:05:24 487432 [8DCEF700] 0x02 -> osm_vendor_bind: Mgmt class 0x04 binding to port GUID 0x2c90200223aca
- Aug 20 10:05:24 487524 [8DCEF700] 0x02 -> osm_vendor_bind: Mgmt class 0x21 binding to port GUID 0x2c90200223aca
- Aug 20 10:05:24 487630 [8DCEF700] 0x02 -> osm_opensm_bind: Setting IS_SM on port 0x0002c90200223aca
- Aug 20 10:05:24 488665 [876B2700] 0x80 -> SM port is down
- root@hpv00:~# echo "### hpv00 port 0 connected to hp01 port 1 #####" && echo "### report from hpv00 #####" && ibstatus && ibstat && ibv_devinfo && iblinkinfo && lspci -Qvvs 0a:00.0
- ### hpv00 port 0 connected to hp01 port 1 #####
- ### report from hpv00 #####
- Infiniband device 'mthca0' port 1 status:
- default gid: fe80:0000:0000:0000:0002:c902:0022:3ac9
- base lid: 0x1
- sm lid: 0x1
- state: 4: ACTIVE
- phys state: 5: LinkUp
- rate: 10 Gb/sec (4X)
- link_layer: InfiniBand
- Infiniband device 'mthca0' port 2 status:
- default gid: fe80:0000:0000:0000:0002:c902:0022:3aca
- base lid: 0x2
- sm lid: 0x1
- state: 1: DOWN
- phys state: 2: Polling
- rate: 10 Gb/sec (4X)
- link_layer: InfiniBand
- CA 'mthca0'
- CA type: MT25208
- Number of ports: 2
- Firmware version: 5.3.0
- Hardware version: 20
- Node GUID: 0x0002c90200223ac8
- System image GUID: 0x0002c90200223acb
- Port 1:
- State: Active
- Physical state: LinkUp
- Rate: 10
- Base lid: 1
- LMC: 0
- SM lid: 1
- Capability mask: 0x02510a6a
- Port GUID: 0x0002c90200223ac9
- Link layer: InfiniBand
- Port 2:
- State: Down
- Physical state: Polling
- Rate: 10
- Base lid: 2
- LMC: 0
- SM lid: 1
- Capability mask: 0x02510a6a
- Port GUID: 0x0002c90200223aca
- Link layer: InfiniBand
- hca_id: mthca0
- transport: InfiniBand (0)
- fw_ver: 5.3.0
- node_guid: 0002:c902:0022:3ac8
- sys_image_guid: 0002:c902:0022:3acb
- vendor_id: 0x02c9
- vendor_part_id: 25218
- hw_ver: 0x20
- board_id: MT_0370130002
- phys_port_cnt: 2
- port: 1
- state: PORT_ACTIVE (4)
- max_mtu: 2048 (4)
- active_mtu: 2048 (4)
- sm_lid: 1
- port_lid: 1
- port_lmc: 0x00
- link_layer: InfiniBand
- port: 2
- state: PORT_DOWN (1)
- max_mtu: 2048 (4)
- active_mtu: 2048 (4)
- sm_lid: 1
- port_lid: 2
- port_lmc: 0x00
- link_layer: InfiniBand
- CA: MT25218 InfiniHostEx Mellanox Technologies:
- 0x0002c9020022371a 2 2[ ] ==( 4X 2.5 Gbps Active/ LinkUp)==> 1 1[ ] "MT25218 InfiniHostEx Mellanox Technologies" ( Could be 5.0 Gbps)
- CA: MT25218 InfiniHostEx Mellanox Technologies:
- 0x0002c90200223ac9 1 1[ ] ==( 4X 2.5 Gbps Active/ LinkUp)==> 2 2[ ] "MT25218 InfiniHostEx Mellanox Technologies" ( Could be 5.0 Gbps)
- 0a:00.0 InfiniBand: Mellanox Technologies MT25208 [InfiniHost III Ex] (rev 20)
- Subsystem: Mellanox Technologies MT25208 [InfiniHost III Ex]
- Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx+
- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
- Latency: 0, Cache Line Size: 64 bytes
- Interrupt: pin A routed to IRQ 16
- Region 0: Memory at fc300000 (64-bit, non-prefetchable) [size=1M]
- Region 2: Memory at d8000000 (64-bit, prefetchable) [size=8M]
- Capabilities: [40] Power Management version 2
- Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
- Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
- Capabilities: [48] Vital Product Data
- Product Name: Lion mini DDR
- Read-only fields:
- [PN] Part number: MHGA28-XTC
- [EC] Engineering changes: A3
- [SN] Serial number: MT0627X00390
- [V0] Vendor specific: PCIe x8
- [RV] Reserved: checksum good, 0 byte(s) reserved
- Read/write fields:
- [V1] Vendor specific: N/A
- [YA] Asset tag: N/A
- [RW] Read-write area: 107 byte(s) free
- End
- Capabilities: [90] MSI: Enable- Count=1/32 Maskable- 64bit+
- Address: 0000000000000000 Data: 0000
- Capabilities: [84] MSI-X: Enable+ Count=32 Masked-
- Vector table: BAR=0 offset=00082000
- PBA: BAR=0 offset=00082200
- Capabilities: [60] Express (v1) Endpoint, MSI 00
- DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 unlimited
- ExtTag+ AttnBtn- AttnInd- PwrInd- RBE- FLReset-
- DevCtl: Report errors: Correctable- Non-Fatal- Fatal+ Unsupported-
- RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
- MaxPayload 128 bytes, MaxReadReq 512 bytes
- DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
- LnkCap: Port #8, Speed 2.5GT/s, Width x8, ASPM L0s, Exit Latency L0s unlimited, L1 unlimited
- ClockPM- Surprise- LLActRep- BwNot-
- LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk-
- ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
- LnkSta: Speed 2.5GT/s, Width x8, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
- Kernel driver in use: ib_mthca
- ### ### ### ### ### ###
- root@hpv01:~# echo "### hpv01 port 1 to hpv00 port 0 #####" && ibstatus && ibstat && ibv_devinfo && lspci -Qvvs 0a:00.0
- ### hpv01 port 1 to hpv00 port 0 #####
- Infiniband device 'mthca0' port 1 status:
- default gid: fe80:0000:0000:0000:0002:c902:0022:3719
- base lid: 0x2
- sm lid: 0x1
- state: 1: DOWN
- phys state: 2: Polling
- rate: 10 Gb/sec (4X)
- link_layer: InfiniBand
- Infiniband device 'mthca0' port 2 status:
- default gid: fe80:0000:0000:0000:0002:c902:0022:371a
- base lid: 0x2
- sm lid: 0x1
- state: 4: ACTIVE
- phys state: 5: LinkUp
- rate: 10 Gb/sec (4X)
- link_layer: InfiniBand
- CA 'mthca0'
- CA type: MT25208
- Number of ports: 2
- Firmware version: 5.3.0
- Hardware version: 20
- Node GUID: 0x0002c90200223718
- System image GUID: 0x0002c9020022371b
- Port 1:
- State: Down
- Physical state: Polling
- Rate: 10
- Base lid: 2
- LMC: 0
- SM lid: 1
- Capability mask: 0x02510a68
- Port GUID: 0x0002c90200223719
- Link layer: InfiniBand
- Port 2:
- State: Active
- Physical state: LinkUp
- Rate: 10
- Base lid: 2
- LMC: 0
- SM lid: 1
- Capability mask: 0x02510a68
- Port GUID: 0x0002c9020022371a
- Link layer: InfiniBand
- hca_id: mthca0
- transport: InfiniBand (0)
- fw_ver: 5.3.0
- node_guid: 0002:c902:0022:3718
- sys_image_guid: 0002:c902:0022:371b
- vendor_id: 0x02c9
- vendor_part_id: 25218
- hw_ver: 0x20
- board_id: MT_0370130002
- phys_port_cnt: 2
- port: 1
- state: PORT_DOWN (1)
- max_mtu: 2048 (4)
- active_mtu: 2048 (4)
- sm_lid: 1
- port_lid: 2
- port_lmc: 0x00
- link_layer: InfiniBand
- port: 2
- state: PORT_ACTIVE (4)
- max_mtu: 2048 (4)
- active_mtu: 2048 (4)
- sm_lid: 1
- port_lid: 2
- port_lmc: 0x00
- link_layer: InfiniBand
- 0a:00.0 InfiniBand: Mellanox Technologies MT25208 [InfiniHost III Ex] (rev 20)
- Subsystem: Mellanox Technologies MT25208 [InfiniHost III Ex]
- Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx+
- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
- Latency: 0, Cache Line Size: 64 bytes
- Interrupt: pin A routed to IRQ 16
- Region 0: Memory at fc300000 (64-bit, non-prefetchable) [size=1M]
- Region 2: Memory at d8000000 (64-bit, prefetchable) [size=8M]
- Capabilities: [40] Power Management version 2
- Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
- Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
- Capabilities: [48] Vital Product Data
- Product Name: Lion mini DDR
- Read-only fields:
- [PN] Part number: MHGA28-XTC
- [EC] Engineering changes: A3
- [SN] Serial number: MT0627X00154
- [V0] Vendor specific: PCIe x8
- [RV] Reserved: checksum good, 0 byte(s) reserved
- Read/write fields:
- [V1] Vendor specific: N/A
- [YA] Asset tag: N/A
- [RW] Read-write area: 107 byte(s) free
- End
- Capabilities: [90] MSI: Enable- Count=1/32 Maskable- 64bit+
- Address: 0000000000000000 Data: 0000
- Capabilities: [84] MSI-X: Enable+ Count=32 Masked-
- Vector table: BAR=0 offset=00082000
- PBA: BAR=0 offset=00082200
- Capabilities: [60] Express (v1) Endpoint, MSI 00
- DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 unlimited
- ExtTag+ AttnBtn- AttnInd- PwrInd- RBE- FLReset-
- DevCtl: Report errors: Correctable- Non-Fatal- Fatal+ Unsupported-
- RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
- MaxPayload 128 bytes, MaxReadReq 512 bytes
- DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
- LnkCap: Port #8, Speed 2.5GT/s, Width x8, ASPM L0s, Exit Latency L0s unlimited, L1 unlimited
- ClockPM- Surprise- LLActRep- BwNot-
- LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk-
- ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
- LnkSta: Speed 2.5GT/s, Width x8, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
- Kernel driver in use: ib_mthca
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement