Cdrecord returns error code 255 when trying to write a cd

Bug #90030 reported by Francis Viviers
4
Affects Status Importance Assigned to Milestone
k3b (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: k3b

This is the debugging log :

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

KDE Version: 3.5.6
QT Version: 3.3.7
Kernel: 2.6.20-9-generic
Devices
-----------------------
MATSHITA UJ-840D 1.02 (/dev/scd0, ) at [CD-R; CD-RW; CD-ROM; DVD-ROM; DVD-R; DVD-RW; DVD+R; DVD+RW; DVD+R DL] [DVD-ROM; DVD-R Sequential; DVD-RW Restricted Overwrite; DVD-RW Sequential; DVD+RW; DVD+R; DVD+R Double Layer; CD-ROM; CD-R; CD-RW] [SAO; TAO; Restricted Overwrite]

K3b
-----------------------
Size of filesystem calculated: 68796

Used versions
-----------------------
cdrecord: 2.1.1a03

cdrecord
-----------------------
scsidev: '0,1,0'
scsibus: 0 target: 1 lun: 0
scsidev: 'ATA:0,1,0'
devname: 'ATA'
scsibus: 0 target: 1 lun: 0
wodim: No such file or directory.
Cannot open SCSI driver!
For possible targets try 'wodim --devices' or 'wodim -scanbus'.
For possible transport specifiers try 'wodim dev=help'.
For IDE/ATAPI devices configuration, see the file README.ATAPI.setup from
the wodim documentation.
TOC Type: 3 = CD-ROM XA mode 2

cdrecord command:
-----------------------
/usr/bin/cdrecord -v gracetime=2 dev=0,1,0 speed=24 -tao driveropts=burnfree -eject -multi -xa -tsize=68796s -

mkisofs
-----------------------
68796
I: -input-charset not specified, using utf-8 (detected in locale settings)
genisoimage: Connection reset by peer. cannot fwrite 32768*1

mkisofs command:
-----------------------
/usr/bin/mkisofs -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-cain/k3b6FHNba.tmp -rational-rock -hide-list /tmp/kde-cain/k3bAA9d7b.tmp -joliet -hide-joliet-list /tmp/kde-cain/k3b8cwC0b.tmp -full-iso9660-filenames -iso-level 2 -path-list /tmp/kde-cain/k3bbutYYb.tmp

Revision history for this message
jeffm (jeffm-morco) wrote :
Download full text (6.0 KiB)

am having similar problem I think - with k3b - using edgy with AMD64

k3b log below :

================================================================================================================

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

KDE Version: 3.5.5
QT Version: 3.3.6
Kernel: 2.6.20.6-01
Devices
-----------------------
ASUS DRW-1814BLT 1.04 (/dev/scd0, ) at /media/cdrom0 [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-R Dual Layer Jump; 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; Layer Jump]

Used versions
-----------------------
cdrecord: 2.1.1a03

cdrecord
-----------------------
/usr/bin/X11/cdrecord: Warning: Running on Linux-2.6.20.6-01
/usr/bin/X11/cdrecord: There are unsettled issues with Linux-2.5 and newer.
/usr/bin/X11/cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
/usr/bin/X11/cdrecord: No such file or directory. Cannot open '/dev/sg*'. Cannot open SCSI driver.
/usr/bin/X11/cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
/usr/bin/X11/cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
/usr/bin/X11/cdrecord:
/usr/bin/X11/cdrecord: For more information, install the cdrtools-doc
/usr/bin/X11/cdrecord: package and read /usr/share/doc/cdrecord/README.ATAPI.setup .
Cdrecord-Clone 2.01.01a03 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2005 Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
      and thus may have bugs that are not present in the original version.
      Please send bug reports and support requests to <email address hidden>.
      The original author should not be bothered with problems of this version.
TOC Type: 1 = CD-ROM

cdrecord command:
-----------------------
/usr/bin/X11/cdrecord.mmap -v gracetime=2 dev=1,0,0 speed=24 -dao driveropts=burnfree -eject -data /home/jeff/downloads/kubuntu-7.04-desktop-amd64.iso
==========================================================================================================

but can run cdrecord direct successfully from command shell

ref below-

$ cdrecord -v kubuntu-7.04-alternate-amd64.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01.01a03 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2005 Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
      and thus may have bugs that are not present in the original version.
      Please send bug reports and support requests to <email address hidden>.
      The original author should not be bothered with problems of this version.

cdrecord: Warning: Running on Linux-2.6.20.6-01
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected ...

Read more...

Revision history for this message
jeffm (jeffm-morco) wrote :

I dug a bit deeper.
problem was in kernel
set CONFIG_CHR_DEV_SG to module and compiled new kernel - fixed
clue was in cdrecord log - couldn't find /dev/sg*

!!!!!

Revision history for this message
Mario Đanić (mario-danic) wrote :

This has been fixed in edgy and onwards.

Changed in k3b:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.