13

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?

1
  • 1
    I enabled ASPM from bios and the error is gone. No need to install anything. Dec 1, 2021 at 19:13

4 Answers 4

11

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 .

8
  • Obviously, I didn't disable L0s or L1s. Do you know how can I enable them?
    – int_ua
    Nov 7, 2013 at 13:11
  • lshw says it's RTL8111/8168/8411 (and I'm lazy to check the box) if that makes any difference.
    – int_ua
    Nov 7, 2013 at 13:13
  • Yes, it does make a difference. Mine is also RTL8111/8168/8411! Also could you please run 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.
    – karel
    Nov 7, 2013 at 13:36
  • 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
    – int_ua
    Nov 8, 2013 at 10:21
  • You have the same 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.
    – karel
    Nov 8, 2013 at 10:45
2

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

1
  • I was so busy answering your comment below my answer that I didn't notice that I independently got the same results that you did 15 minutes after you posted your answer. I also learned that the link in my answer was broken, so I updated it.
    – karel
    Nov 16, 2019 at 15:47
1

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!

0

I had the same problem at boot on Ubuntu 22.04 after playing around in the BIOS,and managed to solve.

  1. Removed the realtek and r8169 modules with rmmod.
  2. Tried to install a deb package for r8168 and failed due to strange dependencies.
  3. Tried to apt install r8168-dkms, also failed.

Decided to go back to 8169, but this process somehow completely removed realtek and r8169 from loading on boot. So this is the workaround

  1. 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

  2. Add the realtek and r8169 modules to /etc/modules

Lucky me it worked. Hope this helps!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .