Re: panic: g_read_data(): invalid length 0

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Thu, 26 Aug 2004 14:18:37 +0200
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...
+> > 
+> > Hmm, even if there is a CD inside?
+> 
+> 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.

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd_at_FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!

Received on Thu Aug 26 2004 - 10:18:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:08 UTC