Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm getting these errors ramdomly, and I don't know if its normal or not.

[39441.061856] ata3.00: failed to read SCR 1 (Emask=0x40)
[39441.061866] ata3.01: failed to read SCR 1 (Emask=0x40)
[39441.061892] ata3.15: exception Emask 0x10 SAct 0x0 SErr 0x280100 action 0x6 frozen
[39441.061897] ata3.15: irq_stat 0x08000000, interface fatal error
[39441.061904] ata3.15: SError: { UnrecovData 10B8B BadCRC }
[39441.061910] ata3.00: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen
[39441.061917] ata3.01: exception Emask 0x100 SAct 0xe SErr 0x0 action 0x6 frozen
[39441.061923] ata3.01: failed command: READ FPDMA QUEUED
[39441.061933] ata3.01: cmd 60/a8:08:b0:48:62/00:00:00:00:00/40 tag 1 ncq 86016 in
[39441.061940] ata3.01: status: { DRDY }
[39441.061944] ata3.01: failed command: READ FPDMA QUEUED
[39441.061953] ata3.01: cmd 60/a8:10:b0:49:62/00:00:00:00:00/40 tag 2 ncq 86016 in
[39441.061959] ata3.01: status: { DRDY }
[39441.061963] ata3.01: failed command: READ FPDMA QUEUED
[39441.061972] ata3.01: cmd 60/58:18:58:4a:62/00:00:00:00:00/40 tag 3 ncq 45056 in
[39441.061978] ata3.01: status: { DRDY }
[39441.061987] ata3.15: hard resetting link
[39441.608302] ata3.15: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[39441.609090] ata3.00: hard resetting link
[39441.929246] ata3.00: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[39441.929333] ata3.01: hard resetting link
[39442.249184] ata3.01: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[39442.263242] ata3.00: configured for UDMA/133
[39442.277570] ata3.01: configured for UDMA/133
[39442.277725] ata3: EH complete

I'm also pasting smartctl -a for sda, sdb and sdc.

Thanks in advance for your help.

share|improve this question

5 Answers 5

up vote 5 down vote accepted

While I essentially agree with Geppettvs D'Constanzo's answer, I would suggest that some of the first things you might also try are

  1. Checking that your SATA cable is securely attached and plugged into the sockets on the motherboard and hard drive.

  2. Replacing your SATA cable. SATA cables are (relatively) inexpensive and you do sometimes get a "bad" one. Often simply replacing the cable is the easiest way to diagnose and solve a problem like this.

(Although it is somewhat unexpected that two cables would both be bad at the same time. Still, it's an easy thing to check so in my opinion probably worth doing.)

I just saw you pastbins containing the SMART data for your drives. Notice the unexpectedly large number of CRC errors for drives sdb and sdc. I suggest you start by checking the cables and connections for those drives.

junior@mediacenter:/$ sudo  smartctl -a /dev/sda
...
Model Family:     SAMSUNG SpinPoint M7E (AFT)
Device Model:     SAMSUNG HM321HI
...
199 UDMA_CRC_Error_Count    0x0036   200   200   000   Old_age  Always -    0

junior@mediacenter:/$ sudo  smartctl -a /dev/sdb
...
Model Family:     SAMSUNG SpinPoint F4 EG (AFT)
Device Model:     SAMSUNG HD204UI
...
199 UDMA_CRC_Error_Count    0x0036   100   100   000   Old_age  Always  -  57

junior@mediacenter:/$ sudo  smartctl -a /dev/sdc
...
Model Family:     SAMSUNG SpinPoint F4 EG (AFT)
Device Model:     SAMSUNG HD204UI
...
199 UDMA_CRC_Error_Count    0x0036   100   100   000   Old_age  Always  - 398

OK. So not a latpop then. ;-)
Of course, if this is happening on a laptop than none of the above apply and I'm not sure what advice to offer. Maybe remove and re-install the hard drive? Perhaps it just needs to be re-seated in its socket to improve the connection?


sbd and sdc are connected on the same external e-sata cable (Thermaltake Duo HDD Dock). i'll replace my e-sata cable.

It could be due to a faulty or low quality cable. It could also be that the cable is somehow moved, bumped, or otherwise jostled while the drive is being used.

share|improve this answer
    
sbd and sdc are both connected on the same external e-sata cable (Thermaltake Duo HDD Dock). i'll replace my e-sata cable. –  Marcos Junior May 9 '12 at 14:22

It looks like you are having a bad quality/damaged SATA Power/Data Cable. Which may be causing Bad CRC's. They aren't harmful at all and you can live with them but you are going to lose data soon. And we are talking of huge amounts of data.

The SMART report of your hard disk drives looks sane, so I am for power supply issues based on my experience when setting 5 hard disk drives in the same case/power source. I finished using an external power source (475W) for 2 drives and the case's 600W for all the case including GPU, optical and hard disk drives.

Anyway, I suggest you to run a full backup before you do anything else. If possible, clone your hard disk drive, after which you should check your cables and power source voltages.

Good luck!

share|improve this answer
    
Out of curiosity, was that GPU a big, honkin' power hungry GPU? –  irrational John May 8 '12 at 20:55
    
nVidia Quadro 4000, not that hungry indeed. –  Geppettvs D'Constanzo May 8 '12 at 20:59
    
Interesting. I have a 400w Antec (Neo-Eco) PSU, 5 hard drives, 2 optical drives, and an NVIDIA GeForce 9500 GT and I do not think I have had any power supply related problems. I do have drive CRC errors, but I think they are from stupid user errors I made a while back. (Bumping a cable & such.) I haven't noticed any warning logs in my kernel messages. Still, I guess I should keep a closer watch on it just to be safe. –  irrational John May 8 '12 at 22:03
    
1xIDE DVD-RW, 1xSATA DVD-RW and 1xSATA Blu-Ray ROM Optical Drives this side. 4 SATA and 1 IDE HDD, GPU is 142 Watts power consumption. I can't say I am absolute sure that it was about power source issues but when I added the new Power Source the problems are gone. BTW, my drives seems to be healthy. But thank you for making me see that. Your opinion is really appreciated in this side. Thank you! –  Geppettvs D'Constanzo May 8 '12 at 22:27
    
Uh, 142 watts for a GPU is ... something. My entire system (usually) uses less than that. As I type this my desktop box is pulling ~117 watts. (According to the Kill-A-Watt I had forgotten I still have it plugged into. ;-) –  irrational John May 8 '12 at 22:40

There seems to be a problem between some kernel versions ans some SATA controllers.

I have recently started to suffer a very similar problem (not sure if it is just the same) on a web server running Scientific Linux.

The most accurate and complete information I have found about such problem is this launchpad bug.

In short: Disabling NCQ seems to be the best workaround for users having this problem.

share|improve this answer
1  
Disabling NCQ is a common workaround for buggy hardware. There does not appear to be a kernel bug. –  psusi Dec 31 '12 at 15:57

This is almost always a bad drive, I have thousands of drives that we use and although these errors never cause the drive to fail they have resulted in file system corruption. I think it really has to do with a problem with the controller board on the drive.

I have tried everything to solve this problem, the fix is to replace the drive and things work on the same cables and controllers.

Good luck

share|improve this answer

I know this thread is old but I recently encountered the same problem on a newly bought machine with 6 sata slots. I installed the cdrom and the hardrive on 2 sata slots close to each other and then proceeded to install ubuntu without errors until I reboot then on I saw the ata8: hard resetting link error. The machine halts up to this point never recovered. I tried rebooting for a few times and it did not work. And then I tried to replace the hardrive on one of the 4 available slots and it worked just fine without hassle.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.