When copying larger files (>10GB) from SD card to SSDs connected to the X1009 the file operation often breaks, even more when copying files from one SSD to the other. The error does not happen every time, only when larger files are involved. Reading seems to work fine.
I use a RPi 5 (on DietPi / Debian) with original power supply, so I do not believe it's a supply problem. The SSDs are OK, I used them before in another computer (PC) without any problems.
I have also added a small fan over the X1009 controller, but this did not change the behaviour.
dmesg shows:
[ 3564.926662] ata1.00: exception Emask 0x52 SAct 0x40000001 SErr 0xffffffff action 0xe frozen
[ 3564.935112] ata1: SError: { RecovData RecovComm UnrecovData Persist Proto HostInt PHYRdyChg PHYInt CommWake 10B8B Dispar BadCRC Handshk LinkSeq TrStaTrns UnrecFIS DevExch }
[ 3564.950658] ata1.00: failed command: READ FPDMA QUEUED
[ 3564.955834] ata1.00: cmd 60/00:00:00:18:e2/08:00:a1:03:00/40 tag 0 ncq dma 1048576 in
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x56 (ATA bus error)
[ 3564.971754] ata1.00: status: { DRDY }
[ 3564.975489] ata1.00: failed command: READ FPDMA QUEUED
[ 3564.980734] ata1.00: cmd 60/00:f0:00:10:e2/08:00:a1:03:00/40 tag 30 ncq dma 1048576 in
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x56 (ATA bus error)
[ 3564.996785] ata1.00: status: { DRDY }
[ 3565.000487] ata1: hard resetting link
[ 3565.000493] ahci 0000:01:00.0: AHCI controller unavailable!
[ 3566.050652] ata1: failed to resume link (SControl FFFFFFFF)
[ 3566.050672] ata1: SATA link down (SStatus FFFFFFFF SControl FFFFFFFF)
[ 3571.282656] ata1: hard resetting link
[ 3571.282669] ahci 0000:01:00.0: AHCI controller unavailable!
This is continued multiple times.
I added
dtparam=pciex1_gen=3
to config.txt, otherwise (without this line or with ..._gen=2) the error happens still more often.
Any ideas?
Cheers,
parkflyer