virtual drive errors
Ulrich Spörlein
uqs at spoerlein.net
Sun Apr 11 08:36:20 UTC 2010
On Thu, 08.04.2010 at 00:50:40 +0300, Andriy Gapon wrote:
> Looking at cdcheckmedia and at the logged READ TOC (0x43) SCSI command errors
> (as reported by Markus) I see the following problem. Even if cdsize() call at
> the beginning of cdcheckmedia() succeeds, a subsequent failure of cdreadtoc()
> throws us to 'bailout' label which is past the code that sets d_mediasize.
>
> I think that the following patch should help with this situation (and possibly
> other cases with READ TOC problems):
>
> --- a/sys/cam/scsi/scsi_cd.c
> +++ b/sys/cam/scsi/scsi_cd.c
>[snip]
This patch, much like the one in kern/138789 makes my external Plextor
PX-755A drive successfully read "mastered" DVD media, i.e., the retail
kind, not DVD-R/RW.
So, please commit some version of this patch. Thanks!
Regards,
Uli
More information about the freebsd-scsi
mailing list