dmidecode は lspci とは異なります。

dmidecode は lspci とは異なります。

1. 既存 lscpi

lspci | grep Non-Volatile
03:00.0 Non-Volatile memory controller ...

(ドメイン0)、バス03、デバイス00、機能0と解釈されます。

dmidecode 関連部分:

dmidecode -t slot
Handle 0x0026, DMI type 9, 17 bytes
System Slot Information
        Designation: PCIE3
        Type: x16 PCI Express 3 x16
        Current Usage: In Use
        Length: Long
        Characteristics:
                3.3 V is provided
                Opening is shared
                PME signal is supported
        Bus Address: 0000:03:02.0

ドメイン 0、バス 3、デバイス 2、機能 0 を表示します。

これで、lspciツリービューにブリッジがあることがわかります。

lspci -tv | grep -C 3 Non-Volatile
\-[0000:00]-+-00.0  Intel Corporation Xeon E5/Core i7 DMI2
            +-01.0-[01]--
            +-01.1-[02]--
            +-02.0-[03]----00.0  Non-Volatile memory controller ...

ブリッジはバス0のデバイス2ですが、dmidecodeはスロットがバス3のデバイス2だと思います。これは少し奇妙です。

ベストアンサー1

man dmidecode説明する

...
dmidecode  is  a tool for dumping a computer's DMI (some say
SMBIOS) table contents in a human-readable format.
...
While this is a good point in terms of report speed and safeness,
this also makes the presented information possibly unreliable.
...

Linuxカーネルは、自分が使うアドレスを知っています。だから私はsysfsとlspciに依存します。

おすすめ記事