Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 109782

Summary: growisofs from dvd+rw-tools terminates prematurely
Product: Gentoo Linux Reporter: Nix N. Nix <nix>
Component: Current packagesAssignee: Gentoo Optical Media project <media-optical>
Status: RESOLVED CANTFIX    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nix N. Nix 2005-10-19 02:38:18 UTC
dvd+rw-tools has the patch from bug#95357
kernel is vanilla 2.6.13.2 with module pktcdvd

After 3 successfully burnt DVD+R discs, growisofs dies:

9.39% done, estimate finish Wed Oct 19 03:13:38 2005
9.64% done, estimate finish Wed Oct 19 03:13:30 2005
9.90% done, estimate finish Wed Oct 19 03:13:22 2005
:-? the LUN appears to be stuck writing LBA=30310h, retry in 70ms
:-? the LUN appears to be stuck writing LBA=30800h, retry in 0ms
:-[ WRITE@LBA=80030800h failed with SK=2h/ASC=04h/ACQ=08h]: Resource temporarily
unavailable
builtin_dd: 198656*2KB out @ average 3.8x1385KBps
:-( write failed: Resource temporarily unavailable 

Please have a look at
http://forums.gentoo.org/viewtopic-p-2811343.html
I naively speculate that this bug /may/ have a solution similar to
http://bugs.gentoo.org/show_bug.cgi?id=95357

That is, have growisofs keep trying even when it gets "Resource temporarily
unavailable" messages during the burn and not only at the end, when closing the
session. But hey, I don't know the first thing about how growisofs works. Hence
-> "speculation".

Reproducible: Always
Steps to Reproduce:
1. Insert blank DVD
2. growisofs ... completes successfully
3. Eject completely readable and useful DVD.
4. hdparm -d1 /dev/hdd # (turn DMA back on for the DVD drive)

5. Repeat steps 1-4 2 more times

6. Insert blank DVD
7. growisofs ... fails as described above -> brand new coaster
8. hdparm -d1 /dev/hdd # (turn DMA back on for the DVD drive)

9. Insert blank DVD
A. growisofs ... fails as described above -> brand new coaster
B. hdparm -d1 /dev/hdd # (turn DMA back on for the DVD drive)

Actual Results:  
I ended up with 3 usable DVDs and 2 beverage coasters.

Expected Results:  
I should have ended up with 5 usable DVDs and 0 beverage coasters.

Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13.2 i686)
=================================================================
System uname: 2.6.13.2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.2.3-r5, 2.3.5-r2, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.4.19-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://adelie.polymtl.ca/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl dvd dvdread
eds emboss encode esd fam flac foomaticdb fortran gdbm ggi gif gnome gpm
gstreamer gtk gtk2 guile imagemagick imlib ipv6 java jpeg ldap libg++ libwww mad
mikmod motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam
pdflib perl png python quicktime readline sdl slang spell ssl svga tcpd tetex
threads tiff truetype truetype-fonts type1-fonts vorbis xml xml2 xmms xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-10-19 05:59:37 UTC
media-optical guys: We have no maintainer here. Would you have a look at it and
at best maintain this package if possible, please?
Comment 2 Luis Medinas (RETIRED) gentoo-dev 2005-10-19 20:51:40 UTC
ok we will take care of this package
Comment 3 Luis Medinas (RETIRED) gentoo-dev 2005-11-14 16:26:12 UTC
do you have the same problem ?
Comment 4 Luis Medinas (RETIRED) gentoo-dev 2005-12-26 09:59:59 UTC
closing... reopening if you still have the same problem with more information please.