[SOLVED] SATA AHCI hot plug stopped working after upgrade from 8.x to 9.x

e100

Famous Member
Nov 6, 2010
1,269
49
113
Columbus, Ohio
ulbuilder.wordpress.com
Changing a kernel parameter resolved my issue, this is on some 15+ year old hardware.

Hardware: AMD SB700/SB800/SB900 AHCI (1002:4391)
Old kernel: 6.8.12-30-pve - hot-plug remove/insert works
New kernel: 7.0.14-4-pve - hot-plug removal and insert does not work
Workaround: added kernel cmdline ahci.mobile_lpm_policy=1

For grub
Edit GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub, example:
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet ahci.mobile_lpm_policy=1"
run:
Code:
update-grub
reboot

For systemd-boot:
Code:
echo "ahci.mobile_lpm_policy=1" >> /etc/kernel/cmdline
proxmox-boot-tool refresh
reboot

Hope this helps someone!
 
  • Like
Reactions: Onslow and CCWTech