Kunnskapsbase

How to Determine the PCI-e Bus Speed of a PCI-e Card in a RedHat based Linux Distribution


This article provides information on how to determine PCI-E bus speed of a PCI-E card in a RedHat based Linux distribution.

Question

How to determine PCI-E bus speed of a PCI-E card such as a Dell SAS 6G or Dell SAS 5/e without running a DSET report.

Answer

The general concept here is that we need to first determine the bus address of the device in question. The device below we are looking for is a Dell SAS 6g which is produced by LSI.

Note: The follow commands should be native to RedHat based system and should be able to be run from anywhere. The command IS case sensitive. You may have to follow the commands with > filename.txt to output the text to a file for review. I.E. lspci > filename.txt
  1. First lets figure out what the bus address of the device in question is by running command lspci
    lspci
  2. We can see a LSI RAID controller however the SAS 6g is not a raid controller so that is the incorrect device. The only other lsi device is listed as having a bus address "04:00.0"
    Note: We can also see other devices like an Intel 82599EB 10 gig NIC listed. You can see both ports on this dual port NIC via it's LUN ID of .0 or .1
  3. At this point we have two options:
    run command lspci -nv and search within it for our bus address, in this case "04:00.0"
    lspci -nv

    Note: We can see the "LnkCap" with a "Width x8" and a "LnkSta" with a "Width x8" from this we can see the device has a negotiated speed of 8x.
  4. or we could run command dmidecode and search within it for our bus address, in this case "04:00.0"
    dmidecode

    Note: We can see under "Designation" that the slot type accepts x16,x8, or x4. From the "Type" we can see the length of the slot as being x16.



Artikkel-ID: SLN249067

Dato sist endret: 12/22/2014 03:11 AM


Vurder denne artikkelen

Nøyaktig
Nyttig
Brukervennlig
Var denne artikkelen nyttig?
Ja Nei
Send oss tilbakemelding
Kommentarer kan ikke inneholde disse spesialtegnene: <>()\
Beklager, men tilbakemeldingssystemet vårt er nede for øyeblikket. Prøv igjen senere.

Takk for tilbakemeldingen.