panic: g_read_data(): invalid length 0

Pawel Jakub Dawidek pjd at
Thu Aug 26 05:18:41 PDT 2004

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             
pjd at                 
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 :

More information about the freebsd-current mailing list