Otherwise you know that you have broken hardware and can add the parameter. You can't generically fix broken hardware. You can hope/report bugs so that the issue gets fixed (either by actually fixing the underlying issue or by adding your specific HW to a quirk list that unconditionally disables aspm) and no one needs to adjust things like that manually.
On a more general scope. realtek wifi cards are notorious and have been for years for a variety of issues and you are unlikely the first to experience or report issues here. If you want to avoid this altogether, you'll need to buy different HW. If the HW works safe for this issue that requires you to do one small edit in a config file you really shouldn't worry about it too much. If you really want to you could create your own package that sets this config up and install that whenever you do an Arch install.
]]>options rtl8192ee aspm=0 #potentially additionally, but shouldn't be necessary if we assume that just aspm is the problem: fwpls=0 ips=0
and reboot
]]> Network controller: RTL8192EE PCIe Wireless Network Adapter
modules: rtl8192ee
lspci -k
modinfo $wifimodulenamehere$
sudo dmesg | grep $insertwifimodulenamehere$
replace the marked parts with the actual wifi module name (e.g. modinfo iwlwifi ).
]]>you need to find which device is on said root port, usual candidates are controllers for some realtek ethernet or samsung ssd/nvmes, sometimes you have a targeted kernel module option to influence this, otherwise you can disable on the specific port directly which is for example explained in: https://wiki.archlinux.org/title/Power_ … Management
Again we/I could give you better suggestions if we had the actual error message/lspci -k output available here.
]]>i'm happy to completely turn it off but it seems if i do that without a kernel parameter i get spammed with that message, also, this error is coming from a "root port" it seems when i use the vendor/device id to check
if there's no fix for this, how would i go about disabling aspm for 1 thing in particular?
]]>pci=noaer
kernel parameter
]]> kernel: pcieport PCIe Bus Error: severity=Corrected, type=Physical Layer
this gets spammed in my journalctl -b on every boot.
i know i can use the kernel parameter “pcie_aspm=off” but then the problem isn’t actually completely fixed as this happens on all systemd operating systems that i've tried
i fixed this error delaying reboot/shut down by enabling ASPM in bios, but on boot this message just doesn’t stop and can be up to thousands of error messages
]]>