Open Networking Hardware Diagnostic Guide February 2021 February 2021 Rev.
Notes, cautions, and warnings NOTE: A NOTE indicates important information that helps you make better use of your computer. CAUTION: A CAUTION indicates either potential damage to hardware or loss of data and tells you how to avoid the problem. WARNING: A WARNING indicates a potential for property damage, personal injury, or death. © 2021 - 2016 Dell Inc. or its subsidiaries. All rights reserved. Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries.
Contents Chapter 1: About this guide........................................................................................................... 5 Notices................................................................................................................................................................................... 5 Related documents.............................................................................................................................................................
pcitool.............................................................................................................................................................................58 phytool............................................................................................................................................................................. 61 pltool...........................................................................................................................................
1 About this guide This guide provides Open Networking (ON) hardware diagnostic information. Topics: • • Notices Related documents Notices CAUTION: To avoid electrostatic discharge (ESD) damage, wear grounding wrist straps when handling this equipment. NOTE: Only trained and qualified personnel can install this equipment. Read this guide before you install and power up this equipment. This equipment contains two power cords. Disconnect both power cords before servicing.
2 Overview This guide provides information for the open networking (ON) diagnostic (DIAG) operating system (OS). This system uses the power-on self-test (POST) diagnostic tool that automatically runs during the system power-on at the BIOS level. This tool tests for catastrophic hardware failures that prevent booting the system. The error code is saved in CMOS for the next boot. There is no physical alarm indication. When the diagnostic tools finish, your system displays pass or fail test results.
● log/messages ● log/onie.log Output example Success: Support tarball created: /tmp/onie-support.tar.bz2 Change the default grub boot entry To view or set the default Boot mode, the onie-boot-mode command has two options —l, the default, and —o. The Grub boot default shows the current default entry. View or set the default Grub boot entry.
3. Enter the onie-sysinfo –a command. ONIE:/ # onie-sysinfo -a CN0W1K08779316470002 0W1K08 34:17:EB:05:B4:00 x.xx.x.
3 ONIE installation instructions This section describes the different methods to install ONIE on your switch. NOTE: After installing the networking operating software (NOS) and diagnostics operating system (DIAG-OS), if you boot into ONIE Install mode, ONIE assumes ownership of the system; ONIE Install mode is sticky. In this situation, ONIE stays in Install mode until NOS and DIAG-OS are successfully installed again.
BIOS settings for ONIE boot Pre-requisites The BIOS running on your system must meet the following requirements: ● Allows a change to the boot order so the system can boot from media (USB). ● Allows a baud-rate change. This feature is optional; you do not need it if your BIOS is running at 115200 baud rate. The default baud rate for ONIE is 115200. CAUTION: ● These procedures are for x86-based targets only, particularly targets using Rangeley or Centerton CPUbased boards.
4. Confirm that the ISO file copied to the SDD over the network. ONIE:/ # ls -l … -rw-r--r-- 1 root 0 39780352 Apr 10 11:55 onie-recovery-x86_64-dell__c2538r0.iso … 5. Insert a blank USB in the ONIE target USB slot. Verify the USB block device using the ONIE logs. Info: eth0: Checking link... scsi 6:0:0:0: Direct-Access Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 4 sd 6:0:0:0: [sdb] 15148608 512-byte logical blocks: (7.75 GB/7.
After the system exits the BIOS Boot menu, the system boots with the ONIE USB and presents the following menu: Figure 3. Embed ONIE menu 10. Select the Embed ONIE option. This step installs the UEFI ONIE version 3.26.1.1 on system. Any previous installation is removed. Do not press any key during the Embed ONIE installation. The following are the Embed ONIE logs: ONIE: Embedding ONIE ... Platform : x86_64-dell__c2538-r0 Version : x.xx.x.x Build Date: 2016-04-26T09:14-0700 [ 4.
Verifying image checksum ... OK. Preparing image archive ... OK. ONIE: Version : x.xx.x.x ONIE: Architecture : x86_64 ONIE: Machine : dell__c2538 ONIE: Machine Rev : 0 ONIE: Config Version: 1 Installing ONIE on: /dev/sda /proc/devices: No entry for device-mapper found /proc/devices: No entry for device-mapper found ONIE: Success: Firmware update URL: file:///lib/onie/onie-updater ONIE: Success: Firmware update version: x.xx.x.x ONIE: Rebooting... discover: ONIE embed mode detected.
[ 9.038475] sd 6:0:0:0: Attached scsi generic sg1 type 0 [ 9.038993] sd 6:0:0:0: [sdb] 15148608 512-byte logical blocks: (7.75 GB/7.22 GiB) [ 9.253877] sd 6:0:0:0: [sdb] Write Protect is off [ 9.254546] sd 6:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 9.492124] sd 6:0:0:0: [sdb] Attached SCSI removable disk up. Info: Trying DHCPv4 on interface: eth0 ONIE: Using DHCPv4 addr: eth0: x.xx.xxx.xx / xxx.xxx.xxx.x Starting: dropbear ssh daemon... done. Starting: telnetd...
4 ONIE service discovery The following section describes using the ONIE service discovery feature to install an operating system. Topics: • ONIE service discovery and OS installation ONIE service discovery and OS installation ONIE attempts to locate the installer through several discovery methods. To download and run an installer, the ONIE Service Discovery feature follows these steps in order and uses the first successful method found: 1.
5 Dell EMC DIAG OS These sections describe the Dell EMC diagnostics. These instructions apply to systems where ONIE diagnostics are not available. Topics: • • • • DIAG OS installation or update View DIAG versions View CPLD versions Restore factory defaults DIAG OS installation or update Load or update the DIAG-OS—the diag installer image—using the onie-nos-install command. The DIAG-OS installer runs in two modes: Update mode or Install mode.
installer-x86_64-dell__c2538-r0-2016-08-12.bin Ignoring Verifying image checksum ... OK. cur_dir / archive_path /var/tmp/installer tmp_dir /tmp/tmp.qlnVIY Preparing image archive ...sed -e '1,/^exit_marker$/d' /var/tmp/installer | tar xf OK. Diag-OS Installer: platform: x86_64-dell__c2538-r0 EDA-DIAG Partiton not found. Diag OS Installer Mode : INSTALL Creating new diag-os partition /dev/sda3 ... Warning: The kernel is still using the old partition table.
Platform ID: 0x10041A43 PMG_CST_CFG_CTL: 0x40006 BBL_CR_CTL3: 0x7E2801FF Misc EN: 0x840081 Gen PM Con1: 0x203808 Therm Status: 0x884C0000 POST Control=0xEA000100, Status=0xE6000000 BIOS initializations... CPGC Memtest ................................ PASS CPGC Memtest ................................ PASS Booting `EDA-DIAG' Loading DIAG-OS ... [ 3.786758] dummy-irq: no IRQ given. Use irq=N [ 3.792812] esas2r: driver will not be loaded because no ATTO esas2r devices were found [ 3.
Setting up dn-diags-.deb (1.10) ... root@dell-diag-os:~# Diagnostic test suite After the system boots, select the EDA-DIAG option to run the diagnostic test suite. Use the up and down arrow keys to select which entry is highlighted. Press Enter to select an operating software-selected OS or enter e to edit the commands before booting. Enter c for a command line. The highlighted entry, displaying *, runs automatically in the operating system. GNU GRUB version 2.
Restore factory defaults To restore your system factory defaults, reboot the system to ONIE: Uninstall OS mode. NOTE: The DIAG OS does not uninstall using the ONIE: Uninstall OS menu option. If it is not possible to restore your factory defaults with the installed OS, reboot the system from the Grub menu and select ONIE: Rescue. ONIE Rescue bypasses the installed OS and boots the system into ONIE until you reboot the system. After ONIE Rescue completes, the system resets and boots to the ONIE console.
6 Dell EMC DAIG-OS tools This section describes how to use the Dell EMC diagnostics operating system (DIAG OS). The DIAG OS provides a suite of tools to help diagnose issues seen on the system, or to run a health check to ensure that the hardware is operating properly. Diagnostic tools The DIAG OS uses standard Linux drivers and contains the following tools that you can use to evaluate the health of your system.
edatool The diagnostics tools include edatool. To test the basic functionality of the system, use the edatool. The edatool executes a script of simple commands, similar to commands in the CLI. Usually, the diagnostics tools run these types of tests. The success or failure of these tools is reported. At the end of the edatool run, reports the PASSED or FAILED results in a standard format the test scripts can easily parse.
Number of Devices Device Size Error Correction Type Device Frequency Manufacturing Information: Serial Number (PPID) Device Version Label Revision Service Tag Express Service Code Part Number : 1 : 16384 MB : ECC: yes : : : : : : : CN0VFFWX7793171C0001 1 X01 5F2RG02 11795544002 0VFFWX Output root@dell-diag-os:~# edatool ***************************** * Diagnostics Application * ***************************** Dell-EMC Diag edatool version x.x, package x.xx.x.x 2016/11/21 Dell-EMC Diag cputool - version x.
+ Checking CPU Board EEPROM2 0x57 ..... Passed + Checking Switch Brd EEPROM 0x50 ..... Passed + Checking CPLD2 0x3e ..... Passed + Checking CPLD3 0x3e ..... Passed + Checking CPLD4 0x3e ..... Passed + Checking SFP+ 1 0x50 ..... Passed + Checking SFP+ 2 0x50 ..... Passed + Checking SFP+ 3 0x50 ..... Passed + Checking SFP+ 4 0x50 ..... Passed + Checking SFP+ 5 0x50 ..... Passed + Checking SFP+ 6 0x50 ..... Passed + Checking SFP+ 7 0x50 .....
+ Checking SFP+ 32 0x50 ..... Passed + Checking SFP+ 33 0x50 ..... Passed + Checking SFP+ 34 0x50 ..... Passed + Checking SFP+ 35 0x50 ..... Verbose mode Use the following steps to enable and set the verbose level. 1. Set the Verbose level with a value of 0–3 using bits 4 and 5 of the EDA control reg (0x55). For example, to set the verbose level to 2, set bit 5–1 (5=1) and bit 4–0 (4=0). The value is written in hexadecimal. The xx10x1xx shows the bit positions of 2, 4&5, and bit 0 on the right.
Program a new CPLD image into CPLD's by specified index:= cpldupgradetool --write [--index=-1] [--image=] cpldupgradetool -w [-i -1] [-m ] Usage:= -h, -c, -w, -i, -m, --h --cpldver --write --index= --image= (or) Show the help text CPLD version Write operation Index CPLD image Output root@dell-diag-os:/# cpldupgradetool --h Dell Diag - CPLD Upgrade Tool version 1.1, x.xx.x.
CLI options root@dellemc-diag-os:~# cputool DellEmc Diag - Cpu Tool version 1.1, x.xx.x.
cputool -w -R -V Read the specified regiser in LPC bus:= cputool --readlpc --reg= --size= cputool -d -R -Z Write the specified regiser in LPC bus:= cputool --writelpc --reg= --val= --size= cputool -W -R -V -Z Usage:= -h, --h Show the help text -i, --cpuid CPU-Id -x, --x86info x86 info -r, --readmsr Read operation -w, --writemsr Write operation -n, --cpu= CPU -R, --reg= Register -V, --val= Value to be set -Z, --siz
Show the EEPROM data:= eepromtool --eeprom= --show (or) eepromtool -P -x Reset the EEPROM data:= eepromtool --eeprom= --erase (or) eepromtool -P -e Verify the MAC address in system-eeprom and mac-eeprom:= eepromtool --eeprom= --test (or) eepromtool -P -t Look up a TLV by code and write the value to stdout:= eepromtool --eeprom= --get (or) eepromtool -P -g Execute repeatedly command by count:= ee
SwitchEEPROM root@dell-diag-os:/# eepromtool --psueepromdump ************PSU1_CountryCode************* Registers 0x24a - 0x24b CN ************PSU1_DellPartNumber************* Registers 0x24c - 0x251 02RPHX ************PSU1_MfgID************* Registers 0x252 - 0x256 17972 ************PSU1_MfgDate************* Registers 0x257 - 0x25e 151117 ************PSU1_SerialNo************* Registers 0x25f - 0x262 01CG ************PSU1_ServiceTag************* Registers 0x263 - 0x269 ************PSU1_LabelRevision********
root@dell-diag-os:/opt/dellemc/diag/bin# eepromtool --eeprom=cpueeprom1 --erase Programming passed. EEPROM does not contain data in a valid TlvInfo format. root@dell-diag-os:/opt/dellemc/diag/bin# eepromtool --eeprom=cpueeprom1 --show Notice: Invalid TLV header found. Using default contents. Notice: Invalid TLV checksum found. Using default contents.
fantool --write --fan= --reg= --val= (or) fantool -w -F -R -V Usage:= -h, -i, -t, config -g, -s, -r, -w, -I, -F, -R, -V, -S, -q, --h --init --test Show the help text Initilize to default Test using the pre-programmed configuration or use supplied --get --set --read --write --iteration= --fan= --register= --val= --speed= --lpc Get operation Set operation Read operation Write operation Iteration command execution Fan Id Register Value to be set Sp
Getting Details for Fan 4 Fan 4 is Present Fan 4 Air flow type is Front To Rear Fan 4 status Normal Fan 4 speed is 8757 RPM Getting Details for Fan 5 Fan 5 is Present Fan 5 Air flow type is Front To Rear Fan 5 status Normal Fan 5 speed is 8492 RPM Getting Details for Fan 6 Fan 6 is Present Fan 6 Air flow type is Front To Rear Fan 6 status Normal Fan 6 speed is 8777 RPM Getting Details for Fan 7 Fan 7 is Present Fan 7 Air flow type is Front To Rear Fan 7 status Normal Fan 7 speed is 8348 RPM Getting Details
CLI options DellEmc Diag - GPIO Tool version 1.4, x.xx.x.
get output root@dell-diag-os:~# gpiotool --get --pin=1 Chip 0 Core Gpio bits: 60 CORE gpiochip196 =================================== Bit Name Dir Value =================================== set output root@dellemc-diag-os:~# gpiotool --set --pin=1 --val=1 i2ctool The i2ctool allows for scanning, reading, and writing of the I2c bus devices. To read and write to devices on the i2c bus, use the i2ctool. The i2ctool also scans the i2c busses and reports what devices are found.
i2ctool -w -b /dev/i2c- -a -R -W -V Write(16 bit addressing):= i2ctool --write --bus=/dev/i2c- --addr= -reg16= [--reg_le] --val= (or) i2ctool -w -b /dev/i2c- -a -o [-L] -V Usage: -h, --h -n, --scan -t, --test -r, --read -w, --write -f, --config= -C, --count= -R, --reg= -o, --reg16= -V, --val= -W, --width= -b, --buspath= -a, --addr= -D, --display_size= -I,
test Output root@dell-diag-os:/etc/dn/diag# i2ctool --test Testing I2C devices: Checking I2C devices on bus 0: + Checking Clock GEN 0x69 ..... + Checking SPD0 0x50 ..... Checking I2C devices on bus 1: + Checking CPU Board I2C Mux 0x70 ..... + Checking CPU Board EEPROM1 0x53 ..... + Checking CPU Board EEPROM2 0x57 ..... + Checking Switch Brd EEPROM 0x50 ..... + Checking CPLD2 0x3e ..... + Checking CPLD3 0x3e ..... + Checking CPLD4 0x3e ..... + Checking SFP+ 1 0x50 ..... + Checking SFP+ 2 0x50 .....
read Output /opt/dellemc/diag/bin# .
delloem shell exec set hpm ekanalyzer ime vita lan6 OEM Commands for Dell systems Launch interactive IPMI shell Run list of commands from file Set runtime variable for shell and exec Update HPM components using PICMG HPM.1 file run FRU-Ekeying analyzer using FRU files Update Intel Manageability Engine Firmware Run a VITA 46.
PSU2_Out_amp | 4.500 ACPI_stat | 0x0 FAN1_prsnt | 0x0 FAN2_prsnt | 0x0 FAN3_prsnt | 0x0 FAN4_prsnt | 0x0 FAN1_Rear_stat | 0x0 FAN2_Rear_stat | 0x0 FAN3_Rear_stat | 0x0 FAN4_Rear_stat | 0x0 FAN1_Front_stat | 0x0 FAN2_Front_stat | 0x0 FAN3_Front_stat | 0x0 FAN4_Front_stat | 0x0 INTER_5.0V_volt | 4.900 INTER_3.3V_volt | 3.200 FPGA_1.0V_volt | 0.990 FPGA_1.2V_volt | 1.190 FPGA_1.8V_volt | 1.780 FPGA_3.3V_volt | 3.200 BMC_2.5V_volt | 2.400 BMC_1.15V_volt | 1.140 BMC_1.2V_volt | 1.200 SWITCH_6.8V_volt | 7.
(or) ledtool -I max/ [option1] [option2]...
Ports 19-36 PortLED Mode : options normal-mode test-mode Ports 19-36 FrontEnd AmberLed : options off flashing-amber-fast amber flashing-amber Ports 19-36 FrontEnd GreenLed : options off flashing-green-fast green flashing-green Ports 37-48 PortLED Mode : options normal-mode test-mode Ports 37-48 FrontEnd AmberLed : options off flashing-amber-fast amber flashing-amber Ports 37-48 FrontEnd GreenLed : options off flashing-green-fast green flashing-green root@dell-diag-os:/etc/dn/diag# get Output root@dell-diag
-I, --iteration= -C, --count= -a, --addr= Iteration command execution Count Address Output Read output root@dell-diag-os:/opt/dellemc/diag/bin# ./lpctool --read --addr=102 Byte Port 0x102 : 0xde Write output root@dell-diag-os:/opt/dellemc/diag/bin# ./lpctool --write --addr=102 --val=10 memtool The memtool tests the physical memories in the system.
● Data Pattern—Writes four different patterns to memory locations within the specified region. The patterns are 0xFFFF, 0xFF00, 0xF0F0, 0xAAAA, 0xAA55 and 0x5555. The patterns are written as repeated portions of these patterns in the memory to fill the memory and as Hamming patterns (such as Hamming [8,4], Hamming[16,11], Hamming[32,26] or Hamming[64,57]) encoding with the additional most significant byte (MSB) parity bit to cover the parity bits in the Hamming code.
is enclosed with square brackets. However, do not type the brackets at the CLI. For example, the -region and -testlist options are optional and you must enter them as -region=0 and -testlist=0. ● List—Lists the memory regions SDI knows. The tool queries SDI for the regions and prints a list of the regions with a region number that you can use for the subsequent options requiring a region number. ● Info—Lists the SPD information for the specified regions.
|| ixi
Read output root@dell-diag-os:~# memtool --read --addr=200 [00000200]: 0x00 || . Write output root@dell-diag-os:~# memtool --write --addr=200 --val=0x50 Constraints You cannot perform memory tests while other tests that allocate and use memory within the region are performing. However, you can perform the Read tests concurrently with other processes. You cannot run multiple memory tests at the same time as they may collide within the memory spaces.
-v, --version := Display version Usage: nputool -i -t [all/0/1,2,3/4/../7] -T [ixia_self/ixia_adj/cpu_self/cpu_adj] -l [phy/mac/ext] := Run NPU tests based on user input nputool -I [count] -i -t 1 -T cpu_self := Run NPU test repeatedly by count nputool -i -s temp := Display NPU temperature For the nputool -i -t [all/0/1,2,3/4/..
CPU traffic with external loopback Tests the traffic sent from the CPU internally generated packet to the front-end ports that are connected with external Loopback optics. Connect all the ports with QSFP28 Loopback optics.
Test link_status_test for NPU 0 ............. Test snake_traffic_test for NPU 0 ............. Test prbs_mac_test for NPU 0 ............. Test prbs_ext_test for NPU 0 ............. Test uplink_link_status_test for NPU 0 ............. Test uplink_snake_traffic_test for NPU 0 ............. Test uplink_prbs_mac_test for NPU 0 ............. Test uplink_prbs_ext_test for NPU 0 ............. NPU tests ...........................................
Configure the VLAN and display the BCM.0> shell. To verify the counters, use the show c command in the BCM shell. PRBS for QSFP ports Connect ports with Loopback cables and run the PRBS MAC and EXT Loopback tests.
PCI unit 0: Dev 0x8375, Rev 0x11, Chip BCM88375_B0, Driver BCM88375_B0 sysconf_probe successful global_sal_config successful *** 1 BCM devices are detected Diag NPU initialization over NPU 0 Temperature ---------------------------monitor current peak ---------------------------0 42.3 44.2 1 40.8 44.2 2 35.9 38.8 3 40.8 43.2 ---------------------------Average 39.9, maximum peak 44.2 root@dell-diag-os:~# Debugging With traffic commands, use the –d option, which displays the BCM.0> shell.
Output Read output root@dell-diag-os:~# nvramtool --read NVRAM Values: 0x00 0x9f 0x00 0xe6 0x03 0x03 0x00 0xea Test Status Fail Bits : offset 0x50 = 0x0 7 NVRAM test = 0 6 SSD test = 0 5 COLD/SMF Reg check = 0 4 PCI test = 0 3 Upper DRAM test = 0 2 Lower DRAM test = 0 1 ECC test = 0 0 SPD test = 0 Test Status Pass Bits : offset 0x51 = 0x9f 7 NVRAM test = 1 6 SSD test = 0 5 CPLD/SMF Reg check = 0 4 PCI test = 1 3 Upper DRAM test = 1 2 Lower DRAM test = 1 1 ECC test = 1 0 SPD test = 1 RMT Control : offset 0x5
opticstool To check the presence or absence of optic devices, link status, and to read data from the optic devices’ EEPROM, use the opticstool. Tests There are no tests on the optic devices. You can run a brief report that displays the optic presence or shows simple data, such as the serial number and device type. For more detailed information, use a device report. CLI options DellEmc Diag - Optics Tool version 1.0, x.xx.x.
7 SFP+ 7 PRESENT 8 SFP+ 8 PRESENT 9 SFP+ 9 PRESENT 10 SFP+ 10 PRESENT 11 SFP+ 11 PRESENT 12 SFP+ 12 PRESENT 13 SFP+ 13 PRESENT 14 SFP+ 14 PRESENT 15 SFP+ 15 PRESENT 16 SFP+ 16 PRESENT 17 SFP+ 17 PRESENT 18 SFP+ 18 PRESENT 19 SFP+ 19 PRESENT 20 SFP+ 20 PRESENT 21 SFP+ 21 PRESENT 22 SFP+ 22 PRESENT 23 SFP+ 23 PRESENT 24 SFP+ 24 PRESENT 25 SFP+ 25 PRESENT 26 SFP+ 26 PRESENT 27 SFP+ 27 PRESENT 28 SFP+ 28 PRESENT 29 SFP+ 29 PRESENT 30 SFP+ 30 PRESENT 31 SFP+ 31 PRESENT 32 SFP+ 32 PRESENT 33 SFP+ 33 PRESENT 34 SF
21 SFP+ 21 PRESENT 22 SFP+ 22 PRESENT 23 SFP+ 23 PRESENT 24 SFP+ 24 PRESENT 25 SFP+ 25 PRESENT 26 SFP+ 26 PRESENT 27 SFP+ 27 PRESENT 28 SFP+ 28 PRESENT 29 SFP+ 29 PRESENT 30 SFP+ 30 PRESENT 31 SFP+ 31 PRESENT 32 SFP+ 32 PRESENT 33 SFP+ 33 PRESENT 34 SFP+ 34 PRESENT 35 SFP+ 35 PRESENT 36 SFP+ 36 PRESENT 37 SFP+ 37 PRESENT 38 SFP+ 38 PRESENT 39 SFP+ 39 PRESENT 40 SFP+ 40 PRESENT 41 QSFP+ 41 PRESENT 42 QSFP+ 42 PRESENT 43 QSFP28 43 PRESENT 44 QSFP28 44 PRESENT 45 QSFP28 45 PRESENT 46 QSFP28 46 PRESENT 47 QSFP2
0x00 || ..............8. [00000070]: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 || ................ [00000080]: 0x11 0x00 0x23 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 || ..#............. [00000090]: 0x00 0x00 0x01 0xa0 0x4d 0x6f 0x6c 0x65 0x78 0x20 0x49 0x20 || ....Molex Inc. [000000a0]: 0x20 0x20 0x20 0x20 0x00 0x00 0x09 0x3a 0x31 0x30 0x30 0x31 || ...:10029711 [000000b0]: 0x30 0x31 0x20 0x20 0x20 0x20 0x20 0x20 0x31 0x20 0x00 0x4c || 01 1 .....
pcitool To scan and access devices on the PCI bus, use the pcitool. The pcitool checks for missing devices and that the present devices are the proper type. The pcitool scans the PCI bus for present devices and displays them and the BAR information it decodes. The tool does not handle endianess. The pcitool reads the configuration file and then iterates across all devices in the configuration file. It checks the vendor/ product ID to see that the correct device is at the correct address.
Output scan output root@dell-diag-os:~# pcitool --scan Acquiring PCI device name database Device#01: bus:dev.fn 00:00.0 - ID=0x1f0c8086, Router Device#02: bus:dev.fn 00:01.0 - ID=0x1f108086, Device#03: bus:dev.fn 00:02.0 - ID=0x1f118086, Device#04: bus:dev.fn 00:03.0 - ID=0x1f128086, Device#05: bus:dev.fn 00:04.0 - ID=0x1f138086, Device#06: bus:dev.fn 00:0e.0 - ID=0x1f148086, Device#07: bus:dev.fn 00:0f.0 - ID=0x1f168086, Device#08: bus:dev.fn 00:13.0 - ID=0x1f158086, Device#09: bus:dev.fn 00:14.
|| ................ [00000030]: 0xf0 0x30 0x5f 0x02 0x00 0x00 0x00 0x00 0x10 0x30 0x5f 0x02 0x00 || .0_......0_..... [00000040]: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x40 0x0e 0x40 0x00 0x00 || ........@.@..... [00000050]: 0x80 0xa0 0xa9 0x91 0xff 0x7f 0x00 0x00 0x00 0x00 0x00 0x00 0x00 || ................ [00000060]: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x35 0x37 0x86 0x5b 0x00 || ........57.[G... [00000070]: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x20 0x9f 0xa9 0x91 0x00 || ........ .......
[00000080]: 0x01 0x88 0x03 0xc8 0x00 0x00 0x00 0x00 0x0d 0x90 0x00 0x00 0x86 0x80 || ................ [00000090]: 0x05 0x00 0x01 0x01 0x0c 0xf0 0xe0 0xfe 0xa1 0x41 0x00 0x00 0x00 0x00 || .........A...... [000000a0]: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 || ................ [000000b0]: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 || ................ [000000c0]: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x01 0x00 || ................
phytool -w -o -V Dump the eeprom contents:= phytool --eeprom-dump phytool -x Dump the register contents:= phytool --reg-dump phytool -d Phy loopback test:= phytool --lb-test[=no of packets] phytool -l[=no of packets] Execute repeatedly command by count:= phytool --iteration=max/ [option1] [option2]... phytool -I max/ [option1] [option2]...
... DMA clock gating: TBI mode: Link speed: Bus type: 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:~# ........................
Syntax: pltool
0x102 SW_SCRATCH bits:8 RW val:0xde mask:0xff test:1 ver:0x0 7:0 SW_SCRATCH RW 0xde 0x103 CPLD_ID bits:8 RO val:0xff mask:0xff test:0 ver:0x0 7:0 CPLD_ID RO 0x1 0x10f BOARD_REV bits:8 RO val:0xff mask:0xff test:0 ver:0x0 7:0 BOARD_REV RO 0 0x110 CPLD_SEP_RST0 bits:8 RO val:0xff mask:0xff test:0 ver:0x0 7 Reset Extender CPLD 4 RW 0x1 0 Reset 1 Not Reset 6 Reset Extender CPLD 3 RW 0x1 0 Reset 1 Not Reset 5 Reset Extender CPLD 2 RW 0x1 0 Reset 1 Not Reset 4 PCA9548_RST7 RW 0x1 0 Reset 1 Not Reset 3 PCA9548_RST
CPLD4: SW_SCRATCH.................... Passed SMF_FPGA ............................ Passed PL Tool: Overall test results ---- >>> Passed psutool The psutool determines which PSUs are in the system, checks the Power Good setting, and reads the field replaceable unit (FRU) information. It does not look at the PSU fans and airflow direction of the fans. NOTE: This tool is not available for the N1108EP-ON switch.
Power Supply 1 is Present Power Supply 1 Input Type AC Power Supply 1 Input Voltage(VIN) : 203.250000 V Power Supply 1 Output Voltage(VOUT) : 12.210000 V Power Supply 1 Input Current(IIN) : 0.610000 A Power Supply 1 Output Current(IOUT) : 9.150000 A Power Supply 1 Input Power(PIN) : 124.000000 W Power Supply 1 Output Power(POUT) : 111.700000 W Power Supply 1 Temperature : 30.
rtctool -s -y -m -D -H -M -S -Z Execute repeatedly command by count:= rtctool --iteration=max/ [option1] [option2]... (or) rtctool -I max/ [option1] [option2]...
CLI options root@dell-diag-os:/opt/dellemc/diag/bin# smarttool ERROR: main[100]: ERROR: Usage: smarttool [|] ------------------------------------------------------Usage: smarttool [] [|] - Command string (Refer below for supported commands) UART device name (say, "/dev/tty00") Specify image file path for upgrade Specify image region.
Figure 7. Check MSS region 3. Check the MSS version using smarttool –gmv /dev/ttyS0 command. Figure 8. Check MSS version 4. Because the MSS is running in region G in this example, use the region A image to upgrade your device: smarttool -um /dev/ttyS0 /_SMF_MSS_v1.41_A_region.bin. The device automatically reboots after the upgrade.
Figure 9. Upgrade region A 5. Ensure that MSS has upgraded successfully by using the smarttool –gmv /dev/ttyS0 command after the system reboots. Figure 10. Check MSS upgrade Upgrading SMF FPGA To upgrade your system using the FPGA method, follow these steps. 1. Copy all the binaries needed for upgrade into a local directory.
Figure 11. Copy needed binaries 2. Check the FPGA region using smarttool –gfr /dev/ttyS0 command. Figure 12. Check FPGA region 3. Get the current version of the FPGA using the lpctool utility. Get the FPGA running image version through the ./ lpctool --read --addr=0x200 --size=b registers at the LPC tool. Table 1. SmartFusion FPGA registers Offset Name Description 0x200 SMF_VER SmartFusion FPGA version register Figure 13. Get current FPGA version 4. Upgrade the FPGA in smartFusion using the # .
Figure 14. Upgrade FPGA 5. Verify that the FPGA is upgraded using the lpctool utility. Get the FPGA running image version through the ./lpctool --read --addr=0x200 --size=b registers of the LPC tool. smbiostool The smbiostool displays information about the BIOS and also reprograms the BIOS flash. NOTE: The smbiostool is not available for all platforms. For some platforms, this tool is replaced with the updatetool. CLI options DellEmc Diag - SMBIOS Tool version 1.2, x.xx.x.
<*options*> for biosdumpfiels:= -q Less verbose output -s Only display the value of the given DMI string -t TYPE Only display the entries of given type -u Do not decode the entries --dump-bin Dump the DMI data to a binary file --from-dump Read the DMI data from a binary file -V Display the version of dmidecode binary Output root@dell-diag-os:~# smbiostool --biosversion x.xx.x.
storagetool -t [-D Get the smart status for a device storagetool --smart --dev= (or) storagetool -S -D Execute repeatedly command by count:= storagetool --iteration=max/ [option1] [option2]...(or) storagetool -I max/ [option1] [option2]...
Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Total time to complete Offline data collection: ( 32) seconds. Offline data collection capabilities: (0x00) Offline data collection not supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x00) Error logging NOT supported. General Purpose Logging supported.
dell-diag-os 250M 27664 96 245045 62 +++++ +++ 31064 100 +++++ +++ +++++ +++ ------Sequential Create------ --------Random Create--------Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 32 32494 97 +++++ +++ 31198 66 31739 92 +++++ +++ 26511 56 dell-diag-os,250M,27664,96,245045,62,+++++,+++,31064,100,+++++,+++,+++++,++ +,32,32494,97,+++++,+++,31198,66,31739,92,+++++,+++,26511,56 smartctl To get a usage summary, use the smartctl -h command.
-s VALUE, --smart=VALUE Enable/disable SMART on device (on/off) -o VALUE, --offlineauto=VALUE Enable/disable automatic offline testing on device (on/off) (ATA) -S VALUE, --saveauto=VALUE Enable/disable Attribute autosave on device (on/off) (ATA) -s NAME[,VALUE], --set=NAME[,VALUE] Enable/disable/change device setting: aam,[N|off], apm,[N|off], lookahead,[on|off], security-freeze, standby,[N|off|now], wcache,[on|off], rcache,[on|off], wcreorder,[on|off] ======================================= READ AND DI
smartctl --attributes --log=selftest --qu MODE, --nocheck=MODE (ATA) No check if: never, sleep, standby, idle (see man page) ============== DEVICE FEATURE ENABLE/DISABLE COMMANDS ===== bonnie++ bonnie++ is a test suite for storage devices that runs more comprehensive tests than the standard file system tests using the storagetool. You can run bonnie++ outside of the storagetool, but for logging purposes, use bonnie++ within storagetool.
temptool -I max/ [option1] [option2]... Show the current temperature-device values:= temptool --show --config= [--lpc] temptool -x -f [-l] Usage:= -h, --h -t, --test -x, --show -f, --config= -I, --iteration= -q, --lpc (or) Show the help text Test using the pre-programmed configuration or use supplied config Show operation To specify the location of the config file e.g.
CLI options Syntax: .
7 Dell EMC support The Dell EMC support site provides documents and tools to help you use Dell EMC equipment and mitigate network outages. Through the support site you can obtain technical information, access software upgrades and patches, download available management software, and manage your open cases. The Dell EMC support site provides integrated, secure access to these services. To access the Dell EMC support site, go to www.dell.com/support/.