From owner-freebsd-current Thu Oct 2 10:42:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA11129 for current-outgoing; Thu, 2 Oct 1997 10:42:26 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA11119 for ; Thu, 2 Oct 1997 10:42:22 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id DAA06047; Fri, 3 Oct 1997 03:40:07 +1000 Date: Fri, 3 Oct 1997 03:40:07 +1000 From: Bruce Evans Message-Id: <199710021740.DAA06047@godzilla.zeta.org.au> To: current@FreeBSD.ORG, roberto@keltia.freenix.fr Subject: Re: Geometry weirdness with sysinstall/libdisk Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> > 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 !!! disklabel(8) knows/shows nothing about slices (or BIOS geometries). >> 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... Someone set up a wrong BIOS geometry of 54 heads and 6 sectors (by setting up the corresponding MBR in /dev/rsd2). 13045 is just total_sectors / (54 * 6). >What bother me a lot is why libdisk/sysinstall don't see the slices when >disklabel can ! disklabel(8) knows/shows nothing about slices (or BIOS geometries). >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 ? libdisk/sysinstall must be wrong. The 54/6 geometry should work if there are no booting problems. Bruc