Administrator Guide
Table Of Contents
- Open Networking Hardware Diagnostic Guide April 2016
- About this Guide
- Installation Instructions for ONIE and the Dell OS
- ONIE Overview
- Dell DIAG OS
- Dell DiagOS Tools
- Technical Support

• scan — Scans all the devices on the PCI bus and returns any device information that is found.
• test — Checks the devices on the PCI bus against those that are defined in the configuration file.
• show — Shows the configuration space information for the device.
• read — Reads specific configuration bytes from the configuration space of a specified device (similar to show).
• write — Writes a specific configuration byte in the configuration space of the specified device.
Output
scan Output
root@amazon:/opt/ngos/bin# ./pcitool --scan
Acquiring PCI device name database
Device#01: bus:dev.fn 00:00.0 - ID=0x0c738086, NOT LISTED
Device#02: bus:dev.fn 00:01.0 - ID=0x0c468086, PCIe port
Device#03: bus:dev.fn 00:02.0 - ID=0x0c478086, PCIe port
Device#04: bus:dev.fn 00:03.0 - ID=0x0c488086, PCIe port
Device#05: bus:dev.fn 00:04.0 - ID=0x0c498086, PCIe port
Device#06: bus:dev.fn 00:0e.0 - ID=0x0c548086, NOT LISTED
...
Device#17: bus:dev.fn 07:00.0 - ID=0x400e12d8, NOT LISTED
Device#18: bus:dev.fn 07:00.1 - ID=0x400e12d8, NOT LISTED
Device#19: bus:dev.fn 07:00.2 - ID=0x400f12d8, EHCI HCD
Device#20: bus:dev.fn 08:00.0 - ID=0x10d38086, E100E
test Output
root@amazon:/opt/ngos/bin# ./pcitool --test
Testing PCI devices:
+ Checking PCI 00:00.0, ID=0c738086 ........... Passed
+ Checking PCI 00:04.0, ID=0c498086 ........... Passed
+ Checking PCI 00:0e.0, ID=0c548086 ........... Passed
+ Checking PCI 00:13.0, ID=0c598086 ........... Passed
+ Checking PCI 00:13.1, ID=0c5a8086 ........... Passed
+ Checking PCI 00:14.0, ID=0c5f8086 ........... Passed
+ Checking PCI 00:1f.0, ID=0c608086 ........... Passed
+ Checking PCI 01:00.0, ID=b85014e4 ........... Passed
+ Checking PCI 02:00.0, ID=91701b4b ........... Passed
+ Checking PCI 03:00.0, ID=400a12d8 ........... Passed
+ Checking PCI 04:01.0, ID=400a12d8 ........... Passed
+ Checking PCI 04:02.0, ID=400a12d8 ........... Passed
+ Checking PCI 04:03.0, ID=400a12d8 ........... Passed
+ Checking PCI 07:00.0, ID=400e12d8 ........... Passed
+ Checking PCI 07:00.1, ID=400e12d8 ........... Passed
+ Checking PCI 07:00.2, ID=400f12d8 ........... Passed
+ Checking PCI 08:00.0, ID=10d38086 ........... Passed
PCI devices: Overall test results --------- >>> Passed
show Output
root@dell-diag-os:~# pcitool --show --bus=0 --dev=4 --func=0
bus:dev.fn 00:04.0
[00000000]: 0x60 0x27 0xc7 0xa6 0xc8 0x7f 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ||
`'..............
[00000010]: 0x38 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0xc0 0x3f 0x40 0x00 0x00 0x00 0x00 0x00 ||
8........?@.....
[00000020]: 0x60 0x27 0xc7 0xa6 0xc8 0x7f 0x00 0x00 0x10 0x90 0xea 0x00 0x00 0x00 0x00 0x00 ||
`'..............
[00000030]: 0x00 0xe3 0x5e 0x9e 0xff 0x7f 0x00 0x00 0xc0 0x3f 0x40 0x00 0x00 0x00 0x00 0x00
|| ..^......?@.....
Dell DiagOS Tools 65