Bug 217301 - Image will not burn directly after creation
Summary: Image will not burn directly after creation
Status: RESOLVED FIXED
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: 1.69.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
: 226746 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-04 08:45 UTC by Chris Woelkers
Modified: 2010-02-14 10:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Woelkers 2009-12-04 08:45:45 UTC
Version:           1.69.0 (using KDE 4.3.3)
OS:                Linux
Installed from:    openSUSE RPMs

When going to burn an archival DVD of files from an NFS share, I always choose to create an image first. The image is successfully created but it will not burn.

Steps to replicate.
1. Insert a blank DVD into the burner.
2. Open K3B and select the New Data Project button at the bottom.
3. Add the files that you want to burn.
4. Select the burn button.
5. Check the box under settings marked "Create Image", leave all other boxes as they are.
6. Click the burn button at the bottom of the dialog and let it do its stuff.

After the image is created, the burner will start to spin the disc and sounds like it wants to try to access it. After a few moments however the burner stops spinning the disc and K3B will just sit there waiting for something to happen. The application is not hung or unresponsive it just sits there. Clicking on the cancel button will eject the disc and delete the image, if "Remove Image" was selected in the burn dialog under settings.

If the image is not deleted then it is possible to burn the image directly to disc using "Burn Image" under tools without any problem.

Please note that I have not experimented with trying to reproduce this problem with local files or without creating an image first. I also have no problems with burning images to other media, such as CD-RWs or DVD-RWs.


What follows is the log from one of the failed attempts. Portions of the mkisofs log have been removed to shorten this description.

Devices
-----------------------
MATSHITA DVD-RAM UJ880ES 1.90 (/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-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, Restricted Overwrite] [%7]

K3b::IsoImager
-----------------------
mkisofs print size result: 2289782 (4689473536 bytes)

System
-----------------------
K3b Version: 1.69.0
KDE Version: 4.3.3 (KDE 4.3.3) "release 180"
QT Version:  4.5.3
Kernel:      2.6.31.5-0.1-pae

Used versions
-----------------------
mkisofs: 1.1.9
cdrecord: 1.1.9

cdrecord
-----------------------
/usr/bin/wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.9
SCSI buffer size: 64512
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
TOC Type: 1 = CD-ROM
Driveropts: 'burnfree'
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   : 
Vendor_info    : 'MATSHITA'
Identification : 'DVD-RAM UJ880ES '
Revision       : '1.90'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0011 (DVD-R sequential recording)
Profile: 0x0012 (DVD-RAM) 
Profile: 0x002B (DVD+R/DL) 
Profile: 0x001B (DVD+R) 
Profile: 0x001A (DVD+RW) 
Profile: 0x0015 (DVD-R/DL sequential recording) 
Profile: 0x0013 (DVD-RW restricted overwrite) 
Profile: 0x0014 (DVD-RW sequential recording) 
Profile: 0x0011 (DVD-R sequential recording) (current)
Profile: 0x0010 (DVD-ROM) 
Profile: 0x000A (CD-RW) 
Profile: 0x0009 (CD-R) 
Profile: 0x0008 (CD-ROM) 
Profile: 0x0002 (Removable disk) 
Profile: 0xFFFF () 
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags   : SWABAUDIO BURNFREE 
Supported modes: PACKET SAO
Drive buf size : 1605632 = 1568 KB
FIFO size      : 4194304 = 4096 KB
Speed set to 11080 KB/s
Track 01: data  4472 MB        
Total size:     5136 MB (508:50.42) = 2289782 sectors
Lout start:     5136 MB (508:52/32) = 2289782 sectors
Current Secsize: 2048
HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 8714
Starting to write CD/DVD at speed   8.0 in real SAO mode for single session.
Last chance to quit, starting real write in    2 seconds.
   1 seconds.
   0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... /usr/bin/wodim: Caught interrupt.
/usr/bin/wodim: fifo had 0 puts and 0 gets.
/usr/bin/wodim: fifo was 1 times empty and 0 times full, min fill was 0%.

cdrecord command:
-----------------------
/usr/bin/wodim -v gracetime=2 dev=/dev/sr0 speed=8 -sao driveropts=burnfree -data -tsize=2289782s -

