nvme ssd disappears at wakeup after suspend

Bug #2005118 reported by Vladimir
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

My newly installed ssd Silicon Power 2TB A80 (SP002TBP34A80M28) disappears after suspend and wakeup.
It works correctly after, for example, hibernate.
Tested the same ssd both on desktop and laptop.

The last working ubuntu version I found is 19.04.
The problem persists on ubuntu versions 20.04 - 22.04.

The fix probably exists, as it works correctly on ubuntu 22.10.

dmesg logs after suspend on ubuntu 22.04 (problematic)
[ 216.117333] nvme nvme0: 8/0/0 default/read/poll queues
[ 216.131578] nvme nvme0: identifiers changed for nsid 1

on ubuntu 22.10 (correct work):
[ 308.175030] nvme nvme0: 8/0/0 default/read/poll queues
[ 308.177114] nvme nvme0: Ignoring bogus Namespace Identifiers

could the fix be backported into kernel of 22.04 or maybe a workaround exists?

lsb_release -rd
Description: Ubuntu 22.04.1 LTS
Release: 22.04

apt-cache policy linux-image-5.15.0-58-generic
5.15.0-58.64

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-5.15.0-58-generic 5.15.0-58.64
ProcVersionSignature: Ubuntu 5.15.0-58.64-generic 5.15.74
Uname: Linux 5.15.0-58-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: vkovalen 1208 F.... pulseaudio
 /dev/snd/pcmC0D0p: vkovalen 1208 F...m pulseaudio
CRDA: N/A
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sat Feb 4 04:19:55 2023
HibernationDevice: RESUME=UUID=9711dc42-be74-486c-9639-efaddf7fe0b8
InstallationDate: Installed on 2023-01-26 (8 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
 Bus 001 Device 003: ID 8087:0029 Intel Corp. AX200 Bluetooth
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Lsusb-t:
 /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/8p, 5000M
 /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
     |__ Port 3: Dev 2, If 0, Class=Vendor Specific Class, Driver=rtsx_usb, 480M
     |__ Port 10: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M
     |__ Port 10: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
MachineType: Micro-Star International Co., Ltd. GS40 6QE Phantom
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-58-generic root=UUID=6ea99286-8861-4395-962b-f6719dd5105c ro "acpi_osi=!Windows 2013" acpi_osi=Linux resume=UUID=9711dc42-be74-486c-9639-efaddf7fe0b8 loglevel=2 nvme_core.default_ps_max_latency_us=0
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-58-generic N/A
 linux-backports-modules-5.15.0-58-generic N/A
 linux-firmware 20220329.git681281e4-0ubuntu3.9
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/15/2018
dmi.bios.release: 5.11
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: E14A1IMS.113
dmi.board.asset.tag: Default string
dmi.board.name: MS-14A1
dmi.board.vendor: Micro-Star International Co., Ltd.
dmi.board.version: REV:0.C
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 10
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrE14A1IMS.113:bd01/15/2018:br5.11:svnMicro-StarInternationalCo.,Ltd.:pnGS406QEPhantom:pvrREV0.C:rvnMicro-StarInternationalCo.,Ltd.:rnMS-14A1:rvrREV0.C:cvnDefaultstring:ct10:cvrDefaultstring:skuDefaultstring:
dmi.product.family: Default string
dmi.product.name: GS40 6QE Phantom
dmi.product.sku: Default string
dmi.product.version: REV:0.C
dmi.sys.vendor: Micro-Star International Co., Ltd.

Revision history for this message
Vladimir (javafors) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.