Configuring CD-Burner

Place to discuss Fedora and/or Red Hat

Configuring CD-Burner

Postby agent007 » Thu May 29, 2003 5:51 am

hi,

Since RedHat 9 could not configure my CD-burner(Sony), I had to do it manually... but have run into some problems. From what I understood, the following was done:-

1)
alias scsi_hostadapter ide-scsi


The above line was added to the /etc/modules.conf file....

2)
/dev/scd0 /mnt/sony iso9660 noauto,owner,kudzu,ro 0 0


The above line was added in the /etc/fstab file

3)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/ hdb=ide-scsi


Grub.conf file contains the "hdb=ide-scsi" This way the SONY burner is using SCSI emulation and the other ASUS CD-ROM uses normal mode, not SCSI emulation since the cd-rom does not need SCSI emulation for reading CD's....

I tried burning a CD using K3B and landed up with a coaster......The operation aborted. Could this be due to some error in the config OR is it due to K3B?

thanks,
007
agent007
administrator
administrator
 
Posts: 254
Joined: Wed Feb 12, 2003 11:26 pm

Postby Void Main » Thu May 29, 2003 6:53 am

I don't have anything for my burners in /etc/modules.conf. The /etc/fstab entry only matters for mounting a CD, not for burning. The boot entry "hdb=ide-scsi" is correct if your burner is the second device on the first IDE channel. My burners are hdc and hdd but it shouldn't matter as long as your jumpers are correct. Does it work as a reader?

As far as k3b aborting there is not enough information to answer your question. Is there an error message associated with the abort? What does the "cdrecord -scanbus" command show? Can you burn an ISO image with "cdrecord" directly and if no, what is the error message from cdrecord?
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby agent007 » Thu May 29, 2003 7:55 am

Yes, it works as a reader.....I will post the o/p of k3b shortly. Btw, the entry in modules.conf is important for burners, since SCSI emulation needs to be enabled.

This is what cdrecord --scanbus shows;

Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J�rg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.75-RH '@(#)scsi-linux-sg.c 1.75 02/10/21 Copyright 1997 J. Schilling').
scsibus0:
0,0,0 0) 'SONY ' 'CD-RW CRX160E ' '1.0e' 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) *
agent007
administrator
administrator
 
Posts: 254
Joined: Wed Feb 12, 2003 11:26 pm

Postby Void Main » Thu May 29, 2003 8:35 am

And what happens when you try and write an ISO using cdrecord directly?

# cdrecord -v dev=0,0,0 someiso.iso

If the above fails you might want to use the "-V" or "-VV" switches for more verbose SCSI messages.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby agent007 » Thu May 29, 2003 8:43 am

hi VoidMain,

YES!!! I finally got it going!!! Thing is there was a conflict between DAO and Multisesson. Seems like multisession is only supported by TAO and is the only way to create a multisession CD.

Also, I could'nt burn as a normal user. Under R00t it works fine. Btw, K3b is really neat & highly configurable compared to all the other fronends I've tried. Its a must have!

Another thing I noticed is the kind of stability one gets. I mean, there are so many apps running in the background and the buffer is always above 90%..Totally cool..

thanks,
007
agent007
administrator
administrator
 
Posts: 254
Joined: Wed Feb 12, 2003 11:26 pm

Postby Nobber » Thu May 29, 2003 8:58 am

agent007 wrote:Also, I could'nt burn as a normal user. Under R00t it works fine.

The usual fix for this is to do, as root:
Code: Select all
chmod 4755 `which cdrecord`

which will then make the cdrecord executable available to the peasants. Or you could create an exclusive cd-burning group...
Nobber
user
user
 
Posts: 32
Joined: Thu Jan 23, 2003 8:36 am
Location: Slackville

Postby Void Main » Thu May 29, 2003 8:59 am

Cool beans.. Yeah you have to set permissions up such that your userID can burn CDs so you don't have to be root to do it. I set up a group (cdwrite/cdrecording) and set the /dev/scd0 permissions so the group has write ability to the device. You could also do as Nobber says and SUID it but before I did that I would pamify it.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby agent007 » Thu May 29, 2003 11:44 am

hi,

Have created a new group cd-burning....and cdrecord has 770 permissions for this group. So, whoever needs to burn a CD, logs in as a cd-burning user, burns the CD and then logs out...

Is this how it works?

thanks.
agent007
administrator
administrator
 
Posts: 254
Joined: Wed Feb 12, 2003 11:26 pm


Return to Fedora/Red Hat

Who is online

Users browsing this forum: No registered users and 2 guests

cron