cannot erase a cd (or get the burner working) - ubuntu
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Both the GUI tools and CDRECORD all give errors along the lines of the following when I try to blank a cd or do anything like :-
Code:
cdrecord -v -force blank=fast dev=/dev/hdd
Code:
TOC Type: 1 = CD-ROM
scsidev: '/dev/hdd'
devname: '/dev/hdd'
scsibus: -2 target: -2 lun: -2
Error trying to open /dev/hdd exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdd exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdd exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdd exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdd exclusively (Device or resource busy)... giving up.
scsidev: 'ATA:/dev/hdd'
devname: 'ATA:/dev/hdd'
scsibus: -2 target: -2 lun: -2
wodim: No such file or directory.
Cannot open SCSI driver!
For possible targets try 'wodim --devices' or 'wodim -scanbus'.
For possible transport specifiers try 'wodim dev=help'.
For IDE/ATAPI devices configuration, see the file README.ATAPI.setup from
the wodim documentation.
wodim --devices gave me the following:-
Code:
Beginning native device scan. This may take a while if devices are busy...
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... giving up.
Error trying to open /dev/hdd exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdd exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdd exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdd exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdd exclusively (Device or resource busy)... giving up.
wodim: Overview of accessible drives (0 found) :
I googled a bit and tried using cdrecord - for example a guide at this address suggested the following approach:-
cdrecord has the switch (can't remember what it is, but --help should tell it, or the manpage) that makes it search & display the available drives that it can use for burning. Run that first, see if it shows your hdd (or equivalent). If it does display for example hdd then make sure the disc is not mounted and that you have privileges to use the device.
Hmmmm, well the utilities like gnomebaker and commandline apps like 'mount' all say that it's on /dev/hdd ... ? Could it be somewhere else despite this?
Something else I considered was that maybe I should make the cd burner the Secondary Master rather than the slave ... This may make it /dev/hdc which might sort the problem out. It's a bit of a crappy approach to the problem but worth a try I suppose...
Whatever the case I will and check out what is on sdc just to be sure (this will have to be tomorrow now im afraid as im working nights this week )
Bouncer, I will try the cdrecord switch option too and see if I have any luck...
I suspect you are dealing with a similar scenario that generated the same message for me:
"Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second."
while I was attempting to use Gnomebaker.
My solution/hack follows:
start Gnomebaker
Open terminal as root
umount /dev/hdc
go back to Gnomebaker, select tools > then copy DVD
Copy / burn functions worked fine afterwards until I loaded a different CD / DVD to copy, then I repeated the above umount command with success.
I'd appreciate it if someone was to enlighten me on the exact details of why this works for me, and how to get beyond this hack to smooth functionality.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.