OpenSUSE 11.2 - Unable to burn CD\DVD's

Hi all I have a new install of OpenSUSE 11.2 and am unable to burn CD’s or DVD’s.

I am running Gnome, but have tried both Brasero and K3B. Have ensured that the user I am logged in as is a member of the ‘cdrom’ group, and have cross checked the permissions on files and devices such as /dev/sr0, /usr/bin/wodim etc. Have also attempted to burn as root with no success.

Any assistance would be greatly appreciated.

K3B reports the following:

  • cdrecord has no permission to open the device

K3B log:

Devices

HL-DT-ST DVDRAM GSA-T50N RX06 (/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 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, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite, Layer Jump] %7]

System

K3b Version: 1.68.0
KDE Version: 4.3.1 (KDE 4.3.1) “release 6”
QT Version: 4.5.3
Kernel: 2.6.31.5-0.1-desktop

Used versions

cdrecord: 1.1.9

cdrecord

/usr/bin/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.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 : ‘HL-DT-ST’
Identification : 'DVDRAM GSA-T50N ’
Revision : ‘RX06’
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009 (CD-R)
Profile: 0x0012 (DVD-RAM)
Profile: 0x0011 (DVD-R sequential recording)
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) (current)
Profile: 0x000A (CD-RW)
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 SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1053696 = 1029 KB
Drive DMA Speed: 15773 kB/s 89x CD 11x DVD
FIFO size : 4194304 = 4096 KB
Speed set to 4234 KB/s
Track 01: data 660 MB
Total size: 758 MB (75:07.25) = 338044 sectors
Lout start: 758 MB (75:09/19) = 338044 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 5
Is not unrestricted
Is not erasable
Disk sub type: Medium Type A, high Beta category (A+) (3)
ATIP start of lead in: -11634 (97:26/66)
ATIP start of lead out: 359846 (79:59/71)
Disk type: Short strategy type (Phthalocyanine or similar)
Manuf. index: 3
Manufacturer: CMC Magnetics Corporation
Blocks total: 359846 Blocks current: 359846 Blocks remaining: 21802
Starting to write CD/DVD at speed 24.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…
Errno: 5 (Input/output error), write_g1 scsi sendcmd: no error
CDB: 2A 00 FF FF FF 6A 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 2A 00 00 80 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.003s timeout 200s
Writing pregap for track 1 at -150
write track pad data: error after 0 bytes
BFree: 1029 K BSize: 1029 K
Starting new track at sector: 0
Track 01: 0 of 660 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 80 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.004s timeout 200s
/usr/bin/wodim: A write error occured.
/usr/bin/wodim: Please properly read the error message above.
write track data: error after 0 bytes
Writing time: 40.862s
Average write speed 110.4x.
Fixating…
WARNING: Some drives don’t like fixation in dummy mode.
Fixating time: 0.004s
/usr/bin/wodim: fifo had 64 puts and 1 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/sr0 speed=24 -sao -dummy driveropts=burnfree -data -tsize=338044s -

Please follow this
Multi-media and Restricted Format Installation Guide - openSUSE Forums

Make sure k3b and k3b-codecs are from Packman
and make sure your priorities are correct as show in the guide and you do this
ImageBam - Fast, Free Image Hosting and Photo Sharing

Thanks for the response.

Have applied the changes, even though I had installed the packages through the media 1-Click option. Have verified the repository order and ensured the K3B was installed from Packman.

This has not resolved the issue and has added a couple of strange new issues. Such as my screen now flickers (goes blank for about 1 sec then comes back on for a few minutes). Having issues ejecting blank CD\DVD disks from the drive.

rpm -qi k3b k3b-codecs

rpm -qi k3b k3b-codecs
Name : k3b Relocations: (not relocatable)
Version : 1.68.0 Vendor: PackMan :: Startseite
Release : 40.pm.41.2 Build Date: Wed 18 Nov 2009 08:23:43 AM EST
Install Date: Thu 19 Nov 2009 02:21:40 PM EST Build Host: hauseck
Group : Productivity/Multimedia/CD/Record Source RPM: k3b-1.68.0-40.pm.41.2.src.rpm
Size : 11876516 License: GPL v2 or later
Signature : DSA/SHA1, Wed 18 Nov 2009 08:24:25 AM EST, Key ID f899f20d9a795806
Packager : andflo@links2linux.de
URL : K3b - The CD Kreator
Summary : A Universal CD and DVD Burning Application
Description :
K3b is a CD burning application that supports Ogg Vorbis, MP3 audio
files, DVD burning, CDDB, and much more.

