Dell S5148F-ON Open Networking Hardware Diagnostic Guide September 2017
Dell S5148F-ON Manual
View all Dell S5148F-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Dell S5148F-ON manual content summary:
- Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 1
Open Networking Hardware Diagnostic Guide September 2017 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 2
and tells you how to avoid the problem. WARNING: A WARNING indicates a potential for property damage, personal injury, or death. Copyright © 2017 Dell Inc. or its subsidiaries. All rights reserved. Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 3
and Dell EMC OS installation instructions 8 DIAG-OS installation...8 ONIE and DIAG OS installation...9 ONIE service discovery and OS installation...9 Installation ONIE from BIOS...10 ONIE UEFI-based installation using USB...10 3 ONIE overview...16 Boot processes...16 POST...16 Capturing support - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 4
options...38 Outputscan Output...39 test Output...39 read Output...40 write Output...41 Configuration file format...41 ledtool...41 Tests...42 CLI options...42 Outputlist output...43 get Output...43 Configuration file format...44 lpctool...44 CLI options...44 Outputread Output...45 write Output...45 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 5
...69 Tests...69 CLI options...69 Outputlist outputlistdevicenames outputread outputwrite outputtest output 70 Configuration file format...71 psutool...72 Tests...72 CLI optionstest option...72 Configuration file format...73 rtctool...74 Tests...74 CLI options...74 smartctl...75 smarttool...75 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 6
format...88 vmetool...88 CLI options...88 edatool...89 Tests...89 CLI options...89 Output...89 Configuration file format...92 Verbose mode...93 Diagnostic package...93 6 Technical support...94 Accessing support services...94 Technical assistance center...94 Hardware replacement...95 6 Contents - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 7
about the Open Networking (-ON) platform, see the following documents. • Dell EMC OS10 User Guide • Dell EMC OS9 Command Line Reference Guide • Dell EMC OS9 Configuration Guide • Dell EMC Getting Started Guide or Dell EMC Setup Guide • Dell EMC Installation Guide • Dell EMC Release Notes About this - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 8
ONIE and Dell EMC OS installation instructions This section describes the different methods to install ONIE and the Dell EMC OS on Topics: • DIAG-OS installation • ONIE and DIAG OS installation • ONIE service discovery and OS installation • Installation ONIE from BIOS DIAG-OS installation NOTE: If - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 9
Ensure that any equipment attached to the serial port supports the required 115200 baud rate. NOTE: The following Service Discovery methods are successful, you can disable this using the onie-discovery-stop command. You can install an operating system manually Dell EMC OS installation instructions 9 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 10
target. • The log messages included in this guide are subject to change. NOTE: The following procedure describe how to create a bootable unified extensible firmware interface (UEFI) ONIE-based USB to install that your system can reach the network. 10 ONIE and Dell EMC OS installation instructions - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 11
6:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA sd 6:0:0:0: [sdb] Attached SCSI removable disk The target (the system with ONIE) to the USB slot in your switch (the system without ONIE). 8 Power on your system and enter Dell EMC OS installation instructions 11 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 12
] dummy-irq: no IRQ given. Use irq=N [ 14.296290] esas2r: driver will not be loaded because no ATTO esas2r devices were found 12 ONIE and Dell EMC OS installation instructions - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 13
] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 19.159563] sd 6:0:0:0: [sdb] xxx.xxx.xxx.x ONIE: Starting ONIE Service Discovery Info: Found static url: file Firmware update URL: file:///lib/onie/onie-updater ONIE: Success: Firmware Dell EMC OS installation instructions 13 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 14
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 / xxx.xxx.xxx.x ONIE: Starting ONIE Service Discovery Info: Fetching 14 ONIE and Dell EMC OS installation instructions - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 15
Disk /dev/sda: 31277232 sectors, 14.9 GiB Logical sector size: 512 bytes Disk identifier (GUID): 763E53FF-B894-40FD-B0F9-FBAE2ED4B0B5 Partition table holds up to 128 entries First usable sector is 34 Boot0006* UEFI: KingstonDataTraveler 2.01.00 14 ONIE and Dell EMC OS installation instructions 15 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 16
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.dell.com/support. This system uses the power-on self test (POST) diagnostic tool that - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 17
log/onie.log Output example Success: Support tarball created: /tmp/onie-support.tar.bz2 Change default grub boot entry 2 CN Vendor Extension 0xFD 1 0x00 MAC Addresses 0x2A 2 256 Service Tag 0x2F 7 2WCSG02 Vendor Name 0x2D 4 DELL Diag Version 0x2E 6 01_010 Base MAC Address 0x24 6 34:17: - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 18
CRC-32 Checksum is valid. ONIE:/ # 0xFE 4 0x99415608 3 Enter the onie-sysinfo -a command. Command Example ONIE:/ # onie-sysinfo -a CN0W1K08779316470002 0W1K08 34:17:EB:05:B4:00 3.28.1.2 674 dell__c2538 0 x86_64dell__c2538-r0 x86_64 1 gpt 2016-09-21T10:01-0700 bcm ONIE:/ # - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 19
Dell EMC DIAG OS The following describes the Dell EMC diagnostics. These instructions apply to systems for which the ONIE diagnostics are not available. Topics: • Diagnostic package download • View DIAG versions • View CPLD versions • Install or upgrade DIAG tools • Restore factory dell.com/support - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 20
DIAG for rootfs install untaring into /tmp/tmp.BBEygm rootfs copy done Success: Support tarball created: /tmp/tmp.BBEygm/onie-support.tar.bz2 Updating Grub Cfg /dev/sda3 EDA-DIAG ONIE uefi_uuid 69AD-9CBF INSTALLER system reboot: machine restart BIOS Boot Selector for 20 Dell EMC DIAG OS - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 21
: MSS 1.3.1, FPGA 0.3 Last POR=0x11, Reset Cause=0x55 POST Configuration CPU Signature 406D8 CPU FamilyID=6, Model=4D, 4.901699] intel_rapl: driver does not support CPU family 6 model 77 Debian GNU/Linux 8 dell-diag-os ttyS1 dell-diag-os login: root Password: Linux dell-diag-os 3.15.10 #1 SMP - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 22
use the dpkg --install dn-diags-DiagOS-3.28.1.02-2016-08-12.deb command. root@dell-diag-os:~#dpkg --install dn-diags--DiagOS-3.28.1.02-2016-08-12.de Selecting previously unselected (1.10) ... Setting up dn-diags-.deb (1.10) ... root@dell-diag-os:~# 22 Dell EMC DIAG OS - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 23
until you reboot the system. After ONIE Rescue completes, the system resets and boots to the ONIE console. CAUTION: Restoring factory defaults erases any installed OS and requires a long time to erase 4:0:0:0: [sda] Synchronizing SCSI cache Restarting system. machine restart Dell EMC DIAG OS 23 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 24
NPUtool reports failures. For information about how to power up the I/O modules, see the Dell EMC Installation Guide for your system at www.dell.com/ support. Topics: • cpldupgradetool • cputool • eepromtool • ethtool • fantool • flashrom • gpiotool • i2ctool • ledtool • lpctool • memtool • nputool - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 25
>] cpldupgradetool -w [-i -1] [-m ] Usage:= -h, --h Show the help text -c, --cpldver CPLD version -w, --write Write operation -i, --index= Index -m, --image= CPLD image root@dell-diag-os:/# (or) (or) (or) root@dell-diag-os:/# cpldupgradetool --cpldver Dell EMC DiagOS tools 25 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 26
DATE: 06/23/16 14:26:03 PASS Configuration file format Configuration File Format There is no configuration file associated with the cpldupgradetool cputool The cputool displays [option2]... cputool -I max/ [option1] [option2]... (or) (or) (or) (or) (or) (or) 26 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 27
bus Write to LPC bus (or) (or) Output root@dell-diag-os:/# cputool --h Dell Diag - Cpu Tool version 1.1, x.xx.x.x build, 2016/08 --readlpc Read from LPC bus -W, --writelpc Write to LPC bus root@dell-diag-os:/# root@dell-diag-os:/# cputool --x86info x86info v1.30. Dave Jones 2001-2011 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 28
at an estimated 2.40GHz root@dell-diag-os:/# Configuration file format There is no configuration file associated with the cputool. = --show eepromtool -P -x Reset the EEPROM data:= eepromtool --eeprom= (or) (or) (or) (or) (or) 28 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 29
operation Test using the pre-programmed configuration or use supplied config Iteration command execution Get operation Set operation Output root@dell-diag-os:/opt/ngos/bin# eepromtool Vendor Name 0x2e Diag Version 0x2f Service Tag 0xfd Vendor Extension 0xfe CRC-32 root@dell-diag-os:/opt/ngos/bin# - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 30
dell-diag-os:/# root@dell-diag-os:/opt/ngos/bin# root@dell dell-diag-os:/opt/ngos/bin# root@dell-diag-os:/opt/ngos/bin# eepromtool --eeprom=cpueeprom2 --get 0x21 cpu2 root@dell-diag-os:/opt/ngos/bin# root@dell valid. root@dell-diag-os:/opt/ngos/bin# root@dell-diag-os:/opt format. root@dell-diag-os:/opt - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 31
TLV Name Code Len Value CRC-32 0xFE 4 0xD4431C18 Checksum is valid. root@dell-diag-os:/opt/ngos/bin# Configuration file format The eeprom devices display under the corresponding i2c bus number. Whenever you direction of the fans. The psutool command controls the PSU fans. Dell EMC DiagOS tools 31 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 32
--speed= -q, --lpc Show the help text Initilize to default Test using the pre-programmed configuration or use supplied config Get operation Set operation Read operation Write operation Iteration command execution Fan as --fan=1 or --fan=all, and so forth. Parameters with 32 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 33
a specific order. The write command cannot change the fan speeds; use the set command. Output test output root@dell-diag-os:~# fantool --test --lpc Fan Controller Test LPC Max number of Fan Trays in the System : 5 Front To Rear Fan 8 status Normal Fan 8 speed is 8585 RPM Dell EMC DiagOS tools 33 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 34
is 8566 RPM [2]+ Done dhclient -q eth0 root@dell-diag-os:~# root@dell-diag-os:~# fantool --get --fan=2 --lpc Fan 2 speed is 8738 RPM root@dell-diag-os:~# Configuration file format This example output is for platforms that Speed Register Offset Speed Register Size 34 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 35
which are manipulated through the standard read/write interfaces. There is chip numbering to support multiple GPIO chips, or chips at an offset. For devices such as the =] [--pin=] (or) gpiotool -g [-c ] [-H ] Execute repeatedly command by count:= Dell EMC DiagOS tools 35 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 36
GPIO pin number -V, --val= Value to be set Output list output root@dell-diag-os:~# gpiotool --list Chip 0 Core Gpio bits: 60 CORE gpiochip196 58 GBE_MDIO1_I2C_DATA IN LOW 0 59 JTAG_TRST OUT LOW 0 root@dell-diag-os:~# get output root@dell-diag-os:~# gpiotool --get --pin=1 Chip 0 Core Gpio - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 37
and pass the results back through a named pipe. Tests To test, the i2ctool has a configuration file that lists all the devices on the busses. The tool runs through the list and tries to reach the devices. The i2ctool reports when a device is not returning data. Dell EMC DiagOS tools 37 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 38
--display_size= -I, --iteration= Show the help text Scan operation Test using the pre-programmed configuration or use supplied config Read operation Write operation To specify the location of the config file bytesDisplay size, {1,2,4} of bytes Iteration command execution 38 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 39
..... Passed + Checking CPU Board EEPROM2 0x57 ..... Passed + Checking Switch Brd EEPROM 0x50 ..... Passed + Checking CPLD2 0x3e ..... Passed + Passed + Checking SFP+ 6 0x50 ..... Passed + Checking SFP+ 7 0x50 ..... Passed + Checking SFP+ 8 0x50 ..... Passed Dell EMC DiagOS tools 39 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 40
Checking QSFP28 47 0x50 ..... Passed + Checking QSFP28 48 0x50 ..... Passed I2C Devices: Overall test results Passed root@dell-diag-os:/etc/dn/diag# read Output /opt/ngos/bin# ./i2ctool --read --bus=/dev/i2c-1 --addr= 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 40 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 41
configuration file and editing the boilerplate configuration file rather than creating it from scratch. The configuration manually control the front and back panel LEDs normally controlled through the CPLD or FPGA access. When set, bits in these registers control the state of the LED. Dell EMC - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 42
LEDs -g, --get Get operation -s, --set Set operation -t, --test Test using the pre-programmed configuration or use supplied config -D, --led= LED -I, --iteration= Iteration command execution -S, --instance=, Instance States: normal-mode test-mode Port#19-36-Amber 42 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 43
Port#37-48-Green States: off flashing-green-fast green flashing-green Output list output root@dell-diag-os:/etc/dn/diag# ledtool --list Power Led : options green amber flashing-amber AmberLed : off Ports 37-48 FrontEnd GreenLed : off root@dell-diag-os:/etc/dn/diag# Dell EMC DiagOS tools 43 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 44
Configuration file format CONTROL_CONFIG | 2 #Control Config | method | | | | | I2C Device Flag | lpc | - lpctool Show the help-text:= lpctool --h lpctool -h Read the specified address:= (or) 44 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 45
Size -I, --iteration= Iteration command execution -C, --count= Count -a, --addr= Address Output read Output root@dell-diag-os:/opt/ngos/bin# ./lpctool --read --addr=102 Byte Port 0x102 : 0xde write Output it walks back through and verifies that the data is correct. Dell EMC DiagOS tools 45 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 46
the help text Test using the pre-programmed configuration or use supplied config Configuration information List the understood TLV codes and names Region List of tests Iteration command execution Count Address Read operation Write operation Value to be set Width {8,16} 46 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 47
dell-diag-os:~# memtool --list Region ID: 0 Region Name: DDR3-0 Address: dynamically allocated, Chunk: 0x2800 KB Largest Cache Size: 0, Cache Line Size : 0 Access: d Increment: 8 Ecc: Y Iterations: 1 Configuration Data Pattern Tests Data Cache Test root@dell-diag-os:~# Dell EMC DiagOS tools 47 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 48
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 root@dell-diag-os:~# test Output root@dell-diag-os:~# memtool --test Testing Memory Regions: Testing Memory Region 0: Passed Data Pattern Test Passed Memory: Overall test results Passed root@dell-diag-os:~# 48 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 49
is not part of the data path and does not participate in the data flow. Configuration file format The configuration file for the memtool is a list of memory segments separated by a ==== divider. Each must be run separately. • ADDRESS_READ-Read test of the address lines. Dell EMC DiagOS tools 49 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 50
Access:/dev/i2c-0 SPD Address:50 SPD Registers:0,ff nputool The nputool allows for configuring and testing the switch ASICs. The nputool tests the NPU in the system. The nputool verifies that , Syntax: nputool -h, --help -i, --init := Show this help := Initialize NPU chip 50 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 51
- Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 52
uplink_snake_traffic_test for NPU 0 SKIPPED - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 53
-T ixia_adj • nputool --init --test 1 --traffic ixia_adj The previous commands configure the VLAN and after the BCM.0> shell displays. To verify the counters, 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 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 54
front-end SFP+ ports which are connected with the Dell EMC SFP+ optics using a cable. Connect the first port to IXIA and all other ports with Loopback optics. • nputool -i -t 5 -T ixia_self -d • nputool --init --test 5 --traffic ixia_self -d Configure the VLAN and display the BCM.0> shell. To verify - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 55
the configuration file. When using this tool, you must write the correct bits because the tool does not know the details of the registers it is writing. The nvramtool can display the bit-level detail in the NVRAM registers, depending on how you define it in the configuration file. Dell EMC DiagOS - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 56
operation Write operation Iteration command execution Register Value to be set Output read output root@dell-diag-os:~# nvramtool --read NVRAM Values: 0x00 0x9f 0x00 0xe6 0x03 0x03 0x00 PCI test = 1 3 Upper DRAM test = 1 2 Lower DRAM test = 1 1 ECC test = 1 0 SPD test = 1 56 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 57
offset 0x57 = 0xea root@dell-diag-os:~# write output ./nvramtool --write --reg=0x54 --val=0x1 Configuration file format The nvramtool configuration file uses the device Upper DRAM test | RO | 0x0 B | 2 | Lower DRAM test | RO | 0x0 B | 1 | ECC test | RO | 0x0 Dell EMC DiagOS tools 57 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 58
device type. If you specify an interface, more detail displays about that device by reading the EEPROM. Output show=brief output root@dell-diag-os:~# opticstool --show=brief Show Optics in System (brief) Port # Name Status 1 SFP+ 1 PRESENT 2 SFP+ 2 PRESENT 3 SFP+ 3 PRESENT 4 SFP - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 59
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 616740000 C CN0C6Y7M48A2E@ 18 SFP+ 18 PRESENT SFP 616740000 C CN0C6Y7M48A2E@ Dell EMC DiagOS tools 59 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 60
QB382231 504020274 504020274 506220006 506220006 504120586 504120586 show --int=interface # output root@dell-diag-os:~# opticstool --show --int=48 Show Optics in System QSFP28 48 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x38 0x00 8. 60 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 61
) Bias: 0.000 0.000 0.000 0.000 (mA) root@dell-diag-os:~# Configuration file format The configuration file for the opticstool is: • Optics ID-The ID of the optics port. • Name-The printable name of the optics device-you must name the SFPs "SFP" and the QSFPs "QSFP". Dell EMC DiagOS tools 61 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 62
| 0 | - 0x00:0x0:0x0:0x0 Power | - | 0x00 | 0x00 |0 | 0 | - 0x00:0x0:0x0:0x0 Reset | - | 0x00 | 0x00 |0 | 0 | - 0x00:0x0:0x0:0x0 Intr | - | 0x00 | 0x00 |0 | 0 | - 0x00:0x0:0x0:0x0 Data | /dev/i2c-1 | 0x50 | /dev/i2c-1 0x70:0x0:0xf:0xd:,:0x72:0x01:0xf:0x01 2 | SFP+ 2 62 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 63
> -h, --h Show the help text -S, --scan Scan operation -t, --test Test using the pre-programmed configuration or use supplied config -x, --show Show operation -r, --read Read operation -w, --write Write operation -I, --iteration= Iteration command execution Dell EMC DiagOS tools 63 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 64
Func Set the Offset Count Value to be set e.g.: /dev/i2c- scan output root@dell-diag-os:~# pcitool --scan Acquiring PCI device name database Device#01: bus:dev.fn 00:00.0 ID=837514e4 Passed PCI devices: Overall test results Passed root@dell-diag-os:~# 64 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 65
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 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Dell EMC DiagOS tools 65 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 66
5 at 0x90, next 0. root@dell-diag-os:/etc/dn/diag# Configuration file format The configuration file format is strict for the PCI devices. To create this configuration file and remove any misidentified devices 0001fff1 00000000 00000000 00000000 00000040 00000000 0010010b 66 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 67
-test= Phy loopback test -s, --set-intf Set the interface with parameters -S, --speed= Speed -D, --duplex= Duplex mode -A, --autoneg= Auto-negotiation -a, --show-intf Show the interface settings Dell EMC DiagOS tools 67 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 68
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 68 Dell EMC - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 69
Auto-negotiation: on MDI-X: off (auto) Supports Wake-on: pumbg Wake-on: g Current message pltool. The pltool also checks for the correct firmware loads. The tool uses the CLI to list programmed configuration or use supplied config List the understood TLV codes and names Device type Dell EMC DiagOS - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 70
in the read or write functions. You can access CPLD1 being at deviceaddress 0, using the register value for the register you want, such as: root@dell-diag-os:~# pltool -listdevicenames 0x0 : CPLD1 0x3e : CPLD2 0x3e : CPLD3 70 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 71
test results ---- >>> Passed Configuration file format The pltool uses the device tree configuration format. # C - | RO | 0xFF | 0 | 0x0 B | 7 | Reset Extender CPLD 4 | RW | 0x1 I | 0 | Reset I | 1 | Not Reset B | 6 | Reset Extender CPLD 3 | RW | 0x1 Dell EMC DiagOS tools 71 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 72
--h Show the help text -t, --test Test using the pre-programmed configuration or use supplied config -S, --supply= Power supply -r, --read Read . This option must be used along with test flag test option root@dell-diag-os:~# psutool --test --lpc Power Supply Test all Getting details of - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 73
Supply 2 Fan Speed(RPM) : 9120 Power Supply Test Passed root@dell-diag-os:~# Configuration file format This output example is for systems without a SMF chip. ===== Power Supply 1 | Dell | i2c | 1 | 0x32 | 0x03 | 7 | 0 . The entries do not have to be in any named order. Dell EMC DiagOS tools 73 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 74
range of bits display as end:start and must be contiguous. Disaggregate sets of bits are not supported. • PresentValue-The value present. • Power Good Register, Bit(s) and Value-The bit or Show the help text Read operation Set operation Test RTC device with user interrupt 74 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 75
The SMF controls the PSU, LED control, fan monitoring, and temperature control of the switch. Use the smarttool to get and set the SmartFusion Active regions and version, and .3.1_B_region.bin • _SMF_MSS_v1.3.1_G_region.bin • _SMF_Logic_v0.3.dat Dell EMC DiagOS tools 75 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 76
for upgrade - Specify image region. (G, A, B for MSS regions, g, a for FPGA region) Following commands are supported: -um - Upgrade MSS image -uf - Upgrade FPGA image -gmr - Get MSS running image region -gfr - the MSS region using the smarttool -gmr /dev/ttyS0 command. 76 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 77
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. Dell EMC DiagOS tools 77 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 78
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. 78 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 79
# ./smarttool -uf /dev/ttyS0 / _SMF_logic_v0.E.dat command. To upgrade to region A, you must be in region G. The device automatically reboots after the upgrade. Dell EMC DiagOS tools 79 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 80
> Dump the DMI table:= smbiostool --biosdumpall smbiostool -d Check whether the SPI flash was detected:= smbiostool --biosdumpfields (or) (or) (or) (or) (or) (or) (or) 80 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 81
usb device when inserted (mandatory):= storagetool --mountusb (or) storagetool -m Unmount usb device before removed (mandatory):= storagetool --unmountusb (or) storagetool -u List devices:= storagetool --list (or) storagetool -l Dell EMC DiagOS tools 81 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 82
Device Test using the pre-programmed configuration or use supplied config Iteration command - mSATA 3IE Serial Number: 20160119AA144700000F Firmware Version: S141002c User Capacity: 32, SMART support is: Available - device has SMART capability. SMART support is: Enabled 82 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 83
SMART Error Log failed: scsi error aborted command Read SMART Self-test Log failed: scsi error aborted command Selective Self-tests/Logging not supported root@dell-diag-os:~# bonnie output root@dell-diag-os:~# storagetool --bonnie --dev=/dev/sda3 Using uid:0, gid:0. Dell EMC DiagOS tools 83 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 84
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 quiet mode to one of: errorsonly, silent, noserial 84 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 85
reset], scttemp[sts,hist], scttempint,N[,p], scterc[,N,M], devstat[,N], ssd, gplog,N[,RANGE], smartlog,N[,RANGE] -v N,OPTION , --vendorattribute=N,OPTION Set display OPTION for vendor Attribute N (see man page) (ATA) -F TYPE, --firmwarebug=TYPE (ATA) Use firmware (ATA) Dell EMC DiagOS tools 85 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 86
@dell-diag-os:/opt/dell/diag/bin# bonnie++ You must use the "-u" switch dell/diag/bin# temptool The temptool reads from the temperature devices and reports back the temperatures. The temperature sensors on the board are commonly connected through i2c busses. The configuration Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 87
--config= -I, --iteration= -q, --lpc 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. /etc/ 6 temperature value is 22.0 C Temperature Sensor 7 temperature value is 23.5 C Dell EMC DiagOS tools 87 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 88
value is 42.0 C root@dell-diag-os:/opt/dell/diag/bin# Configuration file format This output example is used for the sensor. LM75, MAX6699, and EMC1428 are supported. TEMPLATE:Name of sensor|sensor type|dev bus path|dev vme_file2.vme root@dell-diag-os:/opt/dell/diag/bin# 88 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 89
list status Run test item To specify the location of the config file e.g. /etc/dn/diag/ Config file to use for extended tests Output root@dell-diag-os:~# edatool Diagnostics Application Dell-EMC Diag edatool version 1.4, package x.xx.x.x 2016/11/21 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 90
Dell-EMC Diag fantool - version 1.5 package x.xx.x.x 2016/11/21 Dell-EMC Diag gpiotool - version 1.4 package x.xx.x.x 2016/11/21 Dell-EMC Diag i2ctool - version 1.5 package x.xx.x.x 2016/11/21 Dell-EMC Diag ledtool - version 1.0 package x.xx.x.x 2016/11/21 Dell-EMC + Checking Switch Brd EEPROM - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 91
0x50 ..... Passed 0x50 ..... Passed 0x50 ..... Passed 0x50 ..... Passed 0x50 ..... Passed 0x50 ..... Passed 0x50 ..... Passed 0x50 ..... Passed 0x50 ..... Passed 0x50 ..... Passed 0x50 ..... Passed 0x50 ..... Passed 0x50 ..... Dell EMC DiagOS tools 91 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 92
complex shell script constructs in the configuration file. root@dell-diag-os:/etc/dn/diag# cat switch. Instead, you can write your own scripts and use them through edatool using the --config= and --extended-config= parameters, as shown. root@dell Error = 0 0 EDA Enable = 1 92 Dell EMC DiagOS tools - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 93
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 - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 94
. If you do not have a userid and password, you can request these at the website. To request a userid, password, and Dell EMC support services: 1 On the Dell EMC support page, click the Account Request link. 2 Fill out the User Account Request form and click Send. You will receive your userid and - Dell S5148F-ON | Open Networking Hardware Diagnostic Guide September 2017 - Page 95
chassis, use the show hardware command. 2 Request an RMA number from TAC by opening a support case. Open a support case by: • Using the Create Service Request form on the Support page. • Contacting Dell EMC directly by email or by phone. • Provide the following information when using email or phone
Open Networking Hardware Diagnostic Guide
September 2017