[TriLUG] Associate physical PCI slot with lspci?

Carl Crider c.crider at gmail.com
Sat Oct 1 21:33:41 EDT 2011


Might be for naught, but ...

cat /proc/pci

look for chipset of the card / vendor name, etc.



On Sat, Oct 1, 2011 at 9:01 PM, Matt Pusateri
<mpusateri at wickedtrails.com> wrote:
>
> Does this help?  http://forums.fedoraforum.org/archive/index.php/t-71016.html  I haven't tried it, just ran across it...
>
>
> On Sep 30, 2011, at 11:52 PM, Maxwell Spangler wrote:
>
>> On Thu, 2011-09-29 at 09:37 -0400, Ron Kelley wrote:
>>> Greetings all,
>>>
>>> I am running CentOS 5.7 x64 and need a way to determine which cards have been inserted into which physical slots in a server.  I have a server in the data center with a 10G NIC reporting 1x PCI-E negotiation, but I am sure it is in the correct x8 slot (per the MB manual).  I tried using "lspci" to look for the physical slot number but did not find what I was looking for.  Without driving to the DC, how can I determine exactly which slot the card is inserted?
>>
>> On your CentOS 5.7 system see if you have a module called pci_slot?
>>
>> If so, load it then check /sys/bus/pci/slots for any entries?
>>
>> Then check lspci -v and see if "Physical slot" shows up.
>>
>> I know what you want is technically possible because I use it at work
>> all the time.  Alex Chiang, while at HP in 2008, wrote some nice code to
>> do all this and it works well.
>>
>> BUT what I don't know is how far it made it out of HP and into
>> distributions and on what systems it works on.  My HP Desktop with
>> Fedora doesn't offer pci_slot or any of the functionality we all want.
>>
>> You might google him and email him directly with a query.  He's working
>> for Canonical now.
>>
>> --
>> Maxwell Spangler
>> ========================================================================
>>        Linux System Administration / Computing Services
>>        Photography / Graphics Design / Writing
>>        Boulder, Colorado
>>        http://www.maxwellspangler.com
>>
>>
>> --
>> This message was sent to: M. Pusateri <mpusateri at wickedtrails.com>
>> To unsubscribe, send a blank message to trilug-leave at trilug.org from that address.
>> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
>> Unsubscribe or edit options on the web        : http://www.trilug.org/mailman/options/trilug/mpusateri%40wickedtrails.com
>> TriLUG FAQ          : http://www.trilug.org/wiki/Frequently_Asked_Questions
>
> --
> This message was sent to: Carl <c.crider at gmail.com>
> To unsubscribe, send a blank message to trilug-leave at trilug.org from that address.
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> Unsubscribe or edit options on the web  : http://www.trilug.org/mailman/options/trilug/c.crider%40gmail.com
> TriLUG FAQ          : http://www.trilug.org/wiki/Frequently_Asked_Questions
>



More information about the TriLUG mailing list