All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Krzysztof Błaszkowski" <kb@sysmikro.com.pl>
To: "Moore, Eric" <Eric.Moore@lsi.com>
Cc: "jgarzik@pobox.com" <jgarzik@pobox.com>,
	"Stewart, Ken" <Ken.Stewart@lsi.com>,
	"linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>,
	DL-MPT Fusion Linux <DL-MPTFusionLinux@lsi.com>
Subject: Re: ATA_16 support on mptsas
Date: Fri, 27 Jun 2008 19:14:58 +0200	[thread overview]
Message-ID: <200806271914.58467.kb@sysmikro.com.pl> (raw)
In-Reply-To: <660360F4F2570145BD872F298951B17A299A769A@cosmail03.lsi.com>

On Friday 27 June 2008 17:07, Moore, Eric wrote:
> On Friday, June 27, 2008 8:24 AM,  Krzysztof Błaszkowski wrote:
> > The recent firmware for e.g. SAS3442 doesn't send check
> > condition with ata
> > registers file so some commands don't work properly although
> > those commands
> > don't return drive state are delivered to drive and processed
> > by the drive.
>
> I device driver supports returning sense data, so if the target returned
> sense, it would be sent up the stack.    Here is the location of the SATL
> spec http://www.t10.org/ftp/t10/drafts/sat2/sat2r05.pdf, please refer to
> section 11.1..   So can you provide more details on which commands are you
> expecting sense data on.    Meanwhile I will send Ken the mpt fusion
> engineering design note for SATL.


okay. i didn't know this spec so thank you for reference.

Anyway:
1. I observed that ATA_16 issued to disk through ICH6 ends up with 4 bytes 
longer sense data comparing to sense data from LSI.

2. according to the spec chapter 12.2.3 if the cdb has set the CK_COND bit 
then the sense data should include ATA Status Descriptor described in chapter 
12.2.5.  Seems that the recent firmware violates this requirement thus latest 
hdparm (rev 8.9) signals false failure or can not evaluate right status. And 
the hdparm sets this bit in sgio.c:sg16()

you can try e.g. CHECK POWER MODE (0xe5)

>
> Eric

Krzysztof

  reply	other threads:[~2008-06-27 17:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-23 16:00 ATA_16 support on mptsas Krzysztof Błaszkowski
2008-06-23 19:40 ` Moore, Eric
2008-06-27  9:02   ` Krzysztof Błaszkowski
2008-06-27 14:24   ` Krzysztof Błaszkowski
2008-06-27 15:07     ` Moore, Eric
2008-06-27 17:14       ` Krzysztof Błaszkowski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-06-23 22:09 Richard Scobie

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=200806271914.58467.kb@sysmikro.com.pl \
    --to=kb@sysmikro.com.pl \
    --cc=DL-MPTFusionLinux@lsi.com \
    --cc=Eric.Moore@lsi.com \
    --cc=Ken.Stewart@lsi.com \
    --cc=jgarzik@pobox.com \
    --cc=linux-ide@vger.kernel.org \
    /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.