linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Matt Grice <mcjgrice@gmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: libata errors
Date: Tue, 07 Apr 2009 17:41:29 -0400	[thread overview]
Message-ID: <49DBC889.3080304@pobox.com> (raw)
In-Reply-To: <4b215b9d0904071340w16a65b5bs64f6161b6042b4f1@mail.gmail.com>

Matt Grice wrote:
> Dear Mr Garzik,
> 
> I am currently having trouble with the new libata kernel subsystem (My
> system broke after 2.6.21 I believe). After much fruitless googling
> and trawling through the libata code (I am *no* kernel programmer!) I
> took the serious, final step of bugging you.
> 
> Ten or so minutes after boot (long enough for my two IDE Sony DW-G120A
> DVD writers to spin down) I start getting these error messages in my
> kernel logs:
> 
> [ 6317.817041] ata4.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
> [ 6317.817057] ata4.01: cmd a0/00:00:00:08:00/00:00:00:00:00/b0 tag 0
> pio 16392 in
> [ 6317.817058]          cdb 4a 01 00 00 10 00 00 00  08 00 00 00 00 00 00 00
> [ 6317.817059]          res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask
> 0x4 (timeout)
> [ 6317.817064] ata4.01: status: { DRDY }
> [ 6317.817087] ata4: soft resetting link
> [ 6318.221356] ata4.00: configured for PIO0
> [ 6318.253533] ata4.01: configured for PIO0
> [ 6318.253567] ata4: EH complete
> [ 6335.817039] ata4.00: qc timeout (cmd 0xa0)
> [ 6335.817059] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
> [ 6335.817069] ata4.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
> [ 6335.817070]          cdb 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> [ 6335.817071]          res 51/20:03:00:00:00/00:00:00:00:00/a0 Emask
> 0x5 (timeout)
> 
> ad nauseam.
> 
> (I am running kernel 2.6.27-11, amd64. I have also tried 2.6.29, and
> the messages are the same)

What type of system hardware?  What libata driver?

If its ahci, try using ata_piix.  I am beginning to think that ATAPI on 
AHCI is broken.

Otherwise, "timeout" generally means your hardware stopped sending 
interrupts, which could indicate a non-libata problem.  Timeouts are 
often symptoms of broken PCI MSI interrupts, for examples.

	Jeff




  reply	other threads:[~2009-04-07 21:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-07 20:40 libata errors Matt Grice
2009-04-07 21:41 ` Jeff Garzik [this message]
2009-04-08  8:14   ` Mikael Pettersson
2009-04-08 13:25     ` Jeff Garzik
2009-04-08 17:52       ` Matt Grice
2009-04-11 18:00     ` Robert Hancock
2009-04-12 18:15       ` Tejun Heo
2009-04-13  9:30         ` Jeff Garzik
2009-04-14  0:56           ` Robert Hancock
2009-04-08  2:06 ` Robert Hancock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49DBC889.3080304@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=mcjgrice@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).