Open Networking Hardware Diagnostic Guide June 2018
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. Copyright © 2018 Dell Inc. or its subsidiaries. All rights reserved. Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries.
Contents 1 About this guide............................................................................................................................................. 7 Notices.................................................................................................................................................................................7 Related documents..........................................................................................................................................
Output..........................................................................................................................................................................31 eepromtool........................................................................................................................................................................ 32 Tests..................................................................................................................................................
CLI options..................................................................................................................................................................50 nvramtool.......................................................................................................................................................................... 55 Tests....................................................................................................................................................
Tests............................................................................................................................................................................ 84 CLI options..................................................................................................................................................................84 Output.....................................................................................................................................................
1 About this guide This guide provides site preparation recommendations, step-by-step procedures for rack mounting and desk mounting, inserting optional modules, and connecting to a power source. Notices CAUTION: To avoid electrostatic discharge (ESD) damage, wear grounding wrist straps when handling this equipment. WARNING: 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.
2 ONIE and Dell EMC OS installation instructions This section describes the different methods to install ONIE and the Dell EMC OS on your system. 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.
| | | | | | | | | | | | | | +----------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, `e' to edit the commands before booting or `c' for a command-line. ONIE and DIAG OS installation The following steps describe how to load ONIE and DIAG-OS on your system: • • • Installing ONIE—these instructions use the universal serial bus (USB) method. To boot from a Linux USB, you must preinstall BIOS on your system.
To assign an IP address to the management interface, eth0, and verify network connectivity, use the ifconfig eth0 command, as shown: ONIE:/ # ifconfig eth0 x.x.x.x netmask x.x.x.x UP Then set speed on management interface as below ONIE:/ # ethtool -s eth0 speed 100 duplex full Verify the network connection with ping. ONIE:/ # ping x.x.x.x PING x.x.x.x (x.x.x.x): 56 data bytes 64 bytes from x.x.x.x: seq=0 ttl=62 time=1.357 ms 64 bytes from x.x.x.x: seq=1 ttl=62 time=0.
|*ONIE: Rescue | |ONIE: Uninstall OS | |ONIE: Update ONIE | |ONIE: Embed ONIE | |EDA-DIAG | | | | | | | +---------------------------+ 2 Confirm that your system can reach the network. 3 Copy the ONIE ISO image to the solid-state drive (SSD) of the ONIE target. ONIE:/ # wget --quiet http://xx.xx.x.xxx/tftpboot/users//onie-recovery-x86_64dell__c2538-r0.iso To copy the image, you can use SCP, TFTP, or WGET (ftp/http). scp username@xx.xx.xxx.
Figure 2. Setup utility 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.
[ 14.463587] mtdoops: mtd device (mtddev=name/number) must be supplied [ 16.328319] i8042: No controller found [ 16.397853] fmc_write_eeprom fake-design-for-testing-f001: fmc_write_eeprom: no busid passed, refusing all cards [ 16.568122] intel_rapl: driver does not support CPU family 6 model 77 Info: Mounting kernel filesystems... done. Info: Mounting ONIE-BOOT on /mnt/onie-boot ... Info: Using eth0 MAC address: 4c:76:25:f4:7c:80 Info: eth0: Checking link... [ 18.
Figure 4. ONIE install menu The system comes up in ONIE Install mode by default, as shown: ONIE: OS Install Mode ... Version : x.xx.x.x Build Date: 2016-04-26T09:14-0700 ONIE: OS Install Mode ... Version : x.xx.x.x Build Date: 2016-04-26T09:14-0700 [ 4.759116] dummy-irq: no IRQ given. Use irq=N [ 4.835970] esas2r: driver will not be loaded because no ATTO esas2r devices were found [ 5.003050] mtdoops: mtd device (mtddev=name/number) must be supplied [ 6.867708] i8042: No controller found [ 6.
http://xx.xx.xxx.x/onie-installer-x86_64-dell__c2538-r0 ... Info: Fetching http://xx.xx.xxx.x/onie-installer-x86_64-dell__c2538 ... Info: Fetching http://xx.xx.xxx.x/onie-installer-dell__c2538 ... Info: Fetching http://xx.xx.xxx.x/onie-installer-x86_64 ... Info: Fetching http://xx.xx.xxx.x/onie-installer ... Info: Fetching http://xx.xx.xxx.x/onie-installer-x86_64-dell__c2538-r0 ... Info: Fetching http://xx.xx.xxx.x/onie-installer-x86_64-dell__c2538 ...
3 ONIE overview This chapter describes system diagnostics and troubleshooting. After running the diagnostic tools, your system displays pass or fail test results. If all tests pass, the diagnostic tools exit normally. If a test fails, each diagnostic tool offers a different result. NOTE: The troubleshooting package includes a README file that lists the tools version and the overall troubleshooting package version. For more information, see this README file. NOTE: To download the Release Notes, go to www.
The ONIE support file includes the following: • kernel_cmdline • runtime-export-env • runtime-process • runtime-set-env • log/messages • log/onie.log Output example Success: Support tarball created: /tmp/onie-support.tar.bz2 Change 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.
Service Tag Vendor Name Diag Version Base MAC Address Platform Name ONIE Version CRC-32 Checksum is valid. ONIE:/ # 3 0x2F 0x2D 0x2E 0x24 0x28 0x29 0xFE 7 4 6 6 26 8 4 2WCSG02 DELL 01_010 34:17:EB:05:B4:00 x86_64-dell__c2538-r0 x.xx.x.x 0x99415608 Enter the onie-sysinfo –a command. ONIE:/ # onie-sysinfo -a CN0W1K08779316470002 0W1K08 34:17:EB:05:B4:00 3.28.1.
4 Dell EMC DIAG OS These sections describe the Dell EMC diagnostics. These instructions apply to systems where ONIE diagnostics are not available. Topics: • Diagnostic package download • View DIAG versions • View CPLD versions • Install or upgrade DIAG tools • Restore factory defaults Diagnostic package download 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.
dell__c2538-r0-2016-08-12.bin ... users// 100% |*******************************| 154M 0:00:00 ETA ONIE: Executing installer: tftp:///users///diag-installerx86_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.
SMF Version: MSS 1.3.1, FPGA 0.3 Last POR=0x11, Reset Cause=0x55 POST Configuration CPU Signature 406D8 CPU FamilyID=6, Model=4D, SteppingId=8, Processor=0 Microcode Revision 125 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 ................................
a b Boot into the DIAG OS. Log in as root. Password: calvin. c d Install the EDA-DIAG tools package. Run /opt/dellemc/diag/bin/edatool. NOTE: To return to your networking operating software, enter the reboot command. Diagnostic test suite After the system boots up, select the EDA-DIAG option to run the diagnostic test suite. To select which entry is highlighted, use the up and down arrow keys. Press Enter to select an operating software-selected OS or enter e to edit the commands before booting.
Install or upgrade DIAG tools To install or upgrade the DIAGs in the DIAGs OS, use the dpkg --install dn-diags--DiagOS-.deb command. root@dell-diag-os:~#dpkg --install dn-diags--DiagOS--.de Selecting previously unselected package dn-diags-.deb. (Reading database ... 18873 files and directories currently installed.) Preparing to unpack dn-diags--DiagOS--.deb ... Unpacking dn-diags-.deb (1.10) ...
ONIE:/ # discover: Rescue mode detected. No discover stopped. Stopping: dropbear ssh daemon... done. Stopping: telnetd... done. Stopping: syslogd... done. Info: Unmounting kernel filesystems The system is going down NOW! Sent SIGTERM to all processes Sent SIGKILL tosd 4:0:0:0: [sda] Synchronizing SCSI cache Restarting system.
5 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 you can use to evaluate the health of your system.
• Diagnostic package 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.
Dell-EMC Dell-EMC Dell-EMC Dell-EMC Dell-EMC Dell-EMC Dell-EMC Dell-EMC Dell-EMC Dell-EMC Dell-EMC Dell-EMC Dell-EMC Dell-EMC Dell-EMC Dell-EMC Dell-EMC Diag Diag Diag Diag Diag Diag Diag Diag Diag Diag Diag Diag Diag Diag Diag Diag Diag cputool - version 1.1 package x.xx.x.x 2016/11/21 fantool - version 1.5 package x.xx.x.x 2016/11/21 gpiotool - version 1.4 package x.xx.x.x 2016/11/21 i2ctool - version 1.5 package x.xx.x.x 2016/11/21 ledtool - version 1.0 package x.xx.x.x 2016/11/21 lpctool - version 1.
+ Checking SFP+ 5 0x50 ..... Passed + Checking SFP+ 6 0x50 ..... Passed + Checking SFP+ 7 0x50 ..... Passed + Checking SFP+ 8 0x50 ..... Passed + Checking SFP+ 9 0x50 ..... Passed + Checking SFP+ 10 0x50 ..... Passed + Checking SFP+ 11 0x50 ..... Passed + Checking SFP+ 12 0x50 ..... Passed + Checking SFP+ 13 0x50 ..... Passed + Checking SFP+ 14 0x50 ..... Passed + Checking SFP+ 15 0x50 ..... Passed + Checking SFP+ 16 0x50 ..... Passed + Checking SFP+ 17 0x50 .....
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). 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.
Output root@dell-diag-os:/# cpldupgradetool --h Dell Diag - CPLD Upgrade Tool version 1.1, x.xx.x.
build, 2017/05/23, Syntax: cputool
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, --size= Size -d, --readlpc Read from LPC bus -W, --writelpc Write to LPC bus root@dell-diag-os:/# (or) root@dell-diag-os:/# cputool --x86info x86info v1.30.
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:= eepromtool --iteration=ma
FAN5EEPROM 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_LabelRevis
-------------------- ---- --- ----Product Name 0x21 4 cpu2 CRC-32 0xFE 4 0x338B2B86 Checksum is valid. root@dell-diag-os:/opt/dellemc/diag/bin# 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 -I max/ [option1] [option2]...
Getting Details for Fan 3 Fan 3 is Present Fan 3 Air flow type is Front To Rear Fan 3 status Normal Fan 3 speed is 8474 RPM 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
gpiotool The gpiotool controls the state of the GPIO lines from the CPU or any other device that drives the GPIO lines. The CPU GPIO alines the map in Linux to /sys/class/gpio entries, which are manipulated through the standard read/write interfaces. There is chip numbering to support multiple GPIO chips, or chips at an offset.
36 PMU_SUSCLK 37 PMU_SLP_DDRVTT_B 38 PMU_SLP_LAN_B 39 PMU_WAKE_B 40 PMU_PWRBTN_B 49 GBE_SDP0_1 50 GBE_LED0 51 GBE_LED1 52 GBE_LED2 53 GBE_LED3 54 NCSI_RXD1 55 GBE_MDIO0_I2C_CLK 58 GBE_MDIO1_I2C_DATA 59 JTAG_TRST root@dell-diag-os:~# OUT IN IN OUT IN IN IN IN IN IN OUT OUT IN OUT LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW 0 0 0 0 0 0 0 0 0 0 0 0 0 0 get output root@dell-diag-os:~# gpiotool --get --pin=1 Chip 0 Core Gpio bits: 60 CORE gpiochip196 =================================== Bit Name D
config=] (or) i2ctool -t [-f ] Execute repeatedly command by count:= i2ctool --iteration=max/ [option1] [option2]... (or) i2ctool -I max/ [option1] [option2]...
60: -- -- -- -- -- -- -- -- -- 69 -70: -- -- -- -- -- -- -- -- RR RR RR 0 1 2 3 4 5 6 7 8 9 a 00: RR RR RR RR RR RR RR RR -- -- -10: -- -- -- -- -- -- -- -- -- -- -20: -- -- -- -- -- -- -- -- -- -- -30: -- -- -- -- -- -- -- -- -- -- -40: -- -- -- -- -- -- -- -- -- -- -50: 50 51 52 53 54 55 56 57 -- -- -60: -- -- -- -- -- -- -- -- -- -- -70: 70 -- -- -- -- -- -- -- RR RR RR I2C devices found on bus #0: 8 0x18 0x1a 0x2e 0x30 0x32 0x50 I2C devices found on bus #1: 10 0x3e 0x50 0x51 0x52 0x53 0x54 0x57 0x70 roo
+ Checking SFP+ 35 0x50 ..... + Checking SFP+ 36 0x50 ..... + Checking SFP+ 37 0x50 ..... + Checking SFP+ 38 0x50 ..... + Checking SFP+ 39 0x50 ..... + Checking SFP+ 40 0x50 ..... + Checking QSFP+ 41 0x50 ..... + Checking QSFP+ 42 0x50 ..... + Checking QSFP28 43 0x50 ..... + Checking QSFP28 44 0x50 ..... + Checking QSFP28 45 0x50 ..... + Checking QSFP28 46 0x50 ..... + Checking QSFP28 47 0x50 ..... + Checking QSFP28 48 0x50 .....
CLI options DellEmc Diag - Led Tool version 1.0, x.xx.x.
Output list output root@dell-diag-os:/etc/dn/diag# ledtool --list Power Led : options green amber flashing-amber off System Led : options amber flashing-green flashing-amber green Fan Led : options green flashing-amber off Beacon LED : options flashing-blue off Ports 1-18 PortLED Mode : options normal-mode test-mode Ports 1-18 FrontEnd AmberLed : options off flashing-amber-fast amber flashing-amber Ports 1-18 FrontEnd GreenLed : options off flashing-green-fast green flashing-green Ports 19-36 PortLED Mode :
lpctool To access devices on the LPC bus, use the lpctool. The lpctool allows access on the LPC bus by using I/O transactions at the processor level. This access does not include LPC interfaces in other devices. Other DIAG-OS tools use lpctool to read LPC-connected registers. CLI options DellEmc Diag - LPC Tool version 1.0, x.xx.x.
In addition, the memtool reads the types and locations of memory in the system. The memory may be physical RAMs connected to the CPU covered by caches, or memory attached or embedded in other devices or across buses. The tool must know the addressable location of the memory, the memory address, data bus sizes, and any addressing constraints; for example, byte or word addressable boundaries.
memtool --read --addr=
--count= [--width=<8/16/32>] (or) memtool -r -a -C [-W <#8,16,32>] Write at the specified physical address:= memtool --write --addr= --val=,, ... , [--width=<8/16/32>] (or) memtool -w -a -V ,..., [-W <8/16/32>] Execute repeatedly command by count:= memtool --iteration=max/ [option1] [option2]... (or) memtool -I max/ [option1] [option2]...Address: dynamically allocated, Chunk: 0x2800 KB Largest Cache Size: 0, Cache Line Size : 0 Access: d Increment: 8 Ecc: Y Iterations: 1 Configuration device: SPD (/dev/i2c-0) at 0x50, Regs 0 to 255 Tests: Address Read Test Address Write Test Address Walking 1's Test Address Walking 0's Test Data Read Test Data Write Test Data Walking 1's Test Data Walking 0's Test Data Sliding 1's Test Data Sliding 0's Test Data Pattern Tests Data Cache Test root@dell-diag-os:~# Info output root@dell-diag-os:~# memtool --i
Test output root@dell-diag-os:~# memtool --test Testing Memory Regions: Testing Memory Region 0: Address Read Test ......................................... Address Write Test ........................................ Address Walking 1's Test .................................. Address Walking 0's Test .................................. Data Read Test ............................................ Data Write Test ........................................... Data Walking 1's Test .................................
Tests Tests are shown in the following sections. CLI options The nputool shows the available options with the nputool -h or nputool command. DellEmc Diag ---- NPU Tool version 1.0, x.xx.x.
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 ........................................
• nputool --init --test 1 --traffic cpu_adj root@dell-diag-os:~# nputool -i -t 1 -T cpu_adj DMA pool size: 16777216 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 Test link_status_test for NPU 0 ............ SKIPPED <<<--Test snake_traffic_test for NPU 0 ............ Passed Test prbs_mac_test for NPU 0 ............ SKIPPED <<<--Test prbs_ext_test for NPU 0 ............
Connect all the ports with the SFP+ optics with TX and RX shorted. • nputool -i -t 5 -T cpu_self • nputool --init --test 5 --traffic cpu_self CPU traffic for uplink ports connected between adjacent ports Traffic is sent from the CPU internally generated packet to the front-end Dell EMC SFP+ ports which are connected with SFP+ optics using a cable. Connect the SFP+ ports with the Dell EMC SFP+ optics using cables.
root@dell-diag-os:~# nputool --init --test 3 DMA pool size: 16777216 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 Test link_status_test for NPU 0 ................ SKIPPED <<<--Test snake_traffic_test for NPU 0 .............. SKIPPED <<<--Test prbs_mac_test for NPU 0 ................... SKIPPED <<<--Test prbs_ext_test for NPU 0 ...................
With traffic commands, use the –d option, which displays the BCM.0> shell. To check counters and if the link is up, use the ps and show c commands. nvramtool To read and write the NVRAM bits, use the nvramtool. The BIOS uses the NVRAM bits to control testing. The EDA tools also use the NVRAM bits. The NVRAM is an area, usually in a battery backed-up device such as an RTC chip. The NVRAM bits do not change across reboots or power cycles. These bits control how devices boot and how the system performs tests.
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 0x52 = 0x0 7: 4 Undefined = 0 3 RMT Test Enable = 0 2: 0 RMT Test Reboot Count = 0 Status ID Byte : offset 0x53 = 0xe6 POST Control Bits : offset 0x54 = 0x3 7 Force Cold Boo
Syntax: opticstool
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 QSFP28 47 PRESENT 48 QSFP28 48 PRESENT root@dell-diag-os:~# show output root@dell-diag-os:~# opticstool --show Show Optics in System Port # Name Status Type Part Number Rev Serial Number ------ ------------- -----
43 QSFP28 43 PRESENT 44 QSFP28 44 PRESENT 45 QSFP28 45 PRESENT 46 QSFP28 46 PRESENT 47 QSFP28 47 PRESENT 48 QSFP28 48 PRESENT root@dell-diag-os:~# QSFP28 QSFP28 QSFP28 QSFP28 QSFP28 QSFP28 1002971101 1002971101 1002971051 1002971051 1002971101 1002971101 1 1 1 1 1 1 504020274 504020274 506220006 506220006 504120586 504120586 show --int=interface # output root@dell-diag-os:~# opticstool --show --int=48 Show Optics in System ======================================= QSFP28 48 Detailed Display =============
Connector : 0x23 Specification : 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Encoding : 0x00 BR Nominal : 0x00 Length (9um) Km : 0x00 Length (9um) 100m : 0x00 Length (50um) 10m : 0x00 Length (62.5um) 10m : 0x00 Length (copper) 10m : 0x01 Cable Attenuation : 0x00 (2.5 Ghz) 0x00 (5.
pcitool -S[=all] To test using default PCI config-file := pcitool -test (or) pcitool -t Show confic data for specific bus:dev.func:= pcitool --show {--bus=# --dev=# -func=#} (or) pcitool -x {-B # -D # -F #} Read 8-bit config register for bus:dev.func:= pcitool --read {--bus=# --dev=# --func=# --offset= -count=} (or) pcitool -r {-B # -D # -F # -O -C } Write 8-bit config register for bus:dev.
test output root@dell-diag-os:~# pcitool --test Testing PCI devices: + Checking PCI 00:00.0, ID=1f0c8086 ................. + Checking PCI 00:01.0, ID=1f108086 ................. + Checking PCI 00:02.0, ID=1f118086 ................. + Checking PCI 00:03.0, ID=1f128086 ................. + Checking PCI 00:0e.0, ID=1f148086 ................. + Checking PCI 00:0f.0, ID=1f168086 ................. + Checking PCI 00:13.0, ID=1f158086 ................. + Checking PCI 00:14.0, ID=1f418086 .................
Base Address 3: I/O at 0x00007f40. Base Address 4: I/O at 0xfffffff0. Base Address 5: Memory at 0x00000000. CardBus CIS pointer 0xfbad000c (BAR 3), address 7f47. root@dell-diag-os:/etc/dn/diag# pcitool --show --bus=0 --dev=4 --func=0 bus:dev.fn 00:04.0 [00000000]: 0x86 0x80 0x13 0x1f 0x07 0x04 0x10 0x00 0x02 0x00 0x04 0x06 0x10 || ................ [00000010]: 0x04 0x00 0xf6 0xdf 0x00 0x00 0x00 0x00 0x00 0x04 0x04 0x00 0xf0 || ...............
phytool The phytool allows setting the management phy for management port for speed, duplex auto negotiation, and Loopback; as well as reading the MAC and MAC EEPROM in the phy. Tests CLI options DellEmc Diag - PHY Tool version 1.1, x.xx.x.
Output root@dellemc-diag-os:/etc/dn/diag# phytool --read-mac 34:17:eb:07:7c:00 root@dellemc-diag-os:/etc/dn/diag# phytool --eeprom-dump Offset Values ----------0x0000: 34 17 eb 07 7c 00 00 08 ff ff 05 10 ff ff ff 0x0010: 18 00 00 00 2f 40 41 1f 86 80 41 1f 86 80 80 0x0020: ff ff ff ff 80 5c 47 00 00 00 40 00 00 4c ab 0x0030: 00 00 00 70 0e 1a 26 44 a3 07 42 1f 01 02 02 0x0040: 0c 00 47 21 00 00 ff ff ac 44 f6 00 44 1f 08 0x0050: 40 04 3c 00 00 00 04 14 00 00 00 00 00 10 ff 0x0060: 00 01 00 40 32 13 13 40 00
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.
-L, -r, -w, -I, -n, -D, --listdevicenames --read --write --iteration= --devname= --dev= -R, --reg= -V, --val= -d, --dump List Device name Read operation Write operation Iteration command execution Device name Device (should be assigned 0 for lpc access) Register Value to be set Dump the values in the registers of a device Output List output root@dell-diag-os:~# pltool --list CPLD1 0 cpld lpc 0 (U5) 0x100 CPLD_VERSION bits:8 RO val:0 mask:0xff test:0 ver:0x0 7:4 MAJOR_VER RO 0 3:0 MINOR_VER RO 0 0x101 BO
0x3e : CPLD4 0x0 : SMF_FPGA Read output root@dell-diag-os:~# pltool --read --devname=CPLD4 --dev=0x3e --reg=0x2 SW_SCRATCH : offset 0x02 = 0xde 7: 0 SW_SCRATCH = de root@dell-diag-os:~# Write output root@dell-diag-os:~# pltool --write --devname=CPLD4 --dev=0x3e --reg=0x2 --val=0xff Test output root@dell-diag-os:~# pltool --test Testing Programmable Devices: PL Tool test: CPLD1 .................... Passed CPLD2: SW_SCRATCH.................... CPLD3: SW_SCRATCH.................... CPLD4: SW_SCRATCH.......
Write the value into the Power Supply Register:= psutool --write --supply= --reg= --val= (or) psutool -w -R -V Verify PSU by reading SMF registers:= psutool --lpc (or) psutool -q Execute repeatedly command by count:= psutool --iteration=max/ [option1] [option2]... (or) psutool -I max/ [option1] [option2]...
rtctool The rtctool allows setting and testing of the real time clock (RTC) in the system. Tests CLI options DellEmc Diag - RTC Tool version 1.1, x.xx.x.
smartctl smartctl controls the self-monitoring, analysis, and reporting technology (SMART) system built into most ATA/SATA and SCSI/SAS hard drives and solid-state drives. The purpose of SMART is to monitor the reliability of the hard drive and predict drive failures, and to carry out different types of drive self-tests. smarttool This optional tool is only available on systems using a SmartFusion chip. The SMF controls the PSU, LED control, fan monitoring, and temperature control of the switch.
- 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. CLI options DellEmc Diag - SMBIOS Tool version 1.2, x.xx.x.
smbiostool -S <*options*> <*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.
Test devices(empty for all):= storagetool --test [--dev=] (or) 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]...
=== START OF ENABLE/DISABLE COMMANDS SECTION === SMART Enabled. === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: 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.
Writing with putc()...done Writing intelligently...done Rewriting...done Reading with getc()...done Reading intelligently...done start 'em...done...done...done... Create files in sequential order...done. Stat files in sequential order...done. Delete files in sequential order...done. Create files in random order...done. Stat files in random order...done. Delete files in random order...done. Version 1.
-d TYPE, --device=TYPE Specify device type to one of: ata, scsi, sat[,auto][,N][+TYPE], usbcypress[,X], usbjmicron[,p][,x][,N], usbsunplus, marvell, areca,N/E, 3ware,N, hpt,L/M/N, megaraid,N, cciss,N, auto, test -T TYPE, --tolerance=TYPE Tolerance: normal, conservative, permissive, verypermissive (ATA) -b TYPE, --badsum=TYPE Set action on bad checksum to one of: warn, exit, ignore (ATA) -r TYPE, --report=TYPE Report transactions (see man page) -n MODE, --nocheck=MODE No check if: never, sleep, standby,
and then /usr/share/smartmontools/drivedb.h] ============================================ DEVICE SELF-TEST OPTIONS ===== -t TEST, --test=TEST Run test.
CLI options NOTE: Before using any commands, you must set the MUX settings to select the bus segments the temperature sensors are on. DellEmc Diag - Temperature Tool version 1.4, x.xx.x.x-x build, 2017/05/23, Syntax: temptool
Temperature Sensor 8 temperature value is 31.0 C Temperature Sensor 9 temperature value is 42.0 C root@dell-diag-os:/opt/dellemc/diag/bin# updatetool The updatetool shows the CPLD version that is being used to upgrade the CPLD. Tests There are no defined tests with updatetool. CLI options Syntax: .
Output root@dellemc-diag-od~#updatetool --device_version --dev=CPU_CPLD CPU_CPLD version: System CPLD Version : offset 0x00 = 0xc 7: 4 Major Revision = 0 3: 0 Minor Revision = c Scratch Register : offset 0x01 = 0x0 vmetool The CPLDupgradetool uses vmetool to upgrade CPLD. NOTE: Do not call the vmetool directly; use the cpldupgradetool to call the vmetool. CLI options root@dell-diag-os:/opt/dellemc/diag/bin# vmetool Lattice Semiconductor Corp. ispVME(tm) V12.2 Copyright 1998-2011.
6 Dell EMC support The Dell EMC support site provides documents and tools to help you effectively 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/.