Bug 138641 - Burning DVD-R Double Layer fails with "Input/Output error" when running growisofs
Summary: Burning DVD-R Double Layer fails with "Input/Output error" when running growi...
Status: RESOLVED NOT A BUG
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-10 21:08 UTC by Grand Apeiron
Modified: 2007-01-02 21:07 UTC (History)
0 users

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 Grand Apeiron 2006-12-10 21:08:19 UTC
Version:           0.12.17 (using KDE KDE 3.5.5)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Hi!,

please help me with the following topic. 
I am trying to burn a DVD-R Double Layer with my LG GSA-H10N Burner. I tried several available firmware version. But k3b is always ending up with the same error message (debug output see below). I am running k3b suid root so file or hardware access should not be the problem. This seems like an error either with that specific hardware (please give me a hint how to check if the burner itself is the problem) or with k3b burning double layer media.

Thanx in advance for your help and time! 
Best Regards,
Grand Apeiron

System
-----------------------
K3b Version: 0.12.17

KDE Version: 3.5.5
QT Version:  3.3.7
Kernel:      2.6.11-1-k7
Devices
-----------------------
IDE DVD-ROM 16X 2.21 (/dev/hdd, ) at /mnt/dvd [CD-ROM; DVD-ROM] [DVD-ROM; CD-ROM] [None]

HL-DT-ST DVDRAM GSA-H10N JJ11 (/dev/hdc, ) at /mnt/cdrw [CD-R; CD-RW; CD-ROM; DVD-ROM; DVD-RAM; 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 Double Layer; CD-ROM; CD-R; CD-RW] [SAO; TAO; RAW; SAO/R96P; SAO/R96R; RAW/R16; RAW/R96P; RAW/R96R; Restricted Overwrite]
Used versions
-----------------------
growisofs: 7.0.1
mkisofs: 1.1.0

growisofs
-----------------------
I: -input-charset not specified, using iso-8859-15 (detected in locale settings)
Using ABFAHRT_NACH_NAVAZZO_TOU000.AVI;1 for  Multimedia/images/Floko_Photos/Biken/20030922_Gardasee_September_2003/Bilder_gardasee/Abfahrt nach Navazzo_Tour11_0213.avi (Abfahrt nach Navazzo_Tour11_0212.avi)
  0.03% done, estimate finish Sun Dec 10 20:55:44 2006
  0.05% done, estimate finish Sun Dec 10 20:55:44 2006
  0.06% done, estimate finish Sun Dec 10 20:55:44 2006
  0.08% done, estimate finish Sun Dec 10 20:55:44 2006
  0.09% done, estimate finish Sun Dec 10 20:55:44 2006
  0.11% done, estimate finish Sun Dec 10 20:55:44 2006
  0.12% done, estimate finish Sun Dec 10 20:55:44 2006
  0.14% done, estimate finish Sun Dec 10 20:55:44 2006
  0.15% done, estimate finish Sun Dec 10 20:55:44 2006
  0.17% done, estimate finish Sun Dec 10 20:55:44 2006
  0.18% done, estimate finish Sun Dec 10 20:55:44 2006
  0.20% done, estimate finish Sun Dec 10 20:55:44 2006
  0.22% done, estimate finish Sun Dec 10 20:55:44 2006
  0.23% done, estimate finish Sun Dec 10 20:55:44 2006
  0.25% done, estimate finish Sun Dec 10 20:55:44 2006
  0.26% done, estimate finish Sun Dec 10 20:55:44 2006
  0.28% done, estimate finish Sun Dec 10 20:55:44 2006
  0.29% done, estimate finish Sun Dec 10 20:55:44 2006
  0.31% done, estimate finish Sun Dec 10 20:55:44 2006
  0.32% done, estimate finish Sun Dec 10 20:55:44 2006
  0.34% done, estimate finish Sun Dec 10 20:55:44 2006
  0.35% done, estimate finish Sun Dec 10 20:55:44 2006
  0.37% done, estimate finish Sun Dec 10 20:55:44 2006
  0.38% done, estimate finish Sun Dec 10 20:55:44 2006
  0.40% done, estimate finish Sun Dec 10 20:55:44 2006
  0.41% done, estimate finish Sun Dec 10 20:55:44 2006
  0.43% done, estimate finish Sun Dec 10 20:55:44 2006
  0.45% done, estimate finish Sun Dec 10 20:55:44 2006
  0.46% done, estimate finish Sun Dec 10 20:55:44 2006
  0.48% done, estimate finish Sun Dec 10 20:55:44 2006
  0.49% done, estimate finish Sun Dec 10 20:55:44 2006
