Date: Mon, 06 Oct 2003 21:05:37 +0200 From: Guy Van Sanden <guy.van.sanden@pandora.be> To: FreeBSD-gnats-submit@FreeBSD.org Subject: i386/57673: Odd/dangerous disklabel behaviour on 5.0 and 5.1-CURRENT Message-ID: <1065467137.3067.7.camel@cronos.home.vsb> Resent-Message-ID: <200310061910.h96JAH4U075378@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <machine, os, target, libraries (multiple lines)> >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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1065467137.3067.7.camel>