sysctl -p failed on /proc/sys/pcie_aspm
As revealed in the comments, there’s a
pcie_aspm=off
line in one of the files which sysctl -p
reads. This causes sysctl
to attempt to write to /proc/sys/pcie_aspm
; if that doesn’t exist (and it won’t, it’s not a valid sysctl
entry, it’s a kernel boot parameter), you’ll get the error shown in your question.
The parameter may be not supported by the kernel due to the inexistence of PciExpress subsytem.
Or it can be also the pcie_aspm is disabled.