[Bug 149076] Re: I can't write a cd

Svartalf frank at earlconsult.com
Tue Jul 17 02:30:54 UTC 2012


Uh...  This seems to be interrelated to how Ubuntu chose to automount
the CD/DVD device.  Problem occurs in more than just k3b/wodim.
AcetoneISO doesn't work right.  Other burning programs don't seem to
work right.  PSXE can't see legitimate PSX discs with this problem.
Didn't occur with initial rollout of 12.04- but seems to have been
triggered later on somewhere with one of the updates.  If you explicitly
unmount all mount instances of /dev/sr0 (mine had TWO differing,
problematic mounts which explicitly referred to uid/gid) and things work
properly for all instances- so long as you don't work with the
"automatic" mount of the disc.

Basically, if it's not just a file tool or using the basic /media mount,
you're dead in the water with any of it unless you explicitly UNMOUNT it
and you need sudo access to do it with.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cdrkit in Ubuntu.
https://bugs.launchpad.net/bugs/149076

Title:
  I can't write a cd

Status in Python wodim Module:
  Confirmed
Status in Ubuntu:
  Invalid
Status in “cdrkit” package in Ubuntu:
  Confirmed

Bug description:
  If you see any of the symptoms of the various outputs in the comments
  the solution is as follows:

  "You are not using cdrecord but a defective fork called "wodim".

  wodim is a dead fork from a 5 year old version of cdrecord with
  bugs added that never have been in the original.

  The device or resource busy message is a result from such a bug.

  Note that you also do not use mkisofs but "genisoimage" from the
  same "fork". Note that "genisoimage" creates defective ISO filesystem
  images.

  I recommend to use the original software as there are no known bugs
  in the original software and as the original software added many new
  features during the past 6 years."

  Get the real program:

  ftp://ftp.berlios.de/pub/cdrecord/alpha/

  http://cdrecord.berlios.de

  or as a ubuntu package from:

  https://launchpad.net/~brandonsnider/+archive/cdrtools/+packages

  ===========================================================================================================
  Hi,

  After my upgrade from feisty to gutsy on my imac g3 , I tried to burn
  a cd with k3b (tried normal and clone mode) and gnomebaker, which
  didn't work. I'm using an external usb disc writer. K3B has the
  following debug info:

  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=8 -raw96r -clone /home/henne/Desktop/k3b_0.img

To manage notifications about this bug go to:
https://bugs.launchpad.net/pywodim/+bug/149076/+subscriptions




More information about the foundations-bugs mailing list