You are not logged in.

#1 2012-03-02 23:34:41

r-dubz
Member
Registered: 2012-01-22
Posts: 6

[SOLVED] Hard drive periodically freezes for ~40 seconds.

Seems to happen randomly. Can be browsing the web, playing music or watching video but it does seem to occur more under heavier load.

I'm not able to do much when it happens. I can browse between applications but they are normally frozen in some way. After about 40-50 seconds it is working again with the following appearing in dmesg:

[360274.364026] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[360274.364031] ata2.00: failed command: FLUSH CACHE EXT
[360274.364038] ata2.00: cmd ea/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[360274.364039]          res 40/00:00:00:4f:c2/00:00:00:00:00/40 Emask 0x4 (timeout)
[360274.364042] ata2.00: status: { DRDY }
[360274.364047] ata2: hard resetting link
[360274.364049] ata2: nv: skipping hardreset on occupied port
[360274.830685] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[360274.937794] ata2.00: configured for UDMA/133
[360274.937799] ata2.00: retrying FLUSH 0xea Emask 0x4
[360274.938059] ata2.00: device reported invalid CHS sector 0
[360274.938067] ata2: EH complete

I googled this a while back and found some kernel options to run at boot time but have been unable to locate this page again. Any ideas on where to go from here? A badblocks scan hasn't discovered anything.

Thanks

EDIT: Firmware upgrade on hard drive resolve issue.

Last edited by r-dubz (2012-03-04 15:09:56)

Offline

#2 2012-03-03 00:02:48

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: [SOLVED] Hard drive periodically freezes for ~40 seconds.

Try installing smartmontools.  Although this isn't a totally foolproof system, I think it states your drive is about to go out.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#3 2012-03-03 08:47:44

zoledian
Member
From: Sweden
Registered: 2009-04-17
Posts: 9
Website

Re: [SOLVED] Hard drive periodically freezes for ~40 seconds.

Did a quick google and found some things for you to try besides smarttools.

pcie_aspm=off
kernel param

#echo 1 > /sys/block/sdX/device/queue_depth
(mine were already 1 though)

change the SATA cable to the drive

http://superuser.com/questions/284952/t … -it-broken
https://bugzilla.redhat.com/show_bug.cgi?id=596945

Offline

#4 2012-03-03 17:47:17

r-dubz
Member
Registered: 2012-01-22
Posts: 6

Re: [SOLVED] Hard drive periodically freezes for ~40 seconds.

Cheers - that was the kernel param I was looking for.

Should have said that I tried changing the cable already. That file also has that set to 1.

The smarttools flagged the fact I had an old firmware revision on my drive. Didn't think it would really help, but I've been fine since I've upgraded it.

Cheers for your replies! I'll mark as solved once I'm sure this isn't recurring.

Offline

#5 2015-09-15 12:50:56

Martinsos
Member
From: Croatia
Registered: 2015-08-27
Posts: 61

Re: [SOLVED] Hard drive periodically freezes for ~40 seconds.

@r-dubz what was your progress on this one, did you resolve it?

Offline

#6 2015-09-17 10:14:24

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,865
Website

Re: [SOLVED] Hard drive periodically freezes for ~40 seconds.

I imagine so, which is why the topic is marked as [SOLVED]. Please don't necrobump.

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB