[Bug 264139] Seagate IronWolf 110 SATA SSD NCQ_DSM_TRIM problem

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 21 May 2022 22:16:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264139

            Bug ID: 264139
           Summary: Seagate IronWolf 110 SATA SSD NCQ_DSM_TRIM problem
           Product: Base System
           Version: 12.3-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: freebsd@ihead.ru

Created attachment 234095
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234095&action=edit
messages.txt

I have ssd Seagate IronWolf 110 SATA SSD ZA1920NM10001.

smartctl -a output:

Model Family:     Seagate IronWolf 110 SATA SSD
Device Model:     ZA1920NM10001
Serial Number:    ***
LU WWN Device Id: 5 000c50 03ea095a7
Firmware Version: SF44011J
User Capacity:    1,920,383,410,176 bytes [1.92 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
TRIM Command:     Available, deterministic, zeroed
Device is:        In smartctl database 7.3/5319
ATA Version is:   ACS-4, ACS-2 T13/2015-D revision 3
SATA Version is:  SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sun May 22 01:04:13 2022 MSK
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

By default kernel selects NCQ_DSM_TRIM as delete method for trim.
This leads to unstable work of drives (freezes).
Log messages are attached.

Workaround is: kern.cam.ada.X.delete_method=DSM_TRIM.

I suppose sys/cam/ata/ata_da.c need to be changed.

-- 
You are receiving this mail because:
You are the assignee for the bug.