Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jun 2013 19:25:31 +0200
From:      "Thomas Schmitt" <scdbackup@gmx.net>
To:        freebsd-hackers@FreeBSD.org
Cc:        yuri@rawbw.com
Subject:   Re: DVD burner failure on FreeBSD: the LUN appears to be stuck
Message-ID:  <8139621410999426657@scdbackup.webframe.org>
In-Reply-To: <51ACC49E.5000807@rawbw.com>
References:  <51ACC49E.5000807@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

i am not a skilled user of FreeBSD but have knowledge about
DVD burners and growisofs.

> growisofs is from dvd+rw-tools-7.1, which hasn't been updated from 2008.

That's the current release. It should be ok for DVD burning.


> :-? the LUN appears to be stuck writing LBA=7fe10h, keep retrying in 141ms

This obviously comes from growisofs.
growisofs_mmc.cpp has two occasions of that text. One would happen
when everything is written. So it is the other:

        if (errcode==0x20408)           // "LONG WRITE IN PROGRESS"
        {   // Apparently only Pioneer units do this...
        ...
            if (retries > (dao_toggle?768:192))
                fprintf (stderr,":-? the LUN appears to be stuck "
                                "writing LBA=%xh, keep retrying in %dms\n",
                                lba,msecs),

The write run failed and the program assumes that the drive temporarily
went autistic. It does some calculations about how long the drive should
at most need to use up its buffered data. Depending on that it waits
for a short while
            {   poll (NULL,0,msecs);
and if this happens extra suspiciously often, then it warns.

It seems that the retry cycle does never end as long as the 
the program perceives sense code 2,04,08.


> Does this mean that the burner went bad? Or does
> this mean that there is some fault in the burner driver?

It would not be plausible if the FreeBSD passthrough services for
SCSI commands would produce a synthetic 2,04,08 reply. Most probably
it is the drive which issued that error indicator.
I test each release of libburn on FreeBSD-8 with a Samsung burner
and did not see such an effect yet.

Given the comments of Andy Polyakov in the code, the drive's
behavior could be a speciality of Pioneer. But i had 2,04,08
with Sony/Optiarc, too.
(That Optiarc drive performs proprietary commands of Lite-On
 for qpxtool. So it can hardly be a disguised Pioneer ... i think.)


> Anybody is able to burn DVDs with the same/similar burner?

Try other media. Consider to get a new burner if the
problem persists. (I read about 18x DVD speed with that model.
So it must be more than five years old.)


Have a nice day :)

Thomas




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