Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2001 18:00:13 -0700 (PDT)
From:      Phil Homewood <pdh@lineo.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/28164: [PATCH] crashdump can trash disklabel/other partitions
Message-ID:  <200106250100.f5P10D532167@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/28164; it has been noted by GNATS.

From: Phil Homewood <pdh@lineo.com>
To: Bruce Evans <bde@zeta.org.au>
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:
 <UNUSED>
 The data for partition 4 is:
 <UNUSED>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106250100.f5P10D532167>