Dell S5148F-ON Open Networking Hardware Diagnostic Guide September 2017 - Page 93

Verbose mode, Diagnostic package

Page 93 highlights

Verbose mode Use the following steps to enable and set the verbose level. 1 Set the Verbose level with a value of 0 to 3 using bits 4 and 5 of the EDA control reg (0x55). For example, to set the verbose level to 2, set bit 5 to 1 (5=1) and bit 4 to 0 (4=0). root@dellemc-diag-os:~# nvramtool --write --reg=0x55 --val=0x25 The value is written in hexadecimal. The xx10x1xx shows the bit positions of 2, 4&5, and bit 0 on the right. 2 Enable Verbose mode by setting bit 2 of the same reg to 1. NOTE: If you disable Verbose mode, or bit 2 of reg 0x55 is set to 0, the default verbosity level is 0/zero. EDA control reg (0x55): • 5:4-EDA Verbose Level = 0/1/2/3 or verbosity level 0, 1, 2, or 3. • 3-EDA Extended Tests • 2-EDA Verbose Mode = 0/1 (0=disabled; 1=enabled) • 1-EDA Stop on Error • 0-EDA Enable NOTE: If you do not need the Verbose mode settings to persist through reboots, you can use the environment variable method to enable Verbose Mode. export VERB_LEVEL= To clear the environment variable, use the unset VERB_LEVEL command. Diagnostic package The diagnostic applications, libraries, and configurations are packaged in a debian package called dn-diags-{PLATFORM}{PACKAGE_VERSION}.deb. Executables are placed in /opt/ngos/bin, libraries are placed in /opt/ngos/lib, and configurations are placed in /etc/dn/diag. To install the package on the switch, use the dpkg --install command. Dell EMC DiagOS tools 93

  • 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
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95

Verbose mode
Use the following steps to enable and set the verbose level.
1
Set the Verbose level with a value of 0 to 3 using bits 4 and 5 of the EDA control reg (0x55).
For example, to set the verbose level to 2, set bit 5 to 1 (
5=1
) and bit 4 to 0 (
4=0
).
root@dellemc-diag-os:~# nvramtool --write --reg=0x55 --val=0x25
The value is written in hexadecimal. The
xx10x1xx
shows the bit positions of 2, 4&5, and bit 0 on the right.
2
Enable Verbose mode by setting bit 2 of the same reg to
1
.
NOTE:
If you disable Verbose mode, or bit 2 of reg 0x55 is set to
0
, the default verbosity level is
0/zero
.
EDA control reg (0x55):
5:4—EDA Verbose Level = 0/1/2/3 or verbosity level 0, 1, 2, or 3.
3—EDA Extended Tests
2—EDA Verbose Mode = 0/1 (0=disabled; 1=enabled)
1—EDA Stop on Error
0—EDA Enable
NOTE:
If you do not need the Verbose mode settings to persist through reboots, you can use the environment variable method to
enable Verbose Mode.
export VERB_LEVEL=<setting 0,1,2 or 3>
To clear the environment variable, use the
unset VERB_LEVEL
command.
Diagnostic package
The diagnostic applications, libraries, and
configurations
are packaged in a debian package called
dn-diags-{PLATFORM}-
{PACKAGE_VERSION}.deb
.
Executables are placed in
/opt/ngos/bin
, libraries are placed in
/opt/ngos/lib
, and
configurations
are placed in
/etc/dn/diag
.
To install the package on the switch, use the
dpkg --install <package_name>
command.
Dell EMC DiagOS tools
93