SATA drives or chipset throwing DRDY ERR and ICRC ABRT

31,939

Solution 1

I can recommend the Promise and SiliconImage chipsets as alternatives to the VIA. I'm using a PCI adapter with a SiI-3124 chipset currently and haven't had any trouble with it.

I've had good experiences with earlier IDE chipsets from both manufacturers, but haven't yet had occasion to test out a Promise SATA chip. I highly recommend getting away from the VIA chip; I've dealt with lots of flaky VIA chips and I prefer to avoid them when possible.

Solution 2

I know this is a bit old, but I had this issue on a new machine I'm building and the issue seemed to be this. Here was my original error:

[  595.535123] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
[  595.535127] ata2.00: BMDMA stat 0x64
[  595.535132] ata2.00: failed command: WRITE DMA EXT
[  595.535140] ata2.00: cmd 35/00:00:08:3c:11/00:02:00:00:00/e0 tag 0 dma 262144 out
[  595.535145] ata2.00: status: { DRDY ERR }
[  595.535147] ata2.00: error: { ICRC ABRT }
[  595.535182] ata2: soft resetting link

I had turned on a BIOS option to turn the two 'main' (0/1) SATA ports into IDE mode or something of that sort and it had somehow screwed up the bus communication to the other non-SATA or secondary devices on the bus. I know the description here is a bit vague, but it's difficult to tell on some mobos which is primary/secondary and which bus is associated with which.

I can just say that turning the option back so that all 6 of my onboard SATA were ACHI made my errors go away immediately. Where they were immediately reproducible in bulk running bonnie or iozone, the change has made these 2 benchmark programs immediately run without errors and complete in 1/2 hour instead of 2-3.

Share:
31,939
Matt
Author by

Matt

Updated on September 17, 2022

Comments

  • Matt
    Matt over 1 year

    I have an SD-VIA-1A2S PCI card with 2 sata ports (and one ATA-133 that isn't used). Two new Western Digital Caviar Green drives (WD10EARS 1TB) throw repeated errors in kern.log (removed date/time/host info for brevity):

    [    7.376475] ata2.00: exception Emask 0x12 SAct 0x0 SErr 0x1000500 action 0x6
    [    7.376480] ata2.00: BMDMA stat 0x5
    [    7.376483] ata2: SError: { UnrecovData Proto TrStaTrns }
    [    7.376489] ata2.00: cmd c8/00:40:20:00:00/00:00:00:00:00/e0 tag 0 dma 32768 in
    [    7.376490]          res 51/84:2f:20:00:00/00:00:00:00:00/e0 Emask 0x12 (ATA bus error)
    [    7.376493] ata2.00: status: { DRDY ERR }
    [    7.376495] ata2.00: error: { ICRC ABRT }
    [    7.376504] ata2: hard resetting link
    

    I'm using Ubuntu 9.04 - 2.6.28-18-generic, though I have tried live cds of Ubuntu 9.10, Fedora 12 and OpenSUSE 11.2 - all running various 2.6.31 kernels - and all received the same error.

    Based on testing these drives and this card in two other machines and combos of connecting the drives directly to the motherboard or the add-in card, I'm relatively convinced that it's the VIA chipset that is the problem. Another computer that also has an onboard VIA SATA chipset (like the add-in card) produces the same errors when the drives are directly on that motherboard. I have been able to verify that the drives are perfectly good, and I tried everything I can think of in terms of swapping cables, psu isn't overloaded, etc.

    The error happens on boot once or twice, after using fdisk on the drive once or twice, and constantly when attempting to sync a new mdadm raid 1 array created on the two drives.

    Any thoughts on where to go from here - driver/kernel wise?

    I'm completely open to buying a new PCI add-in card if someone can recommend one with 2 internal sata ports that works well in Debian/Ubuntu.

    Thanks!

  • quack quixote
    quack quixote about 14 years
    here's a 4-port card with that SiI-3124 chipset: newegg.com/Product/Product.aspx?Item=N82E16816124008
  • Matt
    Matt about 14 years
    Thanks. Trying a couple more kernel changes that I found elsewhere, but will probably buy another card from NewEgg. That's where I got the first one without realizing that it was a similar chipset to the motherboard.
  • Matt
    Matt about 14 years
    Marking this as the answer. Tried a Sil-3114 card, and that also failed, I think due to contention with the crappy motherboard. It did work fine in another computer whereas the Via add-in card did not. So, avoid VIA chipsets like the plague.
  • quack quixote
    quack quixote about 14 years
    @matt, did you see if the BIOS had an option to disable the onboard SATA (the via) completely?
  • Matt
    Matt about 14 years
    Yes, tried this card with the onboard disabled with the same results. New MB/CPU on the way from NewEgg rather than continuing to mess with the add-in cards. All this headache for more network storage. :) Thanks.
  • Matt
    Matt about 14 years
    Thanks. Tried all of these options a couple weeks ago without luck. Also, it wasn't limited to Debian and its derivations... same errors with RedHat and OpenSUSE also. Seems to be poor support for the VIA chipsets in the kernel. Bought a new motherboard and moved on after lots of frustration.
  • jetole
    jetole about 14 years
    Well I have had the same issue just recently which seems to correspond to the bug report and am not running the VIA controller. This is on two different drives, one which is new. I assume this error represents an official problem but the bug seems to refer to people seeing this error on machines that do not have this problem.
  • Preexo
    Preexo over 8 years
    wow, I have had this problem for ages until I finally found this, thanks so much!