北京创意网站设计,深圳优化公司排名,顺德技术支持 骏域网站建设专家,长沙园林景观设计公司排名背景
以前对于PCIe设备插入到服务器上#xff0c;有几个slot#xff08;slot就是服务器硬件上的插槽#xff09;以及哪些插入了设备可用ipmitool查看(具体参考兄弟篇#xff1a;https://blog.csdn.net/essencelite/article/details/139051451#xff0c;但是无法知道某个…背景
以前对于PCIe设备插入到服务器上有几个slotslot就是服务器硬件上的插槽以及哪些插入了设备可用ipmitool查看(具体参考兄弟篇https://blog.csdn.net/essencelite/article/details/139051451但是无法知道某个slot插入的是什么设备那有什么方法可以查看吗本文主要介绍biosdecode命令以及查看PCIe slot以及在该slot上的BUS ID等BDF信息。
命令
biosdecode效果 可以看到在PCI Interrupt Routing中显示PCIe的bus以及后面有打印对应的slot比如 Device: 05:00, slot 6 Device: 06:00, slot 7 这两个设备平时文章经常出现的设备实际也是插入在slot6和7的
[rootlocalhost ~]# biosdecode
# biosdecode 3.5
ACPI 2.0 present.OEM Identifier: DELL RSD Table 32-bit Address: 0x000F0E44XSD Table 64-bit Address: 0x00000000000F0F28
BIOS32 Service Directory present.Revision: 0Calling Interface Address: 0x000F15C0
PCI Interrupt Routing 1.0 present.Router Device: 00:1f.0Exclusive IRQs: NoneCompatible Router: 8086:1d40Device: 00:00, on-boardDevice: 00:01, on-boardDevice: 00:02, on-boardDevice: 00:03, on-boardDevice: 00:04, on-boardDevice: 00:11, on-boardDevice: 00:1a, on-boardDevice: 00:1c, on-boardDevice: 00:1d, on-boardDevice: 00:1f, on-boardDevice: 40:01, on-boardDevice: 40:02, on-boardDevice: 40:03, on-boardDevice: 40:04, on-boardDevice: 01:00, on-boardDevice: 02:00, on-boardDevice: 04:00, slot 5Device: 03:00, on-boardDevice: 05:00, slot 6Device: 06:00, slot 7Device: 41:00, slot 1Device: 42:00, slot 4Device: 44:00, slot 2Device: 43:00, slot 3Device: 0a:00, on-boardDevice: 0c:00, on-boardDevice: 0d:00, on-board
SYSID present.Revision: 0Structure Table Address: 0x000FCF91Number Of Structures: 1
SMBIOS 2.7 present.Structure Table Length: 6483 bytesStructure Table Address: 0xBF42C000Number Of Structures: 99Maximum Structure Size: 502 bytes
PNP BIOS 1.0 present.Event Notification: Not SupportedReal Mode 16-bit Code Address: F000:E2F1Real Mode 16-bit Data Address: 0040:000016-bit Protected Mode Code Address: 0x000FE2F416-bit Protected Mode Data Address: 0x00000040
Intel Multiprocessor present.Specification Revision: 1.4Configuration Table Address: 0x000F0000Mode: Virtual Wire其他
biosdecode所在的rpm包dmidecode-3.5-1.0.1.an8.x86_64
综述
biosdecode的命令会列出BIOS期间的PCIe信息这些信息是放在ACPIAdvanced Configuration and Power Interface即高级配置和电源接口的DSDT表中通过biosdecode能够查看到。并且这些信息对于定位PCIe热插拔等场景的信息帮助比较大。比如知道插在哪个slot可以得到对应的busid。比如知道busid可以找到对应slot信息。以及正常PCIe设备调试中一些信息显示不对这里可以辅助查看信息