Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

dmesg: ata3.00 LPM support broken, forcing max_power

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
CaptainBlood
Advocate
Advocate
User avatar
Posts: 4237
Joined: Sun Jan 24, 2010 9:38 am

dmesg: ata3.00 LPM support broken, forcing max_power

  • Quote

Post by CaptainBlood » Tue Apr 07, 2020 5:44 pm

I got this under

Code: Select all

uname -r
5.6.2-gentoo
SATA2 HD

Code: Select all

IDE 200.0: 10600 Disk
  [Created at block.245]
  Unique ID: 3OOL.Z4qWf_sACh7
  Parent ID: abAj.p8sU12Rg_4A
  SysFS ID: /class/block/sda
  SysFS BusID: 2:0:0:0
  SysFS Device Link: /devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0
  Hardware Class: disk
  Model: "ST1000LM024 HN-M"
  Vendor: "ST1000LM024"
  Device: "HN-M"
  Revision: "0001"
  Serial ID: "S32XJ9EF463019"
  Driver: "ahci", "sd"
  Driver Modules: "ahci"
  Device File: /dev/sda
  Device Files: /dev/sda, /dev/disk/by-id/ata-ST1000LM024_HN-M101MBB_S32XJ9EF463019, /dev/disk/by-id/wwn-0x50004cf20d0efa0c
  Device Number: block 8:0-8:15
  Geometry (Logical): CHS 121601/255/63
  Size: 1953525168 sectors a 512 bytes
  Capacity: 931 GB (1000204886016 bytes)
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #12 (SATA controller)
Is it due to SATA2? If not any idea what to check?
Thks 4 ur attention, interest & support.
Top
sdauth
l33t
l33t
User avatar
Posts: 770
Joined: Wed Sep 19, 2018 2:48 am
Location: Ásgarðr

  • Quote

Post by sdauth » Thu Oct 16, 2025 11:12 pm

I realize this is in an old thread but I noticed the same message after updating kernel from 6.12.41 to 6.12.53.
After a reboot, I now read (for all disks plugged to the mb sata ports)

Code: Select all

[    9.582513] ata5.00: LPM support broken, forcing max_power
[    9.583968] ata3.00: LPM support broken, forcing max_power
[    9.584224] ata4.00: LPM support broken, forcing max_power
[    9.584271] ata1.00: LPM support broken, forcing max_power
[    9.587018] ata3.00: LPM support broken, forcing max_power
[    9.598848] ata4.00: LPM support broken, forcing max_power
[    9.599582] ata1.00: LPM support broken, forcing max_power
[    9.606960] ata5.00: LPM support broken, forcing max_power
If I reboot to 6.12.41, it doesn't show up. Maybe I could try a cold boot later to see if there is a difference or not.
----
edit:
Same after a cold boot with 6.12.53 : "LPM support broken, forcing max_power"
Otherwise, I found out that it affects this specific motherboard only (amd chipset)
because with an other (old) motherboard (intel) & kernel 6.12.53 too, I don't have this message for sata disks.
----

https://www.kernel.org/doc/html/latest/ ... olicy.html

I don't know if I should worry about it or not. :?:
I guess not since I don't use any power saving for my ssd/hdd anyway.

edit:
added in 6.12.43:

Code: Select all

commit f170bc6fa429438b7eaee43a797b237b06fd1a1d (HEAD)
    ata: libata-sata: Add link_power_management_supported sysfs attribute
    
    commit 0060beec0bfa647c4b510df188b1c4673a197839 upstream.
    
    A port link power management (LPM) policy can be controlled using the
    link_power_management_policy sysfs host attribute. However, this
    attribute exists also for hosts that do not support LPM and in such
    case, attempting to change the LPM policy for the host (port) will fail
    with -EOPNOTSUPP.
    
    Introduce the new sysfs link_power_management_supported host attribute
    to indicate to the user if a the port and the devices connected to the
    port for the host support LPM, which implies that the
    link_power_management_policy attribute can be used.
    
    Since checking that a port and its devices support LPM is common between
    the new ata_scsi_lpm_supported_show() function and the existing
    ata_scsi_lpm_store() function, the new helper ata_scsi_lpm_supported()
    is introduced.
and:

Code: Select all

commit aa078896e33125708b1a9ed947be96570937a862
    ata: ahci: Disallow LPM policy control if not supported
    
    [ Upstream commit 65b2c92f69d3df81422d27e5be012e357e733241 ]
    
    Commit fa997b0576c9 ("ata: ahci: Do not enable LPM if no LPM states are
    supported by the HBA") introduced an early return in
    ahci_update_initial_lpm_policy() to ensure that the target_lpm_policy
    of ports belonging to a host that does not support the Partial, Slumber
    and DevSleep power states is unchanged and remains set to
    ATA_LPM_UNKNOWN and thus prevents the execution of
    ata_eh_link_set_lpm().
    
    However, a user or a system daemon (e.g. systemd-udevd) may still
    attempt changing the LPM policy through the sysfs
    link_power_management_policy of the host.
    
    Improve this to prevent sysfs LPM policy changes by setting the flag
    ATA_FLAG_NO_LPM for the port of such host, and initialize the port
    target_lpm_policy to ATA_LPM_MAX_POWER to guarantee that no unsupported
    low power state is being used on the port and its link.
Top
Post Reply

2 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic