From owner-cvs-all Mon Aug 23 12:29:29 1999 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id D38D6155B4; Mon, 23 Aug 1999 12:29:19 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id NAA70468; Mon, 23 Aug 1999 13:29:09 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id NAA40976; Mon, 23 Aug 1999 13:29:50 -0600 (MDT) Message-Id: <199908231929.NAA40976@harmony.village.org> To: Bruce Evans Subject: Re: cvs commit: src/sbin/i386/fdisk fdisk.8 fdisk.c Cc: phk@critter.freebsd.dk, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org In-reply-to: Your message of "Tue, 24 Aug 1999 04:45:21 +1000." <199908231845.EAA01679@godzilla.zeta.org.au> References: <199908231845.EAA01679@godzilla.zeta.org.au> Date: Mon, 23 Aug 1999 13:29:50 -0600 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk In message <199908231845.EAA01679@godzilla.zeta.org.au> Bruce Evans writes: : SCSI disks and controllers don't "use" any geometry. They do in the boot process. The Int13 interface of the BIOS of the UltraStor 34F controller tries to get at blocks from a head/sector/track and if those are messed up somehow, things can get confusing... It is the only place where it matters, however. Everything else just works... When there is a mismatch, I've had an unbootable system. I think this has something to do with the fact that if you don't have the geometry that you think you have the UltraStor's BIOS will map the requested block in a way that is different than boot blocks think... And at one time (and I don't know if this is still true or not) FreeBSD's fdisk or sysinstall program tried to cope with this by setting sectors to a huge number... : IIRC, the U34F normally reports a geometry of 64 tracks and 32 sectors, : and isn't very flexible (I vaguely remember a 128 track mode). This works : OK for those huge 600 MB drives that we had a few years ago when U34Fs : were almost worth using, but runs into 1024-cylinder problems for >= 1GB : drives. 63 tracks, but you are essentially correct. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message