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

HATs and other add-ons • ASM1166 SATA controller issues

$
0
0
Hi all

I'm experimenting with a Pi5 using the Pimoroni NVMe Base Duo.
In one NVMe slot I have a SSD, in the other a "WANGCL" NVMe-SATA adaptor based on the ASM1166 chip (I think) I got this from Amazon, it's available under a few brands like SUNGOOYUE etc.
https://www.amazon.co.uk/WANGCL-Convert ... 0BVMC37SX/
(edit) the maker's part number for this board is PH516

I am running the latest Raspberry Pi OS Lite 64-bit.

The SSD works fine and the Pi5 boots happily from it.
The SATA controller is detected as an ASM1166.

Code:

pi@nasberry:~ $ lspci0000:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 30)0000:01:00.0 PCI bridge: ASMedia Technology Inc. ASM1182e 2-Port PCIe x1 Gen2 Packet Switch0000:02:03.0 PCI bridge: ASMedia Technology Inc. ASM1182e 2-Port PCIe x1 Gen2 Packet Switch0000:02:07.0 PCI bridge: ASMedia Technology Inc. ASM1182e 2-Port PCIe x1 Gen2 Packet Switch0000:03:00.0 Non-Volatile memory controller: Netac Technology Co.,Ltd PCIe 3 NVMe SSD (DRAM-less) (rev 01)0000:04:00.0 SATA controller: ASMedia Technology Inc. ASM1166 Serial ATA Controller (rev 02)0001:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 30)0001:01:00.0 Ethernet controller: Raspberry Pi Ltd RP1 PCIe 2.0 South Bridge
The problems start when I connect a SATA drive to it. I tried with 2 drives that were previously working with a Compute Module 4 IO board and Waveshare PCIe-SATA adaptor board. (I say "working" loosely- my CM4 mostly kernel panics when talking to the SATA adaptor at boot, but if I keep rebooting it eventually succeeds and will then run with no disk errors.)

I get a lot of error messages like:

Code:

ata6.00: qc timeout after 5000 msecs (cmd 0xec)ahci 0000:04:00.0: AHCI controller unavailable!ata6: failed to resume link (SControl FFFFFFFF)ata6: SATA link down (SStatus FFFFFFFF SControl FFFFFFFF)
and the system slows down to an unusable point. I can't complete the boot process and read the system logs.

I tried the following options in cmdline.txt

Code:

pcie_aspm=offpcie_ports=compat
And in config.txt:

Code:

dtoverlay=pciex1-compat-pi5,no-mipdtoverlay=pcie-32bit-dma-pi5
None of these made any difference. I also tried a few different ports on the adaptor, and tried swapping slots on the NVMe Base. Regardless of the slot, the SSD works perfectly and the SATA adaptor fails.

Do these error messages and symptoms ring a bell with anyone? Is this a known issue with kernel/firmware, or just dodgy hardware?

Any input much appreciated

Statistics: Posted by Conner Labs — Fri Apr 11, 2025 3:58 pm



Viewing all articles
Browse latest Browse all 8093

Trending Articles