burncd(8) CD-RW blanking problem

Soren Schmidt sos at spider.deepcore.dk
Tue Dec 9 12:08:47 PST 2003


It seems Lefteris Chatzibarbas wrote:
> > I'm seeing this too.  What's odd is that my cd drive is reporting back
> > incorrect sense information; the valid bit is not set, the asc/ascq is
> > suspect (4/8), and the sense key specific data is all 0.  Since other
> > fields in the sense data are reasonable, it's not as if no sense data is
> > being returned at all.  So it looks like the CDRIOGETPROGRESS ioctl
> > handler is doing the right thing, but the cd drive is not.  Maybe the
> > driver is doing something wrong when it issues the erase command, but
> > I can't convince myself that that is likely.
> 
> The attached patch seems to correct the problem (at least for me).  It
> is similar to what was done in revision 1.137 of sys/dev/ata/atapi-cd.c
> (this has been changed since revision 1.138).

Uh oh, that code breaks on lots of newer drives, especially DVD writers
and drives of SONY origin.  There was a reason that code was removed :) 

-Søren
                       .. but it works under windows!!


More information about the freebsd-current mailing list