SSD Samsung 850 Evo 500 GB ANSI:6 not working (ANSI: 5 is ok)
Hi,
I'm using Debian 8 stable with its stock kernel (3.16.0-4-amd64 #1 SMP Debian
3.16.7-ckt20-1+deb8u1 (2015-12-14) x86_64 GNU/Linux).
The system has problems with newer Samsung Evo 850 500 GB SSDs (ASNI: 6 with
DPOFUA=1).
About 2 months ago I have bought 2 of these SSD, and both are very good.
Now I bought a 3rd one, but this one differs slightly from the previous ones:
the newer models differ in the log by "ANSI: 6" (older versions are "ANSI: 5"),
and the newer ones have "supports DPO and FUA" whereas the older ones
don't support DPO or FUA.
As said, the problem is with the newer ones; the kernel seems
to have problems with them.
Partitioning and creating filesystems (ext4) works fine, but mounting
leads to read-only mount, even after fsck'ing it.
I even tried two of the newer versions, in both cases the same symptoms.
Maybe disabling the DPO FUA stuff will make it work (to make it like the
older versions), but I have no idea where to do that setting.
Attaching it externally gives the following log entries and errors.
Attaching it as main storage seems to work, but is then very slow
(backup of 320 GB takes nearly 4 hours(!), whereas it normally
took only 30 minutes with the old versions); so there is definitely a worm
somewhere.
Has anybody else encountered the same problem?
Would a newer kernel help?
Dec 28 20:02:21 panther vmunix: [ 1252.141192] usb 4-1: new SuperSpeed USB
device number 2 using xhci_hcd
Dec 28 20:02:21 panther vmunix: [ 1252.160686] usb 4-1: New USB device found,
idVendor=357d, idProduct=7788
Dec 28 20:02:21 panther vmunix: [ 1252.160695] usb 4-1: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
Dec 28 20:02:21 panther vmunix: [ 1252.160700] usb 4-1: Product: USB to
ATA/ATAPI Bridge
Dec 28 20:02:21 panther vmunix: [ 1252.160704] usb 4-1: Manufacturer: JMicron
Dec 28 20:02:21 panther vmunix: [ 1252.160708] usb 4-1: SerialNumber:
321AE817111906A
Dec 28 20:02:21 panther vmunix: [ 1252.162632] usb-storage 4-1:1.0: USB Mass
Storage device detected
Dec 28 20:02:21 panther vmunix: [ 1252.162850] scsi5 : usb-storage 4-1:1.0
Dec 28 20:02:22 panther vmunix: [ 1253.160759] scsi 5:0:0:0: Direct-Access
Samsung SSD 850 EVO 500G 0114 PQ: 0 ANSI: 6
Dec 28 20:02:22 panther vmunix: [ 1253.161447] sd 5:0:0:0: Attached scsi
generic sg2 type 0
Dec 28 20:02:22 panther vmunix: [ 1253.163360] sd 5:0:0:0: [sdb] Spinning up
disk...
Dec 28 20:02:33 panther vmunix: [ 1254.167020] ...........ready
Dec 28 20:02:33 panther vmunix: [ 1264.198324] sd 5:0:0:0: [sdb] 976773168
512-byte logical blocks: (500 GB/465 GiB)
Dec 28 20:02:33 panther vmunix: [ 1264.198852] sd 5:0:0:0: [sdb] Write Protect
is off
Dec 28 20:02:33 panther vmunix: [ 1264.198857] sd 5:0:0:0: [sdb] Mode Sense:
47 00 10 08
Dec 28 20:02:33 panther vmunix: [ 1264.199372] sd 5:0:0:0: [sdb] Write cache:
enabled, read cache: enabled, supports DPO and FUA
Dec 28 20:02:33 panther vmunix: [ 1264.202859] sdb: sdb1 sdb2 sdb3
Dec 28 20:02:33 panther vmunix: [ 1264.205133] sd 5:0:0:0: [sdb] Attached SCSI
disk
Dec 28 20:03:56 panther vmunix: [ 1347.499318] EXT4-fs (sdb2): mounted
filesystem with ordered data mode. Opts: (null)
Dec 28 20:04:05 panther vmunix: [ 1356.383844] sd 5:0:0:0: [sdb] Invalid
command failure
Dec 28 20:04:05 panther vmunix: [ 1356.383855] sd 5:0:0:0: [sdb]
Dec 28 20:04:05 panther vmunix: [ 1356.383859] Result: hostbyte=DID_OK
driverbyte=DRIVER_SENSE
Dec 28 20:04:05 panther vmunix: [ 1356.383862] sd 5:0:0:0: [sdb]
Dec 28 20:04:05 panther vmunix: [ 1356.383866] Sense Key : Illegal Request
[current]
Dec 28 20:04:05 panther vmunix: [ 1356.383871] sd 5:0:0:0: [sdb]
Dec 28 20:04:05 panther vmunix: [ 1356.383876] Add. Sense: Invalid field in cdb
Dec 28 20:04:05 panther vmunix: [ 1356.383880] sd 5:0:0:0: [sdb] CDB:
Dec 28 20:04:05 panther vmunix: [ 1356.383882] Write(10): 2a 08 1e 84 08 18 00
00 08 00
Dec 28 20:04:05 panther vmunix: [ 1356.383896] end_request: critical target
error, dev sdb, sector 511969304
Dec 28 20:04:05 panther vmunix: [ 1356.383901] end_request: critical target
error, dev sdb, sector 511969304
Dec 28 20:04:05 panther vmunix: [ 1356.383974] Aborting journal on device sdb2-8.
Dec 28 20:04:05 panther vmunix: [ 1356.459599] EXT4-fs error (device sdb2):
ext4_journal_check_start:56: Detected aborted journal
Dec 28 20:04:05 panther vmunix: [ 1356.459610] EXT4-fs (sdb2): Remounting
filesystem read-only
Reply to: