Questions tagged [pci]

Peripheral Component Interconnect (PCI) is a local computer bus for attaching hardware devices in a computer.

Peripheral Component Interconnect (PCI) is a local computer bus for attaching hardware devices in a computer.

215 questions
55
votes
3 answers

How to check how many lanes are used by the PCIe card?

PCI Express slots on the motherboard can be wider then the number of lanes connected. For example a motherboard can have x8 slot with only x1 lane connected. On the other hand, you can insert a card using only for ex. 4 lanes to a x16 slot on the…
silk
  • 1,512
  • 2
  • 14
  • 12
46
votes
4 answers

How to Reset/Cycle Power to a PCIe Device?

I have a PCIe device that only works correctly when the computer is fully powered off then on again. Issuing a simple reboot or reboot -p command does not appear to cycle the power to the PCIe card, which causes it not to work after the reboot. Is…
zachd1_618
  • 561
  • 1
  • 5
  • 6
43
votes
7 answers

What causes this? pcieport 0000:00:03.0: PCIe Bus Error: AER / Bad TLP

I'm seeing error messages like these below: Nov 15 15:49:52 x99 kernel: pcieport 0000:00:03.0: AER: Multiple Corrected error received: id=0018 Nov 15 15:49:52 x99 kernel: pcieport 0000:00:03.0: PCIe Bus Error: severity=Corrected, type=Data Link…
MountainX
  • 17,168
  • 59
  • 155
  • 264
21
votes
3 answers

How to find the pci slot of an usb controller in Linux?

I have a nearly common Linux machine here. So, it has a PCI (*-X, etc) bus, on that some USB controllers, and I have USB devices on these USB controllers. Similar to this: $ lspci|grep USB 00:12.0 USB controller: Advanced Micro Devices, Inc.…
peterh
  • 9,488
  • 16
  • 59
  • 88
20
votes
4 answers

Reset a PCI Device in Linux

Is there a generic way to reset a PCI device in Linux from the command line? That is, cause the PCI bus to issue a reset command.
Jonathan
  • 301
  • 1
  • 2
  • 4
18
votes
5 answers

Enabling IOMMU in the kernel for graphics card pass-through

Short question: How can I turn on the intel_iommu setting in the Linux kernel? I run a Debian host, using the grub2 bootloader. Documentation I've seen says to edit /boot/grub/menu.lst, which seems to be relevant only for grub 1.x, as I don't have…
Alex Leach
  • 7,720
  • 4
  • 28
  • 27
15
votes
1 answer

What are PCI quirks?

I hear a lot about PCI quirks when reading about the Linux kernel, but no website explains or defines PCI quirks. What are PCI quirks?
Devyn Collier Johnson
  • 986
  • 1
  • 10
  • 28
14
votes
3 answers

How does the Linux kernel handle shared IRQs?

According to what I've read so far, "when the kernel receives an interrupt, all the registered handlers are invoked." I understand that the registered handlers for each IRQ can be viewed via /proc/interrupts, and I also understand that the…
bsirang
  • 381
  • 1
  • 3
  • 8
13
votes
1 answer

NVMe PCIe disk power cycling

I want to test an NVMe SSD that is connected to a PCIe slot of my motherboard. The test procedure is a specific algorithm that writes workloads to the SSD, while the SSD is exposed to radiation (e.g., neutrons). I am running Fedora 22, with kernel…
mamahuhu
  • 243
  • 2
  • 8
10
votes
2 answers

Setting BUSID in xorg.conf

From the output of lspci how do I interpret the BUSID for xorg.conf.d ? Example: 00:02.0 VGA compatible controller: Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07) 01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT…
ng.newbie
  • 1,105
  • 6
  • 17
  • 29
10
votes
1 answer

Understand output of `udevadm info -a -n /dev/sdb`

I plug an external HDD into my laptop. I try to find out the information by $ udevadm info -a -n /dev/sdb Udevadm info starts with the device specified by the devpath and then walks up the chain of parent devices. It prints for every device found,…
Tim
  • 98,580
  • 191
  • 570
  • 977
10
votes
1 answer

force re-negotiation of PCIe speed on Linux

I'm working with PCIe Gen 3 cards and from time to time they seem to fall back to PCIe 1 or 2 speeds (according to lspci and also observed by the throughput). When rebooting/power cycling the machine the speed goes back to the full PCIe Gen 3 speed…
Andre Holzner
  • 791
  • 8
  • 10
10
votes
1 answer

How to measure PCI-Express bus usage?

I'm looking for a way to find out if PCIe bus is the bottleneck or not. It's not a problem to measure how much bytes was transferred through any particular NIC: Is there a way to find how much data was transferred to all the other PCIe devices…
Anthony Ananich
  • 7,234
  • 5
  • 31
  • 45
9
votes
3 answers

Is there a command that can show if a Thunderbolt port is present on the hardware?

I'd guess lspci would be the tool to do this but I can't seem to find any identifying output. Is there a way to know from the command line whether a Thunderbolt port is present on a machine? I have one computer that I know has a Thunderbolt port…
mpr
  • 1,064
  • 3
  • 15
  • 24
9
votes
1 answer

Internet not working without gpu installed?

Today I removed my GPU out of an Linux (Ubuntu) machine, and after that the ethernet stopped working. Running 'service networking restart' threw an error message, and when I ran 'ifconfig' only the local loopback was visible. After this I…
1
2 3
14 15