From owner-freebsd-current Sun Nov 24 14:29:25 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA15733 for current-outgoing; Sun, 24 Nov 1996 14:29:25 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA15722 for ; Sun, 24 Nov 1996 14:29:16 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.3/8.6.9) id JAA05339; Mon, 25 Nov 1996 09:13:47 +1100 Date: Mon, 25 Nov 1996 09:13:47 +1100 From: Bruce Evans Message-Id: <199611242213.JAA05339@godzilla.zeta.org.au> To: darrylo@sr.hp.com, rgrimes@GndRsh.aac.dev.com Subject: Re: 2.2-ALPHA install failure Cc: current@freefall.freebsd.org, jkh@time.cdrom.com Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> How about the values of "historical_bogus_partition_table", as >> given in sys/i386/isa/diskslice_machdep.c? >> >> The data for partition 3 is: >> sysid 165,(FreeBSD/NetBSD/386BSD) >> start 0, size 50000 (24 Meg), flag 80 >> beg: cyl 0/ sector 1/ head 0; >> end: cyl 1023/ sector 63/ head 255 > ^^ bogus (ie this means 62 sectors!!) >> > >I would like to also see that corrected/changed to: > The data for partition 3 is: > sysid 165,(FreeBSD/NetBSD/386BSD) > start 0, size 2097152 (1024 Meg), flag 80 > beg: cyl 0/ sector 1/ head 0; > end: cyl 1023/ sector 32/ head 63 This would not work so well. The historical_bogus_partition_table works perfectly with ncr and other geometry-detecting controllers _because_ it is perfectly invalid. Your table is just as invalid for disks smaller than 1GB and for non-SCSI disk [drivers] that can't handle either 255/63 or 64/32 geometries. >Or atleast make size == cyl * sec * head (ie 1024*64*255 == 16711680) >my reasoning is that any third party fdisk program that sees the current >bogus table likes to try and ``fix it'' and usually ends up doing quite >the wrong thing : -(. If you run a third party fdisk program on the disk, then the disk isn't dedicated. Bruce