Finding PCI IDs and Getting Info on LSI Cards

August 01, 2019

I had a need to find the PCI IDs of a few LSI cards in a server. The OS that I was going to be installing on it needs to have this information in the config layout before installation, so I needed to boot from a live ISO and then run a few commands.

I created a bootable Ubuntu flash drive and loaded it up in the server. In this case, I used the Ubuntu Desktop version, so I could check a few other things while I was in there.

Open up a terminal window and fire off a few commands:

dmidecode -t slot

This will give you a dump of all of the PCI slots that are available in your machine. The important bits are Current Usage and Bus Address. Given the Current Usage info, you can pretty quickly deduce which PCI devices are plugged in where (if you know the physical layout).

Next we’re going to get more information about each one that’s plugged in to a particular Bus.

lspci -vmms 0000:03:00.0

In the end you should end up with a response like this:

Slot:   03:00.0
Class:  Serial Attached SCSI controller
Vendor: LSI Logic / Symbios
Device: SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]
SVendor: LSI Logic / Symbios
SDevice: SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]
Rev: 03
NUMANode: 0

Finally, I wanted to get the vendor and device ID:

lspci -vnn | grep LSI

For me that gave me an ID of:


That’s all I’ve got for right now. I hope this helps you!