Authors:

Sebastian Trueg <trueg@informatik.uni-freiburg.de>
Thomas Froescher <tfroescher@gmx.de>

Distribution: main / openSUSE_11.2_Update
Name : k3b-codecs Relocations: (not relocatable)
Version : 1.68.0 Vendor: PackMan :: Startseite
Release : 40.pm.41.2 Build Date: Wed 18 Nov 2009 08:23:43 AM EST
Install Date: Thu 19 Nov 2009 02:21:43 PM EST Build Host: hauseck
Group : Productivity/Multimedia/CD/Record Source RPM: k3b-1.68.0-40.pm.41.2.src.rpm
Size : 172187 License: GPL v2 or later
Signature : DSA/SHA1, Wed 18 Nov 2009 08:24:25 AM EST, Key ID f899f20d9a795806
Packager : andflo@links2linux.de
URL : K3b - The CD Kreator
Summary : A Universal CD and DVD Burning Application Build Environemnt
Description :
K3b is a CD burning application that supports Ogg Vorbis, MP3 audio
files, DVD burning, CDDB, and much more. This package contains its
build environment.

Authors:

Sebastian Trueg <trueg@informatik.uni-freiburg.de>
Thomas Froescher <tfroescher@gmx.de>

Distribution: main / openSUSE_11.2_Update

That’s OK
Can you do:

zypper lr -d

But I’d be interested to see what you get if you create a new user account (it can easily be deleted) login there and try.

zypper lr -d

| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service

–±------------------------------------±----------------------------±--------±--------±---------±-------±----------------------------------------------------------------±-------
1 | Libdvdcss repository | Libdvdcss repository | No | Yes | 99 | rpm-md | Index of /pub/vlc/SuSE/11.2/ |
2 | NVIDIA Repository | NVIDIA Repository | Yes | Yes | 99 | rpm-md | ftp://download.nvidia.com/opensuse/11.2/ |
3 | Packman Repository | Packman Repository | Yes | Yes | 90 | rpm-md | Index of /pub/packman/suse/11.2 |
4 | http-download.opensuse.org-0aa47081 | Updates for openSUSE 11.2-0 | Yes | Yes | 99 | rpm-md | Index of /update/11.2 |
5 | openSUSE 11.2-0 | openSUSE 11.2-0 | No | No | 99 | yast2 | cd:/// |
6 | repo-debug | openSUSE-11.2-Debug | No | Yes | 99 | NONE | Index of /debug/distribution/11.2/repo/oss |
7 | repo-non-oss | openSUSE-11.2-Non-Oss | Yes | Yes | 120 | yast2 | Index of /distribution/11.2/repo/non-oss |
8 | repo-oss | openSUSE-11.2-Oss | Yes | Yes | 120 | yast2 | Index of /distribution/11.2/repo/oss |
9 | repo-source | openSUSE-11.2-Source | No | Yes | 99 | NONE | Index of /source/distribution/11.2/repo/oss |

It is also not working as root user. Will try a newly created user though.

Newly created user failed with the same error.

Please boot your system in Failsafe and try.

I see the error - /usr/bin/wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits. in your output.

Some (possibly uneducated) suggestions -

  1. Do you have apparmor turned on?
  2. Is the disk already used/damaged/not supported?
  3. Do you have 2xOptical drives on the same bus?
  4. Manually change the drive’s “Burnproof” memory in K3b.
  5. Is the partition where /tmp resides full? You need at least 5 gigs free to burn a DVD image I think.
  6. Boot from a liveCD and see if that works.
  7. Try switching between TAO and DAO.
  8. Try switching to the oss version of the burning tools, rather than the packman ones.

Good luck :slight_smile:

Have checked through your suggestions:

  1. Do you have apparmor turned on?
  • Yes, have tested with apparmour turned off with same error
  1. Is the disk already used/damaged/not supported?
  • I do not belive so
  1. Do you have 2xOptical drives on the same bus?
  • No
  1. Manually change the drive’s “Burnproof” memory in K3b.
  • Have tried turning off burnfree, also increased buffer memory from 4 MB to 128 MB, still fails same error
  1. Is the partition where /tmp resides full? You need at least 5 gigs free to burn a DVD image I think.
  • 164 GB free on the partition where /tmp resides
  1. Boot from a liveCD and see if that works.
  • Don’t have a liveCD, will look into this option
  1. Try switching between TAO and DAO.
  • Both modes failed with same error
  1. Try switching to the oss version of the burning tools, rather than the packman ones.
  • Had same error with non-packman installation.

