Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 2004 20:45:22 +0100
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc:        geom@freebsd.org
Subject:   Re: GEOM_VOL panics when audio CD is present
Message-ID:  <xzpoegbvact.fsf@dwp.des.no>
In-Reply-To: <47024.1104435560@critter.freebsd.dk> (Poul-Henning Kamp's message of "Thu, 30 Dec 2004 20:39:20 %2B0100")
References:  <47024.1104435560@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
"Poul-Henning Kamp" <phk@phk.freebsd.dk> writes:
> I think the right check is to make sure the sectorsize is a power
> of two && > DEV_BSIZE.

Not good enough.  The panic will still be triggered by providers with
a sector size larger than 8192 (which is the smallest non-zero offset
g_vol_ffs_taste() tries to use).  The fact that no such devices exist
today does not mean they won't exist at some point in the not-so-
distant future.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



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