Kubuntu 23.10 Freezes: Normal I/O Operations on SSD

Abstract: Resolve Kubuntu 23.10 SSD freezes by disabling NVMe power management via GRUB kernel parameters and updating firmware.

Created: 2026-08-30 by

Kubuntu 23.10 freezes during normal I/O on an SSD often stem from NVMe power management conflicts, outdated firmware, or kernel bugs affecting the storage controller. To resolve this, update your BIOS and NVMe firmware, disable aggressive power saving in GRUB via nvme_core.default_ps_max_latency_us=0, and check for kernel updates that address known stability issues with your specific hardware.

Understanding the Freezing Mechanism

When a Linux system freezes specifically during Input/Output operations on an Solid State Drive (SSD), it typically indicates that the kernel has lost communication with the storage device. This is distinct from a general system hang caused by CPU overload or RAM exhaustion. In the context of Kubuntu 23.10, which utilizes the newer Plasma desktop environment and recent kernels, these freezes are frequently linked to how the operating system manages the power state of NVMe drives. Modern NVMe drives support various power states to save energy when idle. The Linux kernel attempts to transition the drive into deeper sleep states to reduce power consumption. However, if the drive’s firmware does not respond correctly to these transition commands, or if there is a bug in the kernel’s NVMe driver implementation, the drive may fail to wake up promptly. During this failure window, any process attempting to read or write data will block indefinitely, causing the entire graphical interface to freeze because the root filesystem or swap space becomes inaccessible. This issue is particularly prevalent in dual-boot systems where Windows hibernation features might interfere with the disk state, although pure Linux-side causes are more common in fresh installations. It is crucial to distinguish between a complete hardware failure and a software-level timeout. If the drive works perfectly after a hard reboot but fails only after periods of activity, the problem is almost certainly related to power management or driver timeouts rather than physical damage to the NAND flash memory.

Disabling Aggressive Power Management

The most effective immediate workaround for NVMe-related freezes is to prevent the kernel from putting the drive into deep sleep states. You can achieve this by modifying the kernel parameters passed at boot time through the GRUB bootloader. This method does not require recompiling the kernel or installing third-party tools, making it a safe and reversible first step. To implement this fix, you must edit the GRUB configuration file. Open a terminal and run the following command to open the configuration editor with administrative privileges:
sudo nano /etc/default/grub
Locate the line that begins with GRUB_CMDLINE_LINUX_DEFAULT. This line usually contains quotes around existing parameters like quiet splash. Inside these quotes, add the following parameter:
nvmе_core.default_ps_max_latency_us=0
Your updated line should look something like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvme_core.default_ps_max_latency_us=0"
Setting this value to zero tells the NVMe core driver to ignore maximum latency hints from the drive, effectively disabling the deepest power states that cause the hang. After saving the file, you must update the GRUB configuration to apply the changes:
sudo update-grub
Reboot your system and monitor its behavior during heavy I/O tasks such as copying large files or compiling code. If the freezes cease, the issue was indeed related to NVMe power management. Note that while this resolves stability, it may slightly increase power consumption on laptops, so consider reverting if battery life becomes a concern.

Updating Firmware and BIOS

Kernel workarounds are temporary fixes; addressing the root cause often requires updating the hardware firmware. SSD manufacturers frequently release firmware updates that correct bugs related to NVMe protocol compliance and power state transitions. Since you are using a dual-boot setup, check if your manufacturer provides a Windows-based tool for updating the SSD firmware, as some vendors do not offer Linux utilities. Visit the support page for your specific SSD model and download the latest firmware utility. Run it within Windows, ensuring the drive is not mounted or in use by other processes. Follow the on-screen instructions to flash the new firmware. Afterward, restart into Kubuntu to verify if the stability improves. Simultaneously, ensure your motherboard BIOS is up to date. BIOS updates often include improvements to PCIe lane handling and NVMe controller compatibility. Check your motherboard manufacturer’s website for the latest version compatible with Kubuntu 23.10. Be cautious during BIOS updates, as improper flashing can render the system unbootable. Always back up critical data before proceeding. For more insights on managing dual-boot priorities and hardware interactions, see Setting Dual-Boot Priorities for a Samsung 870 EVO 2TB Drive with Windows 10.

Checking Kernel Updates and Logs

Kubuntu 23.10 receives regular point releases that address kernel regressions. If the issue persists after adjusting power settings and firmware, check if a newer kernel version is available. Open the Software Center or use the terminal to check for updates:
sudo apt update && sudo apt upgrade
Pay attention to messages regarding the linux-image package. Newer kernels often include patches for NVMe drivers that fix timeout issues present in earlier versions. If you are running a very recent kernel, consider testing an older stable kernel from the previous LTS release if available in your repository. To diagnose persistent issues, examine the system logs for NVMe errors. Use the following command to filter relevant entries:
dmesg | grep -i nvme
Look for messages indicating "reset failed," "timeout," or "I/O error." These logs provide concrete evidence of what the kernel is experiencing before the freeze occurs. If you find repeated reset failures, it strongly points to a hardware or firmware defect rather than a configuration issue. For further reading on diagnosing storage superblock errors, refer to Fixing Bad Magic Number Superblock Could Not Be Read Error.

Frequently Asked Questions

Will disabling NVMe power management reduce my laptop's battery life?

Yes, preventing the SSD from entering deep sleep states can increase power consumption slightly. However, modern SSDs are efficient enough that the impact is often minimal compared to CPU usage. If battery drain is significant, you can try setting a non-zero latency value, such as 5000 microseconds, to allow lighter sleep states while avoiding the deepest ones that cause hangs.

How do I know if my SSD firmware needs updating?

You can check the current firmware version using the nvme-cli tool by running sudo nvme id-ctrl /dev/nvme0n1. Compare this version with the latest listed on your manufacturer’s support website. If the versions differ, or if the manufacturer lists a security or stability patch, update the firmware immediately.

Can Windows hibernation cause Kubuntu freezes?

While hibernation primarily locks the filesystem, it rarely causes direct I/O freezes in Linux unless the partition table is corrupted or the drive is forced into an inconsistent state. Ensure Windows is fully shut down, not hibernated, before booting into Kubuntu. Using the "Fast Startup" feature in Windows can also leave the drive in a locked state, so disable it in Windows power settings.

What should I do if the system remains frozen even after trying these steps?

If the system continues to freeze, perform a hard reset by holding the power button. Boot into a live USB environment to test if the freeze occurs outside of your installed OS. If the live environment is stable, the issue may be related to your specific user session or desktop environment configuration. Consider creating a new user account to test if the problem persists across different profiles.

Is it safe to keep the NVMe power management disabled permanently?

It is generally safe to keep nvme_core.default_ps_max_latency_us=0 enabled, especially on desktop systems where power efficiency is less critical than stability. On laptops, monitor thermal output and battery life. If performance is acceptable, leaving it disabled prevents the risk of unpredictable freezes during critical tasks, providing a more reliable computing experience.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More