I am starting to think my computer hates me …

You might be right there!

I hate to suggest it, but could it be a hardware problem, ie a dodgy drive?

I ask because I had mass problems a month ago with DVDs and CDs refusing to read/write intermittently and it turned out to be my drive that was dodgy.

Luckily I’m still under warranty and HP sent me a new one within 2 days which works perfectly.

The odd thing is that is would write to certain brands of disks (sometimes) and then completely fail with others.

Are you able to try it under another OS? Or in a friend’s computer, that would eliminate a few possibilities in one hit.

I was participating in another thread on the forum a few weeks back (and can’t find it now!) where some bloke had the same sort of issue as you. I think it had something to do with permissions somewhere, but I can’t remember exactly :(.

I seem to remember he also couldn’t write as root, but he changed some obscure setting and it finally worked!

Not much help I know, but maybe you can find it better than I can, I’m hopeless with searching, even google hates me :.

This is a brand new system so I have not verified that CDs or DVDs will burn.

Will test on Windows as I installed it on another partition as a just in case option.

Good news and bad news…

The good news: Was able to burn files to CD using Windows 7.

The bad news: Looks like the problem is not hardware…

Oh well, at least you know it’s not a hardware problem.

I’m all out of ideas at this point, but I’m sure someone with more expertise will come along soon.

All I could suggest now is to try other distros, and also a few older ones to see if they work, or if you feel up to it maybe report it as a bug.

Dare I even mention it but you can trial this:

http://www.nero.com/enu/downloads-linux4-trial.php

If it works, you might be prepared to part with $ for it

Update.

I connected an external CD\DVD writer and was able to burn disks. Looks as though this might come down to a driver issue/unsupported drive.

I never had one that didn’t work yet. But they are cheap enough, get a new one.

The system is a laptop (Lenovo W700DS) so purchasing a new CD\DVD drive is not as easy as say a desktop.

Will keep trying to solve this though as other people are reporting that they have no issues with Linux on this hardware. Maybe it could be some issue with OpenSUSE 11.2…

Installed Nero and it failed also.

Linux (openSUSE 11.2 (x86_64)) 2.6.31.5-0.1-desktop (x86_64)
Nero API version: 9.7.0.132
Using interface version: 9.0.1.4
Installed in: /usr/lib64/nero/
Application: Nero AG\Nero Linux
Internal Version: 9, 7, 0, 132

Recorder: <HL-DT-ST DVDRAM GSA-T50N>Version: RX06 - HA 5 TA 0 - 0.0.0.0
Adapter driver: <ahci> HA 5
Drive buffer : 2048kB
Bus Type : via Inquiry data
Excluded drive IDs:
WriteBufferSize: 83886080 (0) Byte
BUFE : 0
Physical memory : 3891MB (3984736kB)
Free physical memory: 2682MB (2746872kB)
Memory in use : 31 %
Uncached PFiles: 0x0
Global Bus Type: default (0)
Check supported media : Disabled (0)

20.11.2009
NeroAPI
08:39:03 AM #1 Text 0 File Burncd.cpp, Line 3317
HL-DT-ST DVDRAM GSA-T50N
Buffer underrun protection activated

08:39:03 AM #2 Text 0 File Burncd.cpp, Line 3647
Turn on Disc-At-Once, using CD-R/RW media

08:39:03 AM #3 Text 0 File DlgWaitCD.cpp, Line 313
Last possible write address on media: 359846
Last address to be written: 338043

08:39:03 AM #4 Text 0 File DlgWaitCD.cpp, Line 325
Write in overburning mode: NO

08:39:03 AM #5 Text 0 File DlgWaitCD.cpp, Line 2856
Recorder: HL-DT-ST DVDRAM GSA-T50N;
CDR code: 00 97 24 16; OSJ entry from: SONY Corporation
ATIP Data:
Special Info [hex] 1: D0 00 A0, 2: 61 18 10 (LI 97:24.16), 3: 4F 3B 4A (LO 79:59.74)
Additional Info [hex] 1: 00 00 00 (invalid), 2: 00 00 00 (invalid), 3: 00 00 00 (invalid)

08:39:03 AM #6 Text 0 File DlgWaitCD.cpp, Line 500
>>> Protocol of DlgWaitCD activities: <<<
=========================================

08:39:03 AM #7 Text 0 File ThreadedTransferInterface.cpp, Line 734
Setup items (after recorder preparation)
0: TRM_DATA_MODE1 (2 - CD-ROM Mode 1, Joliet)
2 indices, index0 (150) not provided
original disc pos #0 + 338044 (338044) = #338044/75:7.19
not relocatable, disc pos for caching/writing not required/not required
→ TRM_DATA_MODE1, 2048, config 0, wanted index0 0 blocks, length 338044 blocks [HL-DT-ST DVDRAM GSA-T50N (H:5 T:0)]
--------------------------------------------------------------

08:39:03 AM #8 Text 0 File ThreadedTransferInterface.cpp, Line 936
Prepare [HL-DT-ST DVDRAM GSA-T50N (H:5 T:0)] for write in CUE-sheet-DAO
DAO infos:
==========
MCN: “”
TOCType: 0x00; Session Closed, disc fixated
Tracks 1 to 1: Idx 0 Idx 1 Next Trk
1: TRM_DATA_MODE1, 2048/0x00, FilePos 0 307200 692621312, ISRC “”
DAO layout:
===========
__Start|___Track|Idx|CtrlAdr|Size|NWA|RecDep
-150 | lead-in | 0 | 0x41 | 0 | 0 | 0x00
-150 | 1 | 0 | 0x41 | 0 | 0 | 0x00
0 | 1 | 1 | 0x41 | 338044 | 338044 | 0x00
338044 | lead-out | 1 | 0x41 | 0 | 0 | 0x00

08:39:03 AM #9 Text 0 File Burncd.cpp, Line 4354
Caching options: cache CDRom or Network-No, small files-Yes (<32KB)

08:39:03 AM #10 Phase 24 File ExtendedProgress.cpp, Line 537
Caching of files started

08:39:03 AM #11 Text 0 File Burncd.cpp, Line 4476
Cache writing successful.

08:39:03 AM #12 Phase 25 File ExtendedProgress.cpp, Line 537
Caching of files completed

08:39:03 AM #13 Phase 32 File ExtendedProgress.cpp, Line 537
Simulation started at 24x (3600 KB/s)

08:39:03 AM #14 Text 0 File ThreadedTransferInterface.cpp, Line 2690
Verifying disc position of item 0 (not relocatable, no disc pos, no patch infos, orig at #0): write at #0

08:39:03 AM #15 Text 0 File MMC.cpp, Line 17580
StartDAO : CD-Text - Off

08:39:03 AM #16 Text 0 File MMC.cpp, Line 21804
Set BUFE: Buffer underrun protection -> ON

08:39:03 AM #17 Text 0 File MMC.cpp, Line 17808
CueData, Len=32
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 4b 09 13

08:39:03 AM #18 Text 0 File ThreadedTransfer.cpp, Line 273
Pipe memory size 83836800

08:39:08 AM #19 Text 0 File Cdrdrv.cpp, Line 1273
08:39:08 - HL-DT-ST DVDRAM GSA-T50N (H:5 T:0) : Queue again later

08:39:32 AM #20 SCSI -1046 File SCSIInterface.cpp, Line 624
SCSI Exec, HA 5, TA 0, LUN 0, buffer 0x0x7fe0c8031900
Status: 0x04 (0x01, SCSI_ERR)
HA-Status 0x00 (0x00, OK)
TA-Status 0x05 (0x0B, SCSI_TASTATUS_FAILED)
Sense Key: 0x05 (KEY_ILLEGAL_REQUEST)
Sense Code: 0x30
Sense Qual: 0x05
CDB Data: 0x2A 0x00 0xFF 0xFF 0xFF 0x6A 0x00 0x00 0x20 0x00 0x00 0x00
Sense Data: 0x70 0x00 0x05 0x00 0x00 0x00 0x00 0x0A
0x2A 0x00 0x00 0x80 0x30 0x05

08:39:32 AM #21 CDR -1046 File Writer.cpp, Line 306
Illegal disc
HL-DT-ST DVDRAM GSA-T50N (H:5 T:0)

08:39:32 AM #22 Text 0 File DVDPlusDualLayer.cpp, Line 1455
SetDriveCaps: Set LAST LBA of layer 1 to 0

08:39:32 AM #23 Phase 34 File ExtendedProgress.cpp, Line 537
Simulation failed at 24x (3600 KB/s)