From owner-freebsd-current Wed Oct 1 16:33:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA16301 for current-outgoing; Wed, 1 Oct 1997 16:33:58 -0700 (PDT) Received: from mexico.brainstorm.eu.org (root@mexico.brainstorm.fr [193.56.58.253]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA16292 for ; Wed, 1 Oct 1997 16:33:53 -0700 (PDT) Received: from brasil.brainstorm.eu.org (brasil.brainstorm.fr [193.56.58.33]) by mexico.brainstorm.eu.org (8.8.4/8.8.4) with ESMTP id BAA07598 for ; Thu, 2 Oct 1997 01:33:52 +0200 Received: (from uucp@localhost) by brasil.brainstorm.eu.org (8.8.6/brasil-1.2) with UUCP id BAA12265 for current@FreeBSD.ORG; Thu, 2 Oct 1997 01:33:20 +0200 Received: (from roberto@localhost) by keltia.freenix.fr (8.8.7/keltia-2.10/nospam) id BAA01077; Thu, 2 Oct 1997 01:28:05 +0200 (CEST) Message-ID: <19971002012804.28680@keltia.freenix.fr> Date: Thu, 2 Oct 1997 01:28:04 +0200 From: Ollivier Robert To: current@FreeBSD.ORG Subject: Re: Geometry weirdness with sysinstall/libdisk References: <19970930223542.44057@keltia.freenix.fr> <19971001072648.MU20136@uriah.heep.sax.de> <19971001040119.61326@gaffaneys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.84 In-Reply-To: <19971001072648.MU20136@uriah.heep.sax.de>; from Joerg Wunsch on Wed, Oct 01, 1997 at 04:01:19AM -0500 X-Operating-System: FreeBSD 3.0-CURRENT Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk According to Jörg: > > Debug_Disk(sd2) flags=0 bios_geom=13045/54/6 = 4226580 > > Certainly no slices present yet. As you can see in disklabel output, it certainly _has_ slices, it used to be my boot drive !!! # /dev/rsd2c: type: SCSI disk: IBM32160 ... 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 40960 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 19) b: 131072 40960 swap # (Cyl. 20 - 83) c: 4226725 0 unused 0 0 # (Cyl. 0 - 2063*) d: 204800 172032 4.2BSD 1024 8192 16 # (Cyl. 84 - 183) e: 716800 376832 4.2BSD 1024 8192 16 # (Cyl. 184 - 533) f: 409600 1093632 4.2BSD 1024 8192 16 # (Cyl. 534 - 733) g: 1024000 1503232 4.2BSD 1024 8192 16 # (Cyl. 734 - 1233) h: 1699493 2527232 4.2BSD 1024 8192 16 # (Cyl. 1234 - 2063*) > They are not `right' in the sense of FreeBSD either, since they are > useless for the BIOS. 2063 > 1024. It has never prevented it to boot into FreeBSD (no boot manager on that drive). > From the drive itself, i'd say. Well, no, this drive has 8205 > cylinders and 6 heads: It is a 32160 so it is 6703 cyl. x 5 heads so I still don't see where does the 13045 come from... > But again, these values are largely irrelevant. If you need to make a > disk DOS-compatible, it's never a bad idea to create the DOS partition > first. If you don't want it DOS-compatible, why caring for a > ficticuous geometry at all? What bother me a lot is why libdisk/sysinstall don't see the slices when disklabel can ! I can mount every slice on that drive without problem so the kernel has the right label but why disklabel is the only program to display it correctly ? It is inconsistent to say the least. -- Ollivier ROBERT -=- FreeBSD: There are no limits -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #35: Sun Sep 21 19:28:07 CEST 1997