You are not logged in.
Hey Guys, I'm relatively new to Arch linux (But not linux overall - I finally re-visted Arch after 7 years and finally understand enough to atleast get a working system lol).
Anyways, I'm running into an issue with the `lspci` command on my laptop. On my desktop, `lspci` returns almost instantaneously, and all is well. On my laptop, it takes like 2 minutes for lspci command to return after a fresh boot, and is faster for a while (though still not instant). While it still technically works after waiting, it's annoying to wait the 2 minutes for `hyprland` to wait for a return from lscpi to determine which graphics cards I am using.
I am on Kernel: 6.11.1-arch1-1
and nvidia drivers: nvidia 560.35.03-10
This is the output from `lspci` when it finally finishes.
0000:00:00.0 Host bridge: Intel Corporation 12th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
0000:00:01.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x16 Controller #1 (rev 02)
0000:00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P GT2 [Iris Xe Graphics] (rev 0c)
0000:00:04.0 Signal processing controller: Intel Corporation Alder Lake Innovation Platform Framework Processor Participant (rev 02)
0000:00:06.0 System peripheral: Intel Corporation RST VMD Managed Controller
0000:00:07.0 PCI bridge: Intel Corporation Alder Lake-P Thunderbolt 4 PCI Express Root Port #0 (rev 02)
0000:00:08.0 System peripheral: Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator (rev 02)
0000:00:0a.0 Signal processing controller: Intel Corporation Platform Monitoring Technology (rev 01)
0000:00:0d.0 USB controller: Intel Corporation Alder Lake-P Thunderbolt 4 USB Controller (rev 02)
0000:00:0d.2 USB controller: Intel Corporation Alder Lake-P Thunderbolt 4 NHI #0 (rev 02)
0000:00:0e.0 RAID bus controller: Intel Corporation Volume Management Device NVMe RAID Controller
0000:00:14.0 USB controller: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller (rev 01)
0000:00:14.2 RAM memory: Intel Corporation Alder Lake PCH Shared SRAM (rev 01)
0000:00:14.3 Network controller: Intel Corporation Alder Lake-P PCH CNVi WiFi (rev 01)
0000:00:15.0 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 (rev 01)
0000:00:15.1 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 (rev 01)
0000:00:16.0 Communication controller: Intel Corporation Alder Lake PCH HECI Controller (rev 01)
0000:00:1c.0 PCI bridge: Intel Corporation Device 51bc (rev 01)
0000:00:1c.6 PCI bridge: Intel Corporation Device 51be (rev 01)
0000:00:1f.0 ISA bridge: Intel Corporation Alder Lake PCH eSPI Controller (rev 01)
0000:00:1f.3 Audio device: Intel Corporation Alder Lake PCH-P High Definition Audio Controller (rev 01)
0000:00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01)
0000:00:1f.5 Serial bus controller: Intel Corporation Alder Lake-P PCH SPI Controller (rev 01)
0000:01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1)
0000:01:00.1 Audio device: NVIDIA Corporation GA106 High Definition Audio Controller (rev a1)
0000:2c:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
0000:2d:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
10000:e0:06.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 (rev 02)
10000:e0:06.2 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #2 (rev 02)
10000:e1:00.0 Non-Volatile memory controller: Micron Technology Inc 3400 NVMe SSD [Hendrix]
10000:e2:00.0 Non-Volatile memory controller: ADATA Technology Co., Ltd. XPG SX8200 Pro PCIe Gen3x4 M.2 2280 Solid State Drive (rev 03)
I am using an ROG Zypherus M16 laptop, with Intel and Nvidia graphics. when I run `strace` on my `lscpi` command it seems to get hung up on this line:
openat(AT_FDCWD, "/sys/bus/pci/devices/0000:00:1c.6/config", O_RDONLY) = 3
pread64(3,
Which would correspond to my My intel bridge.
0000:00:1c.6 PCI bridge: Intel Corporation Device 51be (rev 01)
I've attached a full output of strace to this pastebin: https://pastebin.com/31EfTA94
this is from dmesg, and the same errors appear in journal.
[ 19.646019] asus 0003:0B05:19B6.0006: Unmapped Asus vendor usagepage code 0xec
[ 28.736610] pcieport 0000:00:1c.6: broken device, retraining non-functional downstream link at 2.5GT/s
[ 29.736571] pcieport 0000:00:1c.6: retraining failed
[ 30.979983] pcieport 0000:00:1c.6: broken device, retraining non-functional downstream link at 2.5GT/s
[ 31.979953] pcieport 0000:00:1c.6: retraining failed
[ 31.979973] rtsx_pci 0000:2d:00.0: not ready 1023ms after resume; waiting
[ 33.036640] rtsx_pci 0000:2d:00.0: not ready 2047ms after resume; waiting
[ 35.113343] rtsx_pci 0000:2d:00.0: not ready 4095ms after resume; waiting
[ 39.379970] rtsx_pci 0000:2d:00.0: not ready 8191ms after resume; waiting
[ 47.699995] rtsx_pci 0000:2d:00.0: not ready 16383ms after resume; waiting
[ 64.553290] rtsx_pci 0000:2d:00.0: not ready 32767ms after resume; waiting
[ 98.686639] rtsx_pci 0000:2d:00.0: not ready 65535ms after resume; giving up
[ 98.688598] rtsx_pci 0000:2d:00.0: Unable to change power state from D3cold to D0, device inaccessible
[ 318.666505] pcieport 0000:00:1c.6: broken device, retraining non-functional downstream link at 2.5GT/s
[ 319.673212] pcieport 0000:00:1c.6: retraining failed
[ 319.781351] rtsx_pci 0000:2d:00.0: Unable to change power state from D3cold to D0, device inaccessible
While I am able to pinpoint (Atleast visually while strace is running, that it hangs up on that line), I don't know where to move forward from here and what to try. Please let me know if anyone needs more information in order to help me diagnose this, or If I've missed anything!
Offline
UPDATE:
So, I did some sleuthing, and the PCI Bridge, as indicated by
[ 30.979983] pcieport 0000:00:1c.6: broken device, retraining non-functional downstream link at 2.5GT/s
had a downstream device that was malfunctioning. being this device:
rtsx_pci 0000:2d:00.0:
lspci -vvv
2f:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
Subsystem: ASUSTeK Computer Inc. Device 202f
!!! Unknown header type 7f
Interrupt: pin ? routed to IRQ 128
IOMMU group: 21
Region 1: Memory at 84200000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: rtsx_pci
Kernel modules: rtsx_pci
showed that the Realtek Card reader was Unassigned class, which from my searching, is normal for that type of device, but it seemed to be causing my issue, or that device is borked. Anyways, I went into the bios and went to
Security > I/O Interface Security > Card Reader Interface
and set the value to
Lock
which according to my bios disables the device. Now lspci works as intended and returns almost instantaneously. While I know this isn't a "full" solution as I'm effectively sacrificing part of my laptop, In all honesty, it's a Micro sd card reader, and I already have an external one(since I need it for my desktop) so I'm okay disabling that reader for my use, which is to have hyprland start normally (since it's checks GPU's on startup, which is how I noticed lspci was slow in the first place)
Offline
Woah thank you so much, I was just starting to look into this issue and I found this post which was pretty much reading my mind.
Same exact issue with same laptops, your solution worked fine.
Noone needs Micro USB anyways
Offline