You are not logged in.

#1 2007-02-24 05:01:46

johnisevil
Member
From: Hamilton, ON Canada
Registered: 2003-08-07
Posts: 221
Website

Can no longer write to CD

When using gnomebaker (which has worked flawlessly in the past), I now get the following error:

wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.scsidev: '/dev/hdd'
devname: '/dev/hdd'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.2
SCSI buffer size: 64512
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
TOC Type: 3 = CD-ROM XA mode 2
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'ASUS    '
Identification : 'CRW-1610A       '
Revision       : '1.20'
Device seems to be: Generic mmc CD-RW.
Current: 0x0009 (CD-R)
Profile: 0x000A (CD-RW) 
Profile: 0x0009 (CD-R) (current)
Profile: 0x0008 (CD-ROM) 
Profile: 0x0002 (Removable disk) (current)
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
FIFO size      : 4194304 = 4096 KB
Errno: 0 (Success), test unit ready scsi sendcmd: no error
CDB:  00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.000s timeout 40s
wodim: No disk / Wrong disk!

It tells me to insert a CD into my writer (when there's already a CD in the writer) then ejects it after spitting out this error again.  Any ideas?

Offline

#2 2007-02-24 07:40:52

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: Can no longer write to CD

Hi johnisevil,
check if you are in the optical group

Offline

#3 2007-02-24 07:43:15

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: Can no longer write to CD

is that device name 'hdd' a result of manual setup?

i think it should be, sr0, or slinks: cd,cdrom...


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#4 2007-02-24 08:25:04

johnisevil
Member
From: Hamilton, ON Canada
Registered: 2003-08-07
Posts: 221
Website

Re: Can no longer write to CD

I'm in the optical group and I haven't made any modifications to udev rules or anything.

Offline

#5 2007-02-24 23:38:10

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: Can no longer write to CD

i meant gb settings..
edit > preferences > {device}


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#6 2007-02-25 03:25:08

johnisevil
Member
From: Hamilton, ON Canada
Registered: 2003-08-07
Posts: 221
Website

Re: Can no longer write to CD

In gnomebaker it's listed as /dev/hdd.  Looking at the files for it in /dev, they all point back to /dev/hdd with symlinks.

Offline

#7 2007-02-25 05:23:53

turtle
Member
From: Czestochowa, Poland
Registered: 2006-02-05
Posts: 20
Website

Re: Can no longer write to CD

I'm using k3b. Recently I had a message, that cdrecord no longer works with root privileges. Try this:

# chmod -s /usr/bin/cdrecord

Offline

#8 2007-02-25 06:37:55

johnisevil
Member
From: Hamilton, ON Canada
Registered: 2003-08-07
Posts: 221
Website

Re: Can no longer write to CD

turtle wrote:

I'm using k3b. Recently I had a message, that cdrecord no longer works with root privileges. Try this:

# chmod -s /usr/bin/cdrecord

That didn't do anything.

Offline

#9 2007-03-04 05:57:26

johnisevil
Member
From: Hamilton, ON Canada
Registered: 2003-08-07
Posts: 221
Website

Re: Can no longer write to CD

So no one has any suggestions?

Offline

#10 2007-03-04 06:01:32

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Can no longer write to CD

Try changing permissions......


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#11 2007-03-04 06:05:34

johnisevil
Member
From: Hamilton, ON Canada
Registered: 2003-08-07
Posts: 221
Website

Re: Can no longer write to CD

lilsirecho wrote:

Try changing permissions......

Tried that and even tried burning as root.  Nothing.

Offline

#12 2007-04-06 02:48:06

johnisevil
Member
From: Hamilton, ON Canada
Registered: 2003-08-07
Posts: 221
Website

Re: Can no longer write to CD

After all this time I still can't write to CD.

Offline

#13 2007-04-06 05:04:15

raymano
Member
Registered: 2006-10-13
Posts: 357
Website

Re: Can no longer write to CD

I don't know if this would help but here's what I would try

cp /usr/bin/wodim /usr/bin/cdrecord

chown root.optical /usr/bin/cdrecord /dev/hdd
chmod 4775 /usr/bin/cdrecord
chmod 4775 /dev/hdd

Make sure ide-scsi module is loaded too.

Make sure you are a member of the optical group.

Shot in the dark.

Hope it helps.


FaunOS: Live USB/DVD Linux Distro: http://www.faunos.com

Offline

#14 2007-04-06 05:17:28

johnisevil
Member
From: Hamilton, ON Canada
Registered: 2003-08-07
Posts: 221
Website

Re: Can no longer write to CD

raymano wrote:

I don't know if this would help but here's what I would try

cp /usr/bin/wodim /usr/bin/cdrecord

chown root.optical /usr/bin/cdrecord /dev/hdd
chmod 4775 /usr/bin/cdrecord
chmod 4775 /dev/hdd

Make sure ide-scsi module is loaded too.

Make sure you are a member of the optical group.

Shot in the dark.

Hope it helps.

I've tried all of those and a few other things with the same results.  Or lack of results.

Offline

#15 2007-04-07 15:53:54

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: Can no longer write to CD

Is this a PATA issue?  Or rather, lack of PATA.

My CD device in gnomebaker is called /dev/sr0

Offline

#16 2007-04-11 15:58:36

johnisevil
Member
From: Hamilton, ON Canada
Registered: 2003-08-07
Posts: 221
Website

Re: Can no longer write to CD

Don't the recent PATA changes only apply to people with newer Intel chipsets?

Offline

#17 2007-04-11 17:23:32

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Can no longer write to CD

I have the same problem. I can write dvd but when i try to write a cd it fails.

wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.5.34
Wodim version: 1.1.2
SCSI buffer size: 64512
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
TOC Type: 3 = CD-ROM XA mode 2
Driveropts: 'burnfree'
atapi: 1
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   : 
Vendor_info    : 'HL-DT-ST'
Identification : 'DVDRAM GSA-4163B'
Revision       : 'A103'
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: 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: 14178 kB/s 80x CD 10x DVD
FIFO size      : 4194304 = 4096 KB
Speed set to 706 KB/s
   4 seconds.   
3 seconds.   
2 seconds.   
1 seconds.   0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Starting new track at sector: 0
Errno: 5 (Input/output error), write_g1 scsi sendcmd: no error
CDB:  2A 00 00 00 00 9B 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 10 2A 30 02 80 21 02 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x21 Qual 0x02 (invalid address for write) Fru 0x0
Sense flags: Blk 0 (not valid) 
resid: 63488
cmd finished after 0.003s timeout 40s
wodim: The current problem looks like a buffer underrun.
wodim: It looks like 'driveropts=burnfree' does not work for this drive.
wodim: Please report.
wodim: Make sure that you are root, enable DMA and check your HW/OS set up.

write track data: error after 317440 bytes
Writing  time:   16.020s
Average write speed  68.1x.
Fixating...

/LATER
with gnomebaker and brasero it failes but with k3b is working. I think that is a bug in gnomebaker

Last edited by wonder (2007-04-11 19:58:02)


Give what you have. To someone, it may be better than you dare to think.

Offline

#18 2007-04-11 21:52:37

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: Can no longer write to CD

turtle wrote:

I'm using k3b. Recently I had a message, that cdrecord no longer works with root privileges. Try this:

# chmod -s /usr/bin/cdrecord

This is a very ugly solution.
K3B is now built without the k3bsetup module, because the package maintainer judged this module is useless and obtrusive (IMO unjustly).
The correct solution is grabbing the K3B PKGBUILD from ABS, editing it to change --with-k3bsetup to "yes" (from no), and rebuilding the package.
Both solutions should work, but the second one is more "politically correct".
Another solution is ignoring the warning (as it's not very likely that you will encounter major burning problems because of the "wrong" permissions as long as you are in the "optical" group), but this one is also not a "clean" solution.
Anyway, pick from the above what you think it's more appropriate.


Microshaft delenda est

Offline

#19 2007-09-06 19:51:25

pelle.k
Member
From: Åre, Sweden (EU)
Registered: 2006-04-30
Posts: 667

Re: Can no longer write to CD

with gnomebaker and brasero it failes but with k3b is working. I think that is a bug in gnomebaker

This thread is old, but i still though i'd confirm this. Nowadays, i use nautilus cd/dvd creator for data, "write to disc" servicemenu in gnome for ISO:s, and serpentine for audio cd:s, so i'm OK.
It seems gnomebaker is broken most of the time for a lot of reasons...


"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."

SETH / Jane Roberts

Offline

#20 2008-01-04 12:44:44

DarkMind
Member
Registered: 2005-02-22
Posts: 68

Re: Can no longer write to CD

same problem with k3b


System
-----------------------
K3b Version: 1.0.4

KDE Version: 3.5.8
QT Version:  3.3.8
Kernel:      2.6.23-ARCH
Devices
-----------------------
HL-DT-ST DVDRAM GSA-H10N JL11 (/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 secuencial, DVD-R Doble capa secuencial, DVD-R doble capa salteado, DVD-RAM, DVD-RW sobreescritura restringida, DVD-RW secuencial, DVD+RW, DVD+R, DVD+R doble capa, CD-ROM, CD-R, CD-RW] [SAO, TAO, En bruto, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Sobrescritura restringida, Salto de capa]

SONY DVD-ROM DDU1612 DYS3 (/dev/sr1, ) [CD-ROM, DVD-ROM] [DVD-ROM, CD-ROM] [Ninguno]
Used versions
-----------------------
cdrecord: 1.1.6

cdrecord
-----------------------
/usr/bin/wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits./usr/bin/wodim: Resource temporarily unavailable. Cannot get mmap for 268439552 Bytes on /dev/zero.
Text len: 558
TOC Type: 0 = CD-DA

cdrecord command:
-----------------------
/usr/bin/wodim -v gracetime=2 dev=/dev/sr0 speed=16 -dao driveropts=burnfree textfile=/tmp/k3bANtDnb.dat -eject fs=256m -useinfo -audio /tmp/kde-darkmind/k3b_audio_0_01.inf /tmp/kde-darkmind/k3b_audio_0_02.inf /tmp/kde-darkmind/k3b_audio_0_03.inf /tmp/kde-darkmind/k3b_audio_0_04.inf /tmp/kde-darkmind/k3b_audio_0_05.inf /tmp/kde-darkmind/k3b_audio_0_06.inf /tmp/kde-darkmind/k3b_audio_0_07.inf /tmp/kde-darkmind/k3b_audio_0_08.inf /tmp/kde-darkmind/k3b_audio_0_09.inf /tmp/kde-darkmind/k3b_audio_0_10.inf /tmp/kde-darkmind/k3b_audio_0_11.inf /tmp/kde-darkmind/k3b_audio_0_12.inf /tmp/kde-darkmind/k3b_audio_0_13.inf

Offline

#21 2008-01-05 17:03:54

raymano
Member
Registered: 2006-10-13
Posts: 357
Website

Re: Can no longer write to CD

Looks like this might be a permission problem. Is the user a member of the optical group? You can do this as root:

gpasswd -a <username> optical

Last edited by raymano (2008-01-05 17:04:38)


FaunOS: Live USB/DVD Linux Distro: http://www.faunos.com

Offline

#22 2008-05-22 10:54:57

jsteel
Package Maintainer (PM)
From: England
Registered: 2008-03-18
Posts: 119

Re: Can no longer write to CD

I had this problem with Brasero. I did not have the HAL daemon running. As root run:

hald

Add hal to the daemons line in /etc/rc.conf to have it start automatically.
If this does not help, try running brasero as root to check that it is not a problem with permissions.

Edit: Now it seems that Brasero requires the HAL daemon to be running or it will not start.

Last edited by jsteel (2008-08-15 22:46:31)


PGP key: F40D2072
Key fingerprint: 8742 F753 5E7B 394A 1B04  8163 332C 9C40 F40D 2072

Offline

#23 2008-12-23 02:29:59

Schneibster
Member
Registered: 2008-12-20
Posts: 32

Re: Can no longer write to CD

I had this problem, and had to:

1. chmod +s /usr/bin/cdrecord
2. chmod +s /usr/bin/wodim
3. chown root:optical /usr/bin/cdrecord
4. chown root:optical /usr/bin/wodim

These two were already done:
5. chown root:optical /dev/sr0
6. chmod 660 /dev/sr0

for my username I log into to start X:
7. gpasswd -a <username> optical

I tried loading the ide-scsi module from the command line, and validated that it had loaded, but it didn't work until I did this:
8. Add ide-scsi to the MODULES array in /etc/rc.d
and rebooted.

Caveat: it's worked once so far. I'll try to remember to post again if that does it. Also, my problem was specifically a "permission denied" error when wodim tried to open /dev/sr0 (or anyway I assume that's what it was doing; that was the last thing it mentioned before it bombed). I wasn't trying to use hdd. To the OP, there is a message that says something about reading a README file for wodim for ATAPI CDROMs; from your device name, it's clear to me that that is what you're doing, so I suggest you go read it and do what it says. Excellent chance it will fix it.

Offline

#24 2008-12-23 04:31:19

Schneibster
Member
Registered: 2008-12-20
Posts: 32

Re: Can no longer write to CD

OK, further update: I originally had a problem of unknown type and origin (nothing in any of the logs, just "I failed" in the UI) with the Nautilus integrated cd tools, and switched to gnomebaker. The above appeared to work with gnomebaker, but all it did was hose up the CDROM; it wasn't mountable and any attempt to dd it or otherwise figure out what was going on resulted in I/O errors. However, with the above settings, Nautilus worked fine, and the CDROM came out fine. Since I didn't try Nautilus in between settings, I can't say for sure which one(s) was(were) the problem. Not having tried burning an audio CD with any of this stuff, I have no idea how well gnomebaker will work there, but I'll certainly be looking it over pretty carefully if I use it (I don't burn audio CDs much).

I'll also note that I had trouble with burning CDs on this laptop with XP Pro x86 previously, which I solved by loading UltraISO on it; on the other hand, both XP Pro x86 and SuSE 11.0 x86 and x64, as well as Arch x64, have always burned data DVDs fine. I've never burned a media DVD on this laptop. I suspect that the hardware interface for CD burning may be a bit hinky, probably in terms of how you need to address it for it to work right. Most likely the default options chosen by gnomebaker when it uses wodim are to blame.

Offline

Board footer

Powered by FluxBB