'Error trying to open /dev/scd0 exclusively' in RH9 cdrecord - help?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
'Error trying to open /dev/scd0 exclusively' in RH9 cdrecord - help?
Lo all.
Can''t find any help about this at all, but it seems to have happened to other people.
Just recently installed RH9 and got all the updates I needed. When I try making a cd using cdrecord (i.e., xroast or gnometoaster) I get an error saying:
"Error trying to open /dev/scd0 exclusively... will retry in 1 second"
Eventually it just ends with "...bailing out..."
This happens regardless of whether I'm root or not and I have no clue what the problem is. Don't mind editing anything, I just don't know which things I need to change.
tmadhavan>seems to have happened to other people.
Speaking as one of the 'other people' I have exactly the same problem as you. I find that Gnome's Go/CD Creator works almost as well as 'doze's right-click/send to/CDROM, but only when there's a blank CD in the drive, otherwise I get the old "...bailing out...". Using 650MB of storage to copy 1kB of file is a bit wasteful when I have to use a new disc each time...
Remember siedren, you are speaking to newbies here so if your method, which didn't work for me (it didn't give an error but it also didn't write the files to a non-blank CD), needs me to first click redhat/preferences/cd properties and change things in there, then you had better specify that. Same with changes to /etc/XF86Config .
ps. I am also having problems writing to my floppy. Once again it goes through the motions but if I transfer the floppy to a 'doze box the files aren't there. Also, Nautilus claims to be 'unable to unmount the volume' 15 minutes after it claimed that it had finished copying files there because 'the device is busy'. I know its only an AMD 1800+...
(This is for tmadhavan) I also use the xcdroast and gnome-toaster... in gui... when u use it and insert a blank cd... the guid generally automatically mounts the cd to the system... and when u try to write to a mounted cdrom using xcdroast or gnome-toaster... it requires an unmounted cdrom... to write... this is the reason why u gett retrying in 1 second and bails out after 10 seconds...
(This is for verstapp) regarding writing to floppy the floppy is not automounted in gui... it has to be mounted and then only can u write to it....so mount it first and then try to write a file to it....
hitesh>and then try to write a file to it... try to write to it?!
It sounds as if you are having almost as much trouble as I am.
Just tried again -
insert disk
right-click on desktop
hover over Disks menu item, click on Floppy
Floppy icon appears on desktop
right-click on it, click Open
'floppy' window opens
right-click copy file in home window, right-click paste file in 'floppy' window
drive light goes on for a second
right-click on 'floppy' icon, eject, 'device is busy'
right-click on desktop, disks, floppy, 'device is busy'
take floppy out of drive anyway, move to 'doze machine. Needless to say the file hasn't been copied to it.
Please point out to me the thing that I am doing incorrectly.
hitesh>and then try to write a file to it... try to write to it?!
It sounds as if you are having almost as much trouble as I am.
Just tried again -
insert disk
right-click on desktop
hover over Disks menu item, click on Floppy
Floppy icon appears on desktop
right-click on it, click Open
'floppy' window opens
right-click copy file in home window, right-click paste file in 'floppy' window
drive light goes on for a second
right-click on 'floppy' icon, eject, 'device is busy'
right-click on desktop, disks, floppy, 'device is busy'
take floppy out of drive anyway, move to 'doze machine. Needless to say the file hasn't been copied to it.
Please point out to me the thing that I am doing incorrectly.
hitesh>and then try to write a file to it... try to write to it?!
It sounds as if you are having almost as much trouble as I am.
Just tried again -
insert disk
right-click on desktop
hover over Disks menu item, click on Floppy
Floppy icon appears on desktop
right-click on it, click Open
'floppy' window opens
right-click copy file in home window, right-click paste file in 'floppy' window
drive light goes on for a second
right-click on 'floppy' icon, eject, 'device is busy'
right-click on desktop, disks, floppy, 'device is busy'
take floppy out of drive anyway, move to 'doze machine. Needless to say the file hasn't been copied to it.
Please point out to me the thing that I am doing incorrectly.
hitesh>and then try to write a file to it... try to write to it?!
It sounds as if you are having almost as much trouble as I am.
Just tried again -
insert disk
right-click on desktop
hover over Disks menu item, click on Floppy
Floppy icon appears on desktop
right-click on it, click Open
'floppy' window opens
right-click copy file in home window, right-click paste file in 'floppy' window
drive light goes on for a second
right-click on 'floppy' icon, eject, 'device is busy'
right-click on desktop, disks, floppy, 'device is busy'
take floppy out of drive anyway, move to 'doze machine. Needless to say the file hasn't been copied to it.
Please point out to me the thing that I am doing incorrectly.
Sorry for five posts. The server was having problems keeping up - the administrators have decided that you can only post once every 22 seconds - and I'm afraid I hit the Send button more often than I should have. A Delete button next to the Edit and Quote buttons would have solved my problem.
If you are having trouble using your cd-writer, I stronly suggest that you give K3B a try !!! K3B is the best.
Anyway.... as you said....
Quote:
I find that Gnome's Go/CD Creator works almost as well as 'doze's right-click/send to/CDROM, but only when there's a blank CD in the drive, otherwise I get the old "...bailing out..."
This is common sense. If you have a cd in which you cannot write to then obviously you wont be able to write to it. You should insert a cd which is either fully blank, or one which can be appended to (multi session cd). Read the cdwriting howto at tldp for more info.
To use cdrecord, your cd should not be mounted. When you insert a cd, a program called autorun which runs in the background checks the drive and mounts it, if it can. Therefore even if a cd is multisession it will be mounted and you will not be able to write to it.
To solve this issue, I usually kill autorun, before I do any cd-writing business OR you can unmount your cd and then start writing.
To Kill Autorun:
The command 'ps ex' should list all the programs that are running. Get the process id and then enter the command 'kill <processid>'
All the cd-writing front-ends in linux use cdrecord or cdrdao as their backend. So this information applies to all of them.
About the floppy problem. I use mtools (mcopy, mdir etc...) I dont use the floppy very much so I am satisfied with the command line tools. Take a look at mtools. Its very easy. Works just like the dos commands but with an 'm' in from of it.
this is for verstapp>
for mounting the flopppy in gui you have to right click on the desktop then clik on the disks there you wil find floppy... then whne u get the icon of floppy you have toi right clik on the icon and clik on mount to mount the floppy... after mounting it you can copy the files quite as normally ... after copying don't eject the floppy (manually)... just close all the window which are using the floppy drive and then right clik on the floppy icon on the desktop and clik on umount.... thereby copying the things on to the floppy.. to checkthat it has been copied... just mount the floppy again...
hello im allso having a problem with the cdrecord command i have created a directory in which to store my wav files iv became root user and typed cdrecord -v dev=0,0,0 -audio *.wav the feedback i get from typing this is as followsCdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
TOC Type: 0 = CD-DA
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
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').
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'ATAPI '
Identifikation : 'CD-RW 52XMax '
Revision : '150D'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO RAW/R96R
Drive buf size : 1658880 = 1620 KB
FIFO size : 4194304 = 4096 KB
cdrecord: Bad audio track size 35407872 for track 01.
cdrecord: Audio tracks must be at least 705600 bytes and a multiple of 2352.
cdrecord: See -pad option.
i would appreciate any help
The error message explains it all. The audio track should be a multiple of 2352 bytes and one or more of the audio files you want to burn is not. So you have to add the option -pad to the command and cdrecord will add zeros to the end of the audio file so that it becomes a mutliple of 2352 bytes. This will not affect the audio at all, except increase the length by about less than a second.
Just append -pad to the command and everything should work fine
Some more tips for your audio cd recording experience.
Try using normalize. It is a program that will change the volume level of the audio files so that they all sound at the same volume. This is very useful when burning cd with music files from different albums and they have totally different volume levels.
Also try using k3b. I think it is the best cd burning front end ever created.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.