From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 3 17:25:47 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EDC03E4 for ; Mon, 3 Jun 2013 17:25:47 +0000 (UTC) (envelope-from scdbackup@gmx.net) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by mx1.freebsd.org (Postfix) with ESMTP id 766E11BE4 for ; Mon, 3 Jun 2013 17:25:47 +0000 (UTC) Received: from mailout-de.gmx.net ([10.1.76.10]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MOmCW-1UnOWq1QmM-006AWs for ; Mon, 03 Jun 2013 19:25:46 +0200 Received: (qmail invoked by alias); 03 Jun 2013 17:25:46 -0000 Received: from 165.126.46.212.adsl.ncore.de [212.46.126.165] by mail.gmx.net (mp010) with SMTP; 03 Jun 2013 19:25:46 +0200 X-Authenticated: #2145628 X-Provags-ID: V01U2FsdGVkX19TIOVYwXFTqD46Ql4ZdmGOdrHsIkbWczyWPUCs80 pBzLAyqR/7ccbx Date: Mon, 03 Jun 2013 19:25:31 +0200 From: "Thomas Schmitt" To: freebsd-hackers@FreeBSD.org Subject: Re: DVD burner failure on FreeBSD: the LUN appears to be stuck Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <51ACC49E.5000807@rawbw.com> In-Reply-To: <51ACC49E.5000807@rawbw.com> Message-Id: <8139621410999426657@scdbackup.webframe.org> X-Y-GMX-Trusted: 0 Cc: yuri@rawbw.com X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2013 17:25:48 -0000 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