All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Hancock <hancockr@shaw.ca>
To: Maarten Maathuis <madman2003@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [sata_nv] timeout waiting for ADMA IDLE, stat=0x440
Date: Fri, 24 Aug 2007 17:24:52 -0600	[thread overview]
Message-ID: <46CF68C4.9040506@shaw.ca> (raw)
In-Reply-To: <fa.JryGluomV43EviuSMJKX+JI+tvU@ifi.uio.no>

Maarten Maathuis wrote:
> I have this problem several times, always with the same harddrive, a
> samsung sp2004c. My samsung hd161hj and hd321kj don't seem to suffer
> from this problem. I do not know when exactly it happened for the
> first, but it has happened twice on a 2.6.22 kernel.
> 
> Is there anything that can be done about this (besides disabling adma
> for all drives), or any information i can provide to help?
> 
> Please CC me, as i am not a member of this mailinglist.
> 
> Sincerely,
> 
> Maarten Maathuis.
> 
> dmesg snippet:
> 
> ata4: timeout waiting for ADMA IDLE, stat=0x440
> ata4.00: qc timeout (cmd 0x2f)
> ata4: failed to read log page 10h (errno=-5)
> ata4.00: exception Emask 0x1 SAct 0x1 SErr 0x380000 action 0x2 frozen
> ata4.00: (CPB resp_flags 0x11: CMD error)
> ata4.00: cmd 60/80:00:89:b0:30/00:00:02:00:00/40 tag 0 cdb 0x0 data 65536 in
>          res 51/84:00:02:00:00/84:00:02:00:00/40 Emask 0x10 (ATA bus error)

Sounds like the drive has gotten into a really hosed state after this 
point. The SError register is showing a CRC error, disparity error, and 
10b to 8b decode error, which indicates that there are some major SATA 
communication problems happening.

It could be a hardware problem (bad drive, bad SATA cable, insufficient 
power, etc.) or maybe this is another drive with broken NCQ..

-- 
Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/


       reply	other threads:[~2007-08-24 23:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.JryGluomV43EviuSMJKX+JI+tvU@ifi.uio.no>
2007-08-24 23:24 ` Robert Hancock [this message]
2007-08-25 13:37   ` [sata_nv] timeout waiting for ADMA IDLE, stat=0x440 Maarten Maathuis
     [not found]     ` <Pine.LNX.4.64.0708281515340.3018@fbirervta.pbzchgretzou.qr>
2007-08-28 14:06       ` Maarten Maathuis
2007-09-05 16:48         ` Andrew Morton
2007-09-05 16:54           ` Maarten Maathuis
2007-09-06 11:07           ` Jan Engelhardt
2007-08-24 17:11 Maarten Maathuis

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=46CF68C4.9040506@shaw.ca \
    --to=hancockr@shaw.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=madman2003@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.