From owner-freebsd-questions@FreeBSD.ORG Sat Oct 25 16:43:22 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CCB316A4B3 for ; Sat, 25 Oct 2003 16:43:22 -0700 (PDT) Received: from smtpauth.kewlio.net (smtpauth.kewlio.net [195.22.134.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2306D43FD7 for ; Sat, 25 Oct 2003 16:43:21 -0700 (PDT) (envelope-from justin@ice.kewlio.net) Received: from [192.168.1.50] (66-191-117-124.mad.wi.charter.com [66.191.117.124]) (authenticated bits=0) by smtpauth.kewlio.net (8.12.10/8.12.10) with ESMTP id h9PNhJFu068584 for ; Sun, 26 Oct 2003 00:43:19 +0100 (BST) From: Justin Gruenberg To: freebsd-questions@freebsd.org Content-Type: text/plain Message-Id: <1067107400.222.7.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sat, 25 Oct 2003 18:43:20 +0000 Content-Transfer-Encoding: 7bit Subject: Hard Drive Issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2003 23:43:22 -0000 I've been having a bit of an issue with my 120gb Maxtor hard drive under FreeBSD. As of right now, the disk is set up with one NTFS partition, but I'm not sure if thats relevant. BIOS reports the correct geometry and size, and Windows also reports the correct size. The disk is ad1. If do a dmesg, I get these messages relating to the drive: ad1: 2014MB [4092/16/63] at ata0-slave UDMA100 ad1s3: slice extends beyond end of disk: truncating from 240091425 to 4108671 sectors ad1s5: slice extends beyond end of disk: truncating from 167782797 to 4108608 sectors Steps I've already tried (in no particular order): 1. A friend said that I could disable the drive in BIOS, and FreeBSD would query the controller, and get the info from there. I did disable it, but I got the same results. 2. Checked in Windows XP is the disk is set to a "dynamic disk." I understand they are not compatible with any operating system besides XP. The disk is listed as "Basic" 3. I've tried taking the geometry from BIOS and manually putting it in from fdisk in sysinstall. With the values copied verbatim, fdisk says that they are incorrect, and will not use them. I have also used the geometry published by Maxtor. Those numbers work, but the hard drive is only around 8gb. 4. I was advised on IRC to try switching the drive from its position at primary slave, to somewhere else. I changed it to secondary slave, and had the same results. The Values that BIOS gives: 58853 cyls 16 heads 255 sectors Values from Maxtor (http://maxtor.custhelp.com/cgi-bin/maxtor.cfg/php/enduser/olh_adp.php?p_faqid=596) 16383 max cyls (238216 actual) 16 heads 63 sectors The Values that BSD reports (from fdisk): 256 cyls 255 heads 63 sectors Thanks a lot.