Dell PowerSwitch S4112F-ON Open Networking Hardware Diagnostic Guide April 201 - Page 68

pltool, Tests

Page 68 highlights

Force duplex: 0x00008: STATUS (Device status register) Duplex: Link up: Transmission: DMA clock gating: TBI mode: Link speed: Bus type: ... no 0x00282383 full link config on disabled disabled 1000Mb/s PCI Express root@dellemc-diag-os:/etc/dn/diag# phytool --lb-test=100 TEST PASSED NOTE: The loopback test and set-intf will terminate the ethernet driver. You need to reboot to restart the driver cleanly. [1]+ Terminated setsid /bin/kni -c 0x3 -n 2 -- -p 1 --config="(0,0,1)" >> /dev/null root@dellemc-diag-os:~# phytool --set-intf --speed=1000 [2]+ Done dhclient -q eth0 root@dellemc-diag-os done Port 0 Link Up - speed 1000 Mbps - full-duplex root@dellemc-diag-os:~# root@dellemc-diag-os:~# phytool --show-intf Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: Twisted Pair PHYAD: 3 Transceiver: internal Auto-negotiation: on MDI-X: off (auto) Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000007 (7) drv probe link Link detected: yes pltool To test functionality of the CPLD and FPGA devices on the boards during startup, use the pltool. The pltool also checks for the correct firmware loads. The tool uses the CLI to list the devices and their registers, and allows you to read and write registers in the device. The read functionality prints the details to the bit level and also any bit groupings and their meanings. The tool uses the SDI interface to get a list of devices and registers in the system, and then uses SDI to access the devices. Tests The pltool tests specified registers that SDI identifies in the testable bits of the register. The tool reads the register using SDI interfaces and compares the testable bits from those bits the SDI database provides. If a mismatch occurs, an error is displayed. 68 Dell EMC DAIG-OS tools

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88

Force duplex:
no
0x00008: STATUS (Device status register)
0x00282383
Duplex:
full
Link up:
link config
Transmission:
on
DMA clock gating:
disabled
TBI mode:
disabled
Link speed:
1000Mb/s
Bus type:
PCI Express
...
root@dellemc-diag-os:/etc/dn/diag# phytool --lb-test=100
TEST PASSED
NOTE: The loopback test and set-intf will terminate the ethernet driver.
You need to reboot to
restart the driver cleanly.
[1]+
Terminated
setsid /bin/kni -c 0x3 -n 2 -- -p 1 --config="(0,0,1)" >> /dev/null
root@dellemc-diag-os:~# phytool --set-intf --speed=1000
[2]+
Done
dhclient -q eth0
root@dellemc-diag-os:~#
........................
done
Port 0 Link Up - speed 1000 Mbps - full-duplex
root@dellemc-diag-os:~# root@dellemc-diag-os:~# phytool --show-intf
Settings for eth0:
Supported ports: [ TP ]
Supported link modes:
10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Advertised link modes:
10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 3
Transceiver: internal
Auto-negotiation: on
MDI-X: off (auto)
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
pltool
To test functionality of the CPLD and FPGA devices on the boards during startup, use the
pltool
.
The
pltool
also checks for the correct
firmware
loads. The tool uses the CLI to list the devices and their registers, and allows you to read
and write registers in the device. The read functionality prints the details to the bit level and also any bit groupings and their meanings. The
tool uses the SDI interface to get a list of devices and registers in the system, and then uses SDI to access the devices.
Tests
The
pltool
tests
specified
registers that SDI
identifies
in the testable bits of the register. The tool reads the register using SDI interfaces
and compares the testable bits from those bits the SDI database provides. If a mismatch occurs, an error is displayed.
68
Dell EMC DAIG-OS tools