오라클 리눅스 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
오라클 리눅스 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
...내 경우에는 똑같은 결과가 나옵니다. 그러나 귀하의 마일리지는 물론 다를 수 있으므로 위의 방법이 귀하에게 적합한지 알려주십시오.