View previous topic :: View next topic |
Author |
Message |
dark_glaive Apprentice
Joined: 09 May 2004 Posts: 176 Location: Raleigh, NC
|
Posted: Sun Aug 22, 2004 3:14 am Post subject: Unable to burn CD's except as root |
|
|
When I try to use Nautilus to burn a CD I get the following:
Code: |
cdrecord: Illegal write mode for this drive.
cdrecord: Drive does not support TAO recording.
SCSI buffer size: 64512
Linux sg driver version: 3.5.27
Warning: Open by 'devname' is unintentional and not supported.
scsibus: -2 target: -2 lun: -2
devname: '/dev/cdroms/cdrom0'
scsidev: '/dev/cdroms/cdrom0'
cdrecord: Continuing in 5 seconds...
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Asuming -tao mode.
cdrecord: No write mode specified.
|
K3b won't even detect my drive unless I'm root and cdrecord itself won't work either. There seems to be an underlying problem between all three of them. Anybody know how to fix this? |
|
Back to top |
|
|
L.U. Tux's lil' helper
Joined: 28 Jun 2004 Posts: 119 Location: North Carolina, U.S.
|
Posted: Sun Aug 22, 2004 3:29 am Post subject: |
|
|
If your using kernel 2.6.8, there is a known bug with k3b, and from what I can gather, several other cd burning programs as well. Not sure just what (if any) other programs are affected, or if this is even your particular problem. You may want to try with 2.6.7 though, and see if that works. Hope this helps. _________________ In linux, getting your computer to do what you want is a science. In windows, it's an art form... |
|
Back to top |
|
|
ayeq n00b
Joined: 20 Aug 2004 Posts: 1 Location: San Diego, CA
|
Posted: Sun Aug 22, 2004 6:35 pm Post subject: Unable to burn CD's except as root |
|
|
Have you tried to add your user to the cdrw group.
Check the device whith 'ls -l' to see who owns it and which users have write access. |
|
Back to top |
|
|
sickboy2583 Tux's lil' helper
Joined: 30 Jan 2004 Posts: 83 Location: UK
|
Posted: Sun Aug 22, 2004 8:54 pm Post subject: |
|
|
2.6.8 kernel didn't work for me. The problem is cdrecord (which is what k3b uses) can only be run as root (even with suid set).
Changing back to 2.6.7-r11 solved the problem for me. |
|
Back to top |
|
|
milkypostman n00b
Joined: 10 Oct 2002 Posts: 45
|
Posted: Sun Aug 22, 2004 11:20 pm Post subject: |
|
|
just as a note i'm having the same problems... 2.6.7 worked for me. _________________ cupid packs the pistol |
|
Back to top |
|
|
doalwa Tux's lil' helper
Joined: 03 Mar 2003 Posts: 142 Location: Old Europe
|
Posted: Tue Aug 24, 2004 7:32 pm Post subject: |
|
|
Same problem here, unable to burn CD's while running 2.6.8.1...going back to 2.6.7 solved the problem....damn, what's wrong with 2.6.8, can't remember a single kernel version before that gave me so many problems |
|
Back to top |
|
|
Chonhulio n00b
Joined: 04 Mar 2003 Posts: 6 Location: Germany
|
Posted: Tue Aug 24, 2004 9:14 pm Post subject: |
|
|
It's not a bug, it's a feature
Current handling of SCSI command in Linux is very insecure. Everyone having *read access* to a device file can overwrite the drives firmware.
So, a filter for SCSI commands was added shortly before 2.6.8 was released. Now, only a few commands are allowed for read access and some more for write access. However, those command are not sufficient for CD-recording.
Since this concept is screwed anyway, it's best to disable the filter unless a better approach has been implemented.
Here is my explanation and a patch to disable filtering:
http://marc.theaimsgroup.com/?l=linux-kernel&m=109265946604538&w=2
Additionally see http://ck.kolivas.org/patches/2.6/2.6.8.1/2.6.8.1-ck4/split-out/
Both bio_uncopy_user* patches are needed to record audio CDs. Otherwise all memory will be filled and the CD will only contain trash.
ioport-latency-fix fixes a nasty performance regression that affects X.Org-X11 and XFree 4.4. The patch is highly recommended as well.
2.6.8.1 truly is a nice release |
|
Back to top |
|
|
|