From owner-freebsd-bugs@FreeBSD.ORG Tue Oct 19 20:00: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 339B016A4CF for ; Tue, 19 Oct 2004 20:00:23 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 183E943D39 for ; Tue, 19 Oct 2004 20:00:23 +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 i9JK0Mak002098 for ; Tue, 19 Oct 2004 20:00:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9JK0ME5002097; Tue, 19 Oct 2004 20:00:22 GMT (envelope-from gnats) Resent-Date: Tue, 19 Oct 2004 20:00:22 GMT Resent-Message-Id: <200410192000.i9JK0ME5002097@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, Harald Schmalzbauer Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D68316A4CE for ; Tue, 19 Oct 2004 19:57:38 +0000 (GMT) Received: from flb.schmalzbauer.de (flb.schmalzbauer.de [62.245.232.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE75243D53 for ; Tue, 19 Oct 2004 19:57:36 +0000 (GMT) (envelope-from test2root@schmalzbauer.de) Received: from korso.flintsbach.schmalzbauer.de ([172.21.2.3]) by flb.schmalzbauer.de (8.12.11/8.12.11) with ESMTP id i9JJvUNP092105 for ; Tue, 19 Oct 2004 21:57:30 +0200 (CEST) (envelope-from test2root@test2.flintsbach.schmalzbauer.de) Received: from test2.flintsbach.schmalzbauer.de (test2.flintsbach.schmalzbauer.de [172.21.3.2]) by korso.flintsbach.schmalzbauer.de (Postfix) with ESMTP id 92CCE16C for ; Tue, 19 Oct 2004 21:57:30 +0200 (CEST) Received: from test2.flintsbach.schmalzbauer.de (localhost.flintsbach.schmalzbauer.de [127.0.0.1])i9JJvUSZ002327 for ; Tue, 19 Oct 2004 21:57:30 +0200 (CEST) (envelope-from test2root@test2.flintsbach.schmalzbauer.de) Received: (from test2root@localhost)i9JJvT80002326; Tue, 19 Oct 2004 21:57:29 +0200 (CEST) (envelope-from test2root) Message-Id: <200410191957.i9JJvT80002326@test2.flintsbach.schmalzbauer.de> Date: Tue, 19 Oct 2004 21:57:29 +0200 (CEST) From: Harald Schmalzbauer To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: misc/72895: Sysinstall generates invalid partition table X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Harald Schmalzbauer List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2004 20:00:23 -0000 >Number: 72895 >Category: misc >Synopsis: Sysinstall generates invalid partition table >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 19 20:00:22 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Harald Schmalzbauer >Release: FreeBSD 5.3-RC1 i386 >Organization: >Environment: System: FreeBSD test2.flintsbach.schmalzbauer.de 5.3-RC1 FreeBSD 5.3-RC1 #0: Sun Oct 17 01:25:37 UTC 2004 root@wv1u.samsco.home:/usr/obj/usr/src/sys/GENERIC i386 >Description: Sysinstall marks any FreeBSD slice (partition) as active. So if you create two partitions with ID 165, the partition table in the MBR is invalid since there are two active partitions. This is only with partitions of type 165, it's possible to create any other partition and only the FreeBSD (165) one will become active! I have only checked i386 systems, no clue about other platforms. >How-To-Repeat: Call sysinstall on a multi-drive system or boot from CD and create two partitions (slices) with ID 165 and after the final reboot the system (i386) wont come up and complain about wrong pratition table. >Fix: Make sysinstall check if there's more than one 165 slice instead of marking any 165 with flag 80. I'm no coder, so I can't do it, sorry! >Release-Note: >Audit-Trail: >Unformatted: