From owner-freebsd-hardware@FreeBSD.ORG Thu Nov 19 13:46:19 2009 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E1AD10656A4 for ; Thu, 19 Nov 2009 13:46:19 +0000 (UTC) (envelope-from patpro@patpro.net) Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) by mx1.freebsd.org (Postfix) with ESMTP id EFEA18FC0C for ; Thu, 19 Nov 2009 13:46:17 +0000 (UTC) Received: from smtp5-g21.free.fr (localhost [127.0.0.1]) by smtp5-g21.free.fr (Postfix) with ESMTP id 0DC5ED48015 for ; Thu, 19 Nov 2009 14:46:13 +0100 (CET) Received: from boleskine.patpro.net (boleskine.patpro.net [82.230.142.222]) by smtp5-g21.free.fr (Postfix) with ESMTP id 100D5D4806C for ; Thu, 19 Nov 2009 14:46:11 +0100 (CET) Received: from [192.168.0.2] (unknown [192.168.0.2]) by boleskine.patpro.net (Postfix) with ESMTP id 664B21CCCD for ; Thu, 19 Nov 2009 14:45:29 +0100 (CET) Message-Id: <8DEEC192-6A98-4487-A6D2-5367649F4C2D@patpro.net> From: Patrick Proniewski To: freebsd-hardware@freebsd.org Content-Type: multipart/signed; boundary=Apple-Mail-1--989187115; micalg=sha1; protocol="application/pkcs7-signature" Mime-Version: 1.0 (Apple Message framework v936) Date: Thu, 19 Nov 2009 14:46:10 +0100 X-Mailer: Apple Mail (2.936) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: what is the good geometry for disk WD10EADS X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2009 13:46:19 -0000 --Apple-Mail-1--989187115 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hello, I've just added a WD10EADS disk in my FreeBSD box () My mother board is few years old and supports only SATA I, so the drive is recognized as SATA150 (which is fine): ad6: 953869MB at ata3-master SATA150 Unfortunately, I'm unable to find the right geometry in order to format/label the disk. Using sysintall interface to handle the new disk yields to this kind of alerts: (1st alert) WARNING: A geometry of 1938021/16/63 for ad6 is incorrect ... (2nd alert) WARNING: A geometry of 121601/255/63 for ad6 is incorrect ... (3rd alert) WARNING: A geometry of 121601/255/63 for ad6 is incorrect ... (ad lib) So, the software tries to guess the right geometry, but fails and stick with wrong numbers (121601/255/63) I have this: # diskinfo -v ad6 ad6 512 # sectorsize 1000204886016 # mediasize in bytes (932G) 1953525168 # mediasize in sectors 1938021 # Cylinders according to firmware. 16 # Heads according to firmware. 63 # Sectors according to firmware. But fdisk thinks it's not good. And mounting the formated disk fails (121601/255/63): # mount /dev/ad6s1c /backup mount: /dev/ad6s1c on /backup: incorrect super block I don't know where to look, the BIOS says nothing about the geometry (unless I've missed something). It's on LBA mode. patpro --Apple-Mail-1--989187115--