:-[ READ DVD STRUCTURE #10h failed with SK=8h/ASC=ABh/ACQ=80h]: Input/output error

growisofs command:
-----------------------
/usr/bin/X11/growisofs -Z /dev/hdc -use-the-force-luke=notray -use-the-force-luke=tty -speed=6 -overburn -use-the-force-luke=bufsize:32m -gui -graft-points -volid K3b data project -volset  -appid K3B THE CD KREATOR (C) 1998-2005 SEBASTIAN TRUEG AND THE K3B TEAM -publisher  -preparer  -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/kde-root/k3bKl8sFb.tmp -rational-rock -hide-list /tmp/kde-root/k3bkGbrla.tmp -joliet -hide-joliet-list /tmp/kde-root/k3bhtUzWa.tmp -full-iso9660-filenames -iso-level 2 -path-list /tmp/kde-root/k3bS2ORec.tmp
Comment 1 Sebastian Trueg 2006-12-11 16:12:40 UTC
> growisofs: 7.0.1


what is this? there is no version 7.0.1 released yet.

btw: NEVER run k3b as root. Fix the permissions instead. Use K3bSetup if 
available.
Comment 2 Grand Apeiron 2006-12-13 00:18:03 UTC
Hi, thank you much for your answer. I know about the root topic. But once I just had to much problems getting k3b running as non-root user. And now i won't switch back until it is at least working as root. 

Semms like growisofs is printing out the version of the Debian Package "dvd+rw-tools" it is contained in. The message of "growisofs --version" says this is because there are some programs which won't work if the correct version is printed out (crazy things are out there ;):

ob@HAL-9006:~$ growisofs --version
* growisofs by <appro@fy.chalmers.se>, version 7.0.1,
  front-ending to mkisofs: mkisofs 2.01 is not what you see here. This line is only a fake for too clever
GUIs and other frontend applications. In fact, this program is:
genisoimage 1.1.0 (Linux)


ob@HAL-9006:~$ dpkg -l | grep dvd
ii  dvd+rw-tools      7.0-4    DVD+-RW/R tools


ob@HAL-9006:~$ dpkg -L dvd+rw-tools
/.
/usr
/usr/bin
/usr/bin/growisofs
/usr/bin/rpl8
/usr/bin/btcflash
/usr/bin/dvd+rw-booktype
/usr/bin/dvd+rw-mediainfo
/usr/bin/dvd+rw-format
/usr/bin/dvd-ram-control
/usr/share
/usr/share/doc
/usr/share/doc/dvd+rw-tools
/usr/share/doc/dvd+rw-tools/dvd-rw.html
/usr/share/doc/dvd+rw-tools/copyright
/usr/share/doc/dvd+rw-tools/index.html
/usr/share/doc/dvd+rw-tools/isofs4gb.gif
/usr/share/doc/dvd+rw-tools/changelog.gz
/usr/share/doc/dvd+rw-tools/changelog.Debian.gz
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/dvd+rw-mediainfo.1.gz
/usr/share/man/man1/dvd+rw-booktype.1.gz
/usr/share/man/man1/growisofs.1.gz
/usr/share/man/man1/dvd+rw-format.1.gz
/usr/share/man/man8
/usr/share/man/man8/rpl8.8.gz
/usr/share/man/man8/btcflash.8.gz


* growisofs by <appro@fy.chalmers.se>, version 7.0.1,
  front-ending to mkisofs: mkisofs 2.01 is not what you see here. This line is only a fake for too clever
GUIs and other frontend applications. In fact, this program is:
genisoimage 1.1.0 (Linux)


Any ideas how to dig deeper into this problem to find the root cause? (or might it be solved if I run k3b as non root user???)

Thanks again! 
Greetings from Munich,
Grand Apeirong
Comment 3 Sebastian Trueg 2006-12-13 09:17:04 UTC
It would be best if you could try installing k3b 1.0rc1 and run it as user. You can use K3bSetup to setup your system to make K3b work as user.
Comment 4 Sebastian Trueg 2006-12-13 11:27:01 UTC
K3b 1.1 will bring cdrecord dvd burning support.
Comment 5 Grand Apeiron 2006-12-29 21:55:10 UTC
Hi Sebastian,

hope you had a nice christmas =). I tried now with k3b 1.0rc2 as non-root user. But with the same result in the end (though it now takes longer until the error comes up). This is the output.

