From owner-freebsd-questions@FreeBSD.ORG Mon May 3 10:00:09 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 F10A716A4CE for ; Mon, 3 May 2004 10:00:08 -0700 (PDT) Received: from a.mx.aegisnet.de (host-211.brf.hh.aegisnet.de [213.238.36.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 358D543D4C for ; Mon, 3 May 2004 10:00:08 -0700 (PDT) (envelope-from cz@aegisnet.biz) Received: (qmail 21947 invoked from network); 3 May 2004 17:00:28 -0000 Received: from unknown (HELO celeborn.bbk.hh.aegisnet.de) ([10.22.3.3]) (envelope-sender )encrypted SMTP for ; 3 May 2004 17:00:28 -0000 Received: from celeborn.bbk.hh.aegisnet.de (localhost [127.0.0.1]) i43H3VGe001330; Mon, 3 May 2004 19:03:31 +0200 (CEST) (envelope-from cz@aegisnet.biz) Received: (from czimmer@localhost)i43H3Sju001329; Mon, 3 May 2004 19:03:28 +0200 (CEST) (envelope-from cz@aegisnet.biz) X-Authentication-Warning: celeborn.bbk.hh.aegisnet.de: czimmer set sender to cz@aegisnet.biz using -f Date: Mon, 3 May 2004 19:03:28 +0200 From: Carsten Zimmermann To: Malcolm Kay Message-ID: <20040503170328.GA1238@iluvatar.bbk.hh.aegisnet.de> References: <20040503090312.GB3018@iluvatar.bbk.hh.aegisnet.de> <200405032303.25731.malcolm.kay@internode.on.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <200405032303.25731.malcolm.kay@internode.on.net> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org 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 17:00:09 -0000 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thanks for the answers so far. I tried to use the autocorrected values, of course. But I can't create a partition with them (as said: I was able to delete a NTFS partition w/o problems).=20 When I try to write the partition table, sysinstall / fdisk catches signal 11. It seems fdisk is not able to write the partition data since the (now autocorrected) drive geometry is (still) not valid. Carsten Am Mon May 03, 2004 at 11:0325PM +0930 schrieb Malcolm Kay: > 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 l= ist. > > > > 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. >=20 > This set of figures would correspond to a disk of 401GB (k=3D1000) or 374= GB=20 > (k=3D1024) -- Clearly not a 40GB drive. >=20 > > The BIOS detects the geometry as 19158/16/255. The auto-corrected value >=20 > This set corresponds to 40.0Gb (k=3D1000) so seems to be an acceptable se= t of=20 > 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= =20 > specified geometry is the same as the physical reality. It is common to s= et=20 > the heads and sectors to maximum values 255/63. >=20 > > 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 >=20 > Which corresponds to this auto-corrected value and again calculates > to 40.0GB (k=3D1000). This looks like the best geometry to use. >=20 > > mourns the value 19158/16/255 is not correct and again falls back to > > those LBA values. > > >=20 > Again the 255 value is too large. Don't try to set your own geometry; go > with the auto-corrected value. >=20 > Malcolm >=20 >=20 --=20 Carsten Zimmermann mailto:cz@aegisnet.biz Tel.: +49-(0)40-98760543 Aegis:Net IT-Dienstleistungen Postfach 620371 22403 Hamburg http://www.aegisnet.biz Info: +49-(0)700-AEGISNET Fax: +49-(0)40-98760547 --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQFAlntfucbzqiAxJVkRArlyAJ9/w9/+m9RMrbaw9c5oKS9CeOhDAACbB/SV i0xvvtU4aXqOW1/9XqZQ01A= =5cqu -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0--