From owner-freebsd-questions@FreeBSD.ORG Mon May 3 06:33:48 2004 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 306E816A4CE for ; Mon, 3 May 2004 06:33:48 -0700 (PDT) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A59943D1D for ; Mon, 3 May 2004 06:33:47 -0700 (PDT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp43-64.lns1.adl1.internode.on.net [150.101.43.64]) i43DXQk2038558; Mon, 3 May 2004 23:03:37 +0930 (CST) From: Malcolm Kay Organization: at home To: Carsten Zimmermann , freebsd-questions@freebsd.org Date: Mon, 3 May 2004 23:03:25 +0930 User-Agent: KMail/1.5.4 References: <20040503090312.GB3018@iluvatar.bbk.hh.aegisnet.de> In-Reply-To: <20040503090312.GB3018@iluvatar.bbk.hh.aegisnet.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200405032303.25731.malcolm.kay@internode.on.net> Subject: Re: Partitioning fails due to drive geometry inconsistency 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: Mon, 03 May 2004 13:33:48 -0000 On Monday 03 May 2004 18:33, Carsten Zimmermann wrote: > Hello list. > > I know this had been discussed quite often, but none of the posting > google offered worked out for me. Please (B)Cc: me as I am not on the list. > > I have a Western Digital WDC WD400AB-00CMB0 40 GB IDE drive hooked in as > pri slave in my system and wish to install FreeBSD on it. This is not my > first install, but it won't work this time (using 5.2.1-R): > > I try to partition the drive with fdisk during the installation process. > Everytime I hit "w" to write the changes, the program catches ``sig 11'' > (segfault?). Curious thing is: I was able to delete partions but I > cannot create new ones. I tried every option concerning bootsector (boot > mngr, std mbr, none) and the error occures every time. > > When I enter the fdisk tool it tells me that the drive geometry > "778545/16/63" is wrong. I don't have a clue where it gets that value. This set of figures would correspond to a disk of 401GB (k=1000) or 374GB (k=1024) -- Clearly not a 40GB drive. > The BIOS detects the geometry as 19158/16/255. The auto-corrected value This set corresponds to 40.0Gb (k=1000) so seems to be an acceptable set of numbers except that I understand that the seectors per track can't exceed 63 so the this set is unsuitable. In LBA mode it is not necessary that the specified geometry is the same as the physical reality. It is common to set the heads and sectors to maximum values 255/63. > is 4865/255/63 which equals the BIOS-setting when access mode is set to > LBA manually. When I enter the geometry manually with "g", it still Which corresponds to this auto-corrected value and again calculates to 40.0GB (k=1000). This looks like the best geometry to use. > mourns the value 19158/16/255 is not correct and again falls back to > those LBA values. > Again the 255 value is too large. Don't try to set your own geometry; go with the auto-corrected value. Malcolm