LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-19-2004, 05:10 PM   #1
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
Wink 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 dev=0,0 -v -audio /home/jeff/music/pink_floyd/01.wav

is this...

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)
------------------------------------------------------------------

and here is the output from "cdrecord -scanbus"

-------------------------------------------------------------------

Cdrecord-Clone 2.01a19 (i686-redhat-linux-gnu) Copyright (C) 1995-2003 Jrg Schilling
Linux sg driver version: 3.1.25
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').
scsibus0:
0,0,0 0) 'LITE-ON ' 'LTR-32123S ' 'XS07' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
-------------------------------------------------------------------

Here is my fstab...

-------------------------------------------------------------------
LABEL=/1 / ext3 defaults 1 1
LABEL=/boot1 /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda5 swap swap defaults 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/sda1 /mnt/usbdrive vfat user,noauto,umask=0 0 0

/dev/hda1 /mnt/windows vfat defaults 0 0
/dev/hdc /mnt/zipdrive vfat user,noauto,umask=0 0 0

/dev/scd0 /mnt/cdrom iso9660 user,noauto,owner,kudzu,rw 0 0
#/dev/hdb /mnt/cdrom iso9660 user,noauto,umask=0 0 0
------------------------------------------------------------------

and here is my grub.conf...

------------------------------------------------------------------
default=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Fedora Core (2.4.22-1.2174.nptl)
root (hd0,1)
kernel /vmlinuz-2.4.22-1.2174.nptl ro root=LABEL=/1 hdb=ide-scsi
initrd /initrd-2.4.22-1.2174.nptl.img
title Fedora Core (2.4.22-1.2166.nptlsmp)
root (hd0,1)
kernel /vmlinuz-2.4.22-1.2166.nptlsmp ro root=LABEL=/1 hdb=ide-scsi rhgb
initrd /initrd-2.4.22-1.2166.nptlsmp.img
title Fedora Core (2.4.22-1.2166.nptl)
root (hd0,1)
kernel /vmlinuz-2.4.22-1.2166.nptl ro root=LABEL=/1 hdb=ide-scsi rhgb
initrd /initrd-2.4.22-1.2166.nptl.img
title Fedora Core (2.4.22-1.2149.nptl)
root (hd0,1)
kernel /vmlinuz-2.4.22-1.2149.nptl ro root=LABEL=/1 hdb=ide-scsi rhgb
initrd /initrd-2.4.22-1.2149.nptl.img
title DOS
rootnoverify (hd0,0)
chainloader +1
------------------------------------------------------------------

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.
 
Old 03-19-2004, 05:27 PM   #2
mightymouse
Member
 
Registered: Mar 2004
Posts: 31

Rep: Reputation: 15
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.
 
Old 03-19-2004, 05:31 PM   #3
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

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

Thanks for the reply though, any other ideas?
 
Old 03-19-2004, 08:15 PM   #4
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

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

Please.....help......


Oh, and thank god for LQ!!!!
 
Old 03-20-2004, 01:55 PM   #5
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Original Poster
Rep: Reputation: 30
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...
 
Old 03-21-2004, 01:32 AM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
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.
 
Old 03-21-2004, 05:16 AM   #7
mightymouse
Member
 
Registered: Mar 2004
Posts: 31

Rep: Reputation: 15
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.
 
Old 03-21-2004, 10:04 AM   #8
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Original Poster
Rep: Reputation: 30
Thanks for chiming in everybody...

Couple things:

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

Thanks again for the replies....
 
Old 03-21-2004, 10:21 AM   #9
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Original Poster
Rep: Reputation: 30
Oops, my bad...didn't look long enough.
I found my drive (kind of) as a supported one at:

http://wt.xpilot.org/cgi-bin/winni/lsc-orig.pl

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!!!!!

Bumming out, please help....
 
Old 03-21-2004, 02:49 PM   #10
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

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

Anybody?.....
 
Old 03-22-2004, 06:43 PM   #11
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Original Poster
Rep: Reputation: 30
Got it

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
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
'Error trying to open /dev/scd0 exclusively' in RH9 cdrecord - help? tmadhavan Linux - Software 21 05-10-2004 06:13 AM
cdrecord not working - "cannot open /dev/pg1" ghambis Slackware 10 02-12-2004 05:11 PM
/dev/scd0 does not exist mrsolo Linux - Hardware 1 02-09-2004 09:30 PM
cdrecord problem - Cannot open '/dev/pg*' irvken Linux - Hardware 3 12-31-2003 02:59 AM
dev/scd0 error - audio doesnt play adhara Linux - Hardware 1 12-22-2003 05:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:49 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