From owner-freebsd-bugs Sun Jun 24 18: 0:17 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0B95637B407 for ; Sun, 24 Jun 2001 18:00:13 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5P10D532167; Sun, 24 Jun 2001 18:00:13 -0700 (PDT) (envelope-from gnats) Date: Sun, 24 Jun 2001 18:00:13 -0700 (PDT) Message-Id: <200106250100.f5P10D532167@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Phil Homewood Subject: Re: kern/28164: [PATCH] crashdump can trash disklabel/other partitions Reply-To: Phil Homewood Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/28164; it has been noted by GNATS. From: Phil Homewood To: Bruce Evans Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/28164: [PATCH] crashdump can trash disklabel/other partitions Date: Mon, 25 Jun 2001 10:58:16 +1000 Phil Homewood wrote: > Second attachment is a disklabel of the disk containing the dumpdev. > The critical size for da1s2b is 524298 blocks; at that size the dump > works, but at 524297 blocks it trashes the label. I forgot to mention: da1s2 is, of course, the second slice on the disk, if that makes any difference: ******* Working on device /dev/da1 ******* parameters extracted from in-core disklabel are: cylinders=17501 heads=64 sectors/track=32 (2048 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=17501 heads=64 sectors/track=32 (2048 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 32, size 524256 (255 Meg), flag 0 beg: cyl 0/ sector 1/ head 1; end: cyl 255/ sector 32/ head 63 The data for partition 2 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 524288, size 35317760 (17245 Meg), flag 0 beg: cyl 256/ sector 1/ head 0; end: cyl 1023/ sector 32/ head 63 The data for partition 3 is: The data for partition 4 is: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message