public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Rashmi Mohapatra <rashmilinux@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Error in NCQ Command Handling in AHCI SATA
Date: Thu, 29 Oct 2009 15:20:42 +0100	[thread overview]
Message-ID: <4AE9A4BA.3020104@kernel.org> (raw)
In-Reply-To: <8dd538850910290656q322b2c1aga1172c486361f7c4@mail.gmail.com>

Hello, (cc list trimmed and linux-ide added)

DO NOT SPAM unrelated people.

Rashmi Mohapatra wrote:
> Please look at the log attached.
> Between line 1090 and 1210 something happens and the copy fails.
> If you look at Line No 1141 the log says,
> 
> qc_complete_multiple ap->qc_active=ffff qc_active=fbfe done_mask=401
> 
> Could it be possible that the software is issuing 32 commands MAX even
> if the Hardware supports less than that ?

Unlikely but then again you'll be the first to test an NCQ controller
with 16 command limit.

> Could it be a timeout issue for a block dma command ?
> 
> Why the scsi error handler code is called ?
> Can someone point me to the code flow which ends up calling the Error
> Handler ?

Commands were issued but the controller didn't report completion
before the timeout expired (30s), so the EH kicked in.  You have
multiple nobody cared warnings there.  Does specifying "irqpoll"
kernel parameter make any difference?

-- 
tejun

           reply	other threads:[~2009-10-29 14:19 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <8dd538850910290656q322b2c1aga1172c486361f7c4@mail.gmail.com>]

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=4AE9A4BA.3020104@kernel.org \
    --to=tj@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rashmilinux@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