From owner-freebsd-i386@FreeBSD.ORG Mon Oct 6 12:10:20 2003 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FCB816A4B3 for ; Mon, 6 Oct 2003 12:10:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED91043F75 for ; Mon, 6 Oct 2003 12:10:17 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h96JAHFY075379 for ; Mon, 6 Oct 2003 12:10:17 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h96JAH4U075378; Mon, 6 Oct 2003 12:10:17 -0700 (PDT) (envelope-from gnats) Resent-Date: Mon, 6 Oct 2003 12:10:17 -0700 (PDT) Resent-Message-Id: <200310061910.h96JAH4U075378@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Guy Van Sanden Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EF1D16A4B3 for ; Mon, 6 Oct 2003 12:05:43 -0700 (PDT) Received: from apate.telenet-ops.be (apate.telenet-ops.be [195.130.132.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED15643F93 for ; Mon, 6 Oct 2003 12:05:41 -0700 (PDT) (envelope-from guy.van.sanden@pandora.be) Received: from localhost (localhost.localdomain [127.0.0.1]) by apate.telenet-ops.be (Postfix) with SMTP id 4177237FC9 for ; Mon, 6 Oct 2003 21:05:40 +0200 (MEST) Received: from cronos.home.vsb (d5153CAA6.kabel.telenet.be [81.83.202.166]) by apate.telenet-ops.be (Postfix) with ESMTP id CB18F37F32 for ; Mon, 6 Oct 2003 21:05:38 +0200 (MEST) Message-Id: <1065467137.3067.7.camel@cronos.home.vsb> Date: Mon, 06 Oct 2003 21:05:37 +0200 From: Guy Van Sanden To: FreeBSD-gnats-submit@FreeBSD.org Subject: i386/57673: Odd/dangerous disklabel behaviour on 5.0 and 5.1-CURRENT X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2003 19:10:20 -0000 >Number: 57673 >Category: i386 >Synopsis: Odd/dangerous disklabel behaviour on 5.0 and 5.1-CURRENT >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 06 12:10:17 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Guy Van Sanden >Release: FreeBSD 5.1-RELEASE i386 >Organization: >Environment: System: FreeBSD nemesis.home.vsb 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 ro ot@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: Disklabel ignores the first 63 sectors of my Harddisk (I've seen this problem on the mailing list before) [root@nemesis mail]# disklabel -r /dev/ad0s1a # /dev/ad0s1a: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 1228800 63 4.2BSD 2048 16384 11272 b: 1006432 1228863 swap c: 78165297 63 unused 0 0 # "raw" part, don't edit d: 1024000 2235295 4.2BSD 2048 16384 64008 e: 921600 3259295 4.2BSD 2048 16384 57608 f: 20971520 4180895 4.2BSD 2048 16384 28552 g: 53012945 25152415 4.2BSD 2048 16384 28552 partition a: partition extends past end of unit partition b: offset past end of unit partition b: partition extends past end of unit partition c: partition extends past end of unit disklabel: partition c doesn't start at 0! disklabel: partition c doesn't cover the whole unit! disklabel: An incorrect partition c may cause problems for standard system utilities partition d: offset past end of unit partition d: partition extends past end of unit partition e: offset past end of unit partition e: partition extends past end of unit partition f: offset past end of unit partition f: partition extends past end of unit partition g: offset past end of unit partition g: partition extends past end of unit The slices were created by sysinstall itself. This problem is reproducable between 5.0 and 5.1 The system is a Digital PC3500 (PII 333) with two 40 GB drives. The primary drive is WDC WD-400EB, the second is IBM IC35L040A This system used to run FreeBSD 4.6.2 without this problem. >How-To-Repeat: No idea if this would affect other machines. >Fix: unknown >Release-Note: >Audit-Trail: >Unformatted: SEND-PR: -*- send-pr -*- SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as SEND-PR: will all comments (text enclosed in `<' and `>'). SEND-PR: SEND-PR: Please consult the following URL if you are not sure how to SEND-PR: fill out a problem report: SEND-PR: http://www.freebsd.org/doc/en/articles/problem-reports/ SEND-PR: SEND-PR: Note that the Synopsis field is mandatory. SEND-PR: SEND-PR: Please note that (unless you state otherwise) if your report SEND-PR: includes a patch then it will be taken under the same license as SEND-PR: the one on the file(s) you want to change. SEND-PR: SEND-PR: BE ADVISED THAT FREEBSD PROBLEM REPORTS ARE PUBLIC INFORMATION AND SEND-PR: WILL BE PUBLISHED AS-IS ON THE PROJECT'S MAILING LISTS AND WEB SITES. SEND-PR: DO NOT SUBMIT ANY INFORMATION YOU DO NOT WANT MADE PUBLIC. SEND-PR: SEND-PR: For sensitive security issues, consider contacting the FreeBSD SEND-PR: security officer team (security-officer@freebsd.org) directly. SEND-PR: SEND-PR: Choose from the following categories: SEND-PR: SEND-PR: advocacy alpha bin conf docs gnu SEND-PR: i386 ia64 java kern misc ports SEND-PR: powerpc sparc64 standards www SEND-PR: X-send-pr-version: 3.113 X-GNATS-Notify: