I can't write dvd-rw disk with cdrecord. dvd+rw-tools work perfectly
fine, but I don't want to use both tools to record cd/dvd when I can
only one. I'am using OpenBSD 5.8
First I blank dvd with:
$cdrecord -v -dev=/dev/rcd0c -blank=all
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags : NO-CD DVD MMC-3 SWABAUDIO BURNFREE
Supported modes: PACKET SAO LAYER_JUMP
Drive buf size : 751616 = 734 KB
Current Secsize: 2048
WARNING: Phys disk size 1 differs from rzone size 2297888! Prerecorded disk?
WARNING: Phys start: 196608 Phys end 196608
Starting to write CD/DVD/BD at speed 2 in real BLANK mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Blanking entire disk
Blanking time: 1752.884s
Then I reload disk and writing with:
$cdrecord -v -dev=/dev/rcd0c -dao /path/to/image.iso
drecord-ProDVD-ProBD-Clone 3.00 (amd64-unknown-openbsd5.8) Copyright (C)
1995-2010 J�rg Schilling
[37/85]
TOC Type: 1 = CD-ROM
scsidev: '/dev/rcd0c'
devname: '/dev/rcd0c'
scsibus: -2 target: -2 lun: -2
Using libscg version 'schily-0.9'.
SCSI buffer size: 61440
atapi: 0
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identifikation : 'DVDRAM GU61N '
Revision : '1.00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: DVD-RW sequential recording
Profile: DVD-R/DL sequential recording
Profile: DVD-R/DL layer jump recording
Profile: 0x0018
Profile: DVD+R/DL
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-RW sequential recording (current)
Profile: DVD-RW restricted overwrite (current)
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-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags : NO-CD DVD MMC-3 SWABAUDIO BURNFREE
Supported modes: PACKET SAO LAYER_JUMP
Drive buf size : 751616 = 734 KB
cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
FIFO size : 4194304 = 4096 KB
Track 01: data 586 MB
Total size: 586 MB = 300348 sectors
Current Secsize: 2048
Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 1998148
Reducing transfer size from 61440 to 32768 bytes.
Starting to write CD/DVD/BD at speed 2 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.
BURN-Free is ON.
Turning BURN-Free off
Starting new track at sector: 0
Track 01: 0 of 586 MB written.cdrecord: Input/output error. write_g1: scsi
sendcmd: retryable error
CDB: 2A 00 00 00 00 70 00 00 10 00
status: 0x0 (GOOD STATUS)
resid: 32768
cmd finished after 0.002s timeout 200s
write track data: error after 229376 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
cdrecord: Input/output error. test unit ready: scsi sendcmd: retryable error
CDB: 00 00 00 00 00 00
status: 0x0 (GOOD STATUS)
cmd finished after 0.000s timeout 200s
Writing time: 12.940s
Average write speed 34.4x.
Fixating...
cdrecord: Input/output error. flush cache: scsi sendcmd: retryable error
CDB: 35 00 00 00 00 00 00 00 00 00
status: 0x0 (GOOD STATUS)
cmd finished after 0.000s timeout 1000s
Trouble flushing the cache
cdrecord: Cannot fixate disk.
Fixating time: 0.000s
cdrecord: Input/output error. prevent/allow medium removal: scsi sendcmd:
retryable error
CDB: 1E 00 00 00 00 00
status: 0x0 (GOOD STATUS)
cmd finished after 0.009s timeout 200s
cdrecord: fifo had 135 puts and 8 gets.
cdrecord: fifo was 0 times empty and 1 times full, min fill was 94%.
In dmesg I see:
cd0(ahci0:4:0): Check Condition (error 0x70) on opcode 0x28
SENSE KEY: Media Error
Here is with -atip:
$ cdrecord -v -dev=/dev/rcd0c -atip
Cdrecord-ProDVD-ProBD-Clone 3.00 (amd64-unknown-openbsd5.8) Copyright (C)
1995-2010 J�rg Schilling
TOC Type: 1 = CD-ROM
scsidev: '/dev/rcd0c'
devname: '/dev/rcd0c'
scsibus: -2 target: -2 lun: -2
Using libscg version 'schily-0.9'.
SCSI buffer size: 61440
atapi: 0
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identifikation : 'DVDRAM GU61N '
Revision : '1.00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: DVD-RW sequential recording
Profile: DVD-R/DL sequential recording
Profile: DVD-R/DL layer jump recording
Profile: 0x0018
Profile: DVD+R/DL
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-RW sequential recording (current)
Profile: DVD-RW restricted overwrite (current)
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-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags : NO-CD DVD MMC-3 SWABAUDIO BURNFREE
Supported modes: PACKET SAO LAYER_JUMP
Drive buf size : 751616 = 734 KB
cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
Current Secsize: 2048
book type: DVD-RW, Version 1.1x (3.2)
disc size: 120mm (0)
maximum rate: Not specified (15)
number of layers:1
[4/284]
track path: Parallel Track Path (0)
layer type: Rewritable Area (2)
linear density: 0.267 �m/bit (0)
track density: 0.74 �m/track (0)
phys start: 196608 (0x30000)
phys end: 496955
end layer 0: 0
bca: 0
phys size:... 300348
copyr prot type: 0
region mgt info: 0
last rma sector: 0
application code:64
physical code: 214
last rec address:16621272
part v./ext code:2/1
ind wr. power: 13
wavelength code: 6
write str. code: 07 88 65 0D
Manufacturer: 'RITEKW01'
rzone size: 40
rzone number: 1
border number: 1
ljrs: 0
track mode: 4 copy: 0
damage: 0
reserved track: 0 blank: 0 incremental: 0 fp: 0
data mode: 1
lra valid: 1
nwa valid: 1
rzone start: 0
next wr addr: 96
free blocks: 2298400
blocking factor: 16
rzone size: 2298496
last recorded addr: 79
read compat lba: 0
Capacity Blklen/Sparesz. Format-type Type
2297888 2048 0x00 Unformated or Blank Media
2297888 2048 0x00 Reserved (0)
2297888 16 0x10 Reserved (0)
2297888 16 0x15 Reserved (0)
WARNING: Phys disk size 300348 differs from rzone size 2298496! Prerecorded
disk?
WARNING: Phys start: 196608 Phys end 496955
I suspect that problem with bad media/manufacturer, but dvd+rw-tools circumvent
this somehow.
Thank you!
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Cdrtools-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdrtools-support