Re: [PATCH] scsi: Update Aic94xx SAS/SATA Linux open source device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
> 
> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux