Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 2004 13:16:50 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Dag-Erling Sm?rgrav <des@des.no>
Cc:        geom@freebsd.org
Subject:   Re: GEOM_VOL panics when audio CD is present
Message-ID:  <20041230121650.GB784@darkness.comp.waw.pl>
In-Reply-To: <20041229162809.GC610@darkness.comp.waw.pl>
References:  <xzpfz1pksny.fsf@dwp.des.no> <20041229162809.GC610@darkness.comp.waw.pl>

next in thread | previous in thread | raw e-mail | index | archive | help

--MfFXiAuoTsnnDAfZ
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Dec 29, 2004 at 05:28:09PM +0100, Pawel Jakub Dawidek wrote:
+> 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.
+>=20
+> Those KASSERT()s are hiden under DIAGNOSTIC in RELENG_5.
+>=20
+> Anyway, I had simlar problems. I'll prepare a patch to try soon.

Hmm, I'm not sure what is correct way to fix it.
Maybe we should just remove those KASSERTs?

Simlar panic, AFAIR, can be seen when you try to mount audio CD.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--MfFXiAuoTsnnDAfZ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFB0/GyForvXbEpPzQRAkGJAJ0YmXMTncX7rnLfXDF4sxcpceFfVgCguHka
fDncb2FxxOQ6ajnIekUgaXg=
=d8lD
-----END PGP SIGNATURE-----

--MfFXiAuoTsnnDAfZ--



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