Dear Schily -- Many thanks for your kind response.

I also tried it with a CAM device argument, and that failed, too. Session attached herewith.

Steve

On 08/31/2016 07:37 AM, Joerg Schilling wrote:
Steve Newcomb <[email protected]> wrote:

Dear Schily,

I just bought a Yokkao USB-3 DVD drive from Amazon/China
<https://www.amazon.com/gp/product/B01EMXQBLM>.  It failed to burn a
DVD+R with cdrecord 3.01 -- a version I have used countless times with
other DVD drives.  It also failed with 3.02.

However, the hardware worked perfectly with the xfburn tool that
evidently comes with Xubuntu 16.04, and I verified the resulting DVD;
it really did work.

Obviously, I would prefer to use cdrecord rather than xfburn. I'm
attaching the output of the cdrecord 3.02 session FYI.
Your problem is not a problem with cderecord but either caused by your usage or
caused by another (hostile) program on Linux.

Because Linux comes with competing drivers for CD-ROMs that partially do not
implement working or useful DMA, it is a really bad idea to force cdrecord to
use the unsupported dev=/dev/* syntax. Either fully remove the dev= parameter
(in case you have only one CD-ROM drive in the system) or use the SCSI CAM
standard conforming dev=b,t,l syntax. This allows libscg to select the best
driver which is usually /dev/sg*, so make sure that your system has /dev/sg*
available.

The error message is either caused by non-working DMA or by a hostile program
that disregards the rules for accessing CD-ROM drives that may be written to.

The first hostile program that was known to interrupt CD-ROM writing is "hald"
but later the same defective code has been moved to "udev" or to "systemd".

If using the officially supported dev=b,t,l syntax does not help, you need to
kill the program that incorporates the defective and hostile code.

As you might not use "hald", you would need to get help from other people to
learn which program you need to kill.

http://www.fokus.fraunhofer.de/usr/schilling    ftp://ftp.berlios.de/pub/schily

root@basil:/nobackup# cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 3.02a06 (x86_64-unknown-linux-gnu) Copyright (C) 
1995-2016 Joerg Schilling
Linux sg driver version: 3.5.36
Using libscg version 'schily-0.9'.
scsibus0:
        0,0,0     0) 'ATA     ' 'Micron_M500_MTFD' 'MU05' Disk
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
scsibus6:
        6,0,0   600) 'TSSTcorp' 'DVD+-RW TS-L633C' 'DW20' Removable CD-ROM
        6,1,0   601) *
        6,2,0   602) *
        6,3,0   603) *
        6,4,0   604) *
        6,5,0   605) *
        6,6,0   606) *
        6,7,0   607) *
root@basil:/nobackup# cdrecord dev=6,0,0 -v 
/nobackup/ubuntu-16.04.1-server-amd64.iso
cdrecord: No write mode specified.
cdrecord: Assuming -sao mode.
cdrecord: If your drive does not accept -sao, try -tao.
cdrecord: Future versions of cdrecord may have different drive dependent 
defaults.
Cdrecord-ProDVD-ProBD-Clone 3.02a06 (x86_64-unknown-linux-gnu) Copyright (C) 
1995-2016 Joerg Schilling
TOC Type: 1 = CD-ROM
scsidev: '6,0,0'
scsibus: 6 target: 0 lun: 0
Linux sg driver version: 3.5.36
Using libscg version 'schily-0.9'.
SCSI buffer size: 64512
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'TSSTcorp'
Identifikation : 'DVD+-RW TS-L633C'
Revision       : 'DW20'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: DVD+R
Profile: DVD-R/DL sequential recording 
Profile: DVD+R/DL 
Profile: DVD+R (current)
Profile: DVD+RW 
Profile: DVD-RW sequential recording 
Profile: DVD-RW restricted overwrite 
Profile: DVD-RAM 
Profile: DVD-R sequential recording 
Profile: DVD-ROM 
Profile: CD-RW 
Profile: CD-R 
Profile: CD-ROM 
Profile: Removable Disk 
Using generic SCSI-3/mmc-3 DVD+R driver (mmc_dvdplusr).
Driver flags   : NO-CD DVD MMC-3 SWABAUDIO BURNFREE 
Supported modes: PACKET SAO
Drive buf size : 1439744 = 1406 KB
cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
FIFO size      : 4194304 = 4096 KB
Track 01: data   667 MB        
Total size:      667 MB = 341504 sectors
Current Secsize: 2048
Blocks total: 2295104 Blocks current: 2295104 Blocks remaining: 1953600
Reducing transfer size from 64512 to 32768 bytes.
resid: 60
resid: 28
Starting to write CD/DVD/BD at speed 8 in real SAO mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
resid: 60
Starting new track at sector: 0
Track 01:    0 of  667 MB written.cdrecord: Input/output error. write_g1: scsi 
sendcmd: no error
CDB:  2A 00 00 00 00 00 00 00 10 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 21 02 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x21 Qual 0x02 (invalid address for write) Fru 0x0
Sense flags: Blk 0 (not valid) 
resid: 32768
cmd finished after 2.290s timeout 200s

write track data: error after 0 bytes
cdrecord: The current problem looks like a buffer underrun.
cdrecord: Try to use 'driveropts=burnfree'.
cdrecord: Make sure that you are root, enable DMA and check your HW/OS set up.
Writing  time:   36.363s (00:00:36.363)
Average write speed  13.9x.
Fixating...
Fixating time:   18.022s (00:00:18.022)
cdrecord: fifo had 129 puts and 2 gets.
cdrecord: fifo was 0 times empty and 1 times full, min fill was 99%.
root@basil:/nobackup#
------------------------------------------------------------------------------
_______________________________________________
Cdrtools-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdrtools-support

Reply via email to