Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Aug 2009 11:45:15 +0400
From:      Lev Serebryakov <lev@serebryakov.spb.ru>
To:        "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc:        freebsd-geom@freebsd.org
Subject:   Re[2]: Difference between FreeBSD-7 and FreeBSD-8 in tasting?
Message-ID:  <254357380.20090818114515@serebryakov.spb.ru>
In-Reply-To: <16362.1250581262@critter.freebsd.dk>
References:  Your message of "Tue, 18 Aug 2009 11:38:33 %2B0400." <852978746.20090818113833@serebryakov.spb.ru> <16362.1250581262@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Poul-Henning.
You wrote 18 =E0=E2=E3=F3=F1=F2=E0 2009 =E3., 11:41:02:

>>  I've found problem. geom_raid5 check cp->provider->sectorsize before
>>g_access() call, and on boot it is zero before g_access() and 512
>>(which is proper value) after this call.

> This is a bug in geom_raid5:
> The sectorsize and mediasize are only valid if you hold a proper access
> to the provider.
  Yep, I understand this. It worked on 7 and worked after proper boot,
(when somebody tasted this providers -- disks --  already), so bug was
well-hidden.

--=20
// Black Lion AKA Lev Serebryakov <lev@serebryakov.spb.ru>




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