Lexar NM790 4TB SSD keeps crashing my fresh install of Ubuntu 24.04
I recently upgraded my SSD on my laptop. The SSD is a 4TB Lexar NM790. I used a similar 2 TB drive in another Lenovo laptop without issue.
Dell XPS 15 7590 Manufacturer firmware is fully patched. I am unaware of any firmware updates for the SSD.
$ sudo dmidecode -s bios-version
1.28.0
$ sudo udisksctl status
MODEL REVISION SERIAL DEVICE
--------------------------------------------------------------------------
Lexar SSD NM790 4TB 12237 XXXXXXXXXXXXXXXXXX nvme0n1
$ sudo nvme list
Node Generic SN Model Namespace Usage Format FW Rev
--------------------- --------------------- -------------------- ---------------------------------------- ---------- -------------------------- ---------------- --------
/dev/nvme0n1 /dev/ng0n1 XXXXXXXXXXXXXXXXXX Lexar SSD NM790 4TB 0x1 4.10 TB / 4.10 TB 512 B + 0 B 12237
The solution was to add:
nvme_core.default_ps_max_latency_us=0
to boot line for the kernel.That is in
/etc/default/grub
file the lineGRUB_CMDLINE_LINUX_DEFAULT
should look something like:Then after updating
/etc/default/grub
, run the following command:The
/proc/cmdline
is:To get your computer to boot, you might need to edit grub when it first boots by adding
nvme_core.default_ps_max_latency_us=0
afterro
(Updates to be added)