Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #85067

Bug#1091696: linux-image-6.12.6-amd64: linux 6.12.6 (Trixie) fails to reboot (SATA SSD not seen by bios)

From Eric <eric.4.debian@grabatoulnz.fr>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1091696: linux-image-6.12.6-amd64: linux 6.12.6 (Trixie) fails to reboot (SATA SSD not seen by bios)
Date 2025-01-09 19:30 +0100
Message-ID <K35s5-711T-1@gated-at.bofh.it> (permalink)
References <JZcLv-3Q27-1@gated-at.bofh.it> <JZcLv-3Q27-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On 30/12/2024 02:22, Eric Degenetais wrote:
> 3 - No that I was reasonnably sure the kernel was the culprit, I tried various versions using the snapshots repository :
>    _ the last kernel to reboot sucessfully was 6.8.12+1
>    _ the first kernel to misbehave was 6.9.7+1
>
> As a result, I think that a regression between 6.8.12 and 6.9.7 causes the SSD or its controller to hang during the shutdown for reboot process,
> so that at warm restart the UEFI firmware cannot detect it. It seems however purely volatile state, since complete shutdown then restart works.

git bisect points to the commit below. I am no expert, but it looks 
indeed related (maybe this combination of controller & drive leads to an 
unusable state after due to modified power management).

Next step : I'll see if I can build a 6.12.6 + reverted 
7627a0edef548c4c4dea62df51cc26bfe5bbcab8 kernel and see if it works.

---------------------------------------------------------------------------------------------------------

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(-)

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1091696: linux-image-6.12.6-amd64: linux 6.12.6 (Trixie) fails to reboot (SATA SSD not seen by bios) Eric Degenetais <eric.4.debian@grabatoulnz.fr> - 2024-12-30 02:30 +0100
  Bug#1091696: linux-image-6.12.6-amd64: linux 6.12.6 (Trixie) fails to reboot (SATA SSD not seen by bios) Eric <eric.4.debian@grabatoulnz.fr> - 2025-01-09 19:30 +0100
    Bug#1091696: linux-image-6.12.6-amd64: linux 6.12.6 (Trixie) fails to reboot (SATA SSD not seen by bios) Eric <eric.4.debian@grabatoulnz.fr> - 2025-01-09 21:40 +0100
  Bug#1091696: linux-image-6.12.6-amd64: linux 6.12.6 (Trixie) fails to reboot (SATA SSD not seen by bios) Eric <eric.4.debian@grabatoulnz.fr> - 2025-03-01 16:40 +0100
    Bug#1091696: linux-image-6.12.6-amd64: linux 6.12.6 (Trixie) fails to reboot (SATA SSD not seen by bios) Salvatore Bonaccorso <carnil@debian.org> - 2025-03-02 17:20 +0100
      Bug#1091696: linux-image-6.12.6-amd64: linux 6.12.6 (Trixie) fails to reboot (SATA SSD not seen by bios) Salvatore Bonaccorso <carnil@debian.org> - 2025-03-02 17:20 +0100
        Bug#1091696: linux-image-6.12.6-amd64: linux 6.12.6 (Trixie) fails to reboot (SATA SSD not seen by bios) Eric <eric.4.debian@grabatoulnz.fr> - 2025-03-02 19:00 +0100
  Processed: Re: Bug#1091696: linux-image-6.12.6-amd64: linux  6.12.6 (Trixie) fails to reboot (SATA SSD not seen by bios) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-03-02 17:20 +0100
  Processed: Re: Bug#1091696: linux-image-6.12.6-amd64: linux  6.12.6 (Trixie) fails to reboot (SATA SSD not seen by bios) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-03-02 17:20 +0100
  Bug#1091696: marked as done (linux-image-6.12.6-amd64: linux  6.12.6 (Trixie) fails to reboot (SATA SSD not seen by bios)) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-03-23 07:20 +0100

csiph-web