From owner-freebsd-bugs@FreeBSD.ORG Sun Sep 19 23:10:23 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 18BEF16A4CE for ; Sun, 19 Sep 2004 23:10:23 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E39E243D3F for ; Sun, 19 Sep 2004 23:10:22 +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 i8JNAMje088689 for ; Sun, 19 Sep 2004 23:10:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8JNAMt4088688; Sun, 19 Sep 2004 23:10:22 GMT (envelope-from gnats) Resent-Date: Sun, 19 Sep 2004 23:10:22 GMT Resent-Message-Id: <200409192310.i8JNAMt4088688@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Charles Bacon Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C374116A4CE for ; Sun, 19 Sep 2004 23:07:19 +0000 (GMT) Received: from mx5.cape.com (mx5.cape.com [204.107.252.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43DAD43D45 for ; Sun, 19 Sep 2004 23:07:19 +0000 (GMT) (envelope-from crtb@cape.com) Received: from tomato ([10.100.102.24]) by mx5.cape.com (8.12.10/8.12.3) with ESMTP id i8JN7H5A021164; Sun, 19 Sep 2004 19:07:18 -0400 Message-Id: <20040919190455.I75932-100000@tomato.local> Date: Sun, 19 Sep 2004 19:07:17 -0400 (EDT) From: Charles Bacon To: FreeBSD-gnats-submit@FreeBSD.org cc: Chuck Bacon Subject: misc/71918: 4.5 disklabel gets damaged when mounted by 5.2.1-R X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Sep 2004 23:10:23 -0000 >Number: 71918 >Category: misc >Synopsis: 4.5 disklabel gets damaged when mounted by 5.2.1-R >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 19 23:10:22 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Chuck Bacon >Release: FreeBSD 5.2.1-RELEASE i386 >Organization: none >Environment: FreeBSD daisy.local 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 (see uname -a above) >Description: Making a new 5.2.1-R slice on an existing 4.5-R system. Installation and boot OK, mount existing 4.5-R filesystems under 5.2.1-R also OK. Trouble when booting from 4.5-R on same disk, complaint of bad boot block. Hunting for superblocks succeeds in restoring 4.5-R FS. Note UFS1-UFS2 distinction irrelevant here. >How-To-Repeat: 1. Create and then boot a 5.2.1-R partition on an otherwise 4.x disk 2. Mount, then umount, a 4.x partition on the running 5.2.1-R system. 3. Shutdown -r and now, boot the 4.x OS. 4. Mount the 4.x partition previously mounted under 5.2.1-R (or try!) >Fix: Sorry, I'm not very smart about fdisk/disklabel/bsdlabel etc. >Release-Note: >Audit-Trail: >Unformatted: >Comment: It's been some months, and this box is now all 5.2.1-R, since I have an ATI AGP RADEON board, unknown to the X subsystem on 4.5-R. I may have the details wrong, such as disklabel; I may have used a different approach to restore.