Debian Bug report logs - #455728
wodim: OPC failed when recording DVD

version graph

Package: wodim; Maintainer for wodim is Joerg Jaspert <joerg@debian.org>; Source for wodim is src:cdrkit (PTS, buildd, popcon).

Reported by: Guo Yixuan <culu.gyx@gmail.com>

Date: Tue, 11 Dec 2007 13:45:01 UTC

Severity: important

Found in versions cdrkit/9:1.1.6-1, cdrkit/9:1.1.8-1, cdrkit/9:1.1.10-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Joerg Jaspert <joerg@debian.org>:
Bug#455728; Package wodim. (full text, mbox, link).


Acknowledgement sent to Guo Yixuan <culu.gyx@gmail.com>:
New Bug report received and forwarded. Copy sent to Joerg Jaspert <joerg@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Guo Yixuan <culu.gyx@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: wodim: OPC failed when recording DVD
Date: Tue, 11 Dec 2007 21:41:22 +0800
Package: wodim
Version: 9:1.1.6-1
Severity: important

My recorder is BENQ DW1640, connected to a thinkpad by USB.
It can burn CD-R and CD-RW well, but has problem with DVD.

This is a log.

# wodim  -vv dev=/dev/scd0  -sao speed=8 fs=32m    a.iso 
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.6
Using libusal version 'Cdrkit-1.1.6'.
SCSI buffer size: 32768
Device type    : Removable CD-ROM
Version        : 0
Response Format: 3
Capabilities   : 
Vendor_info    : 'BENQ    '
Identification : 'DVD DD DW1640   '
Revision       : 'BSMB'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x001B (DVD+R)
Profile: 0x002B (DVD+R/DL) 
Profile: 0x001B (DVD+R) (current)
Profile: 0x001A (DVD+RW) 
Profile: 0x0016 (DVD-R/DL layer jump recording) 
Profile: 0x0015 (DVD-R/DL sequential recording) 
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) 
Profile: 0x0008 (CD-ROM) 
Using Session At Once (SAO) for DVD mode.
Drive current speed: 8
Drive default speed: 8
Drive max speed    : 8
Selected speed     : 8
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags   : SWABAUDIO BURNFREE 
Supported modes: PACKET SAO
Drive buf size : 688128 = 672 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
FIFO size      : 33554432 = 32768 KB
Track 01: data  4242 MB        
track: 1 start: 0 pregap: 150
Total size:     4871 MB (482:39.12) = 2171934 sectors
Lout start:     4872 MB (482:41/09) = 2171934 sectors
Track 1 start 0
Track 2 start 2171934
Current Secsize: 2048
HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
Blocks total: 2295104 Blocks current: 2295104 Blocks remaining: 123170
Speed set to 11080 KB/s
Starting to write CD/DVD at speed   8.0 in real SAO mode for single session.
Last chance to quit, starting real write i   0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Errno: 5 (Input/output error), send opc scsi sendcmd: no error
CDB:  54 01 00 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 04 00 00 00 00 12 00 00 00 00 09 00 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x09 Qual 0x00 (track following error) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 6.139s timeout 200s
wodim: OPC failed.
Writing  time:   26.680s
wodim: fifo had 1023 puts and 0 gets.
wodim: fifo was 0 times empty and 0 times full, min fill was 100%.



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wodim depends on:
ii  libc6                         2.7-3      GNU C Library: Shared libraries
ii  libcap1                       1:1.10-14  support for getting/setting POSIX.

Versions of packages wodim recommends:
ii  genisoimage                   9:1.1.6-1  Creates ISO-9660 CD-ROM filesystem

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Joerg Jaspert <joerg@debian.org>:
Bug#455728; Package wodim. (full text, mbox, link).


Acknowledgement sent to David Ayers <ayers@fsfe.org>:
Extra info received and forwarded to list. Copy sent to Joerg Jaspert <joerg@debian.org>. (full text, mbox, link).


Message #10 received at 455728@bugs.debian.org (full text, mbox, reply):

From: David Ayers <ayers@fsfe.org>
To: Debian Bug Tracking System <455728@bugs.debian.org>
Subject: wodim: OPC failed on CD as root
Date: Tue, 26 Aug 2008 01:47:34 +0200
Package: wodim
Version: 9:1.1.8-1+b1
Followup-For: Bug #455728

Here is my failed log (I was able to burn cd's a few weeks ago):

ayers@schiefer:~$ sudo wodim -vv dev='/dev/hdc' /tmp/gnewsense-livecd-deltah-2.1.iso
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.8
Using libusal version 'Cdrkit-1.1.8'.
SCSI buffer size: 64512
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
 41 00 00 14 00 00 00 00
 41 01 00 10 00 00 00 00
 41 01 01 10 00 00 02 00
 41 AA 01 14 00 44 2C 1E
Speed set to 4234 KB/s
Errno: 0 (Success), send opc scsi sendcmd: no error
CDB:  54 01 00 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 00 73 03 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x73 Qual 0x03 (power calibration area error) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 10.192s timeout 60s
wodim: OPC failed.
wodim: fifo had 192 puts and 0 gets.
wodim: fifo was 0 times empty and 0 times full, min fill was 100%.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages wodim depends on:
ii  libc6                         2.7-13     GNU C Library: Shared libraries
ii  libcap2                       2.11-2     support for getting/setting POSIX.

Versions of packages wodim recommends:
ii  genisoimage                 9:1.1.8-1+b1 Creates ISO-9660 CD-ROM filesystem

Versions of packages wodim suggests:
pn  cdrkit-doc                    <none>     (no description available)

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Joerg Jaspert <joerg@debian.org>:
Bug#455728; Package wodim. (Wed, 29 Jul 2009 20:27:08 GMT) (full text, mbox, link).


Acknowledgement sent to "Anthony L. Awtrey" <tony@awtrey.com>:
Extra info received and forwarded to list. Copy sent to Joerg Jaspert <joerg@debian.org>. (Wed, 29 Jul 2009 20:27:08 GMT) (full text, mbox, link).


Message #15 received at 455728@bugs.debian.org (full text, mbox, reply):

From: "Anthony L. Awtrey" <tony@awtrey.com>
To: 506035@bugs.debian.org
Cc: 455728@bugs.debian.org
Subject: Re: linux-image-2.6.26-1-686: writing DVD fails on USB LG GE-20NU10
Date: Wed, 29 Jul 2009 16:22:21 -0400
Hi,

I have been chasing down this issue myself and I believe it is the same 
as this issue:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455728

I have determined that it is unlikely to be a kernel issue because the 
cdrtools package that cdrkit package was forked from a bazillion years 
ago does not produce this issue. You can grab the source and build a deb 
package of the cdrtools from here if you want to get around it for now:

http://deb.grml.org/pool/main/c/cdrtools/

I'll add more notes to #455728 about this issue in a separate email.

Tony




Information forwarded to debian-bugs-dist@lists.debian.org, Joerg Jaspert <joerg@debian.org>:
Bug#455728; Package wodim. (Sun, 28 Mar 2010 10:18:03 GMT) (full text, mbox, link).


Acknowledgement sent to Cyrille Bollu <cyrille.bollu@scarlet.be>:
Extra info received and forwarded to list. Copy sent to Joerg Jaspert <joerg@debian.org>. (Sun, 28 Mar 2010 10:18:03 GMT) (full text, mbox, link).


Message #20 received at 455728@bugs.debian.org (full text, mbox, reply):

From: Cyrille Bollu <cyrille.bollu@scarlet.be>
To: Debian Bug Tracking System <455728@bugs.debian.org>
Subject: Bug still alive with wodim 9:1.1.10-1?
Date: Sun, 28 Mar 2010 12:12:15 +0200
Package: wodim
Version: 9:1.1.10-1
Severity: normal


Hi, 

I'm experiencing DVD burning problems which I think may have the same origin as this bug.

I recently upgraded to squeeze and found myself not able to burn DVD anymore.

I was using gnomebaker. Then I saw it was kinda obsolete, so I turned to brasero. I installed the cdrecord transition package that was apparently missing. Now, I'm trying wodim directly from the command-line to chase down the bug.

What's also strange is that after wodim reports the bug, my DVD drive continues to run and I have to halt my computer to stop it :-) I think that the process that seems to make my drive running is :

root      4870  4133  0 11:58 ?        00:00:00 /sbin/blkid -o udev -p -u noraid /dev/sr0

or 

root      4959  4133  0 12:04 ?        00:00:00 /lib/udev/devkit-disks-part-id /dev/sr0

Anyway, please find he output of wodim dev=/dev/sr0 fs=14M speed=8 -dao -v brasero.iso hereunder.

Can you help me to solve this bug?

Best regards,

Cyrille

cyb@mickey:~/data$ wodim dev=/dev/sr0 fs=14M speed=8 -dao -v brasero.iso
TOC Type: 1 = CD-ROM
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.10
SCSI buffer size: 64512
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   : 
Vendor_info    : 'HL-DT-ST'
Identification : 'DVDRAM GH22NS50 '
Revision       : 'TN01'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0011 (DVD-R sequential recording)
Profile: 0x0012 (DVD-RAM) 
Profile: 0x0011 (DVD-R sequential recording) (current)
Profile: 0x0015 (DVD-R/DL sequential recording) 
Profile: 0x0016 (DVD-R/DL layer jump recording) 
Profile: 0x0014 (DVD-RW sequential recording) 
Profile: 0x0013 (DVD-RW restricted overwrite) 
Profile: 0x001A (DVD+RW) 
Profile: 0x001B (DVD+R) 
Profile: 0x002B (DVD+R/DL) 
Profile: 0x0010 (DVD-ROM) 
Profile: 0x0009 (CD-R) 
Profile: 0x000A (CD-RW) 
Profile: 0x0008 (CD-ROM) 
Profile: 0x0002 (Removable disk) 
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags   : SWABAUDIO BURNFREE 
Supported modes: PACKET SAO
Drive buf size : 1048576 = 1024 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
Drive DMA Speed: 17723 kB/s 100x CD 12x DVD
FIFO size      : 14680064 = 14336 KB
Track 01: data  4116 MB        
Total size:     4727 MB (468:21.30) = 2107598 sectors
Lout start:     4727 MB (468:23/23) = 2107598 sectors
Current Secsize: 2048
HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 190898
Speed set to 11080 KB/s
Starting to write CD/DVD at speed   8.0 in real SAO mode for single session.
Last chance to quit, starting real write in    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Sending CUE sheet...
Starting new track at sector: 0
Track 01:    0 of 4116 MB written.Errno: 5 (Input/output error), write_g1 scsi sendcmd: no error
CDB:  2A 00 00 00 00 00 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 2A 00 00 0C 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
wodim: A write error occured.
wodim: Please properly read the error message above.
Writing  time:   35.710s
Average write speed 111.0x.
Fixating...
Fixating time:    0.011s
wodim: fifo had 223 puts and 1 gets.
wodim: fifo was 0 times empty and 0 times full, min fill was 100%.



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_BE, LC_CTYPE=fr_BE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages wodim depends on:
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib
ii  libcap2                       1:2.17-2   support for getting/setting POSIX.

Versions of packages wodim recommends:
ii  genisoimage                   9:1.1.10-1 Creates ISO-9660 CD-ROM filesystem

Versions of packages wodim suggests:
pn  cdrkit-doc                    <none>     (no description available)

-- no debconf information




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jan 10 11:52:11 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.