Questions tagged [pci]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
23 views

PCIe Kerneldriver DMA writes to incorrect addresses [migrated]

I'm currently writing a PCIe kernel driver for linux kernel 4.19. A FPGA (Arria 10) running an Intel DMA IP is connected to the Linux CPU (i7-6700TE) via PCIe Gen 2. I want to run an upstream DMA ...
0
votes
0answers
23 views

How message transitions between buses in linux driver subsystem

I am new to Linux Drivers Programming. I have been reading Linux Device Drivers book and looking at the source code for various examples in that book and have a decent understanding of the basics. ...
1
vote
0answers
7 views

How to disable a particular device from waking a computer up from suspend?

I would like to disable waking from suspend when a mouse is moved. I am aware of the file /proc/acpi/wakeup. I can disable one particular pci and thus disable a wakeup by the mouse. The problem is ...
0
votes
0answers
15 views

Getting usb device data from pci device

I am currently scanning all PCI devices and I am able to locate the usb-controller. However, I am not able to reach for the usb root hub on there. The struct I am using (pci_dev) struct pci_dev { ...
0
votes
1answer
57 views

libvirtd: No more available PCI slots

Ahoy. Today I wanted to set up a new virtual machine to manage my 8 hard disk devices. Currently I use Fedora 31 as host, and Debian 9 as guest system. I want to pass through the block devices to the ...
1
vote
0answers
25 views

How system slots or ports are detected by linux?

how does an operating system say linux understand how many ram/pci/cpu slots/sockets are there? Does the operating system detect this or just the info is passed from bios acpi if so please tell how ...
0
votes
1answer
19 views

Scan PCI-Devices beginning root bridge

I am now looking for countless hours in the linux/pci.h and all connected files to understand how the PCI can be securely scanned (read-only) and then picking a pci_slot when the device matches. ...
0
votes
0answers
16 views

Strange error spontaneously occurring: pcieport, PCIe Bus Error

I usually have a terminal application running on my Arch Linux system which takes keyboard input and sits waiting. Sometimes an error spontaneously generates output to the terminal which prints past ...
1
vote
1answer
34 views

Move text console to another card (both NVidia, proprietary driver)

A machine has two video cards: (1) an NVidia RTX 2080 Ti 12G (on PCIe 3x) and (2) NVidia GT710 (on PCIe 2x). The motherboard is Tyan S7065, two Xeons, chipset Intel C602. The idea is to use (1) for ...
0
votes
0answers
32 views

pcie_ports=compat, why port can be treat as bridges

http://redsymbol.net/linux-kernel-boot-parameters/3.2/ compat Treat PCIe ports as PCI-to-PCI bridges, disable the PCIe ports driver. In my understanding, PCIe port( here mean ...
0
votes
0answers
33 views

Cannott map PCIe slot register between source code and PCIe specification

https://github.com/torvalds/linux/blob/6f0d349d922ba44e4348a17a78ea51b7135965b1/drivers/pci/hotplug/shpchp_hpc.c#L824 if (slot_reg & MRL_CHANGE_DETECTED) shpchp_handle_switch_change(...
0
votes
0answers
16 views

no wlan0 (wlp1s0) visible when ath9k module is enabled

My wifi card appears to work incorrectly. All modules for ath9k are enabled, i can see wifi adapter in lspci but cannot see any wifi in ifconfig Do you have any idea why? I'm using ubuntu with 4.14 ...
-1
votes
1answer
31 views

Does the processor, disk and internal bus on my computer operate fast enough to send data from a disk file at 10 gigabits per second?

I would like to know if the processor, disk and internal bus on my computer operate fast enough to send data from a disk file at 10 gigabits per second? % cat /proc/cpuinfo processor : 0 vendor_id ...
0
votes
1answer
42 views

lspci can't see driver name in use

When doing lspci, usually we can see a driver in use: ex: Kernel driver in use: xhci_hcd If there is no 'driver in use', does it mean really no driver or it may a driver in use but not external ...
0
votes
0answers
24 views

Interrupt pin routing changing

When I doing lspci, sometimes I found the interrupt routing is changed. It may change from Interrupt: pin B routed to IRQ 12 to Interrupt: pin B routed to IRQ 13 What caused this change?
2
votes
0answers
269 views

Multiple M.2 NVMe SSDs on single slot using PCIe bifurcation: Set this up from Linux when BIOS does not?

I'd like to use a multi-M.2 NVMe PCIe carrier card like an Asus Hyper M.2 x16 Card v2 in an HP Z240 tower workstation. Its C236 PCH and Skylake E3-1200V5 CPU support PCIe bifurcation of the x16 PCIe ...
2
votes
0answers
22 views

Can't access RAM from PCIe device

I use Intel Xeon with centos8 , kernel 4.18. There is also an FPGA connected to CPU through PCIe. The FPGA try to access RAM (through DMA) using physical address in RAM, but it fails in access. ...
0
votes
1answer
84 views

Direct PCIe to PCIe Connection For Communications

I have a situation where I wish to connect two motherboards running Fedora with a PCIe x1 to PCIe x1 cable. The two motherboards are side by side, 1 cm away from each other. The purpose of the ...
0
votes
1answer
97 views

How to access all 4 ports of my PCI serial card

I have a MCS9904 serial pci card and I want to use it on debian 10. When i run: dmesg | grep tty it returns: 00:05: ttyS0 at I/O 0x3f* (irq = 4) is a 16550A 0000:02:00:0: ttyS1 at I/O 0xd030 ...
3
votes
1answer
50 views

PCI hardware access speeds - Kernel vs user space [closed]

Hi there Linux experts! I'm trying to find the best way possible to control and stress a PCI device. I've started off with writing a simple bash script that uses the commands from pciutils (lspci &...
2
votes
1answer
436 views

How to see PCIe device info on FreeBSD?

I know about pciconf but this does not give enough information. Is there an equivalent to lspci -vv in FreeBSD? I want to know the negotiated link speed, serial number and other vital product data, ...
1
vote
0answers
22 views

How to assign a pci video capture card to specific /dev/video* permanently [duplicate]

I have a video capture card and after every shutdown the /dev/video* related to this video capture card. And I would like to make it static. How can I do that?
1
vote
0answers
117 views

How can I write a udev rule that will apply to a PCI device at boot time?

I have a PCI device on a CentOS 7.6 system that needs some special configuration to be applied via setpci in order for it to operate properly. I would like to create a udev rule that will ...
2
votes
0answers
111 views

Find the target device for installed PCI devices

enter code hereI would like to find idproduct, idvendor and serial number of devices that installed another device since I will write udev rules. lspci -nn 00:01.0 PCI bridge [0604]: NVIDIA ...
0
votes
0answers
37 views

Query the target device for installed PCI devices on ubuntu

Is there a way to query the target device for installed PCI devices on ubuntu. I use VideoCapture Card and 8 cameras. Every time /dev/video* changes but I would like to assign a camera to specific /...
0
votes
1answer
145 views

PCI Express slot configuration

How can I arrange PCI Express slots for a specific order? I use a PCI express VideoCapture Card and 8 camera on Ubuntu 18.04 and after reboot the order of the camera that is connected to slots changes....
0
votes
1answer
58 views

PCI device has two memory addresses?

When I do lspci -v in order to find may audio device memory I get 00:1f.3 Multimedia audio controller: Intel Corporation Device ds35 Subsystem: Intel Corporation Device 754 Flags: bus ...
0
votes
0answers
577 views

Disable PCI ACS (Access Control Services)

The vendor of a custom PCIe video encoder says we should disable ACS - Access Control Services - on our machine for proper operation of the card driver. They haven't said how to do that. This post ...
0
votes
0answers
71 views

numerous errors at shutdown

Lately, when I shutdown my system I get a long list of errors, such as: Apr 29 20:28:22 lee-desktop2 kernel: [ 5782.005888] pcieport 0000:00:01.2: AER: Multiple Corrected error received: 0000:00:01.0 ...
0
votes
1answer
218 views

How to interpret lspci -tvv output

Extract of lspci -tvv on a server with GPUs: -+-[0000:b2]-+-00.0-[b3-b8]----00.0-[b4-b8]----08.0-[b5-b8]----00.0-[b6-b8]--+-05.0-[b7]----00.0 NVIDIA Corporation GP104GL ...
-1
votes
1answer
32 views

NVIDIA DevBox with Ubuntu 16.04 and 4.4.0-137-generic kernel randomly reboots and automatically shuts down overnight

I've recently stated using an NVIDIA DevBox that has an ASUS bios, with ther kernel version and ubuntu version mentioned above. For some reasons the machine can't really be left on overnight, as it is ...
0
votes
1answer
346 views

Passthrough Sonnet USB-C card to Windows guest via KVM and vfio

I am trying to passthrough a USB card to a guest, but I can't seem to make the VFIO driver stick, instead it seems that the host loads and takes over the card. I have a GPU successfully passed through,...
2
votes
0answers
336 views

I deleted the namespaces (NS) in my nvme ssd and ubuntu is not able to recognize the device

I had 2 namespaces (NS) in my nvme ssd (samsung) and deleted both to create just one but ubuntu is not able to recognize the device upon deleting. How do I recover the drive now? Command used to ...
0
votes
2answers
170 views

List pci lanes differentiated by DMI lanes vs directly attached CPU lanes

Is there a way to list PCI slots (or their respective devices) and output if that slot is directly connected to the CPU, or goes through the southbridge/PCH?
1
vote
0answers
1k views

How to interpret the result of “lspci -vv” with respect to PCIe lanes and PCIe 2 vs 3 speeds?

I just came across this question and its excellent answers ("How to check how many lanes are used by the PCIe card?"). I am just looking at the output of lspci -vv for a GTX 1050ti graphics card and I ...
1
vote
0answers
57 views

2 LAN cables connected, 1 PCI bus and vice versa

When booting my pc with 2 LAN cables connected only one interface is registered. 03:00.0 and 04:00.0 $ dmesg | grep -P '0(3|4):00.0' [ 0.180140] pci 0000:04:00.0: [11ab:4362] type 00 class ...
0
votes
1answer
369 views

How do I translate between qemu-system arguments and virt-install arguments so I can unify partially working commands?

I am in the process of setting up VFIO with KVM. I have the VFIO itself working, in that the VFIO'd GPU displays the UEFI shell screen when I start the VM. I am also able to create a working Windows ...
2
votes
1answer
1k views

echo 1 > /sys/bus/pci/slots/[slot number]/power is changing value of PCIe configuration space register?

when doing echo 1 > /sys/bus/pci/slots/[slot number]/power will kernel change the value in some(or particular) register of PCIe configuration space of this device? In my understanding, when a ...
0
votes
2answers
270 views

How to find the PCI_ID of the port that a certain USB device is plugged into

I would like to find the pci_id of Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p in the output below. /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M |__ Port 1: ...
2
votes
2answers
3k views

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 ...
-2
votes
1answer
32 views

Is it possible to connect Mini PCIe Wireless Adapter to Laptop by ExressCard?

I want to connect a wireless adapter with mini pcie interface to my laptop that runs Ubuntu 16.04 through laptop's ExpressCard interface. I want to know if that is possible. Is the wireless adapter ...
2
votes
1answer
792 views

Unable to get my PCE-AC56 working properly, but was only able to get it working and decently stable once

I've been trying to get my Asus PCE-AC56 to work with Linux Mint 18.3, which the wireless card has a Broadcom BCM4352 chip on it. I was able to at times, but it would run terrible when playing a game ...
4
votes
0answers
606 views

How can I put a PCIe device into the D3 cold power state?

How do I transition an arbitrary PCIe device from the D0 state (powered on) to the D3 cold state (no current to the device) using common utilities on a Linux system? Presumably this involves writing ...
0
votes
1answer
401 views

Single CPU 100% by lspci

On Fedora, the lspci command keeps staying at ~100% while I'm not doing anything with my computer. I've done a clean install last week and before that I also had this problem. Top output gives me: ...
1
vote
1answer
46 views

What's the relationship between the NIC's clock and PCIe 2.0 bus?

When I run the list hardware lshw -class network, it shows: product: 82599 10 Gigabit Dual Port Network Connection size: 10Gbit/s capacity: 10Gbit/s width: 32 bits clock: 33MHz Let's suppose we're ...
1
vote
1answer
2k views

Pop OS doesn't boot up because of pci-e bus error

So, today I downloaded the iso file of the new Pop OS 18.04 in order to try it out. However, after I created a bootable usb, I opened my laptop, and chose to boot from usb, and suddenly I got a kind ...
1
vote
3answers
2k views

install USB 3.0 express card under linux (Arch Linux) (tried adding kernel parameter intel_iommu=off pciehp.pciehp_force=1)

I'm trying to install a CSL USB 3.0 express card to my Arch Linux system. However, when I do this, I get the following error message: xhci_hcd 0000:05:00.0: xHCI host controller not responding, ...
1
vote
3answers
3k views

How linux know which irq number should be used?

I am not a driver programmer, I don't have a clear picture of how linux assign irq number for pcie devices. From an NIC driver example, it seems Linux already know which irq number should be used ...
2
votes
2answers
973 views

SD reader - how to force UHS-I?

I have an HP EliteBook 8460p, equipped with JMicron card reader: rolf@deb:/sys$ sudo lshw |grep JMicron -B 3 -A 8 *-firewire description: FireWire (IEEE 1394) ...
2
votes
0answers
350 views

troubleshooting AMD-Vi IO_PAGE_FAULT

I have been trying to run Linux on a PC with an AMD CPU. The installer for Ubuntu 16.04 loads fine but once the OS is loaded on the hard drive upon reboot I get a flood of console errors reading: ...