Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212409 - sys-apps/dbus-1.1.20: cdrecord gets write-error and distroys media
Summary: sys-apps/dbus-1.1.20: cdrecord gets write-error and distroys media
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-05 18:51 UTC by Wolfgang Jankowski
Modified: 2008-03-06 18:21 UTC (History)
1 user (show)

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 Wolfgang Jankowski 2008-03-05 18:51:30 UTC
With dbusd running, each call of cdrecord distroys one media because of a wirte error. The message follows.

---------
                     Capacity  Blklen/Sparesz.  Type
                                     0             2048  No Media Present or Unknown Capacity
                                     Blocks total: 359849 Blocks current: 359849 Blocks remaining: 311797
                                     Starting to write CD/DVD at speed 10 in real SAO mode for single session.
                                     Last chance to quit, starting real write    0 seconds. Operation starts.
                                     Waiting for reader process to fill input buffer ... input buffer ready.
                                     BURN-Free is ON.
                                     Turning BURN-Free off
                                     Performing OPC...
                                     Sending CUE sheet...
                                     cdrecord: WARNING: Drive returns wrong startsec (0) using -150
                                     Writing pregap for track 1 at -150
                                     cdrecord: Input/output error. write_g1: scsi sendcmd: no error
                                     CDB:  2A 00 FF FF FF 6A 00 00 10 00
                                     status: 0x2 (CHECK CONDITION)
                                     Sense Bytes: 70 00 05 00 00 00 00 10 2A 00 00 90 30 05 00 00
                                     Sense Key: 0x5 Illegal Request, Segment 0
                                     Sense Code: 0x30 Qual 0x05 (cannot write medium - incompatible format) Fru 0x0
                                     Sense flags: Blk 0 (not valid)
                                     cmd finished after 0.002s timeout 200s
                                     write track pad data: error after 0 bytes
                                     BFree: 1029 K BSize: 1029 K
                                     Starting new track at sector: 0
                                     Track 01:    0 of   93 MB written.cdrecord: Input/output error. write_g1: scsi sendcmd: no error
                                     CDB:  2A 00 00 00 00 00 00 00 10 00
                                     status: 0x2 (CHECK CONDITION)
                                     Sense Bytes: 70 00 05 00 00 00 00 10 2A 00 00 90 30 05 00 00
                                     Sense Key: 0x5 Illegal Request, Segment 0
                                     Sense Code: 0x30 Qual 0x05 (cannot write medium - incompatible format) Fru 0x0
                                     Sense flags: Blk 0 (not valid)
                                     cmd finished after 0.002s timeout 200s

                                     write track data: error after 0 bytes
                                     cdrecord: A write error occured.
                                     cdrecord: Please properly read the error message above.
                                     Writing  time:   36.768s
                                     Average write speed  17.4x.
                                     Fixating...
                                     Fixating time:    0.004s
                                     cdrecord: fifo had 128 puts and 1 gets.



Reproducible: Always

Steps to Reproduce:
1. Start k3b an burn a data-cd or run "cdrecord -v isoimage"

Actual Results:  
The Media is defect, cdrecord get a write error. See log above.

Expected Results:  
cdrecord shuld burn the cd.

when I stop dbus (/etc/init.d/dbus stop), the media will be correct.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-03-05 19:12:15 UTC
cdrtools version? emerge --info? Plus, can't this reproduce at all w/ cdrkit.
Comment 2 Wolfgang Jankowski 2008-03-05 22:06:48 UTC
(In reply to comment #1)
> cdrtools version? emerge --info? Plus, can't this reproduce at all w/ cdrkit.
> 


app-cdr/cdrtools-2.01.01_alpha25 

Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22.9 i686)
=================================================================
System uname: 2.6.22.9 i686 Genuine Intel(R) CPU T2400 @ 1.83GHz
Timestamp of tree: Tue, 04 Mar 2008 17:30:06 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
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/fax /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://files.gentoo.org "
LANG="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/finnish /usr/portage/local/layman/gentoo-de /usr/portage/local/layman/sajinet /usr/portage/local/layman /usr/portage/local/layman/lokal"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apache2 arts berkdb cairo cdparanoia cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo expat fam ffmpeg firefox flac fortran gdbm gif gimpprint gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kerberos lame ldap mad midi mikmod mozdevelop mp3 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl php png postgres pppd python qt3 qt3support qt4 quicktime readline reflection samba sasl sdl session shareext simplexml spell spl sqlite sqlite3 ssl svg tcpd tiff tk truetype unicode usb vorbis win32codecs wmf wxwindows x86 xml xorg xv zlib" ALSA_CARDS="atiixp-modem hda-intel usb-audio via82xx via82xx-modem dummy hdsp hdspm loopback seq-dummy serial-u16550 usb-usx2y" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-03-05 22:17:15 UTC
(In reply to comment #2)
> app-cdr/cdrtools-2.01.01_alpha25 

Well, then upgrade to 2.01.01_alpha34 at least; the above version was removed over a month ago.
Comment 4 Wolfgang Jankowski 2008-03-06 18:21:15 UTC
I switched to cdrkit and took a new Version of k3b.
It seems to work now.