LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > 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


Reply
  Search this Thread
Old 03-14-2005, 01:24 AM   #1
I_Wanna_Kno
LQ Newbie
 
Registered: Mar 2005
Location: India
Distribution: Red Hat 8.0
Posts: 11

Rep: Reputation: 0
CD-RW: Not able to write CD's


Hi group
I was trying to make some backups on my CD using the mkisofs and cdrecord commands.
But it didn't work properly.

-----------------------------------------------------------------------------------------
Here is what I got upon issuing cdrecord command (the file to write is bkup.iso):-

[root@localhost evolution]# cdrecord -dev 0,0,0 -speed=8 bkup.iso
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.24
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..
[root@localhost evolution]#

---------------------------------------------------------------------------------------------
Upon trying scanbus option with cdrecord , the result was:

[root@localhost evolution]# cdrecord -scanbus
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jrg Schilling
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'SAMSUNG ' 'CD-R/RW SW-252F ' 'R802' 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's a copy of the cdrecord.conf file:-

#ident @(#)cdrecord.dfl 1.4 02/07/07 Copyr 1998 J. Schilling
#
# This file is /etc/cdrecord.conf
# It contains defaults that are used if no command line option
# or environment is present.
#
# The default device, if not specified elswhere
#
CDR_DEVICE=yamaha

#
# The default speed, if not specified elswhere
#
# Note that newer cdrecord versions do not default
# to speed=1. For MMC compliant drives, the default
# is to write at maximum speed, so it in general does
# not make sense to set up a default speed in /etc/cdrecord.conf
#
#CDR_SPEED=40

#
# The default FIFO size if, not specified elswhere
#
CDR_FIFOSIZE=4m

#
# The following definitions allow abstract device names.
# They are used if the device name does not contain the
# the characters ',', ':', '/' and '@'
#
# Unless you have a good reason, use speed == -1 and let
# cdrecord use it's intercal drive specific defaults.
#
# drive name device speed fifosize driveropts
#
teac= 1,3,0 -1 -1 ""
panasonic= 1,4,0 -1 -1 ""
plextor= 1,4,0 -1 -1 ""
sanyo= 1,4,0 -1 -1 burnfree
yamaha= 1,5,0 -1 -1 ""
cdrom= 0,6,0 2 1m ""

-----------------------------------------------------------------------------------------
Here's a snapshot of the hwconf file :-

-
class: CDROM
bus: SCSI
detached: 0
device: scd0
driver: ignore
desc: "Samsung CD-R/RW SW-252F"
host: 0
id: 0
channel: 0
lun: 0
generic: sg0
-

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

The device is /dev/cdrom or /dev/scd0 (cd works with both).
The mount point is /mnt/cdrom .
CD-RW is Samsung CD-RW drive.

Any of my CD writing programs are not working [Gnome CD toast or X-cd-roast ]. All give the bailing out message. Please help!!
 
Old 03-14-2005, 02:44 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

This: Error trying to open /dev/scd0 exclusively looks like some other program/process has claimed your device already or permission settings are incorrect.

Another thing, are you using cdrecord or a clone?

This from the cdrecord makers: RH/Suse + cdrecord, especially the Important Information part.

Hope this helps.
 
Old 03-16-2005, 01:30 AM   #3
I_Wanna_Kno
LQ Newbie
 
Registered: Mar 2005
Location: India
Distribution: Red Hat 8.0
Posts: 11

Original Poster
Rep: Reputation: 0
Question

I used cdrecord from commandline as provided by Red Hat distro.

I was not using any other CD accessing program at that time. But I had mounted the CD however (should I ?)

Please Help !!
 
Old 03-16-2005, 02:17 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Quote:
I used cdrecord from commandline as provided by Red Hat distro.
The cdrecord program provided by RH or Suse could be incorrect (as stated by the link given).

Quote:
But I had mounted the CD however (should I ?)
I never mount the cd before burning.
 
  


Reply



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
how can i write cd's in slackware nick021 Linux - Newbie 6 09-16-2005 12:35 AM
[SOLVED] tool to write CD's c0ncrete Linux - Newbie 4 05-01-2005 02:36 PM
dvdrecord nec 1300 can't write cd's >=100min monc Linux - Software 0 12-17-2003 02:50 AM
Will the bootable cd's write to the hard drive? Travis86 Linux - Newbie 3 03-23-2003 11:13 PM
How do you write CD's in Linux? justin19fl Linux - Newbie 3 08-03-2001 05:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:36 AM.

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