From owner-svn-src-all@FreeBSD.ORG Thu Dec 9 22:56:13 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13725106564A; Thu, 9 Dec 2010 22:56:13 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 7137E8FC12; Thu, 9 Dec 2010 22:56:11 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id oB9MtuPt051506 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 10 Dec 2010 00:55:56 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id oB9Mttuc079372; Fri, 10 Dec 2010 00:55:55 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id oB9Mtt1O079371; Fri, 10 Dec 2010 00:55:55 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 10 Dec 2010 00:55:55 +0200 From: Kostik Belousov To: Andriy Gapon Message-ID: <20101209225555.GS33073@deviant.kiev.zoral.com.ua> References: <201012072046.oB7KkB4L079555@svn.freebsd.org> <4CFEAD09.30904@freebsd.org> <4CFEAFA6.4020103@feral.com> <4CFEB1AD.70906@freebsd.org> <20101208153857.H1428@besplex.bde.org> <20101208225235.501ced0e@core.draftnet> <20101209191657.B1400@besplex.bde.org> <20101209221458.42448075@core.draftnet> <4D015A09.7070608@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="f0Ums9VvOMUG7syy" Content-Disposition: inline In-Reply-To: <4D015A09.7070608@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_05, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: Bruce Cran , src-committers@freebsd.org, svn-src-all@freebsd.org, Bruce Evans , Bruce Cran , svn-src-head@freebsd.org, Matthew Jacob Subject: Re: svn commit: r216269 - head/sys/geom/part X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2010 22:56:13 -0000 --f0Ums9VvOMUG7syy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 10, 2010 at 12:36:57AM +0200, Andriy Gapon wrote: > on 10/12/2010 00:14 Bruce Cran said the following: > > Since it appears that disks are still using the CHS fields despite > > having been obsolete since ATA-7 I guess it makes sense to continue > > printing them. >=20 > I apologize for repeating myself, that probably starts to be annoying... > We read some reserved/unused/obsolete bytes and get some garbage in them. > The fact that the garbage looks like "valid" (for some definition of "val= id") > CHS parameters doesn't mean that those are really valid, or CHS parameter= s, or > we should use them, or we should even report them, even for debug. > That's my personal position and I am sticking to it :-) I think that the drive manufacturers are trying to be compatible not only with the latest ATA specifications, but also with the reasonable set of previous revisions of the specs. At least they do this to allow older BIOSes or DOS or whatever old software user has to continue to work. So, althought the fields are marked as reserved by newest spec, they still filled with something semi-reasonable to satisfy (very) old software. I think it is safe to read and interpret the values still. --f0Ums9VvOMUG7syy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk0BXnoACgkQC3+MBN1Mb4hwSwCg9sDB4zPRUWVCQ4uS3lc47c4F 3TAAoIY5lvDg4LDgiAOAIzzeI/ybCHIN =FtLj -----END PGP SIGNATURE----- --f0Ums9VvOMUG7syy--