Is there a way to verify PCI slots are bad/not working via command line?

Iacceptthelinuxchallenge

Gold Member
Gold Supporter
Joined
May 18, 2021
Messages
43
Reaction score
12
Credits
446
Hi,
I am trying to install 4 TV turner cards in a HP DC7900 mini-worktower. There are three PCI slots available. I have verified my card is working and is currently working in PCI1. It does not work in either PCI2 or PCI3.
Is there a way to verify PCI2 &3 slots are bad/not working via command line?" I would also like to know if the PCIX slot can be verified via command line, but only have one slot so I can't verify the card is good.

I have already checked the BIOS and the PCI slot enable/delete option is not present under the Security tab. I do know I need to update the BIOS as it is v01.22 and the latest one was vo1..27. Thank you for your time :)
 

Attachments

  • systeminfo.png
    systeminfo.png
    184.6 KB · Views: 194


So are you messing with me or forget this is an English based forum?
Ignore that person they have been posting crap in other topics earlier today as well.
You can try running dmidecode to see if all your slots show up.
Code:
sudo dmidecode
If they don't they are probably not working, maybe @brickwizard has some ideas they are more into hardware than me.
 
Last edited:
Ignore that person they have been posting crap in other topics earlier today as well.
You can try running dmidecode to see if all your slots show up.
Code:
sudo dmidecode
If they don't they are probably not working, maybe @brickwizard has some ideas they are more into hardware than me.
Thanks for the advice! Brickwizard came to a road block unfortunately. Could u tell me how many slots the screenshot says I have?
 

Attachments

  • Screenshot at 2022-02-19 08-25-41.png
    Screenshot at 2022-02-19 08-25-41.png
    160.7 KB · Views: 194
I have never used dmidecode for anything but I just know that it exists to view your hardware information. I just looked up my own motherboard and I know it has 7 PCI slots. Then I ran the following.
Code:
$ sudo dmidecode -t slot | grep PCI |wc -l
7
Which gave me an output of 7 which is the same as mentioned on how many PCI slots my motherboard has on the vendor's hardware specification of the motherboard.
Code:
3 x PCIe 3.0 x16 slots (support x16/x0/x4, x8/x8/x4 modes)
3 x PCIe 3.0 x1 slots
However I guess a slot could still show up and not work correctly. Can you share which exact motherboard you have and share the output of the command I shared in this post? Keep in mind I'm not much into hardware related things.
 
I have never used dmidecode for anything but I just know that it exists to view your hardware information. I just looked up my own motherboard and I know it has 7 PCI slots. Then I ran the following.
Code:
$ sudo dmidecode -t slot | grep PCI |wc -l
7
Which gave me an output of 7 which is the same as mentioned on how many PCI slots my motherboard has on the vendor's hardware specification of the motherboard.
Code:
[LIST]
[*]3 x PCIe 3.0 x16 slots (support x16/x0/x4, x8/x8/x4 modes)
[*]3 x PCIe 3.0 x1 slots
[/LIST]
However I guess a slot could still show up and not work correctly. Can you share which exact motherboard you have and share the output of the command I shared in this post? Keep in mind I'm not much into hardware related things.
I have never used dmidecode for anything but I just know that it exists to view your hardware information. I just looked up my own motherboard and I know it has 7 PCI slots. Then I ran the following.
Code:
$ sudo dmidecode -t slot | grep PCI |wc -l
7
Which gave me an output of 7 which is the same as mentioned on how many PCI slots my motherboard has on the vendor's hardware specification of the motherboard.
Code:
3 x PCIe 3.0 x16 slots (support x16/x0/x4, x8/x8/x4 modes)
3 x PCIe 3.0 x1 slots
However I guess a slot could still show up and not work correctly. Can you share which exact motherboard you have and share the output of the command I shared in this post? Keep in mind I'm not much into hardware related things.
So, I can get the motherboard info from the Bios?
 

Attachments

  • demicode Screenshot .png
    demicode Screenshot .png
    197 KB · Views: 183
Run the following and share the output, can you please share it as plaintext and not as a screenshot?
Code:
sudo dmidecode | grep "Product Name"
 
If the following is correct than your system has 2 PCI slots.
So not sure since it doesn't add to the 12 from dmidecode. I have no more ideas
about that. The last thing you can do is open your system up and count the PCI
slots you have.
 
What is my motherboard? terminal dmidecode -t baseboard
 
sorry forgot to say run as sudo [sudo dmidecode -t baseboard ]
 
sorry forgot to say run as sudo [sudo dmidecode -t baseboard ]
No problem...I am trying to learn too many things at once: How to use the posting system, how to ask the correct question, and seeing if computers are a linear working machine...

No need to say sorry to me for ANYTHING BW...really! As much as i have been messing up I should just quit while I'm behind. You have been wonderful as has f33dm...OK. I'll get that to ya directly (BTW< I am not expecting getting any answers quick. I feel that you all think if someone responds quick back to ya they expect a quick response and as that may be the case with some people I'm not one of them.) I'm just impatient with myself is the bottom line and are a habitual TMI....sorry again for the rambling!

OK...I'll get that screenshot now :cool:
Like I said my knowledge on hardware is limited but if I look it up then I would think no because it seems the PCI host bridge connects the CPU, main memory and PCI bus. Ram slots aren't PCI slots.
Did I mention paranoid...
 

Attachments

  • Screenshot at 2022-02-19 10-50-09.png
    Screenshot at 2022-02-19 10-50-09.png
    54.4 KB · Views: 190
Last edited:
dmidecode usually only shows things like cpu, ram, bios, etc...
But it usually does not show ethernet, video cards, audio cards, or anything on the pci bus.

lspci usually shows pci slots and what is in them.
 
Which gave me an output of 7 which is the same as mentioned on how many PCI slots my motherboard has on the vendor's hardware specification of the motherboard.

I guess technically this thread is about PCI "slots" so that is helpful. But everything on the PCI bus isn't necessarily in a slot.

For example.

dmidecode -t slot | grep PCI |wc -l
6

Does that mean, I only have 6 things on my PCI bus?

#> lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:05.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 7
01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse Switch Upstream
02:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
02:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
02:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
02:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
02:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
02:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
02:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
03:00.0 Non-Volatile memory controller: Intel Corporation SSD 660P Series (rev 03)
04:00.0 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller D0/D1 (copper applications) (rev 06)
04:00.1 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller D0/D1 (copper applications) (rev 06)
05:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
06:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
07:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
07:00.1 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
07:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
08:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
09:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
0a:00.0 VGA compatible controller: NVIDIA Corporation TU104 [GeForce RTX 2080 SUPER] (rev a1)
0a:00.1 Audio device: NVIDIA Corporation TU104 HD Audio Controller (rev a1)
0a:00.2 USB controller: NVIDIA Corporation TU104 USB 3.1 Host Controller (rev a1)
0a:00.3 Serial bus controller: NVIDIA Corporation TU104 USB Type-C UCSI Controller (rev a1)
0b:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
0c:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
0c:00.1 Encryption controller: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP
0c:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
0c:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller
 
dmidecode usually only shows things like cpu, ram, bios, etc...
But it usually does not show ethernet, video cards, audio cards, or anything on the pci bus.

lspci usually shows pci slots and what is in them.
Ok, SO by looking at the lspci, because there are 2 PC Iines with ports. that verifies there's only two working or only 2 it recognizes?
 

Attachments

  • Screenshot at 2022-02-19 11-00-41.png
    Screenshot at 2022-02-19 11-00-41.png
    463 KB · Views: 203
So
I guess technically this thread is about PCI "slots" so that is helpful. But everything on the PCI bus isn't necessarily in a slot.

For example.

dmidecode -t slot | grep PCI |wc -l
6

Does that mean, I only have 6 things on my PCI bus?

#> lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:05.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 7
01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse Switch Upstream
02:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
02:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
02:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
02:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
02:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
02:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
02:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
03:00.0 Non-Volatile memory controller: Intel Corporation SSD 660P Series (rev 03)
04:00.0 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller D0/D1 (copper applications) (rev 06)
04:00.1 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller D0/D1 (copper applications) (rev 06)
05:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
06:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
07:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
07:00.1 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
07:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
08:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
09:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
0a:00.0 VGA compatible controller: NVIDIA Corporation TU104 [GeForce RTX 2080 SUPER] (rev a1)
0a:00.1 Audio device: NVIDIA Corporation TU104 HD Audio Controller (rev a1)
0a:00.2 USB controller: NVIDIA Corporation TU104 USB 3.1 Host Controller (rev a1)
0a:00.3 Serial bus controller: NVIDIA Corporation TU104 USB Type-C UCSI Controller (rev a1)
0b:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
0c:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
0c:00.1 Encryption controller: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP
0c:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
0c:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller
You tell me how many slots you have and I can tell you which lines they are...aaaa....maybe ;-) which is to say if I am right, I can say I am not CRAZY. If I am wrong I can accept that I am CRAZY and can give up the delusion I can teach myself to diagnose my own issues...which would give me some piece of mind. I have reread this several times and it certainly sounds like I am crazy. But PLEASE humor me.
 
Last edited:
Ok, SO by looking at the lspci, because there are 2 PC Iines with ports. that verifies there's only two working or only 2 it recognizes?

A port is simply something you can plug into externally. You can plug an RJ45 Ethernet connector into ethernet ports.
Generally if a device shows up in lspci, that means it's working good enough for the kernel to recognize it.
Now just because a device is plugged in, and "working". Doesn't mean you have the drivers installed for it
to work in Linux. But this is a good place to start, because now you know what hardware you have.
 

Members online


Top