LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   natilus cdrecord (https://www.linuxquestions.org/questions/slackware-14/natilus-cdrecord-248206/)

gotmonkey 10-27-2004 10:25 PM

natilus cdrecord
 
I am alittle lost on this one.

I tried to burn a data cd with natilus and it came back with this error.

cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: Permission denied. Cannot open '/dev/sg0'. Cannot open SCSI driver.
scsibus: 0 target: 0 lun: 0
scsidev: '0,0,0'
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot do mlockall(2).
--------------------------------------------------------------
so I ran
--------------------------------------------------------------
slacker@slackmonkey:~$ cdrecord dev=help
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Supported SCSI transports for this platform:

Transport name: sg
Transport descr.: Generic transport independent SCSI
Transp. layer ind.:
Target specifier: bus,target,lun
Target example: 1,2,0
SCSI Bus scanning: supported
Open via UNIX device: not supported

Transport name: pg
Transport descr.: SCSI transport for ATAPI over Parallel Port
Transp. layer ind.:
Target specifier: bus,target,lun
Target example: 1,2,0
SCSI Bus scanning: supported
Open via UNIX device: not supported

Transport name: ATA
Transport descr.: ATA Packet specific SCSI transport
Transp. layer ind.: ATAPI:
Target specifier: bus,target,lun
Target example: ATAPI:1,2,0
SCSI Bus scanning: supported
Open via UNIX device: not supported

Transport name: RSCSI
Transport descr.: Remote SCSI
Transp. layer ind.: REMOTE:
Target specifier: rscsi@host:bus,target,lun
Target example: REMOTE:rscsi@host:1,2,0
SCSI Bus scanning: supported
Open via UNIX device: not supported
-------------------------------------------------------
so then I ran
-------------------------------------------------------
root@slackmonkey:/home/slacker# cdrecord -scanbus
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus0:
cdrecord: Warning: controller returns wrong size for CD capabilities page.
0,0,0 0) 'SONY ' 'CD-RW CRX320E ' 'NYK1' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

when I logged into the system as root, it allowed me to make my copy. I changed the permissions on cdrecord, logged back into "user account" and returned the same error again.

extra info:
I appended my lilo.conf with
append="hdc=ide-scsi"

fstab reads as such

/dev/hdb1 swap swap defaults 0 0
/dev/hdb2 / ext3 defaults 1 1
/dev/hdb3 /home ext3 defaults 1 2
/dev/hda1 /winxp ntfs ro 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
/dev/sda1 /mnt/flashdrive vfat noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

what am I missing?
Any help would be great

gbonvehi 10-27-2004 10:53 PM

Change the permissions to your /dev entry of the cd-rw or add your user to the corresponding group (i think it was cdrom)
try: ls -l hdc && ls -l sg0

Kethinov 10-28-2004 02:10 AM

I suggest you install k3b. I hate QT apps. I REALLY hate QT apps. And I still think k3b is utterly amazing. I use it for all my cd/dvd burning tasks.

gotmonkey 10-28-2004 05:57 AM

I tried the link and it returned an error message:
/usr/bin/ls: hdc: No such file or directory

I did the install of k3b.
it works under root logon, burned a cdr no problem. logged on as "user" & k3b returned this error.

Found media: CD-R (Empty)
Please insert a complete or appendable medium (CD-R(W)) into drive

SONY CD-RW CRX320E
(/dev/sr0)

Why is k3b calling out a sr0 and natilus is calling our sg0?

I am guessing that this is some "rights" or "permissions" thing, why else would I be able to perform the tasks under root..

gotmonkey 10-28-2004 08:48 AM

an older post
Quote:

Give the user an rw access to the /dev/sg0; either by adding the user to the same group as where the /dev/sg0 is, or Giving rw access to all the users for the device.
Does this sound right?



I am not keen on changing permissions, would this be correct?
chmod go+rw /dev/sg0

Update:
ran chmod on sg0, I tried to burn an audio cd with k3b as user. Worked! I will have to assume that this will work for data as well.

Kethinov 10-28-2004 03:05 PM

Yes that should do the trick. :)

k3b also has a graphical permissions configuration. It should just ask you for the root password when you attempt to edit it. In Debian, right after you install k3b is nags you about fixing permissions until you do. :)

gotmonkey 11-04-2004 08:48 AM

Quote:

Originally posted by Kethinov
Yes that should do the trick. :)

k3b also has a graphical permissions configuration. It should just ask you for the root password when you attempt to edit it. In Debian, right after you install k3b is nags you about fixing permissions until you do. :)

I tried that and it didn't work. k3b stopped nagging me about permissions and nothing. When I changed sg0's permissions is when I was able to burn as user.

It's working now and that was the most important


All times are GMT -5. The time now is 03:25 AM.