Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4416

Troubleshooting • Raspberry Pi 5: Netac NV2000 AER errors when forcing PCIe Gen 3

$
0
0
My Pimoroni PIM700 came with a NVMe Base and a 512GB Netac NV2000. With the default PCIe Gen 2 setting, there were no Advanced Error Reporting (AER) messages in the output of $journalctl -b. With the Gen 3 setting, the output of $journalctl -b contained the following four lines multiple times:

pcieport 0000:00:00.0: AER: Corrected error received: 0000:00:00.0
pcieport 0000:00:00.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Receiver ID)
pcieport 0000:00:00.0: device [14e4:2712] error status/mask=00000040/00002000
pcieport 0000:00:00.0: [ 6] BadTLP

These four lines were repeated more frequently with increased SSD activity. These errors did not appear to downgrade performance, but here is a possible solution.

See https://wiki.geekworm.com/NVMe_SSD_boot ... berry_Pi_5, first comment: [SOLVED] Errors booting from NVME with X1002 base and Crucial T500 Gen4 NVMe.

The following was found in dmesg.

nvme nvme0: controller is down; will reset.
Does your device have a faulty power saving mode enabled?
Try "nvme_core.default_ps_max_latency_us=0 pcie_aspm=off" and report a bug.

I edited the bottom of /boot/firmware/config.txt.
[all]
pcie_aspm=off
dtparam=pciex1_gen=3

After rebooting, the errors were gone. With the Default Gen 2 setting, the pibenchmarks score was 38389. With the Gen 3 setting and pcie_aspm setting as above, the score was 44516. Pimoroni benchmarked this Netac model and got a score of 44058.

Statistics: Posted by bmoss706 — Fri Feb 16, 2024 7:39 pm — Replies 1 — Views 39



Viewing all articles
Browse latest Browse all 4416

Trending Articles