From owner-freebsd-current@FreeBSD.ORG Thu Aug 26 12:18:41 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA6A516A4CE; Thu, 26 Aug 2004 12:18:41 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C1EB43D1D; Thu, 26 Aug 2004 12:18:41 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id BD3F6AC977; Thu, 26 Aug 2004 14:18:37 +0200 (CEST) Date: Thu, 26 Aug 2004 14:18:37 +0200 From: Pawel Jakub Dawidek To: Jun Kuriyama Message-ID: <20040826121837.GN30151@darkness.comp.waw.pl> References: <7misba8nhm.wl@black.imgsrc.co.jp> <20040823171424.GR30151@darkness.comp.waw.pl> <20040824074458.GA30151@darkness.comp.waw.pl> <7misb65q81.wl@black.imgsrc.co.jp> <7mbrgy5ea8.wl@black.imgsrc.co.jp> <20040826113756.GM30151@darkness.comp.waw.pl> <7macwi5dma.wl@black.imgsrc.co.jp> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vmKz1uriVzYz+bTd" Content-Disposition: inline In-Reply-To: <7macwi5dma.wl@black.imgsrc.co.jp> 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: Current cc: phk@FreeBSD.org Subject: Re: panic: g_read_data(): invalid length 0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 12:18:41 -0000 --vmKz1uriVzYz+bTd Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 26, 2004 at 08:43:09PM +0900, Jun Kuriyama wrote: +> At Thu, 26 Aug 2004 13:37:56 +0200, +> Pawel Jakub Dawidek wrote: +> > +> Sad to say, with your patch, CD devices are disappeared. I have no +> > +> /dev/acd0 nor /dev/cd0 devices... +> >=20 +> > Hmm, even if there is a CD inside? +>=20 +> Yes, dmesg shows there is acd0 and cd0, but there is no devices in +> /dev directory... Not sure how to interpret this. Basically, a class should setup provider's sectorsize and mediasize, etc. before setting its error to 0, but this is not done in atapi-cd.c and in scsi_(cd|da).c. Ok, so I'm going to commit needed checks to my classes. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --vmKz1uriVzYz+bTd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBLdUdForvXbEpPzQRAvdqAKC1V4P3ezRR5k6AbETAB1/3dF7yDACfTqys m0sn7PSn/blDwGY66v6qo5w= =kbGm -----END PGP SIGNATURE----- --vmKz1uriVzYz+bTd--