Actions
Feature #6216
closedprtdiag could display hardware in slots
Start date:
2015-09-09
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
prtdiag on x86 traditionally uses the information from smbios to determine what information to show or not to show. However, one of the pieces of it, the information about slots, happens to also have PCI express information in it. If we leverage the PCI express information and walk the topology tree, then we can actually get a bit more information about the various devices in the slots.
For slots where we can match the information, we'll print the name of the device and the associated driver, if available. Here's an example of the output:
System Configuration: BIOS Configuration: 1.1.4 11/03/2014 BMC Configuration: IPMI 2.0 (KCS: Keyboard Controller Style) ==== Processor Sockets ==================================== Version Location Tag -------------------------------- -------------------------- Intel(R) Xeon(R) CPU E5-2690 v3 @ 2.60GHz CPU1 Intel(R) Xeon(R) CPU E5-2690 v3 @ 2.60GHz CPU2 ==== Memory Device Sockets ================================ Type Status Set Device Locator Bank Locator ----------- ------ --- ------------------- ---------------- DDR4 in use 1 A1 DDR4 in use 1 A2 DDR4 in use 1 A3 DDR4 in use 1 A4 DDR4 in use 2 A5 DDR4 in use 2 A6 DDR4 in use 2 A7 DDR4 in use 2 A8 unknown empty 3 A9 unknown empty 3 A10 unknown empty 3 A11 unknown empty 3 A12 DDR4 in use 4 B1 DDR4 in use 4 B2 DDR4 in use 4 B3 DDR4 in use 4 B4 DDR4 in use 5 B5 DDR4 in use 5 B6 DDR4 in use 5 B7 DDR4 in use 5 B8 unknown empty 6 B9 unknown empty 6 B10 unknown empty 6 B11 unknown empty 6 B12 ==== On-Board Devices ===================================== ==== Upgradeable Slots ==================================== ID Status Type Description --- --------- ---------------- ---------------------------- 1 available PCI Exp. Gen 3 x16 PCIe Slot 1 2 in use PCI Exp. Gen 3 x16 PCIe Slot 2, Intel Corporation Ethernet 10G 2P X520 Adapter (ixgbe) 3 available PCI Exp. Gen 3 x16 PCIe Slot 3 4 in use PCI Exp. Gen 3 x16 PCIe Slot 4, LSI Logic / Symbios Logic SAS3008 PCI-Express Fusion-MPT SAS-3 (mpt_sas) 5 available PCI Exp. Gen 3 x16 PCIe Slot 5 6 available PCI Exp. Gen 3 x16 PCIe Slot 6 7 available PCI Exp. Gen 3 x16 PCIe Slot 7
Updated by Electric Monk almost 7 years ago
- Status changed from New to Closed
git commit caf590b518921f14033a11d17fafa827bb2caa4b
commit caf590b518921f14033a11d17fafa827bb2caa4b Author: Robert Mustacchi <rm@joyent.com> Date: 2015-09-16T21:35:26.000Z 6216 prtdiag could display hardware in slots Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Approved by: Dan McDonald <danmcd@omniti.com>
Actions