I have this message in syslog and dmesg output:
r8169 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
Is it a configuration problem or hardware issue?
I have this message in syslog and dmesg output:
r8169 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
Is it a configuration problem or hardware issue?
r8169 is the name of a module for the Realtek RTL8169 Network Interface Controller which may be included in your /etc/modules
file. ASPM stands for Active State Power Management. ASPM enablement can be configured by BIOS or by an OS.
To run the aspm test in the Firmware Test Suite (fwts), open the terminal and run:
sudo apt-get install fwts
sudo fwts aspm
To show the verbose results of sudo fwts aspm
run the following command:
cat results.log
This test checks the enablement method in ACPI table and verifies the correctness of the ASPM configuration. Visit the Ubuntu Firmware Test Suite/Reference/aspm wiki for information about how to evaluate the results of running sudo fwts aspm
.
lshw
says it's RTL8111/8168/8411
(and I'm lazy to check the box) if that makes any difference.
sudo lshw -C network
, and comment about all the capabilities that appear after where it says: capabilities:
. In particular whether it says pm
, aspm
or both pm
and aspm
. Also please check in the /etc/modules
file, and comment about what are all the kernel modules that it says are loaded at boot time.
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
(no aspm). Modules: lp coretemp f71882fg
RTL8111/8168/8411
and also the same list of network capabilities as my desktop. Since it is a desktop and not a laptop I don't need a power-saving application. However if you want to install a power-saving application on a laptop to increase the battery life, there are answers to that question here on askubuntu. I use laptop-mode-tools from the Ubuntu Software Center on my laptop. TLP from the ppa:linrunner/tlp PPA is said to be stronger, but less stable on some laptop models.
I just answered my own Question ... I hope it helps others.
After the above 2 suggested (and these first 2 commands explained and restated for some good definitions and clarity):
I will state how to view the log file easy-peasy
Install: Firmware Test Suite (FWTS) is a test suite that performs sanity checks on firmware. It is intended to identify BIOS, UEFI, ACPI and many other errors and if appropriate it will try to explain the errors and give advice to help workaround or fix firmware bugs.with this command:
sudo apt-get install fwts
Run the check:
sudo fwts aspm
And to check the log of this "Check"
cat results.log
I hope this new bit of info helps other!
Mark
I had the same problem at boot and managed to solve following this thread:
$ wget http://mirrors.edge.kernel.org/ubuntu/pool/universe/r/r8168/r8168-dkms_8.047.02-1_all.deb
$ sudo dpkg -i r8168-dkms_8.047.02-1_all.deb
$ sudo rmmod r8169
$ sudo echo "blacklist r8169" > /etc/modprobe.d/blacklist.conf
then reboot.
Hope this helps!
I had the same problem at boot on Ubuntu 22.04 after playing around in the BIOS,and managed to solve.
Decided to go back to 8169, but this process somehow completely removed realtek and r8169 from loading on boot. So this is the workaround
sudo insmod /usr/lib/modules/5.19.0-43- generic/kernel/drivers/net/phy/realtek.ko
sudo insmod /usr/lib/modules/5.19.0-43- generic/kernel/drivers/net/ethernet/realtek/r8169.ko
Add the realtek and r8169 modules to /etc/modules
Lucky me it worked. Hope this helps!