Skip to content

Unable to read PCI information: pci config file has an invalid format #122

@mszaro

Description

@mszaro

Hey there, I'm running into an issue that seems related to #91:

mszaro@miniserv:~$ sudo egpu-switcher config
[error] unable to read pci information from sysfs: got error while scanning device '0000:04:01.0': the pci 'config' file has an invalid format

This is with 0.19.0, manually installed by pulling the binary.

The device in question as seen by lspci:

04:01.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge DD 2018] (rev 06) (prog-if 00 [Normal decode])
        Subsystem: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge DD 2018]
        !!! Unknown header type 7f
        Interrupt: pin ? routed to IRQ 127
        IOMMU group: 18
        I/O behind bridge: 00006000-00006fff [size=4K] [32-bit]
        Memory behind bridge: 5e000000-5e2fffff [size=3M] [32-bit]
        Prefetchable memory behind bridge: 0000006000000000-000000640fffffff [size=16640M] [64-bit]
        Kernel driver in use: pcieport

This seems to be unrelated to my actual eGPU itself, but for the sake of completeness, it's an RX 7800M in an external enclosure. I haven't installed any drivers manually, just attempting to roll with the amdgpu support already in the kernel. (Linux Mint 22 x64, kernel 6.8.0-49-generic).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions