linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* WRITE DMA EXT failures with JM20330 based sata2ide
@ 2011-06-06 16:16 Manuel Reimer
  0 siblings, 0 replies; only message in thread
From: Manuel Reimer @ 2011-06-06 16:16 UTC (permalink / raw)
  To: linux-fsdevel

Hello,

I've converted a 1,5TB SATA drive to IDE to run it on a UDMA100 IDE controller.

Low traffic applications work well. I'm able to create a xfs or ext4 filesystem 
and even a fsck runs without problems and without causing error messages on dmesg.

If I start to copy a file with some gigabytes in size to the new disc, then 
errors like the following keep coming on dmesg:

ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.00: failed command: WRITE DMA EXT
ata2.00: cmd 35/00:00:30:07:8a/00:04:57:00:00/e0 tag 0 dma 524288 out
          res 40/00:ff:00:00:00/00:00:00:00:00/40 Emask 0x4 (timeout)
ata2.00: status: { DRDY }
ata2: link is slow to respond, please be patient (ready=0)
ata2: device not ready (errno=-16), forcing hardreset
ata2: soft resetting link
ata2.00: configured for UDMA/25
ata2.00: device reported invalid CHS sector 0
ata2: EH complete

The error repeats many times.

Copying a big file from this disc to another location on the disc, then this 
also works without errors (maybe because of the slow down of the mixed 
read/write access). This copy from disc to same disc also failed before I 
switched the disc to SATA I mode. This is done now, but doesn't seem to fix copy 
from another disc to the new one.

Interesting thing is that always WRITE DMA EXT seems to fail. Is there any way 
to fix this? Maybe it would be a option to increase the timeout, that gets 
triggered here, so the driver waits longer for the result?

What I definetly need is some workaround to stop the kernel from speeding down 
until UDMA/25 is reached. This speed is totally unacceptable for such a big 
drive... :-(

Are there configuration parameters that change how the driver behaves in such 
situations and how to set them to get around this problem?

Thank you very much in advance for any help...

Yours

Manuel


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-06-06 16:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-06 16:16 WRITE DMA EXT failures with JM20330 based sata2ide Manuel Reimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).