LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Tags used in this thread
Popular LQ Tags , , , , ,

Reply
 
Thread Tools
Old 07-08-2007, 07:01 PM   #1
maxvonseibold
Member
 
Registered: Mar 2006
Location: Oxford, UK.
Distribution: Debian, Ubuntu, RHEL5, OSX
Posts: 40
Thanked: 0
cannot erase a cd (or get the burner working) - ubuntu


[Log in to get rid of this advertisement]
Hello,

I am trying to get my cdburner working. Its a Freecom model and connected as the secondary IDE slave after my DVD ROM.

Currently the various GNOME burning utilities reveal it as:-

_NEC NR-7700A

at

/dev/hdd (the DVD rom is on hdc).

Im running Ubuntu 7.04 - 2.6.20-16-generic


DMESG shows:-

Code:
dmesg | grep hdd
[   53.159629]     ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc: DMA, hdd: DMA
[   61.086769] hdd: _NEC NR-7700A, ATAPI CD/DVD-ROM drive
[   61.282684] hdd: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
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:-

http://www.michaelminn.com/?linux/command_line.html

cdrecord -v -force blank=fast dev=0,0,0

I tried this and also tried giving it /dev/hdd as an address but the errors still remain the same.

Can anyone advise me about this ...



Many Thanks.



Max.

Last edited by maxvonseibold; 07-08-2007 at 07:02 PM..
maxvonseibold is offline  
Tag This Post , , , , ,
Reply With Quote
Old 07-09-2007, 12:00 PM   #2
b0uncer
Senior Member
 
Registered: Aug 2003
Location: fin
Distribution: (B)LFS, Ubuntu, Slackware
Posts: 4,854
Thanked: 27
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.

I assume you already tried that as root, though.
b0uncer is offline     Reply With Quote
Old 07-09-2007, 12:19 PM   #3
jay73
Senior Member
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 8.04 / 9.04
Posts: 4,781
Thanked: 89
Are you sure it's still an hd? Most distros on 2.6.20+ kernels refer to optical drives as scd nowadays.
jay73 is offline     Reply With Quote
Old 07-09-2007, 03:14 PM   #4
dracolich
Senior Member
 
Registered: Jul 2005
Location: Va Beach
Distribution: Slackware
Posts: 1,220
Thanked: 1
I think the switch b0uncer is referring to is -scanbus. I think you device switch needs the ATAPI option, lik this:

dev=ATAPI:0,0,0

If yours is hdc it might be 0,1,0 indicating the secondary master, but scanbus will tell you what it is.

You can also try to force a generic driver. Mine works best with

driver=generic-mmc

Quote:
dmesg | grep hdd
[ 53.159629] ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc: DMA, hdd: DMA
[ 61.086769] hdd: _NEC NR-7700A, ATAPI CD/DVD-ROM drive
[ 61.282684] hdd: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Were the drives really both assigned to hdd?
dracolich is offline     Reply With Quote
Old 07-09-2007, 03:18 PM   #5
maxvonseibold
Member
 
Registered: Mar 2006
Location: Oxford, UK.
Distribution: Debian, Ubuntu, RHEL5, OSX
Posts: 40
Thanked: 0

Original Poster
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...

Will try and post back in a day or two ...
maxvonseibold is offline     Reply With Quote
Old 06-28-2008, 02:19 AM   #6
jm_fortuin
LQ Newbie
 
Registered: Oct 2005
Posts: 1
Thanked: 0
Smile CD burner problem hacked with umount

Quote:
Originally Posted by maxvonseibold View Post
utilities like gnomebaker ...
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.

Thanks.
jm_fortuin is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot erase Ubuntu from Mac for sister... RHLinuxGUY Ubuntu 5 04-10-2006 12:42 AM
how can I get my burner working? Vincent Slackware 24 12-06-2003 11:58 AM
Burner not working!! gdluiv Linux - Newbie 9 11-10-2003 03:02 PM
burner not working the anti-riced Linux - Hardware 8 05-21-2003 03:30 PM
CD Burner not working dtsfanatic Linux - Hardware 7 08-21-2002 01:59 PM


All times are GMT -5. The time now is 10:56 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration