Feisty: Creating CDs fails

Bug #76058 reported by rbmorse
8
Affects Status Importance Assigned to Milestone
GnomeBaker
Invalid
Undecided
Unassigned
udev (Ubuntu)
Confirmed
Undecided
Kenny Duffus

Bug Description

Binary package hint: k3b

Tried to create a CD from an .ISO file using K3B on feisty. Debug says file /usr/bin/cdrecord cannot be found. That file exists as a link to the file /usr/bin/wodim which is also present. Source files is also present, and capitalization is correct.

The complete error output from k3b is:

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

KDE Version: 3.5.5
QT Version: 3.3.7
Kernel: 2.6.19-7-generic
Devices
-----------------------
PLEXTOR DVDR PX-755A 1.06 (/dev/scd0, ) at /media/cdrom0 [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-R Dual Layer Jump; 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
-----------------------
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
scsidev: 'ATA:1,0,0'
devname: 'ATA'
scsibus: 1 target: 0 lun: 0
/usr/bin/cdrecord: No such file or directory.
Cannot open SCSI driver!
For possible targets try '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: 1 = CD-ROM

cdrecord command:
-----------------------
/usr/bin/cdrecord -v gracetime=2 dev=1,0,0 speed=48 -dao driveropts=burnfree -eject -data /home/ron/Desktop/BX1463P.ISO

**** end of error msg ****

I removed the version of k3b distributed with Feisty and replaced it with k3b version 1.0 beta RC2 built from source. Works nominally and does not exhibit the problem described above

Kenny Duffus (kduffus)
Changed in k3b:
assignee: nobody → kduffus
Revision history for this message
tnoo (answer) wrote :

I can confirm this bug on a Panasonic W4. Debug says file /usr/bin/cdrecord cannot be found.

Removing k3b, cdrecord and wodim (--purge) and re-installing k3b does not work. The problem seems to be a missing SCSI driver. What's wrong?

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

KDE Version: 3.5.5
QT Version: 3.3.7
Kernel: 2.6.20-3-386
Devices
-----------------------
MATSHITA DVD-RAM UJ-823S 1.50 (/dev/scd0, ) at /media/cdrom0 [CD-R; CD-RW; CD-ROM; DVD-ROM; DVD-RAM; DVD-R; DVD-RW; DVD+R; DVD+RW] [DVD-ROM; DVD-R Sequential; DVD-RAM; DVD-RW Restricted Overwrite; DVD-RW Sequential; DVD+RW; DVD+R; CD-ROM; CD-R; CD-RW] [SAO; TAO; Restricted Overwrite]

K3b
-----------------------
Size of filesystem calculated: 232024

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

cdrecord
-----------------------
scsidev: '2,0,0'
scsibus: 2 target: 0 lun: 0
scsidev: 'ATA:2,0,0'
devname: 'ATA'
scsibus: 2 target: 0 lun: 0
/usr/bin/X11/cdrecord: No such file or directory.
Cannot open SCSI driver!
For possible targets try '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/X11/cdrecord -v gracetime=2 dev=2,0,0 speed=8 -tao driveropts=burnfree -eject -multi -xa -tsize=232024s -

mkisofs
-----------------------
232024
I: -input-charset not specified, using utf-8 (detected in locale settings)

mkisofs command:
-----------------------
/usr/bin/X11/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-tinu/k3bOTToUa.tmp -rational-rock -hide-list /tmp/kde-tinu/k3b22wsfb.tmp -joliet -hide-joliet-list /tmp/kde-tinu/k3blFBfJa.tmp -full-iso9660-filenames -iso-level 2 -path-list /tmp/kde-tinu/k3bKpWS6a.tmp

Revision history for this message
tnoo (answer) wrote :

Now it works after using the k3b setup dialog. I just confirmed the standard settings there, hit burn and it burns.

It looks like k3b is not configured correctly upon installation. Maybe this is due to the fact that the CD drive was powered off, which means that /dev/cdrom was nonexistant.

Revision history for this message
chantra (chantra) wrote :

I can confirm this bug with k3b 0.12.17-1ubuntu4 on feisty
To make it work, I unselected /usr/bin/X11/cdrecord from k3bsetup and now it burns fine.

On feisty, /usr/bin/X11/cdrecord links to wodim
and
/usr/bin/cdrecord links to wodim in the same directory.

K3b stopped working after I upgraded cdrecord and wodim on the 04/01/2007 to
wodim 9:1.1.0-1ubuntu2 and cdrecord 9:1.1.0-1ubuntu2 (cdrecord being a dummy package to transition to wodim)

Changed in k3b:
status: Unconfirmed → Confirmed
Revision history for this message
Mackenzie Morgan (maco.m) wrote :

I can confirm this bug in K3B, GnomeBaker, AND Nautilus burner. It's not just ISOs either. Even burning regular data fails.

Revision history for this message
hosein (hoseink421) wrote :

iran-mazandaran-babol-sharakee tondast-zeytone 12- no 48 -zipcode 4718777893

Revision history for this message
Mackenzie Morgan (maco.m) wrote :

maco@maco-unstable:~$ sudo cdrecord /home/maco/iso/osfcd_4.0.iso
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
Quickly guessing the name of a drive capable to write CD-R, please wait...
Found /dev/cdrw, assuming dev=/dev/cdrw
wodim: Cannot do inquiry for CD/DVD-Recorder.
Errno: 5 (Input/output error), test unit ready scsi sendcmd: fatal error
CDB: 00 00 00 00 00 00
cmd finished after 0.000s timeout 40s

Changed in gnomebaker:
status: Unconfirmed → Rejected
Revision history for this message
Shane (duairc) wrote :

Is this fixed, or going to be fixed before the release? I'd consider it a fairly serious bug...

Revision history for this message
Mackenzie Morgan (maco.m) wrote :
Download full text (3.2 KiB)

It sort of works now. By sort of, I mean it doesn't die right at the beginning. It dies halfway through, producing a coaster.

maco@maco-unstable:~$ sudo cdrecord -v iso/OpenCD%20v07.02.iso
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
Quickly guessing the name of a drive capable to write CD-R, please wait...
Found /dev/cdrw, assuming dev=/dev/cdrw
TOC Type: 1 = CD-ROM
scsidev: '/dev/cdrw'
devname: '/dev/cdrw'
scsibus: -2 target: -2 lun: -2
Error trying to open /dev/cdrw exclusively (Device or resource busy)... retrying in 1 second.
Linux sg driver version: 3.5.27
Wodim version: 1.1.2
Driveropts: 'burnfree'
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'PHILIPS '
Identification : 'DVD+-RW SDVD8441'
Revision : 'PA48'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009 (CD-R)
Profile: 0x002B (DVD+R/DL)
Profile: 0x001B (DVD+R)
Profile: 0x001A (DVD+RW)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x0011 (DVD-R sequential recording)
Profile: 0x0010 (DVD-ROM)
Profile: 0x000A (CD-RW)
Profile: 0x0009 (CD-R) (current)
Profile: 0x0008 (CD-ROM)
Profile: 0x0000 (Reserved/Unknown)
Profile: 0x0000 (Reserved/Unknown)
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96R RAW/R16 RAW/R96R
Drive buf size : 1073152 = 1048 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
FIFO size : 4194304 = 4096 KB
Track 01: data 514 MB
Total size: 590 MB (58:28.96) = 263172 sectors
Lout start: 590 MB (58:30/72) = 263172 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 6
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type C, low Beta category (C-) (6)
  ATIP start of lead in: -11231 (97:32/19)
  ATIP start of lead out: 359846 (79:59/71)
Disk type: Short strategy type (Phthalocyanine or similar)
Manuf. index: 27
Manufacturer: Prodisc Technology Inc.
Blocks total: 359846 Blocks current: 359846 Blocks remaining: 96674
Speed set to 4234 KB/s
Starting to write CD/DVD at speed 24.0 in real TAO 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.
Performing OPC...
Starting new track at sector: 0
Track 01: 28 of 514 MB written (fifo 100%) [buf 90%] 7.7x.Errno: 5 (Input/output error), write_g1 scsi sendcmd: no error
CDB: 2A 00 00 00 38 11 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 72 0B 47 00 00 00 00 0E 09 0C 00 00 00 01 00 00
Sense Key: 0x7 Data Protect, Segment 11
Sense Code: 0x00 Qual 0x01 (filemark detected) Fru 0x0
Sense flags: Blk 0 (not valid) end of medium
resid: 63488
cmd finished after 0.644s timeout 40s

write track data: error after 29394944 bytes
wodim: A write error occured.
wodim: Please properly read the error message above.
Wr...

Read more...

Revision history for this message
Helge Willum Thingvad (helgesdk) wrote :
Download full text (4.1 KiB)

Trying to burn an .iso... I'm having the same bug in Xubuntu 7.04 Beta Unstable.
It used to work in Xubuntu 6.10 Unstable.
Luckily the "cdrecord -v image.iso" command worked for me.

Xfburn simply does nothing. It just sits and waits until I press the Close button. No errors.

I'm getting this error in GnomeBaker 0.6.0:
========
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 3 = CD-ROM XA mode 2
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
scsidev: 'ATA:1,0,0'
devname: 'ATA'
scsibus: 1 target: 0 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.
========

$ wodim --devices
========
Beginning native device scan. This may take a while if devices are busy...wodim: Overview of accessible drives (1 found) :
----------------------------------------------------------------------
0 dev='/dev/sr0' rwrw-- : 'MATSHITA' 'DVD-RAM UJ-830Sx'
----------------------------------------------------------------------
========

$ wodim -scanbus
========
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.
========

I changed it to "CDR_DEVICE=/dev/scd0" in /etc/wodim.conf without luck.

Thankfully, I managed to burn the image successfully with
$ sudo cdrecord -v data/xubuntu-7.04-beta-desktop-i386.iso
========
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 1 = CD-ROM
scsidev: '/dev/scd0'
devname: '/dev/scd0'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.2
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'MATSHITA'
Identification : 'DVD-RAM UJ-830Sx'
Revision : '1.00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009 (CD-R)
Profile: 0x0012 (DVD-RAM)
Profile: 0x001B (DVD+R)
Profile: 0x001A (DVD+RW)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x0011 (DVD-R sequential recording)
Profile: 0x0010 (DVD-ROM)
Profile: 0x000A (CD-RW)
Profile: 0x0009 (CD-R) (current)
Profile: 0x0008 (CD-ROM)
Profile: 0x0002 (Removable disk)
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO
Drive buf size : 1310720 = 1280 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
FIFO size : 12582912 = 12288 KB
Track 01: data 558 MB
Total size: 641 MB (63:31.94) = 285896 sectors
Lout start: 641 MB (63:33/71) = 285896 sectors
Current Secsize: 2048
ATIP inf...

Read more...

Revision history for this message
Matthew (mcphil2) wrote :

Same problem here with Gnomebaker in feisty. My error is:

TOC Type: 3 = CD-ROM XA mode 2
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
scsidev: 'ATA:0,0,0'
devname: 'ATA'
scsibus: 0 target: 0 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.

Are there any temporary fixes for this, or even a status report?

Revision history for this message
Niels (nsoeffers) wrote :

I think this is a duplicate of Bug #75753.

Short term solution (works as long as you don't reboot) could be to fix the file permissions:

1) sudo chgrp cdrom /dev/sg*
2) sudo chgrp cdrom /dev/cd*
3) sudo chgrp cdrom /dev/scd*

For long term solution I refer to the above bug to change the settings in /etc/udev/rules.d

Kind Regards,

Niels

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.