Hello there.
On a Librem Mini I get this disk SATA reset and hangs, with those messages in kernel output
[Sat Oct 24 12:11:45 2020] ata1: limiting SATA link speed to 3.0 Gbps
[Sat Oct 24 12:11:45 2020] ata1.00: exception Emask 0x10 SAct 0x7000 SErr 0x400100 action 0x6 frozen
[Sat Oct 24 12:11:45 2020] ata1.00: irq_stat 0x08000000, interface fatal error
[Sat Oct 24 12:11:45 2020] ata1: SError: { UnrecovData Handshk }
[Sat Oct 24 12:11:45 2020] ata1.00: failed command: WRITE FPDMA QUEUED
[Sat Oct 24 12:11:45 2020] ata1.00: cmd 61/40:60:09:a8:56/05:00:00:00:00/40 tag 12 ncq dma 688128 out
res 40/00:60:09:a8:56/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
[Sat Oct 24 12:11:45 2020] ata1.00: status: { DRDY }
[Sat Oct 24 12:11:45 2020] ata1.00: failed command: WRITE FPDMA QUEUED
[Sat Oct 24 12:11:45 2020] ata1.00: cmd 61/c0:68:49:ad:56/02:00:00:00:00/40 tag 13 ncq dma 360448 out
res 40/00:60:09:a8:56/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
[Sat Oct 24 12:11:45 2020] ata1.00: status: { DRDY }
[Sat Oct 24 12:11:45 2020] ata1.00: failed command: WRITE FPDMA QUEUED
[Sat Oct 24 12:11:45 2020] ata1.00: cmd 61/40:70:09:b0:56/05:00:00:00:00/40 tag 14 ncq dma 688128 out
res 40/00:60:09:a8:56/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
[Sat Oct 24 12:11:45 2020] ata1.00: status: { DRDY }
[Sat Oct 24 12:11:45 2020] ata1: hard resetting link
[Sat Oct 24 12:11:46 2020] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[Sat Oct 24 12:11:46 2020] ata1.00: supports DRM functions and may not be fully accessible
[Sat Oct 24 12:11:46 2020] ata1.00: supports DRM functions and may not be fully accessible
[Sat Oct 24 12:11:46 2020] ata1.00: configured for UDMA/133
[Sat Oct 24 12:11:46 2020] ahci 0000:00:17.0: port does not support device sleep
[Sat Oct 24 12:11:46 2020] ata1: EH complete
[Sat Oct 24 12:11:46 2020] ata1.00: Enabling discard_zeroes_data
I am on a patched version of Seabios 4.12-Purism-3
Should I try to fix the SATA speed back to 3 and also try to disable sleep on the controler?