--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: linux: Samsung PM9B1 NVMe fails changes NID when resuming from sleep
- From: Stuart Hayhurst <stuart.a.hayhurst@gmail.com>
- Date: Wed, 23 Nov 2022 18:31:48 +0000
- Message-id: <166922830863.16082.13486921103993754648.reportbug@snakeroot>
Source: linux
Version: 5.19.6-1
Severity: important
Tags: patch upstream
X-Debbugs-Cc: stuart.a.hayhurst@gmail.com
Dear Maintainer,
The Samsung PM9B1 misreports its NID when resuming from sleep, causing the root filesystem to be unmounted, and the system left in an unstable state. Mostly this results in the device crashing, but if the device somehow continues running, it's incredibly unstable, where basically nothing works. It's an OEM drive found in some newer laptops (like my Lenovo Yoga 7 Gen 7)
There's a bug report and patch upstream for this, but personally I think it might be a good idea to include it in Debian until it's accepted, as machines with this drive are near-unusable.
Upstream issue: https://lore.kernel.org/all/20221116171727.4083-1-git@augustwikerfors.se/
I've tested the patch against the current Debian 6.1-rc5 kernel on my laptop, and this fixes the problem without any other issues.
Thanks :)
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.0.0-4-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--- End Message ---
--- Begin Message ---
Hi Stuart,
Thanks for researching it further.
On Fri, Dec 23, 2022 at 01:54:58PM +0000, Stuart wrote:
> ---------- Forwarded message ---------
> From: Stuart <stuart.a.hayhurst@gmail.com>
> Date: Fri, Dec 23, 2022 at 1:53 PM
> Subject: Re: Bug#1024718: linux: Samsung PM9B1 NVMe fails changes NID when
> resuming from sleep
> To: Salvatore Bonaccorso <carnil@debian.org>
>
>
> Well it seems as of this message, it won't be accepted upstream due to
> their policy on not accepting quirks for issues fixed in firmware
> https://lore.kernel.org/all/20221221083102.GA23826@lst.de/
But in that case we can't pick it either. We cannot/do not want to
pick changes which are not aimed to land in mainline and later stable
releases.
Closing accordingly the bugreport as well in downstream.
Regards,
Salvatore
p.s.: Do firmware update exist in meanwhile?
--- End Message ---