From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 10 22:50:14 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 0D5591065679; Tue, 10 Aug 2010 22:50:14 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (mail.bitblocks.com [64.142.15.60]) by mx1.freebsd.org (Postfix) with ESMTP id E8FEF8FC19; Tue, 10 Aug 2010 22:50:13 +0000 (UTC) Received: from bitblocks.com (localhost.bitblocks.com [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id A8CE35B67; Tue, 10 Aug 2010 15:50:12 -0700 (PDT) To: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= In-reply-to: Your message of "Tue, 10 Aug 2010 23:08:41 +0200." <86mxsunpk6.fsf@ds4.des.no> References: <86wrry1hwv.fsf@ds4.des.no> <20100810184853.21FED5B5A@mail.bitblocks.com> <86mxsunpk6.fsf@ds4.des.no> Comments: In-reply-to =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= message dated "Tue, 10 Aug 2010 23:08:41 +0200." Date: Tue, 10 Aug 2010 15:50:12 -0700 From: Bakul Shah Message-Id: <20100810225012.A8CE35B67@mail.bitblocks.com> Cc: geom@freebsd.org, hackers@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: Tue, 10 Aug 2010 22:50:14 -0000 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). Hopefully this helps in whatever `clean solution' you are looking for?