You are not logged in.

#1 2019-07-21 09:48:42

hills_of_eternity
Member
From: Moscow
Registered: 2017-04-28
Posts: 22
Website

SSD Samsung 860 QVO 1TB DMA issues

Hi, i've bought Samsung 860 QVO SSD recently and faced problem that it works on low speed (1.5 Gb/s instead of 3 Gb/s) and generate a lot of errors in dmesg. First of all i'd like to know is it kernel issue or my hardware issue (motherboard maybe)?

dmesg:

Jul 21 01:47:39 kernel: ata4.00: exception Emask 0x50 SAct 0x800007ff SErr 0x800 action 0x6 frozen
Jul 21 01:47:39 kernel: ata4.00: irq_stat 0x08000000, interface fatal error
Jul 21 01:47:39 kernel: ata4: SError: { HostInt }
Jul 21 01:47:39 kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Jul 21 01:47:39 kernel: ata4.00: cmd 61/08:00:a0:b2:81/00:00:6a:00:00/40 tag 0 ncq dma 4096 out
                                 res 40/00:f8:88:b2:81/00:00:6a:00:00/40 Emask 0x50 (ATA bus error)
Jul 21 01:47:39 kernel: ata4.00: status: { DRDY }
Jul 21 01:47:39 kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Jul 21 01:47:39 kernel: ata4.00: cmd 61/48:08:b0:b2:81/00:00:6a:00:00/40 tag 1 ncq dma 36864 out
                                 res 40/00:f8:88:b2:81/00:00:6a:00:00/40 Emask 0x50 (ATA bus error)
Jul 21 01:47:39 kernel: ata4.00: status: { DRDY }
Jul 21 01:47:39 kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Jul 21 01:47:39 kernel: ata4.00: cmd 61/08:10:00:b3:81/00:00:6a:00:00/40 tag 2 ncq dma 4096 out
                                 res 40/00:f8:88:b2:81/00:00:6a:00:00/40 Emask 0x50 (ATA bus error)
Jul 21 01:47:39 kernel: ata4.00: status: { DRDY }
Jul 21 01:47:39 kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Jul 21 01:47:39 kernel: ata4.00: cmd 61/18:18:10:b3:81/00:00:6a:00:00/40 tag 3 ncq dma 12288 out
                                 res 40/00:f8:88:b2:81/00:00:6a:00:00/40 Emask 0x50 (ATA bus error)
Jul 21 01:47:39 kernel: ata4.00: status: { DRDY }
Jul 21 01:47:39 kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Jul 21 01:47:39 kernel: ata4.00: cmd 61/30:20:30:b3:81/00:00:6a:00:00/40 tag 4 ncq dma 24576 out
                                 res 40/00:f8:88:b2:81/00:00:6a:00:00/40 Emask 0x50 (ATA bus error)
Jul 21 01:47:39 kernel: ata4.00: status: { DRDY }
Jul 21 01:47:39 kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Jul 21 01:47:39 kernel: ata4.00: cmd 61/08:28:68:b3:81/00:00:6a:00:00/40 tag 5 ncq dma 4096 out
                                 res 40/00:f8:88:b2:81/00:00:6a:00:00/40 Emask 0x50 (ATA bus error)
Jul 21 01:47:39 kernel: ata4.00: status: { DRDY }
Jul 21 01:47:39 kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Jul 21 01:47:39 kernel: ata4.00: cmd 61/08:30:78:b3:81/00:00:6a:00:00/40 tag 6 ncq dma 4096 out
                                 res 40/00:f8:88:b2:81/00:00:6a:00:00/40 Emask 0x50 (ATA bus error)
Jul 21 01:47:39 kernel: ata4.00: status: { DRDY }
Jul 21 01:47:39 kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Jul 21 01:47:39 kernel: ata4.00: cmd 61/10:38:90:b3:81/00:00:6a:00:00/40 tag 7 ncq dma 8192 out
                                 res 40/00:f8:88:b2:81/00:00:6a:00:00/40 Emask 0x50 (ATA bus error)
Jul 21 01:47:39 kernel: ata4.00: status: { DRDY }
Jul 21 01:47:39 kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Jul 21 01:47:39 kernel: ata4.00: cmd 61/20:40:a8:b3:81/00:00:6a:00:00/40 tag 8 ncq dma 16384 out
                                 res 40/00:f8:88:b2:81/00:00:6a:00:00/40 Emask 0x50 (ATA bus error)
Jul 21 01:47:39 kernel: ata4.00: status: { DRDY }
Jul 21 01:47:39 kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Jul 21 01:47:39 kernel: ata4.00: cmd 61/08:48:d0:b3:81/00:00:6a:00:00/40 tag 9 ncq dma 4096 out
                                 res 40/00:f8:88:b2:81/00:00:6a:00:00/40 Emask 0x50 (ATA bus error)
Jul 21 01:47:39 kernel: ata4.00: status: { DRDY }
Jul 21 01:47:39 kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Jul 21 01:47:39 kernel: ata4.00: cmd 61/08:50:e0:b3:81/00:00:6a:00:00/40 tag 10 ncq dma 4096 out
                                 res 40/00:f8:88:b2:81/00:00:6a:00:00/40 Emask 0x50 (ATA bus error)
Jul 21 01:47:39 kernel: ata4.00: status: { DRDY }
Jul 21 01:47:39 kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Jul 21 01:47:39 kernel: ata4.00: cmd 61/10:f8:88:b2:81/00:00:6a:00:00/40 tag 31 ncq dma 8192 out
                                 res 40/00:f8:88:b2:81/00:00:6a:00:00/40 Emask 0x50 (ATA bus error)
Jul 21 01:47:39 kernel: ata4.00: status: { DRDY }
Jul 21 01:47:39 kernel: ata4: hard resetting link
Jul 21 01:47:40 kernel: ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
Jul 21 01:47:40 kernel: ata4.00: supports DRM functions and may not be fully accessible
Jul 21 01:47:40 kernel: ata4.00: supports DRM functions and may not be fully accessible
Jul 21 01:47:40 kernel: ata4.00: configured for UDMA/133
Jul 21 01:47:40 kernel: ata4: EH complete
Jul 21 01:47:40 kernel: ata4.00: Enabling discard_zeroes_data

smartctl:

# smartctl -x /dev/sda | grep SATA
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 1.5 Gb/s)
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x13       GPL     R/O      1  SATA NCQ Send and Receive log
SATA Phy Event Counters (GP Log 0x11)

my MB doesn't support 6.0 Gb/s, only 3.

Linux 5.1.16-1-ck

Last edited by hills_of_eternity (2019-07-21 09:51:17)

Offline

#2 2019-07-21 10:08:35

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: SSD Samsung 860 QVO 1TB DMA issues

Maybe try a different SATA data cable.

Last edited by Ropid (2019-07-21 10:09:21)

Offline

#3 2019-07-21 10:31:40

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: SSD Samsung 860 QVO 1TB DMA issues

Yes, different cable or SATA port on the motherboard. 

As an aside, you can get faster if you use a CPI-e 2.0 controller card.  They are pretty cheap.  I am using one on a machine at work on an older motherboard.  Search amazon for the following which works 100% under Linux.  I'm sure you have other options too:

I/O Crest 4 Port SATA III PCI-e 2.0 x1 Controller Card Marvell 9215 Non-Raid with Low Profile Bracket SI-PEX40064


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2019-07-21 11:12:38

hills_of_eternity
Member
From: Moscow
Registered: 2017-04-28
Posts: 22
Website

Re: SSD Samsung 860 QVO 1TB DMA issues

Ropid wrote:

Maybe try a different SATA data cable.

I swapped cable. Let you know later if it changes anything.

graysky wrote:

you can get faster if you use a CPI-e 2.0 controller card

It is good idea! I'll try and let you know.

Offline

#5 2019-07-21 11:39:22

PootisBird
Member
Registered: 2014-04-16
Posts: 125

Re: SSD Samsung 860 QVO 1TB DMA issues

Offline

#6 2019-07-22 10:16:25

hills_of_eternity
Member
From: Moscow
Registered: 2017-04-28
Posts: 22
Website

Re: SSD Samsung 860 QVO 1TB DMA issues

PootisBird wrote:

Thank you for the link. I'll try it ASAP.

graysky wrote:

you can get faster if you use a CPI-e 2.0 controller card

I found that my MB has only 1 PCIx1 port. It doesn't enough for such a fast controller.

Offline

Board footer

Powered by FluxBB