cdrecord - Error trying to open /dev/scd0 exclusively...
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Fixed!!!! cdrecord - Error trying to open /dev/scd0 exclusively...
My apologies for the lengthy post folks...
First off, I am running Fedora core 1, kernel 2.4.22-1.2174.nptl. I have a Lite-on LTR-32123S, and the KDE hardware browser says it's at /dev/scd0. It is physically connected as slave to the main HD on ide0, so grub reflects it as hdb.
I have read every thread I can find on this subject, and still cannot solve the problem. Trying to burn audio CD using cdrecord. All I get when using the command
Cdrecord-Clone 2.01a19 (i686-redhat-linux-gnu) Copyright (C) 1995-2003 Jrg Schilling
TOC Type: 0 = CD-DA
scsidev: '0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.25
Error trying to open /dev/scd0 exclusively ... retrying in 1 second.
Error trying to open /dev/scd0 exclusively ... retrying in 1 second.
Error trying to open /dev/scd0 exclusively ... retrying in 1 second.
Error trying to open /dev/scd0 exclusively ... retrying in 1 second.
Error trying to open /dev/scd0 exclusively ... retrying in 1 second.
Error trying to open /dev/scd0 exclusively ... retrying in 1 second.
Error trying to open /dev/scd0 exclusively ... retrying in 1 second.
Error trying to open /dev/scd0 exclusively ... retrying in 1 second.
Error trying to open /dev/scd0 exclusively ... retrying in 1 second.
Error trying to open /dev/scd0 exclusively ... retrying in 1 second.
bailing out..
Now, I saw in another thread that I need to unmount my cd drive. Well, I tried, and it's not mounted to begin with. Here is the output from the "mount" command...
-------------------------------------------------------------------
/dev/hda3 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda2 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/hda1 on /mnt/windows type vfat (rw)
------------------------------------------------------------------
If there is any other info that will help solve this, please reply and it'll be posted immediately.
I am almost at my wits end here. This is the last hurdle I need to overcome in order to dump windows once and for all. If anyone can give me ANY ideas, I would be eternally grateful.
Last edited by jeffreybluml; 03-22-2004 at 06:45 PM.
SCSI ID's are made up of three parts. You've read the output of cdrecord -scanbus wrong; see the line with your CDROM entry? If you take a closer look you'll see that its at device 0,0,0 and is the first entry (we count from 0) in the list of 7 possible devices. I suggest you try running your command again with "dev=0,0,0"
You might also want to set a "speed=X" option. This is all explained in the CD-Writing-HOWTO which you can find at www.tldp.org.
Should have mentioned that I have also tried dev=0,0,0 and I have tried (among many other various options) setting the speed. My impression is that none of this matters until I can get through the first issue.
I might have also mentioned that I've tried simply...
cdrecord -inq
and I get the same "Error trying to open blah blah blah..."
Uh oh. I went to the link mightymouse posted (thank you) and my writer is not listed on the supported devices! It is a 2-3 years old, and I can't even find drivers (for ANY OS) at Lite0on's website. PLEASE tell me I am not S.O.L. here! If it is an "unsupported" drive, is there any way to "hack" around that?
Somebody please help here! Give me any suggestions you've got.
I ought mention that I've tried all of the burning GUI programs I've got as well, to no avail of course. These are Xroast, CD Writer, and K3B. The first two didn't even seem to recognize the drive as a writer, and K3B did. K3B however gives me "Error while decoding audio tracks" after it starts to try to burn. The audio is fine, I can play it with any one of the audio players. I have put it in a folder with full read/write permissions...moved it to thetmp directory...everything I can think of.
So I finally read the detals of the error report from K3B, and it is getting the same error that I was using cdrecord, as it too tries to use cdrecord as its burning utility. So, the error has nothing to do with decoding the audio, near as I can tell.
Can nobody help me?! I want to dump windows, and this is my last step before I can repartition it the heck off my drive. Please help...
Have you tried creating an image of the wav file and burning it as data, rather than trying to burn the wav file itself as audio? The following has always worked for me:
1. Put the data you want to save in a single directory, which I'll call /home/user/whatever and then make your image file, which I'll call "my_image.img" by running this command:
mkisofs -r -o my_image.img /home/user/whatever
2. Burn it to CD by running this command:
cdrecord -v speed=8 dev=0,0,0 -data my_image.img
Adjust the speed parameter to match your CD's specs and you're set. -- J.W.
Just a quick note, the list of supported devices in the CD-Writing-HOWTO is probably inaccurate/dated. Your better off looking for your burner in the linux hardware compatibility list which can be found by googling. There are various general purpose and distro specific versions of it.
1) tried to burn from the iso image as suggested, same results. Thanks though, as I was going to need how to make isos sooner or later...so thanks J.W....
2) cannot seem to find Lite-on manufacturer in ANY compatibility list from googling. Question:
2a) Is Lite-on known as any other name?
3) if it is an unsupported drive, what then? Is there a way around this, such as creating your own drivers? I hate to think I have to keep windows installed just to be able to use my burner, plus it'll kind of hinder my ability to promote friends and family to dump winows if I can't burn CDs with it, seeing as that is what most of my friends and family do with their systems.
So, keep the replies coming please! If nothing else, it'll keep this post up where somebody will see it and perhaps know what the answer is...
Now, cdrecord detects it as LITE-ON LTR-32123S XS07, but the compatibility list only shows "LITE-ON LTR-32123S rev. XS0R" rather than XS07. Will this really matter, or can I consider mine to be supported?
Man, being a newbie and all, only having used Linux for three months or so, I thought I had been doing pretty well. THIS IS BRINGING ME DOWN!!!!!
Is it perhaps possible to download drivers specifically for this device, if it is indeed a supported one as I beleive it to be? As I mentioned, I have tried the Lite-on site, which sucks.
Tried searching, but I guess I'm not effecient enough cuz my searches lead nowhere...
A friend noticed that I was actually using cdrecord-clone 2.0, and found some reference to it on some german site that said it had a bug resulting in this exact error. So, installed the actual cdrecord, all better.
THanks to those who chimed in and tried. LQ.....Best forum ever
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.