GnomeBaker won't blank mounted CD-RW

Bug #147191 reported by Aurélien COUDERC
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cdrkit (Ubuntu)
Confirmed
Undecided
Unassigned
gnomebaker (Ubuntu)
Invalid
Undecided
Unassigned
k3b (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: gnomebaker

GnomeBaker refuses to blank CD-RWs when they are mounted.

The error output is the following :
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
Error trying to open /dev/sr0 exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/sr0 exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/sr0 exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/sr0 exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/sr0 exclusively (Device or resource busy)... giving up.
wodim: Device or resource busy. TOC Type: 1 = CD-ROM

Cannot open SCSI driver!

I have to unmount the CD-RW manually using the command line (as the only GUI option is to eject the CD, which is not what I want).

Revision history for this message
hendrikwout (hendrikwout) wrote :
Download full text (3.2 KiB)

Hi,

After my upgrade from feisty to gutsy on my imac g3 , I tried to burn a cd with k3b and gnomebaker and I get similar problems. K3b has the following error message which looks similar:

System
-----------------------
K3b Version: 1.0.3

KDE Version: 3.5.7
QT Version: 3.3.7
Kernel: 2.6.22-12-powerpc
Devices
-----------------------
MATSHITA CD-ROM CR-1760 ZA0E (/dev/hdb, ) [CD-ROM] [Fout] [Geen]

MATSHITA CD-RW CW-7586 1.01 (/dev/scd0, ) [CD-R, CD-RW, CD-ROM] [Fout] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R]
Used versions
-----------------------
cdrecord: 1.1.6

cdrecord
-----------------------
/usr/bin/wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.scsidev: '/dev/scd0'
devname: '/dev/scd0'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.6
SCSI buffer size: 64512
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
TOC Type: 1 = CD-ROM
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'MATSHITA'
Identification : 'CD-RW CW-7586 '
Revision : '1.01'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC SWABAUDIO
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1467648 = 1433 KB
FIFO size : 12582912 = 12288 KB
Encoding speed : 131x (9799 sectors/s) for libedc from Heiko Eißfeldt
Speed set to 1411 KB/s
Track 01: data 724 MB
Total size: 696 MB (69:00.41) = 310531 sectors
Lout start: 696 MB (69:02/31) = 310531 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: 49315
Starting to write CD/DVD at speed 8.0 in real RAW/RAW96R mode for single session.
Last chance to quit, starting real write in 2 seconds.
   1 seconds.
   0 seconds.
 Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
/usr/bin/wodim: WARNING: Drive returns wrong startsec (0) using -11231 from ATIP
Errno: 5 (Input/output error), write_g1 scsi sendcmd: no error
CDB: 2A 00 FF FF D4 21 00 00 1A 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 2C 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x2C Qual 0x00 (command sequence error) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.005s timeout 40s
/usr/bin/wodim: Could not write Lead-in.
Writing lead-in at sector -11231
write leadin data: error after 0 bytes
Writing time: 3.621s
/usr/bin/wodim: fifo had 192 puts and 0 gets.
/usr/bin/wodim: fifo was 0 times empty and 0 times full, min fill was 100%.

cdrecord command:
-----------------------
/usr/bin/wodim -v gracetime=2 dev=/dev/scd0 speed...

Read more...

Revision history for this message
hendrikwout (hendrikwout) wrote :

Actually, my info has nothing to do with the fact that the cd is mounted. I'm making a new bug report.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 RC or later?

Changed in gnomebaker:
status: New → Incomplete
Revision history for this message
Aurélien COUDERC (coucouf) wrote :

Nope, it's fixed in Intrepid.

Revision history for this message
Regis Leneveu (regisl67) wrote :

NO! This problem seems NOT fixed in Intrepid.
Here's an actual debbuging report from K3b:

System
-----------------------
K3b Version: 1.0.5

KDE Version: 3.5.10
QT Version: 3.3.8b
Kernel: 2.6.27-7-generic
Devices
-----------------------
MATSHITA DVD-RAM UJ862A SB04 (/dev/scd0, ) [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-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, Restricted Overwrite, Layer Jump]

Used versions
-----------------------
cdrecord: 1.1.8

cdrecord
-----------------------
/usr/bin/wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.scsidev: '/dev/scd0'
devname: '/dev/scd0'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.8

Revision history for this message
Patrick Brueckner (madmuffin) wrote :

k3b seems to be unable on my jaunty laptop to write or erase any cd-rw.
cd-r work fine.

Changed in gnomebaker (Ubuntu):
status: Incomplete → Invalid
Changed in k3b (Ubuntu):
status: New → Invalid
Changed in cdrkit (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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