[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Differences between cdw/k3b on Jessie and Stretch (testing)?



Thank you for your answer, Thomas!

On Wednesday 05 August 2015 16:31:07 Thomas Schmitt wrote:
> Hi,
> 
> i cannot say much about cdw. It may or may not be using my
> command line software xorriso or cdrskin. Rather not libburn
> directly, if i get http://cdw.sourceforge.net/ right.
> 
> K3B on DVD usually uses growisofs as backend. It might be
> possible to lure it into using cdrskin as alternative to
> cdrecord.
> 
> > I have a problem with burning DVD iso-images.
> > [...] Burning CD iso-images works flawlessly.
> 
> I understand it is about burning to DVD or CD media,
> not about the size of the images all burned to DVD.
> 
> > The burn finishes without error but the verify stops with
> > error: cannot read track 0.
> 
> Try to compare DVD content and image file by shell commands.
OK, I did that. See below.
Thank you for the detailed instructions!
> 
> First set two variables to your actual file addresses. E.g.:
> 
>   image="debian-8.1.0-amd64-netinst.iso"
>   drive="/dev/sr0"
> 
> Find out the size of the ISO image in blocks of 2048 bytes.
> The commands
> 
>   /sbin/isosize -d 2048 "$image"
> 
> or
> 
>   expr $(ls -l "$image" | awk '{print $5}') / 2048
> 
> with the example image yield 126464 .
> 
> Use this number to cut out the ISO image from the start
> of the medium content. E.g.:
> 
>   dd if="$drive" bs=2048 count=126464 | md5sum

No way, unfortunately. The medium appears to be empty to the OS and it seems 
that it even appears to be empty to the DVD-writer. The writer is an LG
HL-DT-STDVD-RAM GH22NS45 by the way.

Looking at the DVD-R and comparing a successfully burned DVD and a failed one, 
there is a marked difference between the two.
On the OK DVD the gap from the inner ring to the first track written is about 
0.5mm but the gap on the failed DVD is about 1.8mm.
So it seems that indeed the DVD has nothing were some header data or lead-in 
or whatsitcalled is supposed to be.

> 
> should yield
> 
>   1a311f9afb68d6365211b13b4342c40b -
> 
> and no error message.
> The run of md5sum on the image file
> 
>   md5sum "$image"
> 
> should yield the same checksum with a different file name
> 
>   1a311f9afb68d6365211b13b4342c40b  debian-8.1.0-amd64-netinst.iso
> 
> Of course, any other ISO image and its DVD should yield a
> totally different checksum of 32 characters.
> If both MD5 checksums match, then all is well.
> If not, then the copy on DVD is not trustworthy.
> 
> > I cannot figure out against which package to file a bug report.
> > It is a hareware problem - it eludes me swiftly ...
> 
> Let's see whether verification fails rigtheously or not.
> 
> ------------------------------------------------------------
> 
> Next you could use a command line program for burning, in the
> hope to see error messages without frontend filter.
> E.g.
> 
>   growisofs -dvd-compat -Z "$drive"="$image"
Burning the same image with growisofs in this way worked without a hitch - 
successfully. The resulting DVD-R is readable in any DVD player I got.
-> no error messages.

There must be something in between K3B or cdw and growisofs which 
miscalculates and sends wrong parameters. That is the reason I even suspected 
libc6. But it isn't that library which causes the erroneous writing.
> 
> or
> 
>   xorriso -as cdrecord -v dev="$drive" "$image"
Trying that out right now ... Have to install it first.
> 
> 
> Have a nice day :)
> 
> Thomas
And good night to you (you are +6hrs from here)

PS:
The only log I saved up to now is

Successfully burned DVD-R with growisofs on commandline:

# dvd+rw-mediainfo /dev/sr0
INQUIRY:                [HL-DT-ST][DVD-RAM GH22NS45][1.00]
GET [CURRENT] CONFIGURATION:
:-( no media mounted, exiting...
root@lxcl01:~# dvd+rw-mediainfo /dev/sr0
INQUIRY:                [HL-DT-ST][DVD-RAM GH22NS45][1.00]
GET [CURRENT] CONFIGURATION:
 Mounted Media:         11h, DVD-R Sequential
 Current Write Speed:   16.0x1385=22160KB/s
 Write Speed #0:        16.0x1385=22160KB/s
 Write Speed #1:        12.0x1385=16620KB/s
 Write Speed #2:        8.0x1385=11080KB/s
 Write Speed #3:        4.0x1385=5540KB/s
 Speed Descriptor#0:    00/831199 R@8.0x1385=11080KB/s W@16.0x1385=22160KB/s
 Speed Descriptor#1:    00/831199 R@8.0x1385=11080KB/s W@12.0x1385=16620KB/s
 Speed Descriptor#2:    00/831199 R@8.0x1385=11080KB/s W@8.0x1385=11080KB/s
 Speed Descriptor#3:    00/831199 R@8.0x1385=11080KB/s W@4.0x1385=5540KB/s
READ DVD STRUCTURE[#10h]:
 Media Book Type:       00h, DVD-ROM book [revision 0]
 Legacy lead-out at:    2298496*2KB=4707319808
READ DVD STRUCTURE[#0h]:
 Media Book Type:       25h, DVD-R book [revision 5]
 Last border-out at:    4290775037*2KB=8787507275776
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:           complete
 Track Start Address:   0*2KB
 Free Blocks:           0*2KB
 Track Size:            831200*2KB
 Last Recorded Address: 831199*2KB
FABRICATED TOC:
 Track#1  :             17@0
 Track#AA :             17@831200
 Multi-session Info:    #1@0
READ CAPACITY:          831200*2048=1702297600

Failed DVD-R with the same iso-image using cdw:

# dvd+rw-mediainfo /dev/sr0
INQUIRY:                [HL-DT-ST][DVD-RAM GH22NS45][1.00]
GET [CURRENT] CONFIGURATION:
 Mounted Media:         11h, DVD-R Sequential
 Current Write Speed:   16.0x1385=22160KB/s
 Write Speed #0:        16.0x1385=22160KB/s
 Write Speed #1:        12.0x1385=16620KB/s
 Write Speed #2:        8.0x1385=11080KB/s
 Write Speed #3:        4.0x1385=5540KB/s
 Speed Descriptor#0:    00/4294967295 R@8.0x1385=11080KB/s 
W@16.0x1385=22160KB/s
 Speed Descriptor#1:    00/4294967295 R@8.0x1385=11080KB/s 
W@12.0x1385=16620KB/s
 Speed Descriptor#2:    00/4294967295 R@8.0x1385=11080KB/s 
W@8.0x1385=11080KB/s
 Speed Descriptor#3:    00/4294967295 R@8.0x1385=11080KB/s W@4.0x1385=5540KB/s
READ DVD STRUCTURE[#10h]:
 Media Book Type:       00h, DVD-ROM book [revision 0]
 Legacy lead-out at:    2298496*2KB=4707319808
READ DVD STRUCTURE[#0h]:
 Media Book Type:       25h, DVD-R book [revision 5]
 Last border-out at:    4290775037*2KB=8787507275776
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:           invisible incremental
 Track Start Address:   0*2KB
 Next Writable Address: 0*2KB
 Free Blocks:           2297888*2KB
 Track Size:            2297888*2KB
READ CAPACITY:          0*2048=0

-- 
Eike Lantzsch ZP6CGE


Reply to: