Read Errors librem13v2 on AHCI/2 since 4.12-Purism-1 with Samsung SSD 850 EVO M.2 500GB
Since 4.12-Purism-1 I have trouble booting my machine with read errors in grub. I just tested 4.12-Purism-3 and the problem still persists. Sometimes after rebooting a lot I manage to get into the kernel and after it switches to 3gbps everything works fine. Booting from USB also works fine.
Behaviour is very similar to what is mentioned in "The Eolian presents: DTLE" on https://puri.sm/posts/coreboot-on-the-skylake-librems-part-2/
I know that you are trying to fix issues with SATA on skylake so here's my config:
SMART:
Model Family: Samsung based SSDs
Device Model: Samsung SSD 850 EVO M.2 500GB
Serial Number: S33DNX0J209179X
LU WWN Device Id: 5 002538 d41be8b1a
Firmware Version: EMT21B6Q
User Capacity: 500,107,862,016 bytes [500 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: M.2
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2, ATA8-ACS T13/1699-D revision 4c
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Sun Oct 4 11:22:38 2020 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is: Unavailable
APM feature is: Unavailable
Rd look-ahead is: Enabled
Write cache is: Enabled
DSN feature is: Unavailable
ATA Security is: Disabled, NOT FROZEN [SEC1]
Wt Cache Reorder: Enabled
dmidecode:
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.
15 structures occupying 656 bytes.
Table at 0x7AA88020.
Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
Vendor: coreboot
Version: 4.11-Purism-1
Release Date: 11/26/2019
ROM Size: 16 MB
Characteristics:
PCI is supported
PC Card (PCMCIA) is supported
BIOS is upgradeable
Selectable boot is supported
ACPI is supported
Targeted content distribution is supported
BIOS Revision: 4.11
Firmware Revision: 0.0
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: Purism
Product Name: Librem 13 v2
Version: 1.0
Serial Number: 257805
UUID: Not Settable
Wake-up Type: Reserved
SKU Number: Not Specified
Family: Librem 13
[...]
If I can provide any more infos please let me know.