From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 11 04:49:02 2010 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69A0D1065672; Wed, 11 Aug 2010 04:49:02 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward1.mail.yandex.net (forward1.mail.yandex.net [77.88.46.6]) by mx1.freebsd.org (Postfix) with ESMTP id 0E1778FC15; Wed, 11 Aug 2010 04:49:01 +0000 (UTC) Received: from smtp4.mail.yandex.net (smtp4.mail.yandex.net [77.88.46.104]) by forward1.mail.yandex.net (Yandex) with ESMTP id 448B269E8FA0; Wed, 11 Aug 2010 08:49:00 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1281502140; bh=+oYIP7PPrWNIpCcfxZuIrqh/mwUqHqiDEuwa6G4VIeM=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=ifJKDkR2gVhYEYGYfW6g82GukEwo7VBZ8CEXcdMlUDBeQl8b5F+K7MoUZSea/6Z4u CWyjpL3Djg8kjDKpDMOpJtPqsieOQMLyvFM6nOdZKAr0Mn1S9jpSKMFSRo8IEdtGI9 WGAArHwSUPU00Js7mHflU6mrEQpD0nQQyrpo8yWw= Received: from [127.0.0.1] (ns.kirov.so-ups.ru [77.72.136.145]) by smtp4.mail.yandex.net (Yandex) with ESMTPSA id E311012809F; Wed, 11 Aug 2010 08:48:59 +0400 (MSD) Message-ID: <4C622BB2.3090605@yandex.ru> Date: Wed, 11 Aug 2010 08:48:50 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Bakul Shah References: <86wrry1hwv.fsf@ds4.des.no> <20100810184853.21FED5B5A@mail.bitblocks.com> <86mxsunpk6.fsf@ds4.des.no> <20100810225012.A8CE35B67@mail.bitblocks.com> In-Reply-To: <20100810225012.A8CE35B67@mail.bitblocks.com> X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig243CAC20AACDD45C175FCBAE" X-Yandex-TimeMark: 1281502140 X-Yandex-Spam: 1 X-Yandex-Front: smtp4.mail.yandex.net Cc: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= , Alexander Motin , hackers@freebsd.org, geom@freebsd.org Subject: Re: Support for WD Advanced Format disks X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2010 04:49:02 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig243CAC20AACDD45C175FCBAE Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 11.08.2010 2:50, Bakul Shah wrote: > After poking around some, it seems ATA/ATAPI-7 Identify > Device word 106 bit 13 is set to 1 and bits 0-3 are set to 3 > (for 2^3 or 8 LBAs per sector) for a 4KB sector size (pin 7-8 > jumper on a WD AF disks presumably changes this setting to > 0,0). See page 121 of Atapi-7 volume 1 (google for > ata-atapi-7.pdf). >=20 > Hopefully this helps in whatever `clean solution' you are > looking for? This information is already used by ada(4) driver. If your disk doesn't lie about sector size you can see both logical and physical sector sizes in output of `camcontrol identify ada0` command. --=20 WBR, Andrey V. Elsukov --------------enig243CAC20AACDD45C175FCBAE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJMYiu6AAoJEAHF6gQQyKF63IwH/399hfx0L7gHs85XUdGANNjY YUwBRMijGZ6bdAWVmMusRcfJupnHWFTQHxguxTlidbsJbEy6l2z5UejA93XI1zbq 1Th1oIy6NLZdMmIsZrqMGcel8zxlhgrYFJPe++qPk7jpZz2ldwIAd0cuw1O4pcit pEluSrP+9RhYo/lPKXccKbuGJYGzbQW/vOE7ZvciBfDZ21G6FxDCO8kfYbuE84Pu EuZ+GRZS0WTb9WVbI1SRqsWro0wImI9QlomBwsla3LOrjTzFuw1E4ORZBQTZZ6jI ElEj7gwhyZ55hbCIKTKvJ8CaibyIwT9vQdZXLBZFrqmARj/p0cYz/DAgO+wpf2Q= =do5u -----END PGP SIGNATURE----- --------------enig243CAC20AACDD45C175FCBAE--