** Description changed:

  Summary:
  Raspberry Pi 5 with NVMe M.2 storage via PCIe hat experiences buffer I/O 
errors and complete device unresponsiveness 10-15 seconds after boot on kernel 
7.0.0-1015-raspi. The system becomes unusable and requires power cycle to 
recover (piboot-try rolls back to 6.17 kernel).
  
  Details:
  After upgrading from Ubuntu 25.10 (kernel 6.17.0-1021-raspi) to 26.04 (kernel 
7.0.0-1015-raspi), NVMe read/write operations fail consistently:
  
  * Kernel logs show: Buffer I/O error on dev nvmeon1p1, logical block 1, lost 
async page write
  * Device becomes unmounted and unresponsive ~10-15 seconds into boot
  * Only workaround: add pcie_aspm=off to kernel boot parameters
  
  Root Cause (I think):
  Kernel 7.0 enables ASPM L1 state on NVMe device (config change from 6.17):
  
  * Previous kernel: No ASPM L1 state configured
  * 7.0 kernel: Shows pci 0001:01:00.0: ASPM: default states L1
  * Also sets nvme nvme0: D3 entry latency set to 10 seconds
  
  The 10-second D3 entry latency coincides closely with the failure window
  (10-15s), suggesting power state transition issue on PCIe link.
  
  Steps to Reproduce:
  * Raspberry Pi 5 with official power supply
  * NVMe M.2 in PCIe hat (M.2 Key-M to PCIe adapter)
  * Boot with kernel 7.0.0-1015-raspi without boot parameter workaround
  * Observe buffer I/O errors ~10-15 seconds after boot
  
  Expected Behavior:
  NVMe device remains accessible and stable throughout boot and operation (as 
with 6.17 kernel).
  
  Actual Behavior:
  NVMe I/O fails, device unmounts, system requires power cycle.
  
  Workaround:
  Add pcie_aspm=off to kernel boot parameters (in /boot/firmware/cmdline.txt or 
/boot/firmware/new/cmdline.txt).
  
  System Information:
  Hardware: Raspberry Pi 5 Model B Rev 1.1
  Storage: NVMe M.2 via PCIe hat
  Kernel (broken): 7.0.0-1015-raspi #15-Ubuntu SMP PREEMPT_DYNAMIC
  Kernel (working): 6.17.0-1021-raspi #21-Ubuntu SMP PREEMPT_DYNAMIC
  OS: Ubuntu 26.04 (ARM64)
  linux-raspi version: 7.0.0-1015.15
  
- Kernel Configuration Changes (6.17 → 7.0):
+ Kernel Configuration Changes (6.17 --> 7.0):
  * CONFIG_PREEMPT changed to CONFIG_PREEMPT_LAZY
  * CONFIG_NUMA enabled (was disabled)
  * CONFIG_POWER_SEQUENCING changed from module to builtin
  * CONFIG_POWER_SEQUENCING_PCIE_M2 added

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2162033

Title:
  NVMe M.2 fails with I/O errors on Raspberry Pi 5 with kernel
  7.0.0-1015-raspi when ASPM L1 is enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2162033/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to