From owner-freebsd-geom@FreeBSD.ORG Wed Dec 29 15:53:42 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 AFB2E16A4CE for ; Wed, 29 Dec 2004 15:53:42 +0000 (GMT) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D92E43D41 for ; Wed, 29 Dec 2004 15:53:42 +0000 (GMT) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id 0E1BE530C; Wed, 29 Dec 2004 16:53:39 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 3E6775308 for ; Wed, 29 Dec 2004 16:53:06 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id E75FFB874; Wed, 29 Dec 2004 16:53:05 +0100 (CET) To: geom@freebsd.org From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Wed, 29 Dec 2004 16:53:05 +0100 Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on flood.des.no X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=AWL,FORGED_RCVD_HELO autolearn=disabled version=3.0.1 Subject: 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 15:53:42 -0000 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. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no