The PowerEdge r610 RAID card

Source: Internet
Author: User

The same thing that I see is the case of the RAID card


LSPCI stands for list PCI. Think of this command as "LS" + "PCI".

This would display information about all the PCI bus in your server.

Apart from displaying information about the bus, it'll also display information about all the hardware devices Connected to your PCI and PCIe bus.

For example, it would display information about Ethernet cards, RAID controllers, Video cards, etc.

Lspci utility is part of the Pciutils package.

If you don't have the Pciutilis, install it on your system as shown below.

# yum Install Pciutils
1. Default Usage

By default it would display all the device information as shown below. The first field is the slot information in this format: [domain:]bus:device.function

In this example, since all the domain is 0, LSPCI would not display the domain.

# LSPCI 00:00.0 Host Bridge:intel Corporation 5500 I/O Hub to ESI Port (rev.) 00:01.0 PCI Bridge:intel Corporation 552 0/5500/x58 I/O hub PCI Express Root Port 1 (rev.) 00:09.0 PCI Bridge:intel Corporation 7500/5520/5500/x58 I/O hub PCI E 
Xpress Root Port 9 (rev.) 00:14.0 Pic:intel Corporation 7500/5520/5500/x58 I/o Hub System Management Registers (Rev 13) 00:14.1 Pic:intel Corporation 7500/5520/5500/x58 I/O Hub GPIO and Scratch Pad registers (rev.) 00:14.2 Pic:intel Corp Oration 7500/5520/5500/x58 I/O Hub Control Status and RAS registers (rev.) 00:1a.0 USB Controller:intel Corporation 828 01I (ICH9 Family) USB UHCI Controller #4 (rev) 00:1c.0 PCI Bridge:intel Corporation 82801I (ICH9 Family) PCI Express P ORT 1 (rev.) 00:1d.0 USB Controller:intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev) 00:1e.0 PCI Bridge:intel Corporation 82801 PCI Bridge (rev) 00:1f.0 ISA Bridge:intel Corporation 82801IB (ICH9) LPC Interface Con Troller (rev. 00:1f.2) IDE Interface:intel Corporation 82801IB (ICH9) 2 port SATA Controller [IDE mode] (rev) 01:00.0 Ethernet Controller:b Roadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev.) 01:00.1 Ethernet controller:broadcom Corporation netxt Reme II BCM5709 Gigabit Ethernet (rev.) 03:00.0 RAID bus Controller:lsi logic/symbios Logic megaraid SAS 2108 [Libera
 Tor] (rev.) 06:03.0 VGA compatible Controller:matrox Electronics Systems Ltd. MGA g200ew WPCM450 (rev 0a)

Note:in all the examples below, we'll be showing only partial output by picking couple of devices from the above list. 2. Dump PCI Info in Different Format

If you want to pass the output of the LSPCI command to a shell script that you could want to use-m option (or-mm option) as sh Own below.

This option is also helpful if you are want to view the subsystem information. For example, for the RAID controller, the default output just says, which is the using LSI Logic RAID controller. But, the following output displays the subsystem, which is the DELL PERC H700 Integrated RAID controller system.

# lspci-m 00:00.0 "Host Bridge" "Intel Corporation" "5500 I/O hub to ESI Port"-r13 "Dell" "PowerEdge R610 I/O hub to ESI Port "00:09.0" PCI bridge "Intel Corporation" "7500/5520/5500/x58 I/O Hub PCI Express Root Port 9"-r13 "" "00:14.0" P IC "Intel Corporation" "7500/5520/5500/x58 I/O Hub System Management registers"-r13 "" "00:1a.0" USB Controller "" Inte  L Corporation "" 82801I (ICH9 Family) USB UHCI controller #4 "-r02" Dell "" PowerEdge R610 USB UHCI Controller "00:1f.0" ISA Bridge "Intel Corporation" "82801IB (ICH9) LPC Interface Controller"-r02 "Dell" "PowerEdge R610 82801IB (ICH9) LPC Inte  Rface controller "00:1F.2" IDE Interface "Intel Corporation" "82801IB (ICH9) 2 port SATA Controller [IDE mode]"-r02-p8f "Dell" "PowerEdge R610 SATA IDE Controller" 01:00.0 "Ethernet Controller" "Broadcom Corporation" "NetXtreme II BCM5709 Gi Gabit Ethernet "-r20" Dell "" PowerEdge R610 BCM5709 Gigabit Ethernet "03:00.0" RAID Bus Controller "" LSI Logic/symbios L Ogic "" MegaRAID SAS 2108 [Liberator] "-r05" Dell "" PERC H700 Integrated "06:03.0" VGA compatible Controller "" Matrox Electronics Systems Ltd. "
 "Mga g200ew WPCM450"-r0a "Dell" "PowerEdge R610 MGA g200ew WPCM450"
3. Output in Tree Format

