From ap25164@mound.sfbay.sun.com Fri Jul 20 16:52:14 2007
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id l6KNqEWW011204
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 20 Jul 2007 16:52:14 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail2sca.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id l6KNo91r028801
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@Sun.Com>; Fri, 20 Jul 2007 16:50:10 -0700 (PDT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0JLI0060D4VLCX00@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@Sun.Com
 (ORCPT PSARC-ext@Sun.Com); Fri, 20 Jul 2007 16:50:09 -0700 (PDT)
Received: from sfbaymail2sca.sfbay.sun.com ([129.145.155.42])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JLI00BCN4VK1SD0@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@Sun.Com (ORCPT PSARC-ext@Sun.Com); Fri,
 20 Jul 2007 16:50:08 -0700 (PDT)
Received: from mound.sfbay.sun.com (mound.SFBay.Sun.COM [192.29.75.24])
	by sfbaymail2sca.sfbay.sun.com (8.13.6+Sun/8.12.10/ENSMAIL,v2.2)
 with ESMTP id l6KNo8VY020839	for <PSARC-ext@Sun.Com>; Fri,
 20 Jul 2007 16:50:08 -0700 (PDT)
Received: from mound.sfbay.sun.com (localhost [127.0.0.1])
	by mound.sfbay.sun.com (8.14.1+Sun/8.14.1) with ESMTP id l6KNo87A266207; Fri,
 20 Jul 2007 16:50:08 -0700 (PDT)
Received: (from ap25164@localhost)
	by mound.sfbay.sun.com (8.14.1+Sun/8.14.1/Submit) id l6KNo8uD266204; Fri,
 20 Jul 2007 16:50:08 -0700 (PDT)
Date: Fri, 20 Jul 2007 16:50:08 -0700 (PDT)
From: Alan Perry <ap25164@mound.sfbay.sun.com>
Subject: Acoustic Management support under SATA module [PSARC/2007/422 Self
 Review]
To: PSARC-ext@sun.com
Message-id: <200707202350.l6KNo8uD266204@mound.sfbay.sun.com>
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.2.0.264296
Status: RO
Content-Length: 4592


I am sponsoring this self-review case for Lida Horn.  This case is simply
intended to record information about this change.  Obviously, if anyone
does not think that this qualifies for self-review, I will promote it to
a fast track.


Template Version: @(#)sac_nextcase 1.64 07/13/07 SMI
This information is Copyright 2007 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
	 Acoustic Management support under SATA module
    1.2. Name of Document Author/Supplier:
	 Author:  Lida Horn
    1.3  Date of This Document:
	20 July, 2007
4. Technical Description
This information is Copyright 2007 Sun Microsystems

#pragma ident	"%Z%%M%	%I%	%E% SMI"

1. Introduction
   1.1 Project/Component Working Name:

       Acoustic Management support under SATA module  

   1.2 Name of Document Author/Supplier:

       Author: Lida Horn 
 
   1.3 Date of This Document:

       July 12, 2007


4. Technical Description

   4.1 Problem

       The support of Acoustic Management support has been requested
       by the HDD (Sun hard drive qualification group) in order to
       qualify more SATA hard drives for Sunfire x4500.  The HDD
       group is doing a study in conjunction with Seagate and Hitachi 
       manufacturing to see if using quiet mode helps in reducing the
       errors generated by the hard drives when there are a lot of
       vibration issues.  The T13 ATA/ATAPI-8 specification indicates
       that device performance and acoustic emanation may increase
       with increasing acoustic management levels.  
	 
       The Automatic Management feature set is an ATA optional
       feature set that allows the host to select an acoustic
       management level. This feature has been requested for drivers
       under the SATA module kernel/misc/sata.   The T10 SCSI/ATA
       Translation (SAT) Date:2006/09/13; Rev 09 and SCSI/ATA
       Translastion-2 (SAT-2) Date:2007/07/11, Rev 01a do not provide
       a translation mechanism from SCSI to SATA.  There was a need
       to come up with a scheme to perform  acoustic management in a
       SCSI environment.  (Note: The SCSI specification does not 
       provide a mechanism for drives to set the acoustic level.)
  
   4.2 Proposal

       SCSI mode sense will be used to acquire the acoustic
       management level and vendor recommended value and whether or
       not the feature is enabled.  The mode select will be used to
       turn on and off the acoustic management features and to set the
       acoustic management level.

       There are 3 bytes defined for the Sun vendor specific mode page
       (0x30).

       The first byte is 0 for acoustic management if disabled (mode
       sense) or to disable (mode select).  The value is 1 for enabled
       (mode sense) or to enable (mode select).

       The second byte is the current value of the acoustic management
       level (mode sense) or the value which is desired (mode select in
       the case of the first byte being 1, meaningless if the first byte
       is 0).

       The third byte is the vendor recommended value (mode sense).  This
       byte is meaningless for mode select.

   4.3 Interface

       The uscsi ioctl can be utilized to acquire or set the acoustic
       management features.  (The format command provides a mechanism
       to display the content of the page.  The interface between the
       SATA module and the hba drivers is consolidation private. 

   4.4 References

       o T13 AT Attachment-8 ATA/ATAPI Command Set
         Revision 4a May 21,2007 T13/1699-D   

       o T10 SCSI/ATA Translation (SAT)
         Revision 09 September 13, 2006 

       o T10 SCSI/ATA Translation-2 (SAT-2)
         Revision 01a July 11, 2007

       o T10 SCSI-3 Block Commands(SBC)
         Revision 08c November 13, 1997

       o T10 SCSI Block Commands -2 (SBC-2)
         Revision 16 November 13, 2004 

   4.5 man page:

       No man page needed.  The interfaces are consolidation private.


5. Release Summary

   S11 and S10 Update

   5.1 Packaging Changes

       None

   5.2 Binaries Modified
       /kernel/misc/sata
       /usr/include/sys/sata/sata_defs.h

   5.3 Packages Affected 
       SUNWckr
       SUNWhea


6. Resources and Schedule
   6.4. Steering Committee requested information
        6.4.1. Consolidation C-team Name:

               ON

   6.5. ARC review type:

        self-review

6. Resources and Schedule
    6.4. Steering Committee requested information
   	6.4.1. Consolidation C-team Name:
		ON
    6.5. ARC review type: Automatic
    6.6. ARC Exposure: open