mkisofs
-----------------------
2289782
I: -input-charset not specified, using utf-8 (detected in locale settings)
Using HISTORYS_STRONGEST_DISCIP000.TG;1 for  manga/Historys Strongest Disciple Kenichi/Historys_Strongest_Disciple_Kenichi_v34.tar.gz (Historys_Strongest_Disciple_Kenichi_v33[Nerieru].tar.gz)
  0.02% done, estimate finish Fri Dec  4 02:17:53 2009
  0.04% done, estimate finish Fri Dec  4 02:17:53 2009
  0.07% done, estimate finish Fri Dec  4 02:17:53 2009
  0.09% done, estimate finish Fri Dec  4 02:17:53 2009
  0.11% done, estimate finish Fri Dec  4 02:17:53 2009
  0.13% done, estimate finish Fri Dec  4 02:17:53 2009
  0.15% done, estimate finish Fri Dec  4 02:17:53 2009
  0.17% done, estimate finish Fri Dec  4 02:17:53 2009
  0.20% done, estimate finish Fri Dec  4 02:26:21 2009
  0.22% done, estimate finish Fri Dec  4 02:25:29 2009
  0.24% done, estimate finish Fri Dec  4 02:24:48 2009
  0.26% done, estimate finish Fri Dec  4 02:24:14 2009
  0.28% done, estimate finish Fri Dec  4 02:23:45 2009
  0.31% done, estimate finish Fri Dec  4 02:23:19 2009
  0.33% done, estimate finish Fri Dec  4 02:22:57 2009
  0.35% done, estimate finish Fri Dec  4 02:22:38 2009
  0.37% done, estimate finish Fri Dec  4 02:22:22 2009
  0.39% done, estimate finish Fri Dec  4 02:22:06 2009
  0.42% done, estimate finish Fri Dec  4 02:21:53 2009
  0.44% done, estimate finish Fri Dec  4 02:21:41 2009
  0.46% done, estimate finish Fri Dec  4 02:25:09 2009
  0.48% done, estimate finish Fri Dec  4 02:24:48 2009
  0.50% done, estimate finish Fri Dec  4 02:24:30 2009
  0.52% done, estimate finish Fri Dec  4 02:24:14 2009
                       .
                       .
 24.96% done, estimate finish Fri Dec  4 02:24:33 2009
 24.98% done, estimate finish Fri Dec  4 02:24:33 2009
 25.00% done, estimate finish Fri Dec  4 02:24:32 2009
 25.02% done, estimate finish Fri Dec  4 02:24:32 2009
 25.05% done, estimate finish Fri Dec  4 02:24:32 2009
                       .
                       .
 49.96% done, estimate finish Fri Dec  4 02:24:33 2009
 49.98% done, estimate finish Fri Dec  4 02:24:33 2009
 50.01% done, estimate finish Fri Dec  4 02:24:34 2009
 50.03% done, estimate finish Fri Dec  4 02:24:34 2009
                       .
                       .
 74.96% done, estimate finish Fri Dec  4 02:24:34 2009
 74.99% done, estimate finish Fri Dec  4 02:24:34 2009
 75.01% done, estimate finish Fri Dec  4 02:24:34 2009
 75.03% done, estimate finish Fri Dec  4 02:24:34 2009
                       .
                       .
 99.51% done, estimate finish Fri Dec  4 02:24:34 2009
 99.53% done, estimate finish Fri Dec  4 02:24:34 2009
 99.55% done, estimate finish Fri Dec  4 02:24:34 2009
 99.57% done, estimate finish Fri Dec  4 02:24:34 2009
 99.60% done, estimate finish Fri Dec  4 02:24:34 2009
 99.62% done, estimate finish Fri Dec  4 02:24:34 2009
 99.64% done, estimate finish Fri Dec  4 02:24:34 2009
 99.66% done, estimate finish Fri Dec  4 02:24:35 2009
 99.68% done, estimate finish Fri Dec  4 02:24:35 2009
 99.70% done, estimate finish Fri Dec  4 02:24:35 2009
 99.73% done, estimate finish Fri Dec  4 02:24:35 2009
 99.75% done, estimate finish Fri Dec  4 02:24:35 2009
 99.77% done, estimate finish Fri Dec  4 02:24:34 2009
 99.79% done, estimate finish Fri Dec  4 02:24:34 2009
 99.81% done, estimate finish Fri Dec  4 02:24:34 2009
 99.84% done, estimate finish Fri Dec  4 02:24:34 2009
 99.86% done, estimate finish Fri Dec  4 02:24:34 2009
 99.88% done, estimate finish Fri Dec  4 02:24:34 2009
 99.90% done, estimate finish Fri Dec  4 02:24:35 2009
 99.92% done, estimate finish Fri Dec  4 02:24:35 2009
 99.94% done, estimate finish Fri Dec  4 02:24:35 2009
 99.97% done, estimate finish Fri Dec  4 02:24:35 2009
 99.99% done, estimate finish Fri Dec  4 02:24:35 2009
Total translation table size: 0
Total rockridge attributes bytes: 3256
Total directory bytes: 8688
Path table size(bytes): 90
Max brk space used 0
2289782 extents written (4472 MB)

mkisofs calculate size command:
-----------------------
/usr/bin/genisoimage -gui -graft-points -print-size -quiet -volid anime -volset  -appid K3B THE CD KREATOR (C) 1998-2009 SEBASTIAN TRUEG -publisher  -preparer  -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/kde-chris/k3bL23693.tmp -rational-rock -hide-list /tmp/kde-chris/k3bB23693.tmp -joliet -joliet-long -hide-joliet-list /tmp/kde-chris/k3bE23693.tmp -no-cache-inodes -full-iso9660-filenames -iso-level 3 -path-list /tmp/kde-chris/k3bZ23693.tmp

mkisofs command:
-----------------------
/usr/bin/genisoimage -gui -graft-points -volid anime -volset  -appid K3B THE CD KREATOR (C) 1998-2009 SEBASTIAN TRUEG -publisher  -preparer  -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/kde-chris/k3bz23693.tmp -rational-rock -hide-list /tmp/kde-chris/k3by23693.tmp -joliet -joliet-long -hide-joliet-list /tmp/kde-chris/k3bg23693.tmp -no-cache-inodes -full-iso9660-filenames -iso-level 3 -path-list /tmp/kde-chris/k3bm23693.tmp
Comment 1 Michał Małek 2009-12-10 00:02:09 UTC
SVN commit 1060800 by mmalek:

When writing data with "Create image" option checked, after the image is created reopen it with "read-only" flag. Otherwise the pipe fails as it can't read from write-only QIODevice.
BUG: 217301

 M  +8 -5      k3bdatajob.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1060800
Comment 2 Michał Małek 2009-12-10 00:02:56 UTC
Thanks for such descriptive report, it really helps.
Comment 3 Michał Małek 2010-02-14 10:21:01 UTC
*** Bug 226746 has been marked as a duplicate of this bug. ***