Hi, I found an NVMe stability issue on Orange Pi 4 Pro and a workaround that seems to fix it.
Setup:
Orange Pi 4 Pro 6 GB
Armbian community 26.11.0-trunk.52
kernel 6.6.98-vendor-sun60iw2
Samsung MZVLW256HEHP 256 GB NVMe
root filesystem on NVMe/ext4
Under heavier load, for example Docker builds/compilation, the NVMe sometimes disappears completely.
Kernel messages:
nvme nvme0: controller is down; will reset: CSTS=0xffffffff, PCI_STATUS=0xffff nvme nvme0: Disabling device after reset failure: -19
After that the root filesystem starts throwing I/O errors and even binaries from /usr/bin become unreadable.
SMART looks normal and a direct sequential read test also passes.
I added these kernel parameters:
nvme_core.default_ps_max_latency_us=0 pcie_aspm=off pcie_port_pm=off
Since then I have repeated the same Docker build and several whisper.cpp runs using all 8 CPU threads, and the issue has not come back so far.
I also see this during boot:
sunxi:pcie-6000000.pcie:[WARN]: Failed to get "power-gpios"
PCIe still comes up normally as Gen3 x1 and the NVMe is detected.
Looks like this may be related to PCIe/NVMe power management in the current vendor kernel or DT.
Has anyone else seen this on Orange Pi 4 Pro / A733?