суббота

[Bug 2091777] Re: Drop low power policy board type affects N100 T8 Firebat boot in kernel 6.11 and ubuntu 24.10

Hi. I have the same machine and was affected on ubuntu 25.04 and kernel 6.14.0-33-generic.
Adding that parameter to the grub cmdline solved the issue. Thanks a lot!

--
You received this bug notification because you are subscribed to linux
in Ubuntu.
Matching subscriptions: Bgg, Bmail, Nb
https://bugs.launchpad.net/bugs/2091777

Title:
Drop low power policy board type affects N100 T8 Firebat boot in
kernel 6.11 and ubuntu 24.10

Status in linux package in Ubuntu:
Fix Released

Bug description:
After upgrade to 24.10 into a Firebat T8 N100
Booting with 24.04 linux-image-6.8.0-50-generic works.
Botting with linux-image-6.11.0-12-generic the boot processs is interrupted with SSD sata drive timeouts.

ata2.00: exception Emask 0x0 SAct 0x3e080f0 SErr 0x50000 action 0x6 frozen
ata2: SError: { PHYRdyChg CommMake }
ata2.00: failed command: WRITE FPDMA QUEUED
ata2.00: cmd 61/08:20:90:f3:cd/00:00:00:00:00/40 tag 4 ncq dma 4096 out
         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata2.00: status: { DRDY }

With a kernel bisect I got the commmit that causes the problem:

bisecting good 6.8 bad 6.11
status: waiting for both good and bad commits
status: waiting for good commit(s), bad commit known
Bisecting: 22975 revisions left to test after this (roughly 15 steps)
[d34672777da3ea919e8adb0670ab91ddadf7dea0] Merge tag 'fbdev-for-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev
Bisecting: 11175 revisions left to test after this (roughly 14 steps)
[90a498f294c2766f05ba72dbc0ecafb2af521a4c] Merge tag 'phy-for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy
Bisecting: 5641 revisions left to test after this (roughly 13 steps)
[aa7d6513d68bad539142f9d6c3e2faa629bc27d8] Merge tag 'tag-chrome-platform-firmware-for-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux
Bisecting: 2829 revisions left to test after this (roughly 12 steps)
[1f440397665f4241346e4cc6d93f8b73880815d1] Merge tag 'docs-6.9' of git://git.lwn.net/linux
Bisecting: 1410 revisions left to test after this (roughly 11 steps)
[0fb848d1a41e0d3895cb157810862db6046063dd] Merge tag 'wireless-next-2024-02-22' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next
Bisecting: 736 revisions left to test after this (roughly 10 steps)
[19cfdc0d57696c92523da8eb26c0f3e092400bee] Merge branch 'hns3-fixes'
Bisecting: 365 revisions left to test after this (roughly 9 steps)
[ed1f164038b50c5864aa85389f3ffd456f050cca] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Bisecting: 182 revisions left to test after this (roughly 8 steps)
[8c9c2f851b5a58195ed7ebd67d7c59683d1a02bc] Merge tag 'iommu-updates-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu
Bisecting: 91 revisions left to test after this (roughly 7 steps)
[50944062f7d2a61c7dc8787563f233823115c249] dm vdo block-map: rename page state name from "UDS_FREE" to "FREE"
Bisecting: 45 revisions left to test after this (roughly 6 steps)
[3584240b9ce4adf63c3a985a730eb3f75806c26d] dm vdo logger: change from uds_ to vdo_ namespace
Bisecting: 27 revisions left to test after this (roughly 5 steps)
[57aaf9134c033dc5caaaf70facac529bb9d3d20b] Merge tag 'ata-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux
Bisecting: 8 revisions left to test after this (roughly 3 steps)
[f2b70a264b44a6c3952fadbcc3e6711deed8458f] ahci: rename board_ahci_nosntf
Bisecting: 4 revisions left to test after this (roughly 2 steps)
[45b96d65ec68f625ad26ee16d2f556e29f715005] ata: ahci: a hotplug capable port is an external port
Bisecting: 2 revisions left to test after this (roughly 1 step)
[ae1f3db006b71b78f2cae848b3a1446b02818ca7] ata: ahci: do not enable LPM on external ports
Bisecting: 0 revisions left to test after this (roughly 1 step)
[7edbb6059274c0ee997947978a46d91664c64983] ahci: clean up intel_pcs_quirk
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[7627a0edef548c4c4dea62df51cc26bfe5bbcab8] ata: ahci: Drop low power policy board type
7627a0edef548c4c4dea62df51cc26bfe5bbcab8 is the first bad commit
commit 7627a0edef548c4c4dea62df51cc26bfe5bbcab8
Author: Mario Limonciello <mario.limonciello@amd.com>
Date: Tue Feb 6 22:13:46 2024 +0100

    ata: ahci: Drop low power policy board type

    The low power policy board type was introduced to allow systems
    to get into deep states reliably. Before it was introduced `min_power`
    was causing problems for a number of drives. New power policies
    `min_power_with_partial` and `med_power_with_dipm` have been introduced
    which provide a more stable baseline for systems.

    Tested-by: Damien Le Moal <dlemoal@kernel.org>
    Tested-by: Jian-Hong Pan <jhp@endlessos.org>
    Acked-by: Jian-Hong Pan <jhp@endlessos.org>
    Acked-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
    Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
    Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
    Suggested-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
    [cassel: rebase patch and fix trivial conflicts]
    Signed-off-by: Niklas Cassel <cassel@kernel.org>

 drivers/ata/Kconfig | 5 +--
 drivers/ata/ahci.c | 109 +++++++++++++++++++++++-----------------------------
 drivers/ata/ahci.h | 9 ++---
 3 files changed, 53 insertions(+), 70 deletions(-)

AFAIK the new policy affect to this board and should be a workaround disabling SATA Agressive PM under BIOS, but in my AMI BIOS I don't locate it
00:17.0 SATA controller [0106]: Intel Corporation Alder Lake-N SATA AHCI Controller [8086:54d3] (prog-if 01 [AHCI 1.0])
DeviceName: Onboard - SATA
Subsystem: Intel Corporation Device [8086:7270]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 131
IOMMU group: 4
Region 0: Memory at 80700000 (32-bit, non-prefetchable) [size=8K]
Region 1: Memory at 80703000 (32-bit, non-prefetchable) [size=256]
Region 2: I/O ports at 6090 [size=8]
Region 3: I/O ports at 6080 [size=4]
Region 4: I/O ports at 6060 [size=32]
Region 5: Memory at 80702000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Address: fee002d8 Data: 0000
Capabilities: [70] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [a8] SATA HBA v1.0 BAR4 Offset=00000004
Kernel driver in use: ahci
Kernel modules: ahci


ProblemType: Bug
DistroRelease: Ubuntu 24.10
Package: linux-image-6.11.0-12-generic 6.11.0-12.13
ProcVersionSignature: Ubuntu 6.8.0-50.51-generic 6.8.12
Uname: Linux 6.8.0-50-generic x86_64
ApportVersion: 2.30.0-0ubuntu4
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/timer', '/dev/snd/seq', '/dev/snd/pcmC1D0p', '/dev/snd/pcmC1D0c', '/dev/snd/controlC1', '/dev/snd/by-id', '/dev/snd/by-path', '/dev/snd/pcmC0D3p', '/dev/snd/pcmC0D7p', '/dev/snd/pcmC0D8p', '/dev/snd/pcmC0D9p', '/dev/snd/hwC0D2', '/dev/snd/controlC0'] failed with exit code 1:
CasperMD5CheckResult: pass
Date: Sat Dec 14 14:42:54 2024
InstallationDate: Installed on 2024-02-20 (298 days ago)
InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1)
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
ProcEnviron:
 LANG=es_ES.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=screen-256color
 XDG_RUNTIME_DIR=<set>
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-50-generic root=UUID=3855db3f-3ec4-483c-bbcb-06a43973ce70 ro mitigations=off loglevel=3
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-6.8.0-50-generic N/A
 linux-backports-modules-6.8.0-50-generic N/A
 linux-firmware 20240913.gita34e7a5f-0ubuntu2.1
SourcePackage: linux
UpgradeStatus: Upgraded to oracular on 2024-10-14 (61 days ago)
dmi.bios.date: 09/26/2023
dmi.bios.release: 5.26
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: 5.26
dmi.board.asset.tag: Default string
dmi.board.version: Default string
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInternational,LLC.:bvr5.26:bd09/26/2023:br5.26:svn:pn:pvrDefaultstring:rvn:rn:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
dmi.product.family: Default string
dmi.product.sku: Default string
dmi.product.version: Default string

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2091777/+subscriptions

Комментариев нет:

Отправить комментарий