Finding PCI IDs and Getting Info on LSI Cards
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:
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.
In the end you should end up with a response like this:
Finally, I wanted to get the vendor and device ID:
For me that gave me an ID of:
That’s all I’ve got for right now. I hope this helps you!