[Bug 2091775] [NEW] Discard this
Juan Pedro Paredes
2091775 at bugs.launchpad.net
Sat Dec 14 13:40:25 UTC 2024
Public bug reported:
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 at 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 at kernel.org>
Tested-by: Jian-Hong Pan <jhp at endlessos.org>
Acked-by: Jian-Hong Pan <jhp at endlessos.org>
Acked-by: Christoph Hellwig <hch at lst.de>
Reviewed-by: Damien Le Moal <dlemoal at kernel.org>
Reviewed-by: Mario Limonciello <mario.limonciello at amd.com>
Reviewed-by: Mika Westerberg <mika.westerberg at linux.intel.com>
Suggested-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Mario Limonciello <mario.limonciello at amd.com>
[cassel: rebase patch and fix trivial conflicts]
Signed-off-by: Niklas Cassel <cassel at 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]
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 131, IOMMU group 4
Memory at 80700000 (32-bit, non-prefetchable) [size=8K]
Memory at 80703000 (32-bit, non-prefetchable) [size=256]
I/O ports at 6090 [size=8]
I/O ports at 6080 [size=4]
I/O ports at 6060 [size=32]
Memory at 80702000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA v1.0
Kernel driver in use: ahci
Kernel modules: ahci
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: ubuntu-release-upgrader-core 1:24.04.23
ProcVersionSignature: Ubuntu 6.8.0-49.49-generic 6.8.12
Uname: Linux 6.8.0-49-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.3
Architecture: amd64
CasperMD5CheckResult: pass
CloudArchitecture: x86_64
CloudID: none
CloudName: none
CloudPlatform: none
CloudSubPlatform: config
CrashDB: ubuntu
CrashReports: 640:0:130:369937:2024-12-10 11:50:38.765627919 +0100:2024-12-10 11:50:37.791600476 +0100:/var/crash/_usr_lib_systemd_systemd-journald.0.crash
Date: Sat Dec 14 14:04:24 2024
InstallationDate: Installed on 2021-03-07 (1378 days ago)
InstallationMedia: Ubuntu-Server 20.04.2 LTS "Focal Fossa" - Release amd64 (20210201.2)
PackageArchitecture: all
ProcEnviron:
LANG=es_ES.UTF-8
PATH=(custom, no user)
SHELL=/usr/bin/bash
TERM=screen-256color
XDG_RUNTIME_DIR=<set>
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: ubuntu-release-upgrader
Symptom: dist-upgrade
UpgradeStatus: Upgraded to noble on 2024-03-21 (268 days ago)
VarLogDistupgradeLspcitxt:
VarLogDistupgradeXorgFixuplog:
INFO:root:/usr/bin/do-release-upgrade running
INFO:root:No xorg.conf, exiting
** Affects: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided
Assignee: Juan Pedro Paredes (juampe)
Status: Invalid
** Tags: amd64 apport-bug dist-upgrade noble
** Summary changed:
- Drop low power policy board type affects N100 T8 Firebat boot in kernel 6.11 and ubuntu 14.10
+ Discard this
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: New => Invalid
** Changed in: ubuntu-release-upgrader (Ubuntu)
Assignee: (unassigned) => Juan Pedro Paredes (juampe)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2091775
Title:
Discard this
Status in ubuntu-release-upgrader package in Ubuntu:
Invalid
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 at 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 at kernel.org>
Tested-by: Jian-Hong Pan <jhp at endlessos.org>
Acked-by: Jian-Hong Pan <jhp at endlessos.org>
Acked-by: Christoph Hellwig <hch at lst.de>
Reviewed-by: Damien Le Moal <dlemoal at kernel.org>
Reviewed-by: Mario Limonciello <mario.limonciello at amd.com>
Reviewed-by: Mika Westerberg <mika.westerberg at linux.intel.com>
Suggested-by: Christoph Hellwig <hch at infradead.org>
Signed-off-by: Mario Limonciello <mario.limonciello at amd.com>
[cassel: rebase patch and fix trivial conflicts]
Signed-off-by: Niklas Cassel <cassel at 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]
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 131, IOMMU group 4
Memory at 80700000 (32-bit, non-prefetchable) [size=8K]
Memory at 80703000 (32-bit, non-prefetchable) [size=256]
I/O ports at 6090 [size=8]
I/O ports at 6080 [size=4]
I/O ports at 6060 [size=32]
Memory at 80702000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA v1.0
Kernel driver in use: ahci
Kernel modules: ahci
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: ubuntu-release-upgrader-core 1:24.04.23
ProcVersionSignature: Ubuntu 6.8.0-49.49-generic 6.8.12
Uname: Linux 6.8.0-49-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.3
Architecture: amd64
CasperMD5CheckResult: pass
CloudArchitecture: x86_64
CloudID: none
CloudName: none
CloudPlatform: none
CloudSubPlatform: config
CrashDB: ubuntu
CrashReports: 640:0:130:369937:2024-12-10 11:50:38.765627919 +0100:2024-12-10 11:50:37.791600476 +0100:/var/crash/_usr_lib_systemd_systemd-journald.0.crash
Date: Sat Dec 14 14:04:24 2024
InstallationDate: Installed on 2021-03-07 (1378 days ago)
InstallationMedia: Ubuntu-Server 20.04.2 LTS "Focal Fossa" - Release amd64 (20210201.2)
PackageArchitecture: all
ProcEnviron:
LANG=es_ES.UTF-8
PATH=(custom, no user)
SHELL=/usr/bin/bash
TERM=screen-256color
XDG_RUNTIME_DIR=<set>
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: ubuntu-release-upgrader
Symptom: dist-upgrade
UpgradeStatus: Upgraded to noble on 2024-03-21 (268 days ago)
VarLogDistupgradeLspcitxt:
VarLogDistupgradeXorgFixuplog:
INFO:root:/usr/bin/do-release-upgrade running
INFO:root:No xorg.conf, exiting
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2091775/+subscriptions
More information about the foundations-bugs
mailing list