GEOM_VOL panics when audio CD is present

Pawel Jakub Dawidek pjd at FreeBSD.org
Wed Dec 29 08:28:17 PST 2004


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).
+> 
+> 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.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20041229/c7542e1b/attachment.bin


More information about the freebsd-geom mailing list