K3B Debugging: 
System
-----------------------
K3b Version: 1.0rc2

KDE Version: 3.5.5
QT Version:  3.3.7
Kernel:      2.6.11-1-k7
Devices
-----------------------
IDE DVD-ROM 16X 2.21 (/dev/hdd, ) [CD-ROM, DVD-ROM] [DVD-ROM, CD-ROM] [None]

HL-DT-ST DVDRAM GSA-H10N JJ11 (/dev/hdc, ) [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, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite]
Used versions
-----------------------
mkisofs: 2.1
growisofs: 7.0.1

growisofs
-----------------------
Executing 'builtin_dd if=/dev/fd/0 of=/dev/hdc obs=32k seek=0'
:-[ READ DVD STRUCTURE #10h failed with SK=8h/ASC=ABh/ACQ=80h]: Input/output error

growisofs command:
-----------------------
/usr/bin/X11/growisofs -Z /dev/hdc=/dev/fd/0 -use-the-force-luke=notray -use-the-force-luke=tty -use-the-force-luke=tracksize:3368336 -dvd-compat -speed=6 -overburn -use-the-force-luke=bufsize:32m 

mkisofs
-----------------------
3368336
I: -input-charset not specified, using iso-8859-15 (detected in locale settings)
Using ABFAHRT_NACH_NAVAZZO_TOU000.AVI;1 for  Multimedia/Pictures /Pictures From Others/Floko_W/Biken/20030922_Gardasee_September_2003/Bilder_gardasee/Abfahrt nach Navazzo_Tour11_0213.avi (Abfahrt nach Navazzo_Tour11_0212.avi)
  0.03% done, estimate finish Fri Dec 29 22:45:15 2006
  0.04% done, estimate finish Fri Dec 29 22:27:00 2006
  0.06% done, estimate finish Fri Dec 29 22:17:47 2006
  0.07% done, estimate finish Fri Dec 29 22:12:14 2006
  0.09% done, estimate finish Fri Dec 29 22:08:27 2006
  0.10% done, estimate finish Fri Dec 29 22:05:49 2006
  0.12% done, estimate finish Fri Dec 29 22:03:46 2006

mkisofs command:
-----------------------
/usr/bin/mkisofs -gui -graft-points -volid OBMM_20061229 -volset  -appid K3B THE CD KREATOR (C) 1998-2006 SEBASTIAN TRUEG AND THE K3B TEAM -publisher  -preparer  -sysid LINUX -abstract  -copyright  -biblio  -volset-size 1 -volset-seqno 1 -sort /tmp/kde-ob/k3btOurLa.tmp -rational-rock -hide-list /tmp/kde-ob/k3b4Gj6ea.tmp -joliet -joliet-long -hide-joliet-list /tmp/kde-ob/k3bpnRHMa.tmp -full-iso9660-filenames -disable-deep-relocation -iso-level 2 -path-list /tmp/kde-ob/k3bG3O1ra.tmp 



Shell Output:
...
k3b: (K3bIsoImager) creating dummy dir: /home/ob/.kde/share/apps/k3b/temp/1081717c63000116742494300000046970075_1/dummydir_0_1001_1001_17901_1136675208
k3b: (K3bActivePipe) successfully opened pipe.
k3b: ***** mkisofs parameters:
k3b: /usr/bin/mkisofs -gui -graft-points -volid OBMM_20061229 -volset  -appid K3B THE CD KREATOR (C) 1998-2006 SEBASTIAN TRUEG AND THE K3B TEAM -publisher  -preparer  -sysid LINUX -abstract  -copyright  -biblio  -volset-size 1 -volset-seqno 1 -sort /tmp/kde-ob/k3btOurLa.tmp -rational-rock -hide-list /tmp/kde-ob/k3b4Gj6ea.tmp -joliet -joliet-long -hide-joliet-list /tmp/kde-ob/k3bpnRHMa.tmp -full-iso9660-filenames -disable-deep-relocation -iso-level 2 -path-list /tmp/kde-ob/k3bG3O1ra.tmp
k3b: (K3bActivePipe) started thread.
k3b: (growisofs) Executing 'builtin_dd if=/dev/fd/0 of=/dev/hdc obs=32k seek=0'
k3b: (mkisofs) I: -input-charset not specified, using iso-8859-15 (detected in locale settings)
k3b: (mkisofs) Using ABFAHRT_NACH_NAVAZZO_TOU000.AVI;1 for  Multimedia/Pictures /Pictures From Others/Floko_W/Biken/20030922_Gardasee_September_2003/Bilder_gardasee/Abfahrt nach Navazzo_Tour11_0213.avi (Abfahrt nach Navazzo_Tour11_0212.avi)
k3b: (K3bProcess) found unfinished line: ':-[ READ DVD STRUCTURE #10h failed with SK=8h/ASC=ABh/ACQ=80h]: '
k3b: (K3bProcess)             last char: ' '
k3b: (K3bProcess)           joined line: ':-[ READ DVD STRUCTURE #10h failed with SK=8h/ASC=ABh/ACQ=80h]: Input/output error'
k3b: (K3bActivePipe) write failed.
k3b: (K3bDevice::DeviceHandler) starting command: 1024
k3b: (K3bThreadJob) waiting for the thread to finish.
k3b: (K3bThreadJob) thread finished.
k3b: (K3bJobProgressDialog) received finished signal!
k3b: (K3bDevice::DeviceHandler) thread emitted finished. Waiting for thread actually finishing
k3b: (K3bDevice::DeviceHandler) success: true
k3b: (K3bDevice::DeviceHandler) deleting thread.
k3b: [virtual void K3bIsoImager::slotProcessExited(KProcess*)]
k3b: linux kernel version: 2.6.11-1-k7


Thanx again! and all the best,
Grand Apeiron
Comment 6 Grand Apeiron 2006-12-29 21:56:47 UTC
Why is he printing out something that looks like "fd0"? k3b: (growisofs) Executing 'builtin_dd if=/dev/fd/0 of=/dev/hdc obs=32k seek=0' 
Comment 7 Sebastian Trueg 2006-12-29 22:08:16 UTC
/dev/fd/0 refers to stdin. K3b pipes the image into growisofs's stdin.

Did you already try growisofs from the command line? You could do so by creating the image with k3b and then

growisofs -Z /dev/hdc=<imagefile> -dvd-compat -speed=6
Comment 8 Grand Apeiron 2006-12-31 14:12:15 UTC
I tried it with growisofs from cli. Same error with the DVD-R DL. It works with a DVD-R (non-DL). So it seems like growisofs doesn't like die DVD-R DL medium (at least not on my recorder). I will try an DVD+R(W) DL next week as soon as the shops are open again.

Here is the output from the two tries (file "xaa" is a small part out of a big iso file).

1) Burning on DVD-R (non-DL):
HAL-9006:/tmp/CDROM.iso# growisofs -Z /dev/hdc=xaa -dvd-compat -speed=2
Executing 'builtin_dd if=xaa of=/dev/hdc obs=32k seek=0'
/dev/hdc: "Current Write Speed" is 4.1x1352KBps.
builtin_dd: 224*2KB out @ average 0.1x1352KBps
/dev/hdc: flushing cache
/dev/hdc: updating RMA
/dev/hdc: closing disc

2) Burning on DVD-R Double Layer:
HAL-9006:/tmp/CDROM.iso# growisofs -Z /dev/hdc=xaa -dvd-compat -speed=2
Executing 'builtin_dd if=xaa of=/dev/hdc obs=32k seek=0'
:-[ READ DVD STRUCTURE #10h failed with SK=8h/ASC=ABh/ACQ=80h]: Input/output error
HAL-9006:/tmp/CDROM.iso#      
Comment 9 Sebastian Trueg 2007-01-01 16:50:17 UTC
I am closing this as invalid then because it is not a k3b bug and I will introduce cdrecord DVD writing support post-1.0 which will hopefully fix this problem.
Comment 10 Grand Apeiron 2007-01-02 21:07:14 UTC
I now tried with a DVD+R Double Layer and it works. So it should be definitly a problem with growisofs and DVD-R DL. Thanks for your help!