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

Re: growisofs fail to burn second session: why and how to solve?



 On 10/23/2010 03:05 AM, Thomas Schmitt wrote:
> If you want to give xorriso or cdrskin a try then first post the outcome
> of their track catalog commands
>   xorriso -outdev /dev/sr2 -toc
almustafa@orphalese:~$ xorriso -outdev /dev/sr2 -toc
xorriso 0.5.6 : RockRidge filesystem manipulator, libburnia project.

Drive current: -outdev '/dev/sr2'
Media current: DVD+R/DL
Media status : is written , is appendable
Drive current: -outdev '/dev/sr2'
Drive type   : vendor 'HL-DT-ST' product 'DVDRAM GP08NU20' revision '1.01'
Media current: DVD+R/DL
Media product: RITEK/S04/48 , Ritek Corp
Media status : is written , is appendable
TOC layout   : Idx ,  sbsector ,       Size , Volume Id
xorriso : SORRY : Cannot obtain Table Of Content
xorriso : NOTE : Tolerated problem event of severity 'SORRY'
xorriso : NOTE : -return_with SORRY 32 triggered by problem severity SORRY

>   cdrskin -v dev=/dev/sr2 -minfo
almustafa@orphalese:~$ cdrskin -v dev=/dev/sr2 -minfo
cdrskin 0.8.0 : limited cdrecord compatibility wrapper for libburn
cdrskin: verbosity level : 1
cdrskin: NOTE : greying out all drives besides given dev='/dev/sr2'
cdrskin: scanning for devices ...
cdrskin: ... scanning for devices done
cdrskin: pseudo-atip on drive 0
cdrskin: status 3 BURN_DISC_APPENDABLE "There is an incomplete disc in the drive"
scsidev: '3,0,0'
Device type    : Removable CD-ROM
Vendor_info    : 'HL-DT-ST'
Identifikation : 'DVDRAM GP08NU20'
Revision       : '1.01'
Driver flags   : BURNFREE
Supported modes: TAO SAO
cdrskin: burn_drive_get_write_speed = 8310  (6.0x)
Current: DVD+R/DL
Profile: 0x0012 (DVD-RAM)
Profile: 0x002B (DVD+R/DL) (current)
Profile: 0x001B (DVD+R)
Profile: 0x001A (DVD+RW)
Profile: 0x0016 (DVD-R/DL layer jump recording)
Profile: 0x0015 (DVD-R/DL sequential recording)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x0011 (DVD-R sequential recording)
Profile: 0x0010 (DVD-ROM)
Profile: 0x000A (CD-RW)
Profile: 0x0009 (CD-R)
Profile: 0x0008 (CD-ROM)
Profile: 0x0002 (Removable disk)
book type:     DVD+R/DL (emulated booktype)
Product Id:    RITEK/S04/48
Producer:      Ritek Corp
Manufacturer:    'RITEK'
Media type:      'S04'

Mounted media class:      DVD
Mounted media type:       DVD+R/DL
Disk Is not erasable
disk status:              incomplete/appendable
session status:           empty
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  1624736    4173823    2549088   

Next writable address:              1624736   
Remaining writable size:            2549088   


> which both will tell the perceived next writeable address. 1624736 would
> give hope.
>
So I try:

almustafa@orphalese:~$ genisoimage -C 0,1624736 -M /dev/sr2 -o /tmp/newbackup.iso -iso-level 3 -old-root / -R -exclude-list .exclude.lst  -v -V ZWW_BACKUP .
[success output omitted]

almustafa@orphalese:~$ growisofs -M /dev/sr2=/tmp/newbackup.iso -v -dry-run
:-[ READ SESSION INFO failed with SK=5h/INVALID FIELD IN CDB]: Input/output error

> If you want to go on with investigating the problem together with me,
> then be invited to try it with my software
>   http://scdbackup.sourceforge.net/cdrskin-0.8.8.pl00.tar.gz
Okay, so here we go:


    almustafa@orphalese:~$ cdrskin -v -multi speed=1 gracetime=30
    dev=/dev/sr2 /tmp/newbackup.iso
    cdrskin 0.8.0 : limited cdrecord compatibility wrapper for libburn
    cdrskin: verbosity level : 1
    cdrskin: NOTE : greying out all drives besides given dev='/dev/sr2'
    cdrskin: scanning for devices ...
    cdrskin: ... scanning for devices done
    cdrskin: beginning to burn disc
    cdrskin: status 3 BURN_DISC_APPENDABLE "There is an incomplete disc
    in the drive"
    Current: DVD+R/DL
    Track 01: data 347 MB
    Total size: 347 MB (39:37.36) = 178152 sectors
    Lout start: 347 MB (39:39/36) = 178152 sectors
    Starting to write CD/DVD at speed 1 in real TAO mode for multi session.
    Last chance to quit, starting real write in 0 seconds. Operation starts.
    Waiting for reader process to fill input buffer ... input buffer ready.
    Starting new track at sector: 1624736
    Track 01: 347 of 347 MB written (fifo 100%) [buf 90%] 1.9x.
    cdrskin: thank you for being patient for 146 seconds
    Fixating...
    cdrskin: working post-track (burning since 174 seconds)
    Track 01: Total bytes read/written: 364855296/364871680 (178160
    sectors).
    Writing time: 174.806s
    Cdrskin: fifo had 178152 puts and 178152 gets.
    Cdrskin: fifo was 0 times empty and 15644 times full, min fill was 99%.
    Min drive buffer fill was 0%
    cdrskin: burning failed
    cdrskin: FATAL : burning failed.

Strange that with -v it didn't give detail of fail.


Loading the 'burning failed' dvd and see what I got. Emmh, I got a DVD
that I can mount, and see the content of the first session, not the
second session.

Detail info about the DVD: (I put it in /dev/sr1 this time)

almustafa@orphalese:~$ dvd+rw-mediainfo /dev/sr1 
INQUIRY:                [PLEXTOR ][DVDR   PX-716AL ][1.02]
GET [CURRENT] CONFIGURATION:
 Mounted Media:         2Bh, DVD+R Double Layer
 Media ID:              RITEK/S04
 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:     4.0x1385=5540KB/s@[0 -> 4173824]
 Speed Descriptor#0:    02/4173824 R@8.0x1385=11080KB/s W@4.0x1385=5540KB/s
 Speed Descriptor#1:    02/4173824 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:    2086912*2KB=4273995776
DVD+R DOUBLE LAYER BOUNDARY INFORMATION:
 L0 Data Zone Capacity: 2086912*2KB, can still be set
READ DISC INFORMATION:
 Disc status:           appendable
 Number of Sessions:    1
 State of Last Session: incomplete
 "Next" Track:          1
 Number of Tracks:      4
READ TRACK INFORMATION[#1]:
 Track State:           partial/complete
 Track Start Address:   0*2KB
 Free Blocks:           0*2KB
 Track Size:            812352*2KB
READ TRACK INFORMATION[#2]:
 Track State:           partial/complete
 Track Start Address:   812368*2KB
 Next Writable Address: 812368*2KB
 Free Blocks:           812352*2KB
 Track Size:            812352*2KB
READ TRACK INFORMATION[#3]:
 Track State:           partial/complete
 Track Start Address:   1624736*2KB
 Free Blocks:           0*2KB
 Track Size:            178160*2KB
READ TRACK INFORMATION[#4]:
 Track State:           blank
 Track Start Address:   1802912*2KB
 Next Writable Address: 1802912*2KB
 Free Blocks:           2370912*2KB
 Track Size:            2370912*2KB
FABRICATED TOC:
 Track#1  :             17@0
 Track#AA :             17@4294770689
 Multi-session Info:    #1@0
READ CAPACITY:          0*2048=0

almustafa@orphalese:~$ xorriso -outdev /dev/sr1 -toc
xorriso 0.5.6 : RockRidge filesystem manipulator, libburnia project.

Drive current: -outdev '/dev/sr1'
Media current: DVD+R/DL
Media status : is written , is appendable
Drive current: -outdev '/dev/sr1'
Drive type   : vendor 'PLEXTOR' product 'DVDR PX-716AL' revision '1.02'
Media current: DVD+R/DL
Media product: RITEK/S04/48 , Ritek Corp
Media status : is written , is appendable
TOC layout   : Idx ,  sbsector ,       Size , Volume Id
xorriso : SORRY : Cannot obtain Table Of Content
xorriso : NOTE : Tolerated problem event of severity 'SORRY'
xorriso : NOTE : -return_with SORRY 32 triggered by problem severity SORRY

almustafa@orphalese:~$ xorriso -outdev /dev/sr1 -toc
xorriso 0.5.6 : RockRidge filesystem manipulator, libburnia project.

Drive current: -outdev '/dev/sr1'
Media current: DVD+R/DL
Media status : is written , is appendable
Drive current: -outdev '/dev/sr1'
Drive type   : vendor 'PLEXTOR' product 'DVDR PX-716AL' revision '1.02'
Media current: DVD+R/DL
Media product: RITEK/S04/48 , Ritek Corp
Media status : is written , is appendable
TOC layout   : Idx ,  sbsector ,       Size , Volume Id
xorriso : SORRY : Cannot obtain Table Of Content
xorriso : NOTE : Tolerated problem event of severity 'SORRY'
xorriso : NOTE : -return_with SORRY 32 triggered by problem severity SORRY

almustafa@orphalese:~$ cdrskin -v dev=/dev/sr1 -minfo
cdrskin 0.8.0 : limited cdrecord compatibility wrapper for libburn
cdrskin: verbosity level : 1
cdrskin: NOTE : greying out all drives besides given dev='/dev/sr1'
cdrskin: scanning for devices ...
cdrskin: ... scanning for devices done
cdrskin: pseudo-atip on drive 0
cdrskin: status 3 BURN_DISC_APPENDABLE "There is an incomplete disc in the drive"
scsidev: '2,0,0'
Device type    : Removable CD-ROM
Vendor_info    : 'PLEXTOR'
Identifikation : 'DVDR PX-716AL'
Revision       : '1.02'
Driver flags   : BURNFREE
Supported modes: TAO SAO
cdrskin: burn_drive_get_write_speed = 5540  (4.0x)
Current: DVD+R/DL
Profile: 0x002B (DVD+R/DL) (current)
Profile: 0x001B (DVD+R)
Profile: 0x001A (DVD+RW)
Profile: 0x0015 (DVD-R/DL sequential recording)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x0011 (DVD-R sequential recording)
Profile: 0x0010 (DVD-ROM)
Profile: 0x000A (CD-RW)
Profile: 0x0009 (CD-R)
Profile: 0x0008 (CD-ROM)
book type:     DVD+R/DL (emulated booktype)
Product Id:    RITEK/S04/48
Producer:      Ritek Corp
Manufacturer:    'RITEK'
Media type:      'S04'

Mounted media class:      DVD
Mounted media type:       DVD+R/DL
Disk Is not erasable
disk status:              incomplete/appendable
session status:           empty
first track:              1
number of sessions:       1
first track in last sess: 1
last track in last sess:  1
Disk Is not unrestricted
Disk type: DVD, HD-DVD or BD

Track  Sess Type   Start Addr End Addr   Size
==============================================
    1     1 Blank  1802912    4173823    2370912   

Next writable address:              1802912   
Remaining writable size:            2370912   


------


I guess the DVD+R DL is now ruined. So I take another empty one, and
burn it with your recommended method:

$ growisofs -Z /dev/sr2=backup.iso -speed 1

Result: a success.



Reply to: