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

Zhang Weiwu <[email protected]>
Newsgroups gmane.comp.audio.cd-record
Message-ID <[email protected]>
 1st session: burnt successfully.

    newly purchased DVD+R DL (from TDK) burnt in the newly purchased LG
    Portable Super Multi GP08NU20 by first generating iso image and then
    wodim -multi at speed 2x.

    Result: wodim successfully finish without complaining. But later, to
    mount the DVD+R DL, I got a lot of error message [1] in kernel dmesg
    even though the mount is successful and all files can be
    successfully copied from the DVD+R DL to harddisk.

    Re-try mounting it from a different DVD drive (PLEXTOR PX-716AL)
    results exactly the same error message in dmesg, shows that this
    problem is probably related to the disco burnt. I decided to ignore
    these error message.

2nd session: doesn't work.

    Trying to burn it with growisofs:

    almustafa@orphalese:~$ growisofs -M /dev/sr1 -iso-level 3 -old-root / -R -exclude-list .exclude.lst -v -V ZWW_BKUP -dry-run .
    :-[ READ SESSION INFO failed with SK=5h/INVALID FIELD IN CDB]: Input/output error

    almustafa@orphalese:~$ dvd+rw-mediainfo /dev/sr1 
    INQUIRY:                [HL-DT-ST][DVDRAM GP08NU20 ][1.01]
    GET [CURRENT] CONFIGURATION:
     Mounted Media:         2Bh, DVD+R Double Layer
     Media ID:              RITEK/S04
     Current Write Speed:   6.0x1385=8310KB/s
     Write Speed #0:        6.0x1385=8310KB/s
     Write Speed #1:        4.0x1385=5540KB/s
     Write Speed #2:        2.4x1385=3324KB/s
     Speed Descriptor#0:    00/4294770688 [email protected]=8310KB/s [email protected]=8310KB/s
     Speed Descriptor#1:    00/4294770688 [email protected]=8310KB/s [email protected]=5540KB/s
     Speed Descriptor#2:    00/4294770688 [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:           appendable
     Number of Sessions:    1
     State of Last Session: incomplete
     "Next" Track:          1
     Number of Tracks:      3
    READ TRACK INFORMATION[#1]:
     Track State:           invisible
     Track Start Address:   0*2KB
     Free Blocks:           0*2KB
     Track Size:            812352*2KB
    READ TRACK INFORMATION[#2]:
     Track State:           reserved
     Track Start Address:   812368*2KB
     Next Writable Address: 812368*2KB
     Free Blocks:           812352*2KB
     Track Size:            812352*2KB
    READ TRACK INFORMATION[#3]:
     Track State:           blank
     Track Start Address:   1624736*2KB
     Next Writable Address: 1624736*2KB
     Free Blocks:           2549088*2KB
     Track Size:            2549088*2KB
    READ CAPACITY:          0*2048=0

    Trying to burn it using a different DVD drive (PLEXTOR PX-716AL),
    end up with rather different error message:

    almustafa@orphalese:~$ growisofs -M /dev/sr2 -iso-level 3 -old-root / -R -exclude-list .exclude.lst -v -V ZWW_BKUP -dry-run .
    Executing 'genisoimage -C 16,0 -M /dev/fd/3 -iso-level 3 -old-root / -R -exclude-list .exclude.lst -v -V ZWW_BKUP . | builtin_dd of=/dev/sr1 obs=32k seek=0'
    I: -input-charset not specified, using utf-8 (detected in locale settings)
    genisoimage: No such file or directory. Cannot open '/dev/fd/3'. Cannot open SCSI driver.
    genisoimage: No such file or directory. Unable to open previous session image '/dev/fd/3'.

    The error message is specially confusing for the unreasonable -C 16,0 part.


[1] Error message in dmesg when trying to mount the DVD+R DL:

    [  727.017866] firewire_sbp2: released fw1.0, target 2:0:0
    [  740.640842] firewire_core: phy config: card 0, new root=ffc1, gap_count=5
    [  741.604705] firewire_core: phy config: card 0, new root=ffc1, gap_count=5
    [  744.271047] scsi4 : SBP-2 IEEE-1394
    [  744.271252] firewire_core: created device fw1: GUID 0001a304501100ab, S400, 1 config ROM retries
    [  744.487634] firewire_sbp2: fw1.0: logged in to LUN 0000 (0 retries)
    [  744.489266] scsi 4:0:0:0: CD-ROM            PLEXTOR  DVDR   PX-716AL  1.02 PQ: 0 ANSI: 0 CCS
    [  744.497392] sr1: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda caddy
    [  744.498660] sr 4:0:0:0: Attached scsi CD-ROM sr1
    [  744.500392] sr 4:0:0:0: Attached scsi generic sg2 type 5
    [  786.682688] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  786.682705] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  786.682720] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  786.682739] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 44 00 00 02 00
    [  786.682768] end_request: I/O error, dev sr1, sector 3249424
    [  786.682780] quiet_error: 9 callbacks suppressed
    [  786.682789] Buffer I/O error on device sr1, logical block 812356
    [  786.682801] Buffer I/O error on device sr1, logical block 812357
    [  787.185058] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  787.185074] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  787.185088] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  787.185106] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 44 00 00 02 00
    [  787.185135] end_request: I/O error, dev sr1, sector 3249424
    [  787.185146] Buffer I/O error on device sr1, logical block 812356
    [  787.185158] Buffer I/O error on device sr1, logical block 812357
    [  788.940096] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  788.940113] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  788.940128] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  788.940147] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 48 00 00 01 00
    [  788.940176] end_request: I/O error, dev sr1, sector 3249440
    [  788.940191] Buffer I/O error on device sr1, logical block 812360
    [  789.458688] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  789.458697] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  789.458705] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  789.458715] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 48 00 00 01 00
    [  789.458729] end_request: I/O error, dev sr1, sector 3249440
    [  789.458737] Buffer I/O error on device sr1, logical block 812360
    [  789.741049] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  789.741064] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  789.741078] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  789.741096] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 48 00 00 01 00
    [  789.741124] end_request: I/O error, dev sr1, sector 3249440
    [  789.741136] Buffer I/O error on device sr1, logical block 812360
    [  790.276574] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  790.276589] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  790.276604] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  790.276621] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 48 00 00 01 00
    [  790.276649] end_request: I/O error, dev sr1, sector 3249440
    [  790.276662] Buffer I/O error on device sr1, logical block 812360
    [  790.575501] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  790.575516] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  790.575531] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  790.575549] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 48 00 00 01 00
    [  790.575577] end_request: I/O error, dev sr1, sector 3249440
    [  790.575589] Buffer I/O error on device sr1, logical block 812360
    [  791.160571] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  791.160587] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  791.160602] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  791.160621] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 48 00 00 01 00
    [  791.160651] end_request: I/O error, dev sr1, sector 3249440
    [  791.160665] Buffer I/O error on device sr1, logical block 812360
    [  791.459502] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  791.459518] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  791.459533] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  791.459552] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 48 00 00 01 00
    [  791.459581] end_request: I/O error, dev sr1, sector 3249440
    [  792.578058] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  792.578070] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  792.578078] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  792.578088] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 44 00 00 02 00
    [  792.578103] end_request: I/O error, dev sr1, sector 3249424
    [  792.578111] quiet_error: 1 callbacks suppressed
    [  792.578116] Buffer I/O error on device sr1, logical block 812356
    [  792.578122] Buffer I/O error on device sr1, logical block 812357
    [  793.113656] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  793.113675] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  793.113690] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  793.113708] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 46 00 00 02 00
    [  793.113738] end_request: I/O error, dev sr1, sector 3249432
    [  793.113753] Buffer I/O error on device sr1, logical block 812358
    [  793.113764] Buffer I/O error on device sr1, logical block 812359
    [  793.396023] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  793.396041] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  793.396056] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  793.396075] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 48 00 00 01 00
    [  793.396105] end_request: I/O error, dev sr1, sector 3249440
    [  793.396119] Buffer I/O error on device sr1, logical block 812360
    [  793.947712] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  793.947728] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  793.947743] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  793.947762] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 48 00 00 01 00
    [  793.947791] end_request: I/O error, dev sr1, sector 3249440
    [  793.947806] Buffer I/O error on device sr1, logical block 812360
    [  794.230068] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  794.230084] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  794.230099] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  794.230117] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 46 00 00 02 00
    [  794.230146] end_request: I/O error, dev sr1, sector 3249432
    [  794.230160] Buffer I/O error on device sr1, logical block 812358
    [  794.230171] Buffer I/O error on device sr1, logical block 812359
    [  802.712337] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  802.712355] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  802.712370] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  802.712388] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 44 00 00 02 00
    [  802.712418] end_request: I/O error, dev sr1, sector 3249424
    [  802.712432] Buffer I/O error on device sr1, logical block 812356
    [  802.712443] Buffer I/O error on device sr1, logical block 812357
    [  803.247557] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  803.247575] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  803.247589] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  803.247608] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 44 00 00 02 00
    [  803.247637] end_request: I/O error, dev sr1, sector 3249424
    [  803.247650] Buffer I/O error on device sr1, logical block 812356
    [  803.247661] Buffer I/O error on device sr1, logical block 812357
    [  804.979294] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  804.979314] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  804.979329] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  804.979347] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 48 00 00 01 00
    [  804.979377] end_request: I/O error, dev sr1, sector 3249440
    [  804.979390] Buffer I/O error on device sr1, logical block 812360
    [  805.498106] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  805.498120] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  805.498134] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  805.498150] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 48 00 00 01 00
    [  805.498178] end_request: I/O error, dev sr1, sector 3249440
    [  805.498189] Buffer I/O error on device sr1, logical block 812360
    [  805.780450] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  805.780463] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  805.780477] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  805.780493] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 48 00 00 01 00
    [  805.780521] end_request: I/O error, dev sr1, sector 3249440
    [  805.780531] Buffer I/O error on device sr1, logical block 812360
    [  806.315578] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  806.315596] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  806.315611] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  806.315629] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 48 00 00 01 00
    [  806.315659] end_request: I/O error, dev sr1, sector 3249440
    [  806.315672] Buffer I/O error on device sr1, logical block 812360
    [  806.597900] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  806.597914] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  806.597927] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  806.597944] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 48 00 00 01 00
    [  806.597972] end_request: I/O error, dev sr1, sector 3249440
    [  806.597982] Buffer I/O error on device sr1, logical block 812360
    [  807.116524] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  807.116542] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  807.116557] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  807.116576] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 48 00 00 01 00
    [  807.116605] end_request: I/O error, dev sr1, sector 3249440
    [  807.116618] Buffer I/O error on device sr1, logical block 812360
    [  807.415480] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  807.415498] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  807.415512] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  807.415531] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 48 00 00 01 00
    [  807.415560] end_request: I/O error, dev sr1, sector 3249440
    [  808.517712] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  808.517730] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  808.517745] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  808.517764] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 44 00 00 02 00
    [  808.517794] end_request: I/O error, dev sr1, sector 3249424
    [  808.517807] quiet_error: 1 callbacks suppressed
    [  808.517815] Buffer I/O error on device sr1, logical block 812356
    [  808.517826] Buffer I/O error on device sr1, logical block 812357
    [  809.036188] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  809.036200] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  809.036207] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  809.036217] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 46 00 00 02 00
    [  809.036232] end_request: I/O error, dev sr1, sector 3249432
    [  809.036240] Buffer I/O error on device sr1, logical block 812358
    [  809.036246] Buffer I/O error on device sr1, logical block 812359
    [  809.318533] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  809.318545] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  809.318552] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  809.318563] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 48 00 00 01 00
    [  809.318577] end_request: I/O error, dev sr1, sector 3249440
    [  809.318586] Buffer I/O error on device sr1, logical block 812360
    [  809.854036] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  809.854054] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  809.854069] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  809.854088] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 48 00 00 01 00
    [  809.854117] end_request: I/O error, dev sr1, sector 3249440
    [  809.854131] Buffer I/O error on device sr1, logical block 812360
    [  810.152931] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [  810.152950] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current] 
    [  810.152965] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
    [  810.152984] sr 4:0:0:0: [sr1] CDB: Read(10): 28 00 00 0c 65 46 00 00 02 00
    [  810.153014] end_request: I/O error, dev sr1, sector 3249432
    [  810.153028] Buffer I/O error on device sr1, logical block 812358
    [  810.153040] Buffer I/O error on device sr1, logical block 812359
    [  821.402220] ISO 9660 Extensions: RRIP_1991A



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.