0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

debian13でActive-State Power Management (ASPM)をオフにする

0
Last updated at Posted at 2026-04-14

■debian13でActive-State Power Management (ASPM)をオフにする

$ lsb_release -d
Description:	Debian GNU/Linux 13 (trixie)

■r8169のパッチ適用はあとにして、ASPMの方を対応する

kernel: acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]
kernel: acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]
kernel: r8169 0000:02:00.0 enp2s0: ASPM disabled on Tx timeout
kernel: acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]
kernel: acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]
kernel: r8169 0000:02:00.0 enp2s0: ASPM disabled on Tx timeout
kernel: acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]

■ASPMの設定はデフォルトなのでBIOSに従う

$ sudo journalctl -b | grep ASPM
 4月 05 21:42:48 hpi7-2debian kernel: acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]

 $ cat /sys/module/pcie_aspm/parameters/policy
[default] performance powersave powersupersave 

$ grep CMDLINE_LINUX_DEFAULT /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet nowatchdog"

参考:3.7. アクティブ状態の電源管理
https://docs.redhat.com/ja/documentation/red_hat_enterprise_linux/7/html/power_management_guide/aspm

抜粋
Active-State Power Management (ASPM) は、接続先のデバイスが使用されていないときに PCIe リンクの電力状態を低く設定することで、Peripheral Component Interconnect Express (PCI Express または PCIe) サブシステムの電力を節約します。ASPM は、リンクの両端で電力状態を制御し、リンクの端にあるデバイスが完全に電源オンの状態であっても、リンクの電力を節約します。

■grubで「pcie_aspm=off」を指定する

$ sed -e 's%GRUB_CMDLINE_LINUX_DEFAULT="\(.*\)"%GRUB_CMDLINE_LINUX_DEFAULT="\1 pcie_aspm=off"%' /etc/default/grub | grep CMDLINE_LINUX_DEFAULT
GRUB_CMDLINE_LINUX_DEFAULT="quiet nowatchdog pcie_aspm=off
$ sudo sed -i -e 's%GRUB_CMDLINE_LINUX_DEFAULT="\(.*\)"%GRUB_CMDLINE_LINUX_DEFAULT="\1 pcie_aspm=off"%' /etc/default/grub

$ sudo update-grub2 
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-6.12.74+deb13+1-amd64
Found initrd image: /boot/initrd.img-6.12.74+deb13+1-amd64
Found linux image: /boot/vmlinuz-6.12.73+deb13-amd64
Found initrd image: /boot/initrd.img-6.12.73+deb13-amd64
Found linux image: /boot/vmlinuz-6.12.43+deb13-amd64
Found initrd image: /boot/initrd.img-6.12.43+deb13-amd64
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done

$ grep pcie /boot/grub/grub.cfg | sed -e 's/UUID=[0-9a-f-]* /UUID=XXX /'
	linux	/boot/vmlinuz-6.12.74+deb13+1-amd64 root=UUID=XXX ro  quiet nowatchdog pcie_aspm=off
		linux	/boot/vmlinuz-6.12.74+deb13+1-amd64 root=UUID=XXX ro  quiet nowatchdog pcie_aspm=off
		linux	/boot/vmlinuz-6.12.73+deb13-amd64 root=UUID=XXX ro  quiet nowatchdog pcie_aspm=off
		linux	/boot/vmlinuz-6.12.43+deb13-amd64 root=UUID=XXX ro  quiet nowatchdog pcie_aspm=off

$ reboot

■Active-State Power Management (ASPM)はオフ、BIOS設定をそのまま使う設定となった

$ sudo journalctl -S 2026-04-14T00:00:00.000Z | grep ASPM
 4月 14 15:41:38 n150-debian1 kernel: PCIe ASPM is disabled
 4月 14 15:41:38 n150-debian1 kernel: ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
 4月 14 15:41:38 n150-debian1 kernel: acpi PNP0A08:00: _OSC: not requesting OS control; OS requires [ExtendedConfig ASPM ClockPM MSI]
 4月 14 15:41:38 n150-debian1 kernel: acpi PNP0A08:00: FADT indicates ASPM is unsupported, using BIOS configuration
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?