Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Dec 2010 14:23:20 +1100 (EST)
From:      Bruce Evans <brde@optusnet.com.au>
To:        Doug Barton <dougb@freebsd.org>
Cc:        Bruce Cran <bruce@cran.org.uk>, src-committers@freebsd.org, Pawel Jakub Dawidek <pjd@freebsd.org>, John Baldwin <jhb@freebsd.org>, Alexander Motin <mav@freebsd.org>, Ivan Voras <ivoras@freebsd.org>, svn-src-head@freebsd.org, svn-src-all@freebsd.org
Subject:   Re: svn commit: r216230 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <20101208134217.V1149@besplex.bde.org>
In-Reply-To: <4CFE99E1.5030301@FreeBSD.org>
References:  <201012061218.oB6CI3oW032770@svn.freebsd.org> <AANLkTine9rGq_cM4ruFXYq=-F7cMXcQAr-zKHuWoQs2z@mail.gmail.com> <20101206195327.GD1936@garage.freebsd.pl> <201012061518.49835.jhb@freebsd.org> <4CFD514E.8010103@FreeBSD.org> <20101207095137.GC1700@garage.freebsd.pl> <4CFE0B9E.3060808@FreeBSD.org> <20101207110410.GE1700@garage.freebsd.pl> <4CFE1B0F.90908@FreeBSD.org> <20101207115106.GB68479@muon.cran.org.uk> <4CFE99E1.5030301@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 7 Dec 2010, Doug Barton wrote:

> On 12/07/2010 03:51, Bruce Cran wrote:
>>  From a new installation of Windows 7 and FreeBSD CURRENT:
>> 
>> GEOM: ada0: partition 3 does not start on a track boundary.
>> GEOM: ada0: partition 3 does not end on a track boundary.
>> GEOM: ada0: partition 2 does not start on a track boundary.
>> GEOM: ada0: partition 2 does not end on a track bounary.
>> 
>> Partition 2 is the reserved partition while 3 is an NTFS partition, both
>> created in the Windows setup application.
>> 
>> Since Windows isn't bothering to align partitions do we still need to
>> warn about it?
>
> It would be great to remove this warning. I see the same problem with 
> partitions created by Linux, which uses the Windows'y version of CHS.

GEOM_PART spews warnings like this (IIRC the same ones) for partitions
created by FreeBSD when FreeBSD actually knew the correct (fictitious
BIOS) geometry.  Killing GEOM_PART stopped them.  Note that GEOM_PART is
inflicted by conf/DEFAULTS, at least for i386.

# Kill bad default options.
nooptions 	GEOM_PART_BSD
nooptions 	GEOM_PART_EBR
nooptions 	GEOM_PART_EBR_COMPAT
nooptions 	GEOM_PART_MBR

# Add non-default options.
options 	GEOM_BSD
options 	GEOM_MBR

GEOM_PART also gave weirdness for FreeBSD partitions, with multiple device
entries for some partitions and other aliasing bugs.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101208134217.V1149>