Wodim 1.1.9 stops burning to DVD after a few seconds

Bug #477321 reported by Shinji on 2009-11-07
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cdrkit (Ubuntu)
Undecided
Unassigned

Bug Description

I tried to burn an ISO file (3GB) to my DVD-RW media but wodim stops burning after a 12%. My HD LED is flickering but my DVD writer stops. Neither the DVD can be released nor wodim can be killed by "kill -9" or "killall wodim". I have to power down my DVD drive!

I can reproduce this regardless of whether I use wodim within K3b or directly from the command line.
The problem also occurs if I open a new Video-DVD project inside K3b and try to burn the added files to the disc.
K3b says something like "11 of 3044MB written" and that's all.

To rule out other possibilities like a defective media or DVD drive I tried to burn the same ISO file in WindowsXP with "CD Burner XP" and it worked fine.

===============================================
shinji@frodo:/media/BigMac/backups$ lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
===============================================

===============================================
shinji@frodo:/media/BigMac/backups$ wodim -version
Cdrecord-yelling-line-to-tell-frontends-to-use-it-like-version 2.01.01a03-dvd
Wodim 1.1.9
Copyright (C) 2006 Cdrkit suite contributors
Based on works from Joerg Schilling, Copyright (C) 1995-2006, J. Schilling
===============================================

===============================================
shinji@frodo:/media/BigMac/backups$ wodim dev=/dev/dvd -v -v -v -v backup_system.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/dvd'
devname: '/dev/dvd'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.9
Using libusal version 'Cdrkit-1.1.9'.
SCSI buffer size: 64512
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'PLEXTOR '
Identification : 'DVDR PX-716A '
Revision : '1.11'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0014 (DVD-RW sequential recording)
Profile: 0x002B (DVD+R/DL)
Profile: 0x001B (DVD+R)
Profile: 0x001A (DVD+RW)
Profile: 0x0015 (DVD-R/DL sequential recording)
Profile: 0x0014 (DVD-RW sequential recording) (current)
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)
Found DVD media: using cdr_mdvd.
Using Session At Once (SAO) for DVD mode.
Drive current speed: 2
Drive default speed: 2
Drive max speed : 2
Selected speed : 2
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 6291456 = 6144 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
Drive DMA Speed: 40573 kB/s 230x CD 29x DVD
FIFO size : 12582912 = 12288 KB
Track 01: data 3044 MB
track: 1 start: 0 pregap: 150
Total size: 3496 MB (346:22.97) = 1558723 sectors
Lout start: 3496 MB (346:24/73) = 1558723 sectors
Track 1 start 0
Track 2 start 1558723
 41 00 A0 00 00 00 00 01 00 00 00 00
 41 00 A1 00 00 00 00 01 00 00 00 00
 41 00 A2 00 00 00 00 90 24 73 00 00
 41 00 01 00 00 00 00 00 02 00 00 00
Current Secsize: 2048
HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 739773
Speed set to 2770 KB/s
Starting to write CD/DVD at speed 2.0 in real unknown 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.
BURN-Free is ON.
Turning BURN-Free off
Modes 02 06 00 00 00 00 00 00
Modes 02 06 00 00 00 00 00 00
BURN-Free is OFF.
Turning BURN-Free on
Performing OPC...
Starting new track at sector: 0
Track 01: 12 of 3044 MB written (fifo 100%) [buf 98%] 2.1x.wodim: faio_wait_on_buffer for writer timed out.
===============================================

ProblemType: Bug
Architecture: amd64
Date: Sat Nov 7 11:35:32 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: wodim 9:1.1.9-1ubuntu2
ProcEnviron:
 LANGUAGE=de_DE:de:en_GB:en
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: cdrkit
Uname: Linux 2.6.31-14-generic x86_64
XsessionErrors: (polkit-gnome-authentication-agent-1:2400): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

Shinji (thorsten-reichelt) wrote :
Schily (schilling-fokus) wrote :

Wodim is known to have massive problems with DVDs
as wodim does not use the DVD support code from cdrecord.

Did you try top replace worim by the original software from:

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

Typically all problems disappear after this upgrade....

Download full text (3.6 KiB)

I am with this same problem, as k3b uses wodim as standard, I am having that to record way he has consoled with growisofs

Debug of K3B is:

Devices
-----------------------
Slimtype DVDRW SSM-8515S GSL1 (/dev/sr0, 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 sequencial, DVD-R de dupla camada sequencial, DVD-R de dupla camada com salto, DVD-RAM, DVD-RW em sobrescrita restrita, DVD-RW sequencial, DVD+RW, DVD+R, DVD+R de dupla camada, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Sobrescrita restrita, Salto de camada] [%7]

System
-----------------------
K3b Version: 1.68.0
KDE Version: 4.3.2 (KDE 4.3.2)
QT Version: 4.5.2
Kernel: 2.6.31-14-generic

Used versions
-----------------------
cdrecord: 1.1.9

cdrecord
-----------------------
scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.9
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
Driveropts: 'burnfree'
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'Slimtype'
Identification : 'DVDRW SSM-8515S '
Revision : 'GSL1'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0011 (DVD-R sequential recording)
Profile: 0x002B (DVD+R/DL)
Profile: 0x001B (DVD+R)
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: 0x0012 (DVD-RAM)
Profile: 0x0011 (DVD-R sequential recording) (current)
Profile: 0x0010 (DVD-ROM)
Profile: 0x000A (CD-RW)
Profile: 0x0009 (CD-R)
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 : 1182464 = 1154 KB
FIFO size : 52428800 = 51200 KB
Speed set to 11080 KB/s
Track 01: data 3623 MB
Total size: 4161 MB (412:17.92) = 1855344 sectors
Lout start: 4161 MB (412:19/69) = 1855344 sectors
Current Secsize: 2048
HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 443152
Starting to write CD/DVD at speed 8.0 in dummy SAO mode for single session.
Last chance to quit, starting dummy write in 2 seconds.
   1 seconds.
   0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Sending CUE sheet...
Starting new track at sector: 0
Track 01: 0 of 3623 MB written.
Errno: 5 (Input/output error), write_g1 scsi sendcmd: no error
CDB: 2A 00 00 00 00 BA 00 00 1F 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 31.518s timeout 200s
/usr/bin/wodim: A write error occured.
/usr/bin/wodi...

Read more...

Shinji (thorsten-reichelt) wrote :

@Schily: Now I have installed cdrecord from the sources but the problem still exists. :(

The next I will try is to change some parameters of my onboard IDE controller.
My optical drives are all connected to the on board "Gigabyte" SATA/IDE controller (JMicron Technology Corp. JMB362/JMB363 AHCI Controller (rev 02)).

Shinji (thorsten-reichelt) wrote :

I disables AHCI mode for the "Gigabyte" controller but it didn't change anything.

Schily (schilling-fokus) wrote :

Did you only install cdrecord or did you also use it for tests?

Shinji (thorsten-reichelt) wrote :
Download full text (31.4 KiB)

Yes, I compiled cdrtools-2.01.01 and executed it from within '/opt/schily/bin' by

shinji@frodo:/opt/schily/bin$ ./cdrecord -vv -driveropts=burnfree dev=/dev/sr1 /media/BigMac/backups/backup_system.iso

==========

./cdrecord: No write mode specified.
./cdrecord: Assuming -sao mode.
./cdrecord: If your drive does not accept -sao, try -tao.
./cdrecord: Future versions of cdrecord may have different drive dependent defaults.
Cdrecord-ProDVD-ProBD-Clone 2.01.01a67 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2009 J�rg Schilling
TOC Type: 1 = CD-ROM
scsidev: '/dev/sr1'
devname: '/dev/sr1'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.9'.
Using libscg transport code version 'schily-scsi-linux-sg.c-1.94'
Driveropts: 'burnfree'
SCSI buffer size: 64512
atapi: 1 ...

Schily (schilling-fokus) wrote :

-vv does not give helpful new information in your case.

The SCSI command timeout for the write commands for
a DVD is 100 seconds. If sending a kill signal does not
show any result after 100 seconds, there must be a kernel bug.

Even though, your problem may be caused by a cable
problem (that caused a hung DMA), the kernel should be able
to abort things after the intended timeout.

You should contact the Linux kernel folks for help.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers