<div dir="ltr"><div><div><div>Yes, my drive is from year 2007. It works perfectly fine under Windows, so I'm not going to replace it soon.<br></div> growisofs was able to write the largest volume of data. Brasero, k3b and xfburn all failed after just some seconds. However, k3b has successfully simulated the burning. xfburn and brasero failed simulation in just few seconds.<br></div>I do not remember if I plugged Plextor and Samsung drives in the same port, because Plextor uses 2 USB cables (one for power) and Samsung uses just one, but it was definitely one side of the laptop and the same usb controller.<br><br></div>I have also found in Google that something similar users experienced in openSUSE 11.2 it was fixed after update to 11.3. However, it was few years ago with kernel 2.6.31/<a href="http://2.6.34.">2.6.34.</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-19 15:03 GMT+03:00 Thomas Schmitt <span dir="ltr"><<a href="mailto:scdbackup@gmx.net" target="_blank">scdbackup@gmx.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
i'm the developer of libburn which is quite orphaned in Debian,<br>
i fear.<br>
<br>
> Problem can be reproduced via: Brasero, k3b, xfburn, growisofs<br>
<br>
At least growisofs does not use libburn.<br>
K3b hardly (if so, then via cdrskin replacing cdrecord/wodim).<br>
Brasero might use it, depending of compilation and configuration.<br>
xfburn surely uses libburn.<br>
<br>
So the problem is reported to the right package, although<br>
i currently doubt that it's the package's fault.<br>
<br>
<br>
> "SCSI error on write(3376,16): [5 21 02] Illegal request. Invalid address for write."<br>
<br>
This message looks like from libburn.<br>
It is forwarded from the drive, which is unhappy with the<br>
block write address 3376.<br>
<br>
<br>
> Incompatibility with Plextor PX-608CU burner<br>
<br>
I never saw evidence that a particular DVD burner model is<br>
incompatible. There were CD drives with particular needs,<br>
back in the last century. But nowadays they all obey the<br>
command set and rules of SCSI. (Specified in the volumes<br>
SPC-3, SBC-2, and MMC-5.)<br>
<br>
Google "PX-608CU" tells me that it was around already in<br>
the year 2007. How old is yours ?<br>
<br>
------------------------------------------------------------<br>
<br>
Now let's see what is going on.<br>
<br>
> BraseroLibburn dvd/bd Profile= 11h , obs= 32768 , obs_pad= 1<br>
<br>
Brasero used libburn on a DVD-R.<br>
<br>
> BraseroLibburn DVD pre-track 01 : get_nwa(0), ret= 1 , d->nwa= 0<br>
<br>
It was blank. Write start address was 0.<br>
<br>
> BraseroLibburn SCSI command 2Ah indicates host or driver error: host_status= 7h , driver_status= 0h<br>
<br>
Ouch. Linux reports a problem with transporting SCSI commands<br>
to the drive or with receiving replies. I'm not a kernel hacker<br>
so i don't have more than the SG_IO interface description:<br>
<a href="http://www.tldp.org/HOWTO/SCSI-Generic-HOWTO/x291.html" rel="noreferrer" target="_blank">http://www.tldp.org/HOWTO/SCSI-Generic-HOWTO/x291.html</a><br>
<br>
"SG_ERR_DID_ERROR [0x07] Internal error detected in the host adapter.<br>
 This may not be fatal (and the command may have succeeded).<br>
 The aic7xxx and sym53c8xx adapter drivers sometimes report this for<br>
 data underruns or overruns."<br>
<br>
The mentioned hardware is antique. I'd say no USB, IDE or SATA<br>
controller is supposed to cause this error for fun.<br>
<br>
> BraseroLibburn SCSI error condition on command 2Ah WRITE(10): [5 21 02]<br>
> Illegal request. Invalid address for write.<br>
<br>
The failed SCSI command was indeed a write.<br>
<br>
> BraseroLibburn Libburn reported an error SCSI error on write(2080,16):<br>
> [5 21 02] Illegal request. Invalid address for write.<br>
<br>
So this time it happened at address 2080.<br>
<br>
<br>
> sudo growisofs -speed=4 -dvd-compat -Z<br>
> /dev/sr0=/media/dmitry/Partition_2/ISO_Images/Soft/myiso.iso<br>
> ...<br>
> 562397184/2906822656 (19.3%) @1.9x, remaining 15:50 RBU 100.0% UBU  53.1%<br>
> :-( unable to WRITE@LBA=430b0h: Input/output error<br>
<br>
This time it happened much later. about 550 MB were written.<br>
Since growisofs does not report an SCSI error code triple of<br>
(SK, ASC, ASCQ), i assume that it got a transport driver error,<br>
like libburn did.<br>
<br>
------------------------------------------------------------<br>
<br>
> The problem is not hardware-related,<br>
<br>
Well, it is reported by the kernel, which accuses the controller<br>
to have indicated an error condition.<br>
<br>
The reported SCSI error is most probably only a consequence of<br>
the communications problem between kernel and drive.<br>
DVD-R and DVD+R need to be written strictly sequentially.<br>
If transport drops a WRITE command of 16 blocks, then the next one<br>
will appear to the drive as having an address 16 blocks too high.<br>
This would cause it to throw the error [5 21 02] seen with libburn.<br>
(libburn does not go on with the drive after SG_ERR_DID_ERROR.<br>
 So for this theory, the dropping of WRITE must have happened<br>
 silently and the transport error only came afterwards.)<br>
<br>
I will have a look whether libburn can be changed to repeat the<br>
SCSI command when transport indicates failure.<br>
Repeating might be the trick how MS-Windows gets over the hardware<br>
connection problem. But the Linux description says:<br>
  "the command may have succeeded"<br>
Repeating a successful WRITE command would cause error [5 21 02],<br>
too.<br>
<br>
I cannot promise a test version soon.<br>
<br>
On the first hand, transport should be flawless.<br>
As you can see, neither growisofs nor libburn are currently<br>
willing to tolerate SG_ERR_DID_ERROR.<br>
<br>
<br>
> Samsung external DVD-burner works OK under Debian.<br>
<br>
Do you plug it into the same USB port as the Plextor ?<br>
<br>
If so, then the Plextor has at least some share in the problem.<br>
<br>
<br>
Have anice day :)<br>
<span class="HOEnZb"><font color="#888888"><br>
Thomas<br>
<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">С уважением,<br>Нестеркин Дмитрий</div>
</div>