The following are my system details: Linux Kernel 3.19.0-32-generic Linux Mint 17.3 x64 Cinnamon - Rosa Cinnamon 2.8.6 Nemo 2.8.6 K3B 4.14.2 In essence I have tried creating multisession DVD's from scratch using a blank Verbatim DVD on each test run. The tests I did were in 3 Steps (detailed below). I have tried these test burns many times and always get the same results. This strikes me as a severe problem as it means that in essence K3b is not capable of burning multisession DVD's (at least on my system). In case the information is important I would note that Linux Mint comes with the Brasero burner as part of the default install of the Linux Mint. Before installing K3b to the system I uninstalled all of Brasero and its components: (1) Brasero - CD/DVD burning application for Gnome. (2) Brasero-cdrkit - cdrkit for the Brasero burning application (3) Brasero-common - Common files for the brasero CD burning application. Only after the did install K3b. I installed as follows: Installed K3B. Installed K3B-data - data files (When this installed it said 7MB of disk space freed. Maybe shouldn't install this.) K3B-extrathemes Then I installed cdrtools. The components of cdrtools that I installed were as follows: cdda2wav cdrecord mkisofs STEP 1: Insert blank disk in tray and chose New Data Project. Add one file to the project to be burned. Any changes made to the 'Burn Medium' settings were as follows: (1) Writing: Enabled "Verify written data". (2) Filesystem: "Volume Name" set to TEST (3) Misc: "Multisession Mode: set to Start Multisession. Burn one file (652.0 MiB) to the DVD which seems to have worked fine. Now I have multisession DVD to which, in theory, I should be able to add other files to. STEP 2: Now try adding a new file to the DVD just burned. Select "Continue Multisession Project". For "session to import" selected Session 1 (TEST) - which was the only session possible to select. (The "Medium" dialogue says there is 3.7 GiB free space and the DVD is appendable.) Any changes made to the Burn Medium settings were as follows: (1) Writing: set to "Verify written data" (2) Multisession Mode: set to "Continue Multisession. Then clicked the Burn button. The result of this is that K3B shows an failed error message saying: (1) Probably a buffer underrun occurred. (2) Please choose a lower burning speed. The Debugging Output log was as follows: ========================================================= Devices ----------------------- ATAPI iHAS122 E 2L03 (/dev/sr0, CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite, Layer Jump] [%7] HL-DT-ST DVDRAM GE20LU10 FE05 (/dev/sr1, CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite, Layer Jump] [%7] K3b::IsoImager ----------------------- mkisofs print size result: 333833 (683689984 bytes) System ----------------------- K3b Version: 2.0.2 KDE Version: 4.14.2 QT Version: 4.8.6 Kernel: 3.19.0-32-generic Used versions ----------------------- mkisofs: 3.1a28 cdrecord: 3.1a28 cdrecord ----------------------- scsidev: '/dev/sr0' devname: '/dev/sr0' scsibus: -2 target: -2 lun: -2 Warning: Open by 'devname' is unintentional and not supported. Linux sg driver version: 3.5.27 SCSI buffer size: 64512 cdrecord: Warning: Cannot read drive buffer. cdrecord: Warning: The DMA speed test has been skipped. Cdrecord-ProDVD-ProBD-Clone 3.01a28 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2015 Joerg Schilling TOC Type: 1 = CD-ROM Waiting for data on stdin... Using libscg version 'schily-0.9'. Driveropts: 'burnfree' atapi: 1 Device type : Removable CD-ROM Version : 5 Response Format: 2 Capabilities : Vendor_info : 'ATAPI ' Identifikation : 'iHAS122 E ' Revision : '2L03' Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM. Current: DVD-R sequential recording Profile: DVD+R/DL Profile: DVD+R Profile: DVD+RW Profile: DVD-R/DL layer jump recording Profile: DVD-R/DL sequential recording Profile: DVD-RW sequential recording Profile: DVD-RW restricted overwrite Profile: DVD-RAM Profile: DVD-R sequential recording (current) Profile: DVD-ROM Profile: CD-RW Profile: CD-R Profile: CD-ROM Profile: Removable Disk Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd). Driver flags : NO-CD DVD MMC-3 SWABAUDIO BURNFREE FORCESPEED Supported modes: PACKET SAO LAYER_JUMP Drive buf size : 393216 = 384 KB FIFO size : 4194304 = 4096 KB cdrecord: Data does not fit on current disk. Track 01: data 652 MB Total size: 652 MB = 333833 sectors Current Secsize: 2048 WARNING: Phys disk size 333984 differs from rzone size 0! Prerecorded disk? WARNING: Phys start: 196608 Phys end 530591 WARNING: Drive returns zero media size. Using media size from ADIP. Blocks total: 333984 Blocks current: -28688 Blocks remaining: -362521 cdrecord command: ----------------------- /usr/bin/cdrecord -v gracetime=2 dev=/dev/sr0 speed=16 -sao driveropts=burnfree -multi -waiti -data -tsize=333833s - mkisofs ----------------------- mkisofs: Warning: Cannot add inode hints with -no-cache-inodes. SUSP signatures version 1 found Rock Ridge signatures version 1 found Rock Ridge id 'RRIP_1991A' 333833 mkisofs: Warning: Cannot add inode hints with -no-cache-inodes. Setting input-charset to 'UTF-8' from locale. SUSP signatures version 1 found Rock Ridge signatures version 1 found Rock Ridge id 'RRIP_1991A' Using THE_VOICE___THE_COSMOS_A000.AVI;1 for /The Voice - The Cosmos and the Quantum Universe 1 (2008).avi (The Voice - The Cosmos and the Quantum Universe 2 (2008).avi) mkisofs calculate size command: ----------------------- /usr/bin/mkisofs -cdrecord-params 16,362672 -prev-session /dev/sr0 -gui -graft-points -print-size -quiet -volid TEST -volset -appid K3B THE CD KREATOR (C) 1998-2010 SEBASTIAN TRUEG AND MICHAL MALEK -publisher -preparer -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/kde-radish/k3beD8096.tmp -rational-rock -hide-list /tmp/kde-radish/k3boB8096.tmp -joliet -joliet-long -hide-joliet-list /tmp/kde-radish/k3bju8096.tmp -no-cache-inodes -full-iso9660-filenames -iso-level 3 -path-list /tmp/kde-radish/k3bEt8096.tmp mkisofs command: ----------------------- /usr/bin/mkisofs -cdrecord-params 16,362672 -prev-session /dev/sr0 -gui -graft-points -volid TEST -volset -appid K3B THE CD KREATOR (C) 1998-2010 SEBASTIAN TRUEG AND MICHAL MALEK -publisher -preparer -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/kde-radish/k3bNy8096.tmp -rational-rock -hide-list /tmp/kde-radish/k3bhK8096.tmp -joliet -joliet-long -hide-joliet-list /tmp/kde-radish/k3bpN8096.tmp -no-cache-inodes -full-iso9660-filenames -iso-level 3 -path-list /tmp/kde-radish/k3bSs8096.tmp =============================================================== STEP 3: I try again but this time instead of leaving speed at "Auto" I set it to 6x. I get the following failed error messages: (1) cdrecord returned an unknown error (code 255). (2) If you are running an unpatched cdrecord version... (3) ... and this error also occurs with high quality media... (4) ...and the K3b FAQ does not help you... (5) ...please include the debugging output in your problem report. The Debugging Output log was as follows: ================================================= Devices ----------------------- ATAPI iHAS122 E 2L03 (/dev/sr0, CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite, Layer Jump] [%7] HL-DT-ST DVDRAM GE20LU10 FE05 (/dev/sr1, CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite, Layer Jump] [%7] K3b::IsoImager ----------------------- mkisofs print size result: 333833 (683689984 bytes) System ----------------------- K3b Version: 2.0.2 KDE Version: 4.14.2 QT Version: 4.8.6 Kernel: 3.19.0-32-generic Used versions ----------------------- mkisofs: 3.1a28 cdrecord: 3.1a28 cdrecord ----------------------- scsidev: '/dev/sr0' devname: '/dev/sr0' scsibus: -2 target: -2 lun: -2 Warning: Open by 'devname' is unintentional and not supported. Linux sg driver version: 3.5.27 SCSI buffer size: 64512 cdrecord: Warning: Cannot read drive buffer. cdrecord: Warning: The DMA speed test has been skipped. Cdrecord-ProDVD-ProBD-Clone 3.01a28 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2015 Joerg Schilling TOC Type: 1 = CD-ROM Waiting for data on stdin... Using libscg version 'schily-0.9'. Driveropts: 'burnfree' atapi: 1 Device type : Removable CD-ROM Version : 5 Response Format: 2 Capabilities : Vendor_info : 'ATAPI ' Identifikation : 'iHAS122 E ' Revision : '2L03' Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM. Current: DVD-R sequential recording Profile: DVD+R/DL Profile: DVD+R Profile: DVD+RW Profile: DVD-R/DL layer jump recording Profile: DVD-R/DL sequential recording Profile: DVD-RW sequential recording Profile: DVD-RW restricted overwrite Profile: DVD-RAM Profile: DVD-R sequential recording (current) Profile: DVD-ROM Profile: CD-RW Profile: CD-R Profile: CD-ROM Profile: Removable Disk Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd). Driver flags : NO-CD DVD MMC-3 SWABAUDIO BURNFREE FORCESPEED Supported modes: PACKET SAO LAYER_JUMP Drive buf size : 393216 = 384 KB FIFO size : 4194304 = 4096 KB cdrecord: Data does not fit on current disk. Track 01: data 652 MB Total size: 652 MB = 333833 sectors Current Secsize: 2048 WARNING: Phys disk size 333984 differs from rzone size 0! Prerecorded disk? WARNING: Phys start: 196608 Phys end 530591 WARNING: Drive returns zero media size. Using media size from ADIP. Blocks total: 333984 Blocks current: -28688 Blocks remaining: -362521 cdrecord command: ----------------------- /usr/bin/cdrecord -v gracetime=2 dev=/dev/sr0 speed=6 -sao driveropts=burnfree -multi -waiti -data -tsize=333833s - mkisofs ----------------------- mkisofs: Warning: Cannot add inode hints with -no-cache-inodes. SUSP signatures version 1 found Rock Ridge signatures version 1 found Rock Ridge id 'RRIP_1991A' 333833 mkisofs: Warning: Cannot add inode hints with -no-cache-inodes. Setting input-charset to 'UTF-8' from locale. SUSP signatures version 1 found Rock Ridge signatures version 1 found Rock Ridge id 'RRIP_1991A' Using THE_VOICE___THE_COSMOS_A000.AVI;1 for /The Voice - The Cosmos and the Quantum Universe 1 (2008).avi (The Voice - The Cosmos and the Quantum Universe 2 (2008).avi) mkisofs calculate size command: ----------------------- /usr/bin/mkisofs -cdrecord-params 16,362672 -prev-session /dev/sr0 -gui -graft-points -print-size -quiet -volid TEST -volset -appid K3B THE CD KREATOR (C) 1998-2010 SEBASTIAN TRUEG AND MICHAL MALEK -publisher -preparer -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/kde-radish/k3bKB8096.tmp -rational-rock -hide-list /tmp/kde-radish/k3bFv8096.tmp -joliet -joliet-long -hide-joliet-list /tmp/kde-radish/k3bwS8096.tmp -no-cache-inodes -full-iso9660-filenames -iso-level 3 -path-list /tmp/kde-radish/k3bIv8096.tmp mkisofs command: ----------------------- /usr/bin/mkisofs -cdrecord-params 16,362672 -prev-session /dev/sr0 -gui -graft-points -volid TEST -volset -appid K3B THE CD KREATOR (C) 1998-2010 SEBASTIAN TRUEG AND MICHAL MALEK -publisher -preparer -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/kde-radish/k3bIA8096.tmp -rational-rock -hide-list /tmp/kde-radish/k3bpw8096.tmp -joliet -joliet-long -hide-joliet-list /tmp/kde-radish/k3bXV8096.tmp -no-cache-inodes -full-iso9660-filenames -iso-level 3 -path-list /tmp/kde-radish/k3bYk8096.tmp ============================================================ Basically it seems impossible to burn a multisession DVD. How do I fix this? Reproducible: Always Steps to Reproduce: Please see "Details" for exactly the steps that I took in detail. Actual Results: Please see "Details" for full log of the actual results of my tests. Expected Results: Ideally the software should have just burned a multisession DVD without any issues.
*** This bug has been marked as a duplicate of bug 367639 ***
quote from Thomas Schmitt, looks like a problem with cdrecord and multi-session on DVD-R. Possible reasons are: 1) The first cdrecord run was not done with option -multi. I.e. the DVD-R is closed when the second run is attempted. 2) Option -sao of the second run spoiled the attempt to add a session. -sao could trigger write type Disk-At-Once which is not appropriate for media which already contain data. 3) cdrecord could be unwilling to do multi-session on DVD-R. I deem this unlikely, because i have seen reports that it works with DVD-R. Investigations and tries: 1) One should inspect the DVD-R after the first run by runs like cdrecord dev=/dev/sr0 -minfo dvd+rw-mediainfo /dev/sr0 xorriso -outdev /dev/sr0 -toc cdrskin dev=/dev/sr0 -toc xorriso would report for a DVD-R which capable of taking more data: Media status : is written , is appendable and for a DVD-R which cannot take more data Media status : is written , is closed 2) If the medium is reported to be "appendable", then leave out options -sao and -tsize. I.e. cdrecord -v gracetime=2 dev=/dev/sr0 speed=16 driveropts=burnfree -multi -waiti -data ./some_image_file 3) Try whether cdrecord does multi-session when run by command line cdrecord -v -multi dev=/dev/sr0 ./first_image_file cdrecord -v -multi dev=/dev/sr0 ./second_image_file Above inspection commands should afterwards report 2 sessions.