From owner-freebsd-bugs@FreeBSD.ORG Tue Oct 26 09:40:26 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05AE916A4CE for ; Tue, 26 Oct 2004 09:40:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D300B43D5D for ; Tue, 26 Oct 2004 09:40:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i9Q9ePN0022160 for ; Tue, 26 Oct 2004 09:40:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9Q9ePJv022159; Tue, 26 Oct 2004 09:40:25 GMT (envelope-from gnats) Date: Tue, 26 Oct 2004 09:40:25 GMT Message-Id: <200410260940.i9Q9ePJv022159@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Jean-Yves Lefort Subject: Re: kern/72812: GBDE, problems using gbde_swap X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jean-Yves Lefort List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Oct 2004 09:40:26 -0000 The following reply was made to PR kern/72812; it has been noted by GNATS. From: Jean-Yves Lefort To: freebsd-gnats-submit@FreeBSD.org, bln@deprese.net Cc: Subject: Re: kern/72812: GBDE, problems using gbde_swap Date: Tue, 26 Oct 2004 11:30:29 +0200 Exactly the same problem here (5.3-BETA6). However, I managed to make the system bootable again by booting with the fixit floppy and issuing "disklabel -B ad0s1". Apparently the bde swap partition overwrote the bootstrap code of the slice. This problem is severe, /etc/rc.d/gbde_swap should *REFUSE* to enable a bde swap until it is fixed. --- output of "fdisk ad0" ----------------------------------------------------- ******* Working on device /dev/ad0 ******* parameters extracted from in-core disklabel are: cylinders=26354 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=26354 heads=16 sectors/track=63 (1008 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 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 26564769 (12971 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 223/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: --- end ----------------------------------------------------------------------- --- output of "disklabel ad0s1" ----------------------------------------------- # /dev/ad0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 22370465 4194304 4.2BSD 1024 8192 16 b: 1048576 0 swap c: 26564769 0 unused 0 0 # "raw" part, don't edit e: 3145728 1048576 4.2BSD 0 0 0 --- end ----------------------------------------------------------------------- Mounts: ad0s1a as / ad0s1e as /var -- Jean-Yves Lefort jylefort@brutele.be http://lefort.be.eu.org/