OS freeze with NVME

Hi all,

I have a problem with my setup.

  • NVME SSD: Transcend 110S
  • Raspberry Pi OS (64-bit)
  • EEPROM latest release (20 apr.)

EEPROM settings:

PSU_MAX_CURRENT=5000
BOOT_ORDER=0xf416
PCIE_PROBE=1

Settings in /boot/firmware/config.txt

dtparam=nvme
dtparam=pciex1_1gen=3

System boots fine but every 1-2 minutes the OS freeze for about 15-20 seconds.

With dmesg i see a lot of this:

nvme nvme0: I/O 594 (I/O Cmd) QID 1 timeout, aborting
nvme nvme0: I/O 595 (I/O Cmd) QID 1 timeout, aborting
nvme nvme0: I/O 596 (I/O Cmd) QID 1 timeout, aborting
nvme nvme0: I/O 597 (I/O Cmd) QID 1 timeout, aborting
nvme nvme0: I/O 598 (I/O Cmd) QID 1 timeout, aborting
nvme nvme0: I/O 599 (I/O Cmd) QID 1 timeout, aborting
nvme nvme0: I/O 600 (I/O Cmd) QID 1 timeout, aborting
nvme nvme0: Abort status: 0x0
nvme nvme0: Abort status: 0x0
nvme nvme0: Abort status: 0x0
nvme nvme0: Abort status: 0x0
nvme nvme0: Abort status: 0x0
nvme nvme0: Abort status: 0x0
nvme nvme0: Abort status: 0x0

PS. Which is the correct dtparam? pciex1_1gen=3 or pciex1_gen=3?
In the Argon pdf manual I see pciex1_1gen=3 but the official RaspberryPi documentation says pciex1_gen=3, see here: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#pcie-gen-3-0

Any help to solve this issue would appreciated.
Thanks

I think that is undocumented variant or simply a copy and paste error in the manual. The correct naming is dtparam=pciex1_gen=3. But it looks, that you doesn’t used the argon1.sh script. Therefore you should ensure that this line exist in your config.txt:

usb_max_current_enable=1

Because the RPi5 is not certified for Gen 3, for troubleshooting purposes you should also try:
dtparam=pciex1_gen=2
or
dtparam=pciex1_gen=1

Possibly it’s only a power management issue, you can also try to add this to the kernel line in your cmdline.txt
pcie_aspm=off

1 Like

Is this the correct value? The pdf manual says usb_max_current_enable=1 but the argon1.sh set max_usb_current=1 Which one is the correct one?!

I’ll try to add this to cmdline.

Thanks for your help.

Yes, I have seen this too. As far as I know this was for the old RPi/firmware combinations only, to enable 1.2A current and is deprecated since October 2016: Clarification about "max_usb_current" deprecation · Issue #1655 · raspberrypi/documentation · GitHub

The current documentation directs to:
usb_max_current_enable=1

https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#differences-on-raspberry-pi-5

Problem solved, thank you very much! :+1:

1 Like