The DMA errors are visible when RAID-1 do resync (and both SATA disks,
2TB each, are connected to the same SiL 3112 card). Maybe it is the
problem why I have not noticed this problem in the past. When I write
new data to the volume, I cannot see DMA errors. I first noticed trouble
when RAID-1 array was degraded and I tried to do resync. It was not
possible, resync process failed. Once I activated internal bitmap (mdadm
-G /dev/md0 -b internal), it helped and I was able to synchronize disks,
I needed several tries.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1690632

Title:
  SATA card SiL 3112 doesn't work well

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Ubuntu 14.04.5 i386
  Ubuntu 16.04.2 i386

  I have a small DIY server for long time and I used PCI card with chip
  "SiL 3112" to connect SATA drives, to have RAID volume; I use SW RAID
  (mdadm). I am sure that when I built this system long time ago, it
  worked fine but it reports many DMA errors now, too many errors and it
  works slowly because there are many retries. I changed all my SATA
  cables, etc but that was not a source of the trouble. Real trouble is
  chip SiL3112. I believe that some change in Linux kernel module
  sata_sil started the trouble. I cannot tell when it happened, 2017,
  2016 or even 2015?

  Anyway, I replaced my SATA card with card based on SiL 3114 and it
  works fine!

  $ lspci | grep 3114
  00:0d.0 Mass storage controller: Silicon Image, Inc. SiI 3114 
[SATALink/SATARaid] Serial ATA Controller (rev 02)

  I see this message in dmesg output (14.04.5, 3.13.0-117-generic
  #164-Ubuntu SMP Fri Apr 7 11:06:36 UTC 2017 i686):

  [    3.543370] sata_sil 0000:00:0d.0: version 2.4
  [    3.544339] sata_sil 0000:00:0d.0: Applying R_ERR on DMA activate FIS 
errata fix
   
  Could be the same "workarround" applied to SiL 3112 card? I know that when 
SiL 3112 is in my PC, I cannot find any message "Applying R_ERR on DMA activate 
FIS errata fix" in dmesg output.

  BTW, I have found some comments on the net, that these cards are
  "broken" and should be avoided as plague, etc. Well, I think that my
  SiL 3112 worked fine in the past and SiL 3114 works fine just now, so
  it is driver problem (and some HW design bug, so the performance of
  chips is limited by this SW workaround).

  This report is from Ubuntu 14.04.4 but I already tried 16.04.2 but it
  was not better, DMA errors were there but were more visible
  (annoying).

  I can update this report with details about SiL 3112 card but it is
  out of my PC now...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1690632/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to