Oracle Linux 6 cmdを探すか、BUS:Device.Functionを物理スロットに接続します。

Oracle Linux 6 cmdを探すか、BUS:Device.Functionを物理スロットに接続します。

Oracle Linux 7で

[root@host ~]# uname -a
Linux host 4.1.12-61.1.18.el7uek.x86_64 #2 SMP Fri Nov 4 15:48:30 PDT 2016 x86_64 x86_64 x86_64 GNU/Linux 

私は利用できる

[root@host ~]# dmidecode -V
3.0
[root@host ~]# dmidecode -t slot | grep -E "Designation|Usage|Bus Address"
        Designation: PCIE0
        Current Usage: In Use
        Bus Address: ffff:13:00.0
        Designation: PCIE1
        Current Usage: In Use
        Bus Address: ffff:21:00.0
        Designation: PCIE2
        Current Usage: In Use
        Bus Address: ffff:2f:00.0
        Designation: PCIE3
        Current Usage: Available
        Designation: PCIE4
        Current Usage: Available
        Designation: PCIE5
        Current Usage: Available

Oracle Linux 6で

[root@host ~]# uname -a
Linux host 3.8.13-68.3.4.el6uek.x86_64 #2 SMP Tue Jul 14 15:03:36 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux

dmidecodeバージョン2.12

[root@host ~]# dmidecode -V
2.12 

そこにはバスアドレスはありません。

[root@host ~]# dmidecode -t slot | grep -E "Designation|Usage|Bus Address"
        Designation: PCIExp SLOT0
        Current Usage: In Use
        Designation: PCIExp SLOT1
        Current Usage: Available
        Designation: PCIExp SLOT2
        Current Usage: Available

試しましたが、lshw正しい情報を提供していません。

Oracle Linux 7にアップグレードする以外に、他のアイデアはありますか?

ベストアンサー1

問題を再現するためにOracle Linux 6をインストールしました。まず、私の設定にバスアドレスが表示されます。

ファイル/etc/os-release(切り捨て):

NAME="Oracle Linux Server"
VERSION="6.10"

出力uname -a

Linux oracle6.local 4.1.12-124.28.5.el6uek.x86_64 #2 SMP Thu Jun 20 11:57:41 PDT 2019 x86_64 x86_64 x86_64 GNU/Linux

出力dmidecode -V

2.12

出力dmidecode -t slot | grep -E "Designation|Usage|Bus Address"

        Designation: ISA Slot J8
        Current Usage: Unknown
        Bus Address: 00ff:ff:1f.7
        Designation: ISA Slot J9
        Current Usage: Unknown
        Bus Address: 00ff:ff:1f.7
        Designation: ISA Slot J10
        Current Usage: Unknown
        Bus Address: 00ff:ff:1f.7
        Designation: PCI Slot J11
        Current Usage: In Use
        Bus Address: 0000:00:0f.0
        Designation: PCI Slot J12
        Current Usage: Available
        Bus Address: 0000:00:10.0
        Designation: PCI Slot J13
        Current Usage: In Use
        Bus Address: 0000:00:11.0
        Designation: PCI Slot J14
        Current Usage: Available
        Bus Address: 0000:00:12.0

明らかに、あなたの場合、バスアドレスはリストされません。だから私が行った最新の内容をコンパイルするにはdmidecode:

yum groupinstall Development
cd
wget "http://download.savannah.gnu.org/releases/dmidecode/dmidecode-3.2.tar.xz"
tar -xvf dmidecode-3.2.tar.xz
cd dmidecode-3.2
make && make install

バージョンを確認するために、/usr/local/sbin/dmidecode -V次のコマンドを実行しました。

3.2

私はあなたのコマンドを繰り返しました/usr/local/sbin/dmidecode -t slot | grep -E "Designation|Usage|Bus Address"

        Designation: ISA Slot J8
        Current Usage: Unknown
        Bus Address: 00ff:ff:1f.7
        Designation: ISA Slot J9
        Current Usage: Unknown
        Bus Address: 00ff:ff:1f.7
        Designation: ISA Slot J10
        Current Usage: Unknown
        Bus Address: 00ff:ff:1f.7
        Designation: PCI Slot J11
        Current Usage: In Use
        Bus Address: 0000:00:0f.0
        Designation: PCI Slot J12
        Current Usage: Available
        Bus Address: 0000:00:10.0
        Designation: PCI Slot J13
        Current Usage: In Use
        Bus Address: 0000:00:11.0
        Designation: PCI Slot J14
        Current Usage: Available
        Bus Address: 0000:00:12.0

...私の場合は、同じ結果が出ます。しかし、あなたのマイレージはもちろん異なるかもしれませんので、上記の方法があなたに合っているかどうか教えてください。

おすすめ記事