LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   a conflict between cdrecord and xcdroast? (https://www.linuxquestions.org/questions/linux-general-1/a-conflict-between-cdrecord-and-xcdroast-9774/)

PeterC1 12-07-2001 07:37 AM

a conflict between cdrecord and xcdroast?
 
I seem to be very close to making my CDRW work after much struggle. BUT there seems to be an error in “connecting” cdrecord and xcdroast. I am using RH 7.2. I have enabled SCSI support, have appended the lilo.conf file, have “options ide-cd ignore …” etc. statement in /etc/modules.conf file and have brought up both cdrecord and xcdroast. When I attempt to format the CD under xcdroast I receive an error message regarding cdrecord. In searching cdrecord.conf the CDROM shows dev: 0,6,0 speed:2 Fifosize: lm and driveropts: “”. When I run cdrecord –scanbus, the result shows the HP burner but shows scsibus 1. 1,0,0 and 100> hp. When I run cdrecord –checkdrive, I receive SCSIdev ‘yamaha; devname –‘yamaha’ and SCSIbus: -2lun: -2. From all this, it appears –scanbus and –checkdrive are giving me two different locations. Further, cdrecord.conf is showing the dev: 0,6,0. The other annoying issue is when I change the Cdrom to SCSI under fstab and save the change, when I reboot, the command reverts to cdrom as the device. There is another fstab (fstab.rpmsave) which I also amended to /dev/scd0 mnt/cdrom (as with fstab) it “saves” and isn’t changed when rebooting. I have made the link between /dev/cdrom and /dev/scd0 so the cd drive is shown as hdc.

This is all very frustrating and I’m sure one of you smart people can get me out of this maze. Please!

acid_kewpie 12-07-2001 07:53 AM

the drive should be 0,0,0 not 0,6,0. i get that as my default too, but it always find 0,0,0 when i scan the bus from gtoaster or whatever. well.. you say you'rs seems to be 1,0,0, which is probably just as right, IFWY i'd just change the cdrecord.conf file

ignore fstab.rpmnew, that's just a backup file that was made when you installed something that needed to change the file. assuming whatever you installed to get that wasn't about cdrw's then forget it for now.

i've not got that line in modules.conf, my scsi emulatino works fine with just the line in lilo.conf

well.. not a solution, but might clear up a few things to help make it a bit clearer

PeterC1 12-07-2001 04:12 PM

Well Chris, I changed the cdrecord.conf to 0,0,0 and am still showing a conflict between cdrecord and xcdroast. I am also continuing to overwrite fstab's /dev/scd0 mnt/cdrom when I reboot which makes no sense since other changes in the modules I have edited remain changed. Do you know if I want to use (say) the tmp directory when doing the config of xcdroast - the documentation is a bit "thin." The frustration continues!

Aussie 12-07-2001 04:29 PM

I have nothing in modules.conf regarding my cdrw, what I do is,
1. append = "hdd = ide-scsi" in /etc/lilo.conf
2. /sbin/modprobe ide-scsi in /etc/rc.d/rc.modules
3. /dev/scd0 /mnt/cdrw iso9660 users,ro,noauto 0 0 in /etc/fstab
And bingo it works. If you have a regular cd-rom as well you should just leave it to be detected as normal.

DavidPhillips 12-07-2001 05:24 PM

make an image then try this using cdrecord from command line see if it will work

ok first do cdrecord -scanbus
then use those dev values here

cdrecord -v speed=2 dev=0,0,0 -data imagename

PeterC1 12-07-2001 10:09 PM

Thank you all for the responses -- I'll try all in the morning and report back. Let's hope! Anyone have anything on the "change" in the /dev/scd0 etc edited into /etc/ftab when I reboot -- it reverts to the /dev/cdrom which is the line I edit and, yes, I do save the changes. Thanks again and let's hope!

DavidPhillips 12-07-2001 10:28 PM

that's not a problem, check out the lilnks in /dev/ they are the same thing, and will work fine that way.
fstab is updated on boot up

david@server david]$ ls -l /dev/scd0
brw-rw---- 1 root disk 11, 0 Aug 30 15:30 /dev/scd0
[david@server david]$ ls -l /dev/cdrom
lrwxrwxrwx 1 root cdwrite 9 Nov 30 16:01 /dev/cdrom -> /dev/scd0

/etc/fstab


/dev/cdrom /mnt/cdrom iso9660 noauto,ro,user,exec,unhide 0 0


one thing I did do was make a cdwrite group so I could add cdrecord, mkisofs, readcd, and cdda2wav, and /dev/cdrom to the cdwrite group.


This was just a permissions thing for non root users and should be ok if you test it with root first till you get something working.

PeterC1 12-09-2001 06:51 AM

Many thanks to all of you for your help. I continued to get error messages under xcdroaster and I couldn't seem to get the command right for the cdrecord to copy documents or format ("blank" I suspect) but I tried gnome toaster and all seemed to work -strange that a cdrw disc worked when a cdr wouldn't. Now it seems to be a matter of learning how to copy documents and opening the file under "Home" where I store them. I tried to figure out the "image" file business and guess I am really stupid -
Linux does that to me but I persist!! I guess I remain use to Win2000 where you can drag and drop or direct documents from a file to the cdr. Again, thank you all with the config issue.


All times are GMT -5. The time now is 12:21 AM.