Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136195 - Error writing DVD's with GnomeBaker
Summary: Error writing DVD's with GnomeBaker
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Optical Media project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-09 07:44 UTC by Pascariu Olimpiu
Modified: 2006-06-11 11:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascariu Olimpiu 2006-06-09 07:44:45 UTC
Every time I am trying to write DVDs with gnomeBaker I receive the error:
:-( unable to WRITE@LBA=0h: Input/output error
write failed: Input/output error 

bigguy ~ # hdparm -i /dev/hdc

/dev/hdc:

 Model=TEAC DV-W516GB, FwRev=J4S2, SerialNo=
 Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=0kB, MaxMultSect=0
 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
 IORDY=yes, tPIO={min:227,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 *udma2
 AdvancedPM=no
 Drive conforms to: Unspecified:  ATA/ATAPI-5

 * signifies the current active mode

bigguy ~ # hdparm /dev/hdc

/dev/hdc:
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 HDIO_GETGEO failed: Inappropriate ioctl for device


tail -f /var/log/messages :
Jun 8 20:02:41 bigguy hdc: DMA timeout retry
Jun 8 20:02:41 bigguy hdc: timeout waiting for DMA
Jun 8 20:02:41 bigguy hdc: status timeout: status=0xd0 { Busy }
Jun 8 20:02:41 bigguy ide: failed opcode was: unknown
Jun 8 20:02:41 bigguy hdc: drive not ready for command
Jun 8 20:02:41 bigguy hdc: ATAPI reset complete

I have tried to write the DVDs with the DMA disabled for /dev/hdc, but I receive the same error.

bigguy ~ # emerge --info
Portage 2.1_rc3-r3 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r8 i686)
=================================================================
System uname: 2.6.16-gentoo-r8 i686 AMD Duron(tm) processor
Gentoo Base System version 1.12.0
ccache version 2.4 [disabled]
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r1
dev-util/confcache: 0.4.2-r1
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/lin2/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.roedu.net/pub/mirrors/gentoo.org ftp://ftp.lug.ro/gentoo ftp://gentoo.romnet.org http://ftp.roedu.net/pub/mirrors/gentoo http://ftp.lug.ro/gentoo http://gentoo.romnet.org"
MAKEOPTS="-j2"
PKGDIR="/lin2/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS=""
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ro.gentoo.org/gentoo-portage"
USE="x86 3dnow 7zip X alsa apache2 apm asf avi berkdb bitmap-fonts bzip2 cdparanoia cdr clamav cli crypt cups dbus dri dv dvd dvdr dvdread eds emboss encode esd ffmpeg foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 hal hardenedphp imlib iproute2 isdnlog jpeg libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls nptl nptlonly nvidia ogg opengl oss pcre pdf pdflib pear perl php png pppd python qt quicktime readline reflection samba sdl session spell spl sqlite ssl tcpd theora tiff truetype truetype-fonts type1-fonts udev vorbis xml xmms xorg xv zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux userland_GNU video_cards_nvidia"
Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS 

The kernel config file, can be found at http://sun.info.uvt.ro/~bigguy/Kernel/config
I don dot belive that there is a problem with the device, because I have tested on a compuetr with Windows XP, and it worked ok, and I don't have any problem with CD writing.
Until now I have tried to write TDK DVD+R and Samsung DVD+R
I am using dvd+rw-tools 6.1-r1. 

I have even tried with scsi emulation, but it didn't worked.

What should I do to be able to write DVD's on my Gentoo?

Thanks
Comment 1 Pascariu Olimpiu 2006-06-11 01:57:32 UTC
I have managed to write a DVD as a root, but I receve the error I have reported, even though I am in the cdrw group.

bigguy@bigguy ~ $ id
uid=1000(bigguy) gid=100(users) groups=4(adm),10(wheel),18(audio),19(cdrom),27(v ideo),80(cdrw),85(usb),100(users),408(games),444(plugdev)
Comment 2 Luis Medinas (RETIRED) gentoo-dev 2006-06-11 11:23:15 UTC
what version of cdrtools are you using ? or what do you use to burn dvd's ? 
Please disable scsi emu because it's deprecated.
Comment 3 Pascariu Olimpiu 2006-06-11 11:32:44 UTC
(In reply to comment #2)
> what version of cdrtools are you using ? or what do you use to burn dvd's ? 
> Please disable scsi emu because it's deprecated.
> 
I have used SCSI emulation just to test if I still receive that error, and then I have turned back to IDE-CD.
I am using app-cdr/dvd+rw-tools, version 6.1-r1.