Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Apr 2010 10:36:19 +0200
From:      Ulrich =?utf-8?B?U3DDtnJsZWlu?= <uqs@spoerlein.net>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        freebsd-scsi@freebsd.org, Hans Petter Selasky <hselasky@c2i.net>, Markus Wild <m.wild@cybernet.ch>, freebsd-hackers@freebsd.org
Subject:   Re: virtual drive errors
Message-ID:  <20100411083618.GA57638@acme.spoerlein.net>
In-Reply-To: <4BBCFE30.2010709@icyb.net.ua>
References:  <903d65bf1d5624b5208c588b21e679ea@ripn.net> <4BBCFE30.2010709@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100411083618.GA57638>