|
From: <sk...@st...> - 2017-12-04 11:27:07
|
Hi:
Does anybody know how to specify "where to put the layer break" while writing a large ISO image (6+ GiB) on a 8.5 GB DVD-R DL disk ?
Do we need to calculate this or is there an option that we can use so as to enable to tool to compute it by itself ?
Long Story
Have to write a 6+ GiB bootable ISO image on a DVD
Normal DVD is 4.5 GB so it cannot be used
Dual Layer DVD or DVD-R DL hold 8.5GB as they have two recordable dye layers.
I bought a Sony 8.5 GB DVD-R DL and used growisofs to write the ISO image, by issuing the following command
the device that maps to DVD writer is
# ls -l /dev/sr0
brw-rw---- 1 root optical 11, 0 Dec 4 12:50 /dev/sr0
Hence the command issued is,
# growisofs -dvd-compat -Z /dev/sr0=mybootable.iso
The DVD writing process started as usual and then stopped with an ERROR exactly when one layer (approx 4.5 GiB) was written
:-[ WRITE@LBA=1fdb40h failed with SK=3h/ASC=0Ch/ACQ=00h]: Input/output error
:-( write failed: Input/output error
The versions of the tools are as follows:
#
# growisofs -version
* growisofs by <ap...@fy...>, version 7.1,
front-ending to mkisofs: mkisofs 3.02a07
(x86_64-unknown-linux-gnu)
#
# cdrecord -minfo -v
Cdrecord-ProDVD-ProBD-Clone 3.02a07 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2016 Joerg Schilling
TOC Type: 1 = CD-ROM
Linux sg driver version: 3.5.36
Using libscg version 'schily-0.9'.
SCSI buffer size: 32768
No target specified, trying to find one...
Using dev=1,0,0.
atapi: 1
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'MATSHITA'
Identifikation : 'DVD-RAM UJ8C2 S '
Revision : '1.00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: DVD+R/DL
Profile: DVD-RAM
Profile: DVD+R/DL (current)
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-RW restricted overwrite
Profile: DVD-RW sequential recording
Profile: DVD-R/DL layer jump recording
Profile: DVD-R/DL sequential recording
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-3 DVD+R driver (mmc_dvdplusr).
Driver flags : NO-CD DVD MMC-3 SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 393216 = 384 KB
cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
Current Secsize: 2048
book type: DVD+R/DL, Version (14.1)
disc size: 120mm (0)
maximum rate: Not specified (15)
number of layers:2
track path: Opposite Track Path (1)
layer type: Rewritable Area (2)
linear density: 0.293 ?m/bit (1)
track density: 0.74 ?m/track (0)
phys start: 196608 (0x30000)
phys end: 16580607
end layer 0: 2283519
bca: 0
phys size:... 16384000
layer break at: 2086912
Category/Version E1
Disk size 0F
Disk structure 32
Recoding density 10
Manufacturer: 'MBIPG101'
Media type: 'R10'
Product revision 65
ADIP numbytes 64
Reference speed 37
Max speed 37
L0 init status: 1
L0 data areacap: 1702208
copyr prot type: 0
region mgt info: 0
cpm: 0
cgms: 0
rzone size: 40
rzone number: 1
border number: 1
ljrs: 0
track mode: 7 copy: 0
damage: 1
reserved track: 0 blank: 0 incremental: 0 fp: 0
data mode: 1
lra valid: 0
nwa valid: 0
rzone start: 0
next wr addr: 0
free blocks: 0
blocking factor: 16
rzone size: 3404416
last recorded addr: 0
read compat lba: 265696
Capacity Blklen/Sparesz. Format-type Type
3404416 2048 0x00 No Media Present or Unknown Capacity
Mounted media class: DVD
Mounted media type: DVD+R/DL
Disk Is not erasable
data type: standard
disk status: incomplete/appendable
session status: illegal
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
Disk appl. code: 0
Track Sess Type Start Addr End Addr Size
==============================================
1 1 Data 0 3404415 3404416 -1
Last session start address: 0
Last session leadout start address: 3404416
--
Hardware information
# lshw -c disk
*-cdrom
description: DVD-RAM writer
product: DVD-RAM UJ8C2 S
vendor: MATSHITA
physical id: 0.0.0
bus info: scsi@1:0.0.0
logical name: /dev/cdrom
logical name: /dev/sr0
version: 1.00
capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
configuration: ansiversion=5 status=nodisc
----
Anybody explored this or faced a similar issue, please share the work around you came up with.
Thanks in advance.
warm regards
Saifi.
|