From owner-freebsd-geom@FreeBSD.ORG Wed Dec 29 16:28:16 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D535516A4CE for ; Wed, 29 Dec 2004 16:28:16 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 463A643D31 for ; Wed, 29 Dec 2004 16:28:16 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 3C48FACAEE; Wed, 29 Dec 2004 17:28:09 +0100 (CET) Date: Wed, 29 Dec 2004 17:28:09 +0100 From: Pawel Jakub Dawidek To: Dag-Erling Sm?rgrav Message-ID: <20041229162809.GC610@darkness.comp.waw.pl> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qjNfmADvan18RZcF" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: geom@freebsd.org Subject: Re: GEOM_VOL panics when audio CD is present X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2004 16:28:17 -0000 --qjNfmADvan18RZcF Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 29, 2004 at 04:53:05PM +0100, Dag-Erling Sm?rgrav wrote: +> g_vol_ffs_taste() tries to taste audio CDs, triggering a KASSERT in +> g_io_request() because 65536 is not a valid offset on a medium with +> 2352-byte sectors. The exact panic message is "wrong offset 65536 for +> sectorsize 2352" (sys/geom/geom_io.c lines 250-251). +>=20 +> None of this code has been touched recently, so I suspect the same bug +> is present in 5.3, though I haven't had a chance to test it yet. Those KASSERT()s are hiden under DIAGNOSTIC in RELENG_5. Anyway, I had simlar problems. I'll prepare a patch to try soon. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --qjNfmADvan18RZcF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFB0tsZForvXbEpPzQRAklZAKCXNsEg7smQK6+ELuYcP9mdf2QI+ACgmj7N Y6bfADKWH93yPfYjSsEw5Mk= =zxEc -----END PGP SIGNATURE----- --qjNfmADvan18RZcF--