THE-T option would display the output in tree format with information about bus, and how devices is connected to those BU Ses as shown below. The output would be is only using the numerical IDs.

# lspci-t
-[0000:00]-+-00.0
           +-01.0-[01]--+-00.0
           |            \-00.1
           +-03.0-[02]--+-00.0
           |            \-00.1
           +-07.0-[04]--
           +-09.0-[05]--
           +-14.0
           +-14.1
           +-1c.0-[03]----00.0
           +-1d.0
           + -1E.0-[06]----03.0
           +-1f.0
4. Detailed Device information

If you want to look into the details of a particular device, use-v to get more information. This would display information about all the devices. The output of this command is very long, and you need to scroll down and view the appropriate section.

For Additional-verbosity, you can use-vv OR-VVV.

In the following example, I ' ve given output of the RAID controller device.

# lspci-v
 03:00.0 RAID bus controller:lsi logic/symbios Logic megaraid SAS 2108 [Liberator] (rev.)
        Subsystem : Dell PERC H700 Integrated
        flags:bus Master, Fast Devsel, latency 0, IRQ
        I/O ports at fc00 [size=256]
        Mem Ory at df1bc000 (64-bit, non-prefetchable) [size=16k]
        Memory at df1c0000 (64-bit, non-prefetchable) [size=256k]
        Expansion ROM at df100000 [disabled] [size=256k]
        capabilities: [3] Power Management version
        capabilities: [68] Express Endpoint, MSI
        capabilities: [D0] Vital Product Data
        capabilities: [A8] MSI:ENABLE-COUNT=1/1 MASKABL e-64bit+
        capabilities: [C0] msi-x: enable+ count=15 masked-
        capabilities: [+] Advanced Error Reporting
        capabilities: [138] Power budgeting <?>
        Kernel driver in Use:megaraid_sas
        Kernel Modules:megaraid_sas
5. Display Device Codes in the Output

If you want to display the PCI vendor code, and the device code is only as the numbers, use-n option. This won't lookup the PCI file to get the corresponding values for the numbers.

# lspci-n
01:00.1 0200:14e4:1639 (rev.)
02:00.0 0200:14e4:1639 (Rev.
20) 02:00.1 0200:14e4:1639 c3/>03:00.0 0104:1000:0079 (rev.)
06:03.0 0300:102b:0532 (rev 0a)

If you want to display both the description and the number, use the OPTION-NN as shown below.

# lspci-nn
01:00.0 Ethernet Controller [0200]: Broadcom Corporation netxtreme II BCM5709 Gigabit Ethernet [14e4:1639] (rev)
03:00.0 RAID Bus Controller [0104]: LSI logic/symbios Logic megaraid SAS 2108 [Liberator] [1000:0079] (rev.)
06:03 .0 VGA compatible controller [0300]: Matrox Electronics Systems Ltd., MGA g200ew WPCM450 [102b:0532] (Rev 0a).

6. Lookup a specific Device

When you know the slot number in the Domain:bus:slot.func format, you can query for a particular device as shown below. In the following example, we didn ' t specify the domain number, as it is 0, which can was left out.

# lspci-s 03:00.0
03:00.0 RAID bus controller:lsi logic/symbios Logic megaraid SAS 2108 [Liberator] (rev 05)

When you know the device number in the Vendor:device format, you can query for a particular device as shown below.

# lspci-d 1000:0079
03:00.0 RAID bus controller:lsi logic/symbios Logic megaraid SAS 2108 [Liberator] (rev 05)

If you know only either the vendor ID, or the device ID, you can omit the other ID. For example, both the following command would return the same output as the above.

Lspci-d: 0079
lspci-d 1000:
7. Display Kernel Drivers

This is very helpful if you like to know the name of the kernel module that would be handling the operations of a PARTICU Lar device. Please note the This option would work with only on Kernel 2.6 version and above.

# lspci-k
00:1f.2 IDE Interface:intel Corporation 82801IB (ICH9) 2 port SATA Controller [IDE mode] (rev)
        Subs Ystem:dell PowerEdge R610 SATA IDE Controller
        Kernel driver in Use:ata_piix
        Kernel modules:ata_generic, Pata_ac Pi, Ata_piix
02:00.0 Ethernet controller:broadcom Corporation netxtreme II BCM5709 Gigabit Ethernet (rev.)
        Subs Ystem:dell PowerEdge R610 BCM5709 Gigabit Ethernet
        Kernel driver in use:bnx2
        Kernel modules:bnx2
03:00.0 RA ID bus Controller:lsi logic/symbios Logic megaraid SAS 2108 [Liberator] (rev.)
        Subsystem:dell PERC H700 Integrat Ed
        Kernel driver in Use:megaraid_sas
        Kernel Modules:megaraid_sas


Http://www.thegeekstuff.com/2014/04/lspci-examples/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.