Re: growisofs +R Double Layer -dvd-compat burning problem
Andy Polyakov wrote:
~$ growisofs -dvd-compat -Z /dev/dvd=happily.iso
Executing 'builtin_dd if=happily.iso of=/dev/dvd obs=32k seek=0'
/dev/dvd: splitting layers at 1860864 blocks
:-[ SEND DVD+R DOUBLE LAYER RECORDING INFORMATION failed with
SK=5h/ASC=26h/ACQ=00h]: Input/output error
~$ dvd+rw-mediainfo /dev/dvd
INQUIRY: [HL-DT-ST][DVDRAM GSA-4167B][DL12]
DVD+R DOUBLE LAYER BOUNDARY INFORMATION:
L0 Data Zone Capacity: 1860864*2KB, can still be set
Note that growisofs attempts to split at default layer boundary.
Meaning that the image is exactly as large as full media capacity,
right?
Actually, the image happily.iso is less than full capacity as I
understand it.
Oh, my bad, I've got brain fart:-) Of course 2x1860864*2KB is less
then full capacity. I just assumed that if it failed splitting layers,
then L0 capacity would be full capacity divided by two... But then
above would mean that *despite* the fact that unit terminated "SEND
DVD+R DOUBLE LAYER" command with given error code, the layer break
position *was* in fact set anyway. To double-check could you locate
plus_r_dl_split function in growisofs_mmc.cpp and modify the end of
this function as following:
if ((err=cmd.transport(WRITE,dvd_20,sizeof(dvd_20))) && err!=0x52600)
sperror ("SEND DVD+R DOUBLE LAYER RECORDING INFORMATION",err),
exit (FATAL_START(errno));
Recompile and try to burn. Don't forget to provide dvd+rw-mediainfo
for resulting recording.
Now, everything works until the end and then I get
5900369920/5900828672 (100.0%) @1.5x, remaining 0:00 RBU 1.4%
builtin_dd: 2881264*2KB out @ average 1.5x1385KBps
/dev/dvd: flushing cache
:-[ SYNCHRONOUS FLUSH CACHE failed with SK=3h/ASC=A0h/ACQ=80h]: Input/output
error
~$ dvd+rw-mediainfo /dev/dvd
INQUIRY: [HL-DT-ST][DVDRAM GSA-4167B][DL12]
GET [CURRENT] CONFIGURATION:
Mounted Media: 2Bh, DVD+R Double Layer
Current Write Speed: 2.4x1385=3324KB/s
Write Speed #0: 2.4x1385=3324KB/s
GET [CURRENT] PERFORMANCE:
Write Performance: 2.4x1385=3324KB/s@[0 -> 2881279]
Speed Descriptor#0: 02/2881279 R@3.3x1385=4568KB/s W@2.4x1385=3324KB/s
READ DVD STRUCTURE[#0h]:
Media Book Type: E1h, DVD+R DL book [revision 1]
Media ID: RICOHJPN/D00
Legacy lead-out at: 1440640*2KB=2950430720
DVD+R DOUBLE LAYER BOUNDARY INFORMATION:
L0 Data Zone Capacity: 1440640*2KB, can no longer be set
READ DISC INFORMATION:
Disc status: appendable
Number of Sessions: 1
State of Last Session: incomplete
"Next" Track: 1
Number of Tracks: 1
READ TRACK INFORMATION[#1]:
Track State: invisible
Track Start Address: 0*2KB
Next Writable Address: 2881264*2KB
Free Blocks: 16*2KB
Track Size: 2881280*2KB
READ CAPACITY: 0*2048=0
I can mount the disk but my DVD players won't read it.
As I stated above, if I don't use the -dvd-compat option, the dvd
burns
without any errors and will play on my Shinco dvd player but not my
Yamaha
dvd player.
It should be noted that if image is exactly as large as media
capacity, then the recording performed without -dvd-compat is
identical to one performed with [at least according to
specification]. Varying results are more likely to be caused by
limited capability of second player to play DVD+R DL in general,
rather than how this particular recording was performed.
Given that I misinterpreted the original query, there is a way to
improve playability of media in question by running 'growisofs -M
/dev/cdrom=/dev/zero' to close the disc. It doesn't guarantees
playability in the above mentioned affected player though, as it still
may have problems to play DVD+R DL media in general. A.
I tried it with the original 6.1 growisofs and the modified one on above
disk and got the following:
~$ growisofs -M /dev/dvd=/dev/zero
:-( unable to pread64(2) primary volume descriptor: Input/output error
you most likely want to use -Z option.
Thanks for your help. I wish I had bought an HP burner.
Reply to: