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

HATs and other add-ons • Raspberry Pi 5 PCIe Bus Error - ASM1166

$
0
0
Hello

I'm trying to use a Pimoroni NVMe Base for Raspberry Pi 5 to interface with an M.2 ASM1166 SATA Controller.

The SATA Controller is this one: https://aliexpress.com/item/1005004575015955.html

This SATA Controller is working fine with a Raspberry Pi CM4 (Adapted to the CM4IO through a PCIe - M.2 Adapter: https://aliexpress.com/item/1005003484374205.html)

On the Raspberry Pi 5 together with the Pimoroni NVMe Base, it is not working properly. After booting this setup, the SSH connection is already pretty laggish.

Checking dmesg yields the following Errors:

Code:

[    4.243138] macb 1f00100000.ethernet eth0: PHY [1f00100000.ethernet-ffffffff:01] driver [Broadcom BCM54213PE] (irq=POLL)[    4.243150] macb 1f00100000.ethernet eth0: configuring for phy/rgmii-id link mode[    4.247999] pps pps0: new PPS source ptp0[    4.248362] macb 1f00100000.ethernet: gem-ptp-timer ptp clock registered.[    4.266564] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled[    6.564205] pcieport 0000:00:00.0: AER: Uncorrected (Non-Fatal) error received: 0000:00:00.0[    6.667092] ata1: SATA link down (SStatus FFFFFFFF SControl FFFFFFFF)[    6.770013] pcieport 0000:00:00.0: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, (Requester ID)[    6.770017] pcieport 0000:00:00.0:   device [14e4:2712] error status/mask=00004000/00400000[    6.770019] pcieport 0000:00:00.0:    [14] CmpltTO                (First)[    6.821460] ahci 0000:01:00.0: AER: can't recover (no error_detected callback)[    6.821489] pcieport 0000:00:00.0: AER: device recovery failed[    6.821491] pcieport 0000:00:00.0: AER: Multiple Uncorrected (Non-Fatal) error received: 0000:00:00.0[    7.178663] ahci 0000:01:00.0: AHCI controller unavailable![    7.757292] sched: RT throttling activated[    8.046651] pcieport 0000:00:00.0: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, (Requester ID)[    8.046654] pcieport 0000:00:00.0:   device [14e4:2712] error status/mask=00004000/00400000[    8.046657] pcieport 0000:00:00.0:    [14] CmpltTO                (First)[    8.046661] ahci 0000:01:00.0: AER: can't recover (no error_detected callback)[    8.046679] pcieport 0000:00:00.0: AER: device recovery failed[    8.046681] pcieport 0000:00:00.0: AER: Uncorrected (Non-Fatal) error received: 0000:00:00.0[    8.046685] ahci 0000:01:00.0: AHCI controller unavailable![    8.046688] pcieport 0000:00:00.0: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, (Requester ID)[    8.046690] pcieport 0000:00:00.0:   device [14e4:2712] error status/mask=00004000/00400000[    8.046693] pcieport 0000:00:00.0:    [14] CmpltTO                (First)[    8.046696] ahci 0000:01:00.0: AER: can't recover (no error_detected callback)[    8.046708] pcieport 0000:00:00.0: AER: device recovery failed[    8.046710] pcieport 0000:00:00.0: AER: Uncorrected (Non-Fatal) error received: 0000:00:00.0[    8.336061] pcieport 0000:00:00.0: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, (Requester ID)[    8.336063] pcieport 0000:00:00.0:   device [14e4:2712] error status/mask=00004000/00400000[    8.336065] pcieport 0000:00:00.0:    [14] CmpltTO                (First)[    8.336069] ahci 0000:01:00.0: AER: can't recover (no error_detected callback)[    8.336082] pcieport 0000:00:00.0: AER: device recovery failed[    8.336084] pcieport 0000:00:00.0: AER: Uncorrected (Non-Fatal) error received: 0000:00:00.0[    8.336089] pcieport 0000:00:00.0: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, (Requester ID)[    8.336091] pcieport 0000:00:00.0:   device [14e4:2712] error status/mask=00004000/00400000[    8.336093] pcieport 0000:00:00.0:    [14] CmpltTO                (First)[    8.336097] ahci 0000:01:00.0: AER: can't recover (no error_detected callback)[    8.336104] pcieport 0000:00:00.0: AER: device recovery failed[    8.336106] pcieport 0000:00:00.0: AER: Uncorrected (Non-Fatal) error received: 0000:00:00.0[    8.336110] pcieport 0000:00:00.0: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, (Requester ID)[    8.336112] pcieport 0000:00:00.0:   device [14e4:2712] error status/mask=00004000/00400000[    8.336114] pcieport 0000:00:00.0:    [14] CmpltTO                (First)[    8.336117] ahci 0000:01:00.0: AER: can't recover (no error_detected callback)[    8.336128] pcieport 0000:00:00.0: AER: device recovery failed[   15.169505] ata2: failed to resume link (SControl FFFFFFFF)[   19.800899] ata2: SATA link down (SStatus FFFFFFFF SControl FFFFFFFF)[   21.538244] ahci 0000:01:00.0: AHCI controller unavailable![   22.117209] ahci 0000:01:00.0: AHCI controller unavailable![   30.102706] ata3: failed to resume link (SControl FFFFFFFF)[   34.733967] ata3: SATA link down (SStatus FFFFFFFF SControl FFFFFFFF)[   36.471288] ahci 0000:01:00.0: AHCI controller unavailable![   37.050628] macb 1f00100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off[   37.050650] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready[   37.050820] ahci 0000:01:00.0: AHCI controller unavailable![   45.030617] ata4: failed to resume link (SControl FFFFFFFF)[   49.660497] ata4: SATA link down (SStatus FFFFFFFF SControl FFFFFFFF)[   51.396675] ahci 0000:01:00.0: AHCI controller unavailable![   51.975928] ahci 0000:01:00.0: AHCI controller unavailable![   59.950602] ata5: failed to resume link (SControl FFFFFFFF)[   64.581553] ata5: SATA link down (SStatus FFFFFFFF SControl FFFFFFFF)[   66.317896] ahci 0000:01:00.0: AHCI controller unavailable![   66.906869] ahci 0000:01:00.0: AHCI controller unavailable!
This is the lspci output:

Code:

$ sudo lspci0000:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries Device 2712 (rev 21)0000:01:00.0 SATA controller: ASMedia Technology Inc. ASM1166 Serial ATA Controller (rev 02)0001:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries Device 2712 (rev 21)0001:01:00.0 Ethernet controller: Device 1de4:0001
I have tried both dtparams:

Code:

#dtparam=pciex1dtparam=pciex1_gen=3
Kernel version:

Code:

$ uname -aLinux pi5 6.1.0-rpi7-rpi-2712 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux
So my question is if there is an issue with the combination Raspberry Pi 5 and ASM1166, or if this is an issue with the Pimoroni NVMe Base. Anyone already tried similar things?

I have ordered another type of Raspberry Pi 5 NVMe Board, but that takes a few days to arrive..

Statistics: Posted by whizz — Tue Jan 16, 2024 7:30 pm



Viewing all articles
Browse latest Browse all 4899

Trending Articles