Indexof

Lite v2.0Ubuntu › Fix Ubuntu 24.04 and 25.10 Freezing on NVMe and SSD Drives › Last update: About

Fix Ubuntu 24.04 and 25.10 Freezing on NVMe and SSD Drives

Troubleshooting Ubuntu 24.04 and 25.10 Freezes on NVMe/SSD

In the Ubuntu of hardware performance, users in 2026 are frequently reporting system-wide "hard freezes" where the mouse and keyboard become unresponsive. This issue is particularly prevalent on installations using NVMe M.2 SSDs and high-speed SATA drives. While it feels like a total hardware failure, it is often a conflict between the Linux Kernel (6.8 through 6.15+) and the drive's power-saving features. This guide outlines the verified steps to stabilize your storage environment.

1. The Primary Culprit: Autonomous Power State Transitions (APST)

Many modern NVMe drives (especially from brands like Western Digital, Crucial, and Samsung) use APST to save power. However, some controllers fail to "wake up" fast enough when Ubuntu requests data, leading to an I/O Timeout. The kernel waits for the drive, the UI hangs, and the system eventually locks up.

  • Symptoms: The system works fine for an hour, then suddenly freezes during a file save or web browsing session.
  • The Diagnostic: Check your logs after a reboot using journalctl -b -1 -p 3. Look for nvme nvme0: I/O [timeout] or controller is down; will reset.

2. Solution 1: Disabling NVMe Power Management

The most effective fix for "NVMe freezing" is to limit the drive's deep sleep states via a GRUB kernel parameter. This prevents the drive from entering a state it cannot quickly exit.

  1. Open the terminal and edit your GRUB configuration:
    sudo nano /etc/default/grub
  2. Find the line GRUB_CMDLINE_LINUX_DEFAULT and add the following:
    nvme_core.default_ps_max_latency_us=0
  3. If you are on a laptop and want to keep some power saving, try 5500 instead of 0.
  4. Save (Ctrl+O), Exit (Ctrl+X), and update:
    sudo update-grub && reboot

3. Solution 2: Fixing SSD "Read-Only" Crashes

On standard SATA SSDs, the freeze might be preceded by the filesystem suddenly switching to Read-Only mode. This is often caused by ALPM (Aggressive Link Power Management). When the link power is too aggressive, the SATA controller loses sync with the drive.

Drive Type Kernel Parameter Fix Function
NVMe SSD nvme_core.default_ps_max_latency_us=0 Disables deep sleep states.
SATA SSD ahci.mobile_lpm_policy=1 Sets ALPM to "Max Performance".
Both pcie_aspm=off Disables PCIe Active State Power Management.

4. Solution 3: Firmware and Kernel Mismatches

In early 2026, some Ubuntu 25.10 users reported freezes related to the Kernel 6.14/6.15 hardware enablement stack. If the power management tweaks above do not work, consider the following:

  • Update SSD Firmware: Many manufacturers release firmware updates specifically to fix Linux compatibility. Use fwupdmgr get-updates or the manufacturer’s Windows-based utility.
  • Disable VMD in BIOS: For Intel-based systems, ensuring Intel VMD (Volume Management Device) is disabled in the BIOS can prevent the drive from being "hidden" or poorly managed by the kernel.
  • Check Swap Usage: If your NVMe is fast but your RAM is low, high "swappiness" can cause a system to feel frozen during heavy I/O. Try reducing swappiness:
    echo 10 | sudo tee /proc/sys/vm/swappiness

5. Advanced Debugging: The "SysRq" Emergency

If your Ubuntu 24.04 installation freezes on an NVMe drive, you can often trigger a "clean" emergency reboot to prevent filesystem corruption. This confirms the kernel is still partially alive.

  • Hold Alt + SysRq (Print Screen) and slowly type: R E I S U B.
  • If the system reboots, the issue is likely a GPU driver or Xorg/Wayland hang rather than a total hardware disconnect of the SSD.

Conclusion

Freezes on NVMe and SSD drives in Ubuntu 24.04 and 25.10 are rarely due to broken hardware. In 90% of cases, the Linux kernel is simply trying to save too much power on a drive controller that doesn't support the APST or ALPM standards perfectly. By adjusting your nvme_core settings, you can achieve a "rock-solid" experience. Stay tuned to the Ubuntu Categories for further kernel patches in 2026 that aim to automate these fixes for specific drive models. For those monitoring trends, always include your specific drive model (e.g., "WD Blue SN570") when searching for the latest PPA drivers.

Keywords

Ubuntu 24.04 NVMe freeze fix, Ubuntu 25.10 SSD hard hang, nvme_core.default_ps_max_latency_us=0, fix linux I/O timeout SSD, Ubuntu random freezes 2026, disable APST linux nvme, SATA SSD read-only error fix, kernel 6.15 nvme stability, Ubuntu Categories hardware troubleshooting.

Profile: Troubleshoot system hangs and hard freezes on Ubuntu 24.04 LTS and 25.10 when using NVMe or SSD storage. Fix APST power management, I/O timeouts, and kernel bugs. - Indexof

About

Troubleshoot system hangs and hard freezes on Ubuntu 24.04 LTS and 25.10 when using NVMe or SSD storage. Fix APST power management, I/O timeouts, and kernel bugs. #ubuntu #ubuntu2404and2510freezingonnvmeandssd


Edited by: Vaino Rinne, Silvia Barbieri & William Nielsen

Close [x]
Loading special offers...

Suggestion

Fix Ethernet Not Working in Ubuntu 25.10 (2026 Guide)

#fix-ethernet-not-working-in-ubuntu-2510

How to Use iPhone USB Tethering on Ubuntu 16.04 (iOS 26 Guide)

#how-to-use-iphone-usb-tethering-on-ubuntu

Where to Find a 32-bit Ubuntu Touch ISO (2026 Guide)

#where-to-find-a-32-bit-ubuntu-touch-iso

Fix: Kodi Fails to Start as Non-Root User on Ubuntu | Permissions Guide

#fix-kodi-fails-to-start-as-non-root-user-on-ubuntu