Hi,
> Is there a way to place a DVD burner into simulation mode as with CD
> recording so as to test the commands without wasting the disc?
Not with DVD+R and DVD+R DL, i fear.
Only DVD-R and unformatted DVD-RW can simulate.
> nodao.log
Now that's a short one.
It can hardly be that growisofs issues a wrong command here. At most
there can be something missing.
It tries to learn some info about the medium, is convinced that it is
a blank DVD+R DL, and begins to write.
The first WRITE(10) command needs 72 seconds to fail.
WRITE(10)
2a 00 00 00 00 00 00 00 10 00
...
+++ key=5 asc=21h ascq=04h ( 72020 ms)
:-[ WRITE@LBA=0h failed with SK=5h/ASC=21h/ACQ=04h]: Invalid argument
Neither SPC-3 nor MMC-5 specifies this code. Its neighbors are
5 21 00 LOGICAL BLOCK ADDRESS OUT OF RANGE
5 21 01 INVALID ELEMENT ADDRESS
5 21 02 INVALID ADDRESS FOR WRITE
5 21 03 INVALID WRITE CROSSING LAYER JUMP
I.e. the drive does not like the write target address. But this might
be just a consequence of the drive or bus reset.
> dao.log
This seems to have succeeded.
But the image was much smaller than in your original run.
/dev/dvdrw: splitting layers at 1167120 blocks
(NOT IN COMMAND LIST)
bf 00 00 00 00 00 00 20 00 0c 00 00
To drive: 12b
00 0a 00 00 00 00 00 00 00 11 cf 10
91120 ms
Command code 0xBF is "SEND DISC STRUCTURE". I should add it to the list
in the patch.
Does this really last 92 seconds ?
WRITE(10)
2a 00 00 23 9e 00 00 00 10 00
8 ms
/dev/dvdrw: flushing cache
SYNCHRONIZE CACHE
35 02 00 00 00 00 00 00 00 00
0 ms
The last WRITE(10) command wrote up to block 0x239e00 + 15 = 2334223.
So the total size is 2334224, which divided by 2 is 1167112.
So growisofs rounded up the layer break position by 8 blocks.
In the original run, the block count was 8231090176 / 2048 = 4019087.
Divided by 2: 2009543.5 . "splitting layers at 2009552 blocks" means
that growisofs rounded up by 8.5 blocks.
---------------------------------------------------------------------
This still gives me no idea what growisofs might do wrong.
The nodao.log is quite what i would expect from xorrecord -tao, too.
If you find reason to burn a DVD+R DL with xorrecord, then you could use
option -V and post the log here.
You may then omit the legthy sequences of WRITE(10) and READ BUFFER CAPACITY.
It suffices to show the first few WRITE(10) and the last few WRITE(10)
together with the other commands before and after the WRITE(10) flood.
Have a nice day :)
Thomas
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to dvd+rw-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1757030
Title:
Lite-On DS8A1H Slimline fails to record dual layer DVD+R
Status in dvd+rw-tools package in Ubuntu:
New
Bug description:
I tried Verbatim 8x and 2.4x DVD+R DL. The failure is always exactly
the same.
$ growisofs -dvd-compat -Z /dev/dvdrw=2017.iso
Executing 'builtin_dd if=2017.iso of=/dev/dvdrw obs=32k seek=0'
/dev/dvdrw: splitting layers at 2009552 blocks
/dev/dvdrw: "Current Write Speed" is 1.6x1352KBps.
9175040/8231090176 ( 0.1%) @2.0x, remaining 74:40 RBU 100.0% UBU 7.4%
21135360/8231090176 ( 0.3%) @2.6x, remaining 58:16 RBU 100.0% UBU 98.8%
33095680/8231090176 ( 0.4%) @2.6x, remaining 49:32 RBU 100.0% UBU 98.6%
45056000/8231090176 ( 0.5%) @2.6x, remaining 45:25 RBU 100.0% UBU 98.8%
57016320/8231090176 ( 0.7%) @2.6x, remaining 45:23 RBU 100.0% UBU 98.8%
69009408/8231090176 ( 0.8%) @2.6x, remaining 43:22 RBU 100.0% UBU 98.8%
80969728/8231090176 ( 1.0%) @2.6x, remaining 41:56 RBU 100.0% UBU 98.6%
92930048/8231090176 ( 1.1%) @2.6x, remaining 42:19 RBU 100.0% UBU 98.6%
[..]
4077289472/8231090176 (49.5%) @4.1x, remaining 15:15 RBU 90.0% UBU 88.4%
4096065536/8231090176 (49.8%) @4.1x, remaining 15:11 RBU 43.0% UBU 97.9%
4114808832/8231090176 (50.0%) @4.1x, remaining 15:06 RBU 28.0% UBU 97.9%
4115562496/8231090176 (50.0%) @0.2x, remaining 15:08 RBU 69.4% UBU 100.0%
4115562496/8231090176 (50.0%) @0.0x, remaining 15:12 RBU 100.0% UBU 100.0%
4115562496/8231090176 (50.0%) @0.0x, remaining 15:15 RBU 100.0% UBU 100.0%
4115562496/8231090176 (50.0%) @0.0x, remaining 15:18 RBU 100.0% UBU 100.0%
4115562496/8231090176 (50.0%) @0.0x, remaining 15:22 RBU 100.0% UBU 100.0%
4115562496/8231090176 (50.0%) @0.0x, remaining 15:25 RBU 100.0% UBU 100.0%
4115562496/8231090176 (50.0%) @0.0x, remaining 15:28 RBU 100.0% UBU 100.0%
4115562496/8231090176 (50.0%) @0.0x, remaining 15:32 RBU 100.0% UBU 100.0%
4115562496/8231090176 (50.0%) @0.0x, remaining 15:35 RBU 100.0% UBU 100.0%
4115562496/8231090176 (50.0%) @0.0x, remaining 15:38 RBU 100.0% UBU 100.0%
4115562496/8231090176 (50.0%) @0.0x, remaining 15:42 RBU 100.0% UBU 100.0%
4115562496/8231090176 (50.0%) @0.0x, remaining 15:45 RBU 100.0% UBU 100.0%
4115562496/8231090176 (50.0%) @0.0x, remaining 15:48 RBU 100.0% UBU 100.0%
4115562496/8231090176 (50.0%) @0.0x, remaining 15:52 RBU 100.0% UBU 100.0%
4115562496/8231090176 (50.0%) @0.0x, remaining 15:55 RBU 100.0% UBU 100.0%
4115562496/8231090176 (50.0%) @0.0x, remaining 15:58 RBU 100.0% UBU 100.0%
4115562496/8231090176 (50.0%) @0.0x, remaining 16:02 RBU 100.0% UBU 100.0%
4115562496/8231090176 (50.0%) @0.0x, remaining 16:05 RBU 100.0% UBU 100.0%
4115562496/8231090176 (50.0%) @0.0x, remaining 16:08 RBU 100.0% UBU 100.0%
4115562496/8231090176 (50.0%) @0.0x, remaining 16:12 RBU 100.0% UBU 100.0%
4115562496/8231090176 (50.0%) @0.0x, remaining 16:15 RBU 100.0% UBU 100.0%
:-[ WRITE@LBA=1ea9d0h failed with SK=5h/ASC=21h/ACQ=04h]: Invalid argument
:-( write failed: Invalid argument
$ dmesg
[..]
[5033003.021339] capability: warning: `growisofs' uses 32-bit capabilities
(legacy support in use)
[5033841.644130] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
frozen
[5033841.644149] ata1.00: cmd a0/01:00:00:00:80/00:00:00:00:00/a0 tag 0 dma
32768 out
Write(10) 2a 00 00 1e d8 40 00 00 10 00res
40/00:02:00:0c:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
[5033841.644155] ata1.00: status: { DRDY }
[5033846.688236] ata1: link is slow to respond, please be patient (ready=0)
[5033851.684070] ata1: device not ready (errno=-16), forcing hardreset
[5033851.684086] ata1: soft resetting link
[5033851.888486] ata1.00: configured for MWDMA2
[5033851.889482] ata1: EH complete
xorriso is fine:
$ xorrecord dev='/dev/sr0' -v -dao -pad 2017.iso
xorriso 1.4.6 : RockRidge filesystem manipulator, libburnia project.
Drive current: -outdev '/dev/sr0'
Media current: DVD+R/DL
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 8152m free
Beginning to write data track.
[..]
Writing to '/dev/sr0' completed successfully.
xorriso : NOTE : Re-assessing -outdev '/dev/sr0'
xorriso : NOTE : Disc status unsuitable for writing
Drive current: -outdev '/dev/sr0'
Media current: DVD+R/DL
Media status : is written , is closed
Media summary: 1 session, 4019104 data blocks, 7850m data, 0 free
Disc status afterwards:
$ dvd+rw-mediainfo /dev/dvdrw
INQUIRY: [Slimtype][DVD A DS8A1H ][WH66]
GET [CURRENT] CONFIGURATION:
Mounted Media: 2Bh, DVD+R Double Layer
Media ID: MKM/001
Current Write Speed: 4.0x1385=5540KB/s
Write Speed #0: 4.0x1385=5540KB/s
Write Speed #1: 2.4x1385=3324KB/s
GET [CURRENT] PERFORMANCE:
Write Performance: 1.6x1385=2216KB/s@0 -> 5.8x1385=8036KB/s@4019103
Speed Descriptor#0: 00/4019103 [email protected]=8310KB/s [email protected]=5540KB/s
Speed Descriptor#1: 00/4019103 [email protected]=8310KB/s [email protected]=3324KB/s
READ DVD STRUCTURE[#0h]:
Media Book Type: 00h, DVD-ROM book [revision 0]
Legacy lead-out at: 2086912*2KB=4273995776
DVD+R DOUBLE LAYER BOUNDARY INFORMATION:
L0 Data Zone Capacity: 2086912*2KB, can no longer be set
READ DISC INFORMATION:
Disc status: complete
Number of Sessions: 1
State of Last Session: complete
Number of Tracks: 1
READ TRACK INFORMATION[#1]:
Track State: invisible
Track Start Address: 0*2KB
Free Blocks: 0*2KB
Track Size: 4019104*2KB
ROM Compatibility LBA: 262144
FABRICATED TOC:
Track#1 : 14@0
Track#AA : 14@4019104
Multi-session Info: #1@0
READ CAPACITY: 4019104*2048=8231124992
It looks like growisofs has an alignment bug at the layer change. The SCSI
error code corresponds to:
21/04 DZ UNALIGNED WRITE COMMAND
http://www.t10.org/lists/asc-num.htm#ASC_21
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: dvd+rw-tools 7.1-11.1
ProcVersionSignature: Ubuntu 4.13.0-25.29-generic 4.13.13
Uname: Linux 4.13.0-25-generic x86_64
NonfreeKernelModules: openafs
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
CurrentDesktop: LXDE
Date: Mon Mar 19 19:15:02 2018
SourcePackage: dvd+rw-tools
UpgradeStatus: Upgraded to artful on 2018-01-06 (72 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dvd+rw-tools/+bug/1757030/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp