ATAng regression: cdcontrol close not working

Soren Schmidt sos at spider.deepcore.dk
Thu Oct 30 12:47:55 PST 2003


It seems Lars Eggert wrote:
> > I've already committed a solution that works on all the drives I 
> > could test on (some of which failed before), if this still 
> > fails for you I'd like a more detailed description of what
> > exactly goes wrong...
> 
> I must have missed that commit message, sorry. This is the drive I am 
> having the issues with:
> 
> acd0: CDRW <PHILIPS DVD+RW-D28> at ata1-master UDMA33
> 
> Sending CDIOCCLOSE from a short C snippet shows that the ioctl yields EBUSY.

Hmm, now that a real stupid return code from the drive IMNHO...

Anyhow if you loose the test for error in atapi-cd.c::acd_tray in the
close case, does it work then ? Problem is that the call to read toc
might fail early, but its worth a shot..
 
-Søren


More information about the freebsd-current mailing list