LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-07-2001, 07:37 AM   #1
PeterC1
LQ Newbie
 
Registered: Sep 2001
Location: Louisville Kentucky
Distribution: Now use RH 7.3 and RH 8.0
Posts: 16

Rep: Reputation: 0
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!
 
Old 12-07-2001, 07:53 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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
 
Old 12-07-2001, 04:12 PM   #3
PeterC1
LQ Newbie
 
Registered: Sep 2001
Location: Louisville Kentucky
Distribution: Now use RH 7.3 and RH 8.0
Posts: 16

Original Poster
Rep: Reputation: 0
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!
 
Old 12-07-2001, 04:29 PM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
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.
 
Old 12-07-2001, 05:24 PM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
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
 
Old 12-07-2001, 10:09 PM   #6
PeterC1
LQ Newbie
 
Registered: Sep 2001
Location: Louisville Kentucky
Distribution: Now use RH 7.3 and RH 8.0
Posts: 16

Original Poster
Rep: Reputation: 0
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!
 
Old 12-07-2001, 10:28 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
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.

Last edited by DavidPhillips; 12-07-2001 at 10:29 PM.
 
Old 12-09-2001, 06:51 AM   #8
PeterC1
LQ Newbie
 
Registered: Sep 2001
Location: Louisville Kentucky
Distribution: Now use RH 7.3 and RH 8.0
Posts: 16

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
k3b cdrecord cdrtools xcdroast jdier Linux - Software 9 01-15-2005 02:37 AM
xcdroast ciberrust Linux - Software 3 11-16-2004 10:36 PM
Cannot copy video cd with cdrecord/Xcdroast mooppils Linux - Software 1 11-04-2004 07:37 PM
xcdroast - cdrecord.mmap: Input/output error. write_g1: scsi sendcmd: cmd timeout masgari Linux - Software 11 03-17-2004 10:55 PM
how to use xcdroast? doublefailure Linux - Software 2 08-29-2002 05:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration