如何从 dmesg 错误消息中确定 PCIe 插槽号?
How to determine PCIe slot number from dmesg error message?
我有一个包含多个 PCIe 卡的 Linux 系统。 dmesg 表示其中一张卡正在生成错误:
[ 3970.385387] pcieport 0000:00:02.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=0010(Transmitter ID)
[ 3970.385389] pcieport 0000:00:02.0: device [8086:2f04] error status/mask=00001000/00002000
[ 3970.385391] pcieport 0000:00:02.0: [12] Replay Timer Timeout
如何从 [8086:2f04] 中确定插槽号?
您可以使用以下内容查找有关系统中所有插槽的信息。
dmidecode -t slot
How can I determine the slot number from [8086:2f04] ?
您可以使用 lspci
,更具体地说 lspci -nv
。
一旦您具体了解,您可以使用 lspci -s <slot number>
进一步调查。
我有一个包含多个 PCIe 卡的 Linux 系统。 dmesg 表示其中一张卡正在生成错误:
[ 3970.385387] pcieport 0000:00:02.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=0010(Transmitter ID)
[ 3970.385389] pcieport 0000:00:02.0: device [8086:2f04] error status/mask=00001000/00002000
[ 3970.385391] pcieport 0000:00:02.0: [12] Replay Timer Timeout
如何从 [8086:2f04] 中确定插槽号?
您可以使用以下内容查找有关系统中所有插槽的信息。
dmidecode -t slot
How can I determine the slot number from [8086:2f04] ?
您可以使用 lspci
,更具体地说 lspci -nv
。
一旦您具体了解,您可以使用 lspci -s <slot number>
进一步调查。