From: Gilbert Wu <Gilbert_Wu@adaptec.com>
To: dougg@torque.net
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH] scsi: Update Aic94xx SAS/SATA Linux open source device
Date: Fri, 31 Aug 2007 16:56:48 -0700 [thread overview]
Message-ID: <1188604608.6036.15.camel@linux.site> (raw)
In-Reply-To: <46D888B7.1050301@torque.net>
On Fri, 2007-08-31 at 17:31 -0400, Douglas Gilbert wrote:
> Gilbert Wu wrote:
> > Subject: [PATCH] scsi: Update Aic94xx SAS/SATA Linux open source device
> > driver to fix smartctl utility problem.
> >
> > Contribution:
> > Gilbert Wu <gilbert_wu@adaptec.com>
> >
> > Change Log:
> >
> >
> > 1. Fixed the problem that "smartctl -a /dev/some_sata_disk -d ata"
> > does not work on aic94xx device drive with SATA devices.
> > The smartctl utility send down ATA smart command to aic94xx
> > driver and fail to get the result which is stored on ATA output
> > register.
> > In normal case, Aic94xx’s firmware does not return the value of
> > ATA output register to device driver due to performance reason.
> > To solve this issue then the driver need to turn on internal
> > flag (CSMI_TASK) for particular ATA command to enable firmware
> > to return the value of ATA output register.
>
> Recent versions of smartmontools (say 5.38 from CVS at
> sourceforge) don't need the '-d ata' option any more.
>
> If smartctl or smartd see /dev/sd<x> in Linux, they will
> assume a SCSI disk, do an INQUIRY and if they see
> "ATA " in the T10 vendor identification field then an
> ATA (most likely SATA) disk is assumed behind a SAT layer.
> Thereafter ATA commands will be issued, each wrapped in
> a SCSI ATA PASS-THROUGH(16) command.
>
> Perhaps you might check that this works with the aic94xx
> driver. [It does work with MPT SAS HBAs.]
>
> Doug Gilbert
The smartctl-5.38 works fine with aic94xx after fixed the ATA register
output problem. I also verify it by adding debug message that
smartctl-5.8 utility sends ATA smart command to aic94xx driver with SATA
device.
Thanks!
Gilbert
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2007-08-31 23:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-31 18:03 [PATCH] scsi: Update Aic94xx SAS/SATA Linux open source device Gilbert Wu
2007-08-31 18:27 ` Jeff Garzik
2007-08-31 21:20 ` Gilbert Wu
2007-08-31 21:31 ` Douglas Gilbert
2007-08-31 23:56 ` Gilbert Wu [this message]
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=1188604608.6036.15.camel@linux.site \
--to=gilbert_wu@adaptec.com \
--cc=dougg@torque.net \
--cc=linux-scsi@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.