I am incurring a strange problem when trying to burn DVDs. When I
apply the command:
# growisofs -dvd-compat -Z /dev/sr0 -R -J test/
I get the following output:
Executing 'mkisofs -R -J test/ | builtin_dd of=/dev/sr0 obs=32k seek=0'
Total translation table size: 0
Total rockridge attributes bytes: 273
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
182 extents written (0 MB)
/dev/sr0: "Current Write Speed" is 2.5x1352KBps.
:-[ WRITE@LBA=0h failed with SK=5h/WRITE PROTECTED]: Input/output error
:-( write failed: Input/output error
I am using a kernel 2.6.33-rt from the proaudio-overlay with the new
serial and parallel ATA stack, not the old deprecated ATA-stack.
This is what dvd+rw-mediainfo says:
INQUIRY: [SONY ][DVD RW DW-Q58A ][UFS2]
GET [CURRENT] CONFIGURATION:
Mounted Media: 1Bh, DVD+R
Media ID: RITEK/F16
Current Write Speed: 2.4x1385=3324KB/s
Write Speed #0: 2.4x1385=3324KB/s
GET [CURRENT] PERFORMANCE:
Write Performance: 2.4x1385=3324KB/s@[0 -> 0]
Speed Descriptor#0: 00/0 R...@8.0x1385=11080KB/s W...@2.4x1385=3324KB/s
READ DVD STRUCTURE[#0h]:
Media Book Type: 00h, DVD-ROM book [revision 0]
Legacy lead-out at: 2295104*2KB=4700372992
READ DISC INFORMATION:
Disc status: blank
Number of Sessions: 1
State of Last Session: empty
"Next" Track: 1
Number of Tracks: 1
READ TRACK INFORMATION[#1]:
Track State: blank
Track Start Address: 0*2KB
Next Writable Address: 0*2KB
Free Blocks: 2295104*2KB
Track Size: 2295104*2KB
ROM Compatibility LBA: 265696
READ CAPACITY: 0*2048=0
Unfortunately, I reproduced this error on an non-RT 2.6.34 kernel with
the same config.
Anybody has got any ideas?
Regards,
Gabriel
> Hello,
>
> I am incurring a strange problem when trying to burn DVDs. When I
> apply the command:
>
> # growisofs -dvd-compat -Z /dev/sr0 -R -J test/
>
> I get the following output:
>
> Executing 'mkisofs -R -J test/ | builtin_dd of=/dev/sr0 obs=32k seek=0'
> Total translation table size: 0
> Total rockridge attributes bytes: 273
> Total directory bytes: 0
> Path table size(bytes): 10
> Max brk space used 0
> 182 extents written (0 MB)
> /dev/sr0: "Current Write Speed" is 2.5x1352KBps.
> :-[ WRITE@LBA=0h failed with SK=5h/WRITE PROTECTED]: Input/output error
> :-( write failed: Input/output error
Did you try to use cdrecord instead?
Did you try to kill hald before?
Jörg
--
EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
j...@cs.tu-berlin.de (uni)
joerg.s...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
I have to add that writing DVD+RW works fine. How could this be?
Regards,
Gabriel
/etc/init.d/hald status
* status: stopped
using cdrecord on a DVD+RW works fine, but I have this error when I
try to burn a DVD-R:
gstriewe@laptop ~ $ cdrecord -v dev=0,1,0 test.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.00 (i686-pc-linux-gnu) Copyright (C) 1995-2010 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,1,0'
scsibus: 0 target: 1 lun: 0
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'SONY '
Identifikation : 'DVD RW DW-Q58A '
Revision : 'UFS2'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: DVD+R
Profile: DVD+R/DL
Profile: DVD+R (current)
Profile: DVD+RW
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD-R sequential recording
Profile: DVD-ROM
Profile: CD-RW
Profile: CD-R
Profile: CD-ROM
cdrecord: Warning: controller returns wrong page 3 for Ricoh Vendor Page page (30).
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 : 1602048 = 1564 KB
cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
FIFO size : 4194304 = 4096 KB
Track 01: data 0 MB padsize: 236 KB
Total size: 0 MB = 300 sectors
Blocks total: 2295104 Blocks current: 2295104 Blocks remaining: 2294804
Reducing transfer size from 64512 to 32768 bytes.
cdrecord: Warning: controller returns wrong page 3 for Ricoh Vendor Page page (30).
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.
Starting new track at sector: 0
Track 01: 0 of 0 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 27 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x27 Qual 0x00 (write protected) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.014s timeout 200s
write track data: error after 0 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
Writing time: 5.037s
Average write speed 0.1x.
Fixating...
Fixating time: 0.009s
cdrecord: fifo had 12 puts and 1 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
Hope this helps somehow. Thank you for your quick response..
Gabriel
> /etc/init.d/hald status
> * status: stopped
>
> using cdrecord on a DVD+RW works fine, but I have this error when I
> try to burn a DVD-R:
OK, could you send the outout from cdrecord -v -minfo
with this medium?
$> cdrecord -v -minfo
Linux sg driver version: 3.5.34
SCSI buffer size: 32768
No target specified, trying to find one...
Using dev=0,1,0.
cdrecord: Warning: controller returns wrong page 3 for Ricoh Vendor Page page (30).
cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
Cdrecord-ProDVD-ProBD-Clone 3.00 (i686-pc-linux-gnu) Copyright (C) 1995-2010 Jörg Schilling
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.9'.
atapi: 1
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'SONY '
Identifikation : 'DVD RW DW-Q58A '
Revision : 'UFS2'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: DVD+R
Profile: DVD+R/DL
Profile: DVD+R (current)
Profile: DVD+RW
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD-R sequential recording
Profile: DVD-ROM
Profile: CD-RW
Profile: CD-R
Profile: CD-ROM
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 : 1602048 = 1564 KB
Current Secsize: 2048
book type: DVD+R, Version (10.1)
disc size: 120mm (0)
maximum rate: Not specified (15)
number of layers:1
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: 2491711
end layer 0: 0
bca: 0
phys size:... 2295104
Manufacturer: 'RITEK'
Media type: 'F16'
Category/Version A1
Disk size 0F
Disk structure 02
Recoding density 00
Manufacturer: 'RITEK'
Media type: 'F16'
Product revision 1
ADIP numbytes 56
Reference speed 35
Max speed 84
rzone size: 40
rzone number: 1
border number: 1
ljrs: 0
track mode: 7 copy: 0
damage: 0
reserved track: 0 blank: 1 incremental: 0 fp: 0
data mode: 1
lra valid: 0
nwa valid: 1
rzone start: 0
next wr addr: 0
free blocks: 2295104
blocking factor: 16
rzone size: 2295104
last recorded addr: 0
read compat lba: 265696
Capacity Blklen/Sparesz. Format-type Type
2295104 2048 0x00 Unformated or Blank Media
Mounted media class: DVD
Mounted media type: DVD+R
Disk Is not erasable
data type: standard
disk status: empty
session status: empty
BG format status: none
first track: 1
number of sessions: 1
first track in last sess: 1
last track in last sess: 1
Disk Is unrestricted
Disk type: DVD, HD-DVD or BD
Track Sess Type Start Addr End Addr Size
==============================================
1 1 Blank 0 2295103 2295104 -1
Next writable address: 0
Remaining writable size: 2295104
Thanks for your help,
Gabriel
> On Wed, Aug 11, 2010 at 03:18:57PM +0200, Joerg Schilling wrote:
> > li...@gabriel-striewe.de wrote:
> >
> > > /etc/init.d/hald status
> > > * status: stopped
> > >
> > > using cdrecord on a DVD+RW works fine, but I have this error when I
> > > try to burn a DVD-R:
> >
> > OK, could you send the outout from cdrecord -v -minfo
> > with this medium?
Ritek may not be the best media quality. Did you try Verbatim?
They were from Aldi, however I used also CDR from there, they seem to
be manufactured by Plasmon Data Systems (both are labeled
Tevion). With those CDR I have usually no problem. I realize however
that my DVDRW which work without problems are from Verbatim. So I will
try out Verbatim DVD+R and report back to the list how it's going.
Thanks for your help
Gabriel
> > Ritek may not be the best media quality. Did you try Verbatim?
> >
> >
> > J?rg
>
> They were from Aldi, however I used also CDR from there, they seem to
> be manufactured by Plasmon Data Systems (both are labeled
> Tevion). With those CDR I have usually no problem. I realize however
> that my DVDRW which work without problems are from Verbatim. So I will
> try out Verbatim DVD+R and report back to the list how it's going.
Not all drives work well with all media.
This issue is solved, VERBATIM media worked fine.
Thanks a lot for your help.
Gabriel
> I am incurring a strange problem when trying to burn DVDs. When I
> apply the command:
>
> # growisofs -dvd-compat -Z /dev/sr0 -R -J test/
[...]
I have the similar problem on standard kernel 2.6.34-gentoo-r1:
# growisofs -Z /dev/sr0 -R -J -V "test" /mnt/data/t
Executing 'mkisofs -R -J -V test /mnt/data/t | builtin_dd of=/dev/sr0 obs=32k seek=0'
Setting input-charset to 'UTF-8' from locale.
0.74% done, estimate finish Sun Aug 15 20:56:13 2010
1.49% done, estimate finish Sun Aug 15 20:56:13 2010
2.23% done, estimate finish Sun Aug 15 20:56:13 2010
/dev/sr0: "Current Write Speed" is 20.5x1352KBps.
:-[ WRITE@LBA=10h failed with SK=5h/INVALID ADDRESS FOR WRITE]: Invalid argument
:-( write failed: Invalid argument
/dev/sr0: flushing cache
/dev/sr0: updating RMA
/dev/sr0: closing session
/dev/sr0: reloading tray
I've used Verbatim DVD-R, which I've successfully used before (like
one year before), but this time it is always like this.
My system doesn't use hald:
# /etc/init.d/hald status
* status: stopped
Also, cdrecord doesn't work:
# cdrecord -v -dev=4,0,0 /mnt/data/t.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.00 (i686-pc-linux-gnu) Copyright (C) 1995-2010 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '4,0,0'
scsibus: 4 target: 0 lun: 0
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'PIONEER '
Identifikation : 'DVD-RW DVR-216D'
Revision : '1.08'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: DVD-R sequential recording
Profile: DVD+R/DL
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-R/DL layer jump recording
Profile: DVD-R/DL sequential recording
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD-R sequential recording (current)
Profile: DVD-ROM (current)
Profile: CD-RW
Profile: CD-R
Profile: CD-ROM
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 : 1605632 = 1568 KB
cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
FIFO size : 4194304 = 4096 KB
Track 01: data 1313 MB
Total size: 1313 MB = 672399 sectors
Current Secsize: 2048
Total power on hours: 75040
WARNING: Phys disk size 16 differs from rzone size 0! Prerecorded disk?
WARNING: Phys start: 196608 Phys end 196623
WARNING: Drive returns zero media size. Using media size from ADIP.
Blocks total: 16 Blocks current: -93936 Blocks remaining: -766335
cdrecord: Data does not fit on current disk.
Please, note, that ISO image have 1.2 GB so it should fit on DVD-R
I'm using Verbatim discs, which is recognized by cdrecord as:
# cdrecord -v -minfo
Cdrecord-ProDVD-ProBD-Clone 3.00 (i686-pc-linux-gnu) Copyright (C) 1995-2010 Jörg Schilling
TOC Type: 1 = CD-ROM
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
SCSI buffer size: 32768
No target specified, trying to find one...
Using dev=4,0,0.
atapi: 1
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'PIONEER '
Identifikation : 'DVD-RW DVR-216D'
Revision : '1.08'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: DVD-R sequential recording
Profile: DVD+R/DL
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-R/DL layer jump recording
Profile: DVD-R/DL sequential recording
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD-R sequential recording (current)
Profile: DVD-ROM (current)
Profile: CD-RW
Profile: CD-R
Profile: CD-ROM
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 : 1605632 = 1568 KB
cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
Current Secsize: 2048
Total power on hours: 75040
book type: DVD-R, Version 2.0x -> 2.1 (2.5)
disc size: 120mm (0)
maximum rate: Not specified (15)
number of layers:1
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: 196623
end layer 0: 0
bca: 0
phys size:... 16
copyr prot type: 0
region mgt info: 0
cpm: 0
cgms: 0
last rma sector: 0
application code:64
physical code: 193
last rec address:16621272
part v./ext code:5/2
ind wr. power: 133
wavelength code: 13
write str. code: 0E 88 9A 80
Manufacturer: 'MCC 03RG20 '
rzone size: 36
rzone number: 1
border number: 1
ljrs: 0
track mode: 4 copy: 0
damage: 0
reserved track: 0 blank: 0 incremental: 1 fp: 0
data mode: 1
lra valid: 1
nwa valid: 0
rzone start: 0
next wr addr: 0
free blocks: 0
blocking factor: 16
rzone size: 65264
last recorded addr: 15
Capacity Blklen/Sparesz. Format-type Type
65264 2048 0x00 Formatted Media
WARNING: Phys disk size 16 differs from rzone size 0! Prerecorded disk?
WARNING: Phys start: 196608 Phys end 196623
WARNING: Drive returns zero media size. Using media size from ADIP.
Mounted media class: DVD
Mounted media type: DVD-R sequential recording
Disk Is not erasable
data type: standard
disk status: incomplete/appendable
session status: empty
BG format status: none
first track: 1
number of sessions: 2
first track in last sess: 2
last track in last sess: 2
Disk Is unrestricted
Disk type: DVD, HD-DVD or BD
Track Sess Type Start Addr End Addr Size
==============================================
1 1 Data 0 65263 65264 -1
2 2 Blank 93952 2297887 2203936 28688
Last session start address: 0
Last session leadout start address: 65264
Next writable address: 93952
Remaining writable size: 2203936
Any hints?
--
-^- _ coś tam w tle sobie gra, np:
_ /O)_\// Blindead - Suicidal
(_(|__(_(_) grf.
It seems that the workaround for the Pioneer firmware bug does not handle the
multi-border case.
The media was written before and seems to be appendable.
Is this what you intend to do?
> It seems that the workaround for the Pioneer firmware bug does not handle the
> multi-border case.
So, it means, that this is hardware failure?
> > Track Sess Type Start Addr End Addr Size
> > ==============================================
> > 1 1 Data 0 65263 65264 -1
> > 2 2 Blank 93952 2297887 2203936 28688
> >
> > Last session start address: 0
> > Last session leadout start address: 65264
> > Next writable address: 93952
> > Remaining writable size: 2203936
>
> The media was written before and seems to be appendable.
> Is this what you intend to do?
Uuups :) it seems that I have tried this on already damaged DVD-R.
Here is output from blank disk:
Profile: CD-RW
Profile: CD-R
Profile: CD-ROM
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 : 1605632 = 1568 KB
cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
Current Secsize: 2048
Total power on hours: 75040
book type: DVD-R, Version 2.0x -> 2.1 (2.5)
disc size: 120mm (0)
maximum rate: Not specified (15)
number of layers:1
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: 0
end layer 0: 0
bca: 0
phys size:... -196607
copyr prot type: 0
region mgt info: 0
last rma sector: 0
application code:64
physical code: 193
last rec address:16621272
part v./ext code:5/2
ind wr. power: 133
wavelength code: 13
write str. code: 0E 88 9A 80
Manufacturer: 'MCC 03RG20 '
rzone size: 36
rzone number: 1
border number: 1
ljrs: 0
track mode: 4 copy: 0
damage: 0
reserved track: 0 blank: 1 incremental: 0 fp: 0
data mode: 1
lra valid: 0
nwa valid: 1
rzone start: 0
next wr addr: 0
free blocks: 2298496
blocking factor: 16
rzone size: 2298496
last recorded addr: 0
Capacity Blklen/Sparesz. Format-type Type
4101552 2048 0x00 No Media Present or Unknown Capacity
Mounted media class: DVD
Mounted media type: DVD-R sequential recording
Disk Is not erasable
data type: standard
disk status: empty
session status: empty
BG format status: none
first track: 1
number of sessions: 1
first track in last sess: 1
last track in last sess: 1
Disk Is unrestricted
Disk type: DVD, HD-DVD or BD
Track Sess Type Start Addr End Addr Size
==============================================
1 1 Blank 0 2298495 2298496 -1
Next writable address: 0
Remaining writable size: 2298496
--
-^- _ coś tam w tle sobie gra, np:
_ /O)_\// Blindead - Phaze I: Abyss
(_(|__(_(_) grf.
> Vendor_info : 'PIONEER '
> Identifikation : 'DVD-RW DVR-216D'
> Revision : '1.08'
^^^^
Damn. So this was really Pioneer (and partially my) fault. After
firmware upgrading, cdrecord is working just fine. Unfortunately
growisofs doesn't work :/ Seems that I'll stick with cdrecord
instead.
Thanks for your help, Jörg - after all you've directed my thoughts
about firmware :)
--
-^- _ coś tam w tle sobie gra, np:
_ /O)_\// Blindead - Phaze III: Blood Bond
(_(|__(_(_) grf.