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?

Braiam
  • 69,112
int_ua
  • 8,892

4 Answers4

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 .

karel
  • 122,292
  • 133
  • 301
  • 332
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 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!

Andrea
  • 11
  • 1
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!

Indeed
  • 1