LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 10-12-2005, 06:50 AM   #1
tuce
LQ Newbie
 
Registered: Apr 2005
Posts: 17

Rep: Reputation: 0
CDRW Problem


Hi!

I have some problems with CDWriter an CDRom detection devices! The curious thing is the fact that I can read any kind of CD with both CDROM and CDWRITER, it starts atomatically the AutoRun thing! If I try to use cdrecord to burn a CD, I can't, because it can't find my CDWriter and CDROM, I used the command "cdrecord -scanbus" and here it is the message:

root@rippy:~ # cdrecord -scanbus
Cdrecord-Clone 2.01a29 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
NOTE: this version of cdrecord is an unofficial (modified) release of cdrecord
and thus may have bugs that are not present in the original version.
Please send bug reports and support requests to <cdrtools@packages.debian.org>.
The original author should not be bothered with problems of this version.

cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
cdrecord:
cdrecord: For more information, install the cdrtools-doc
cdrecord: package and read /usr/share/doc/cdrecord/README.ATAPI.setup .

I also, installed "xcdroast" and the following message message was shown on the screen: "No CDWriter or CDRom device detected.For ATAPI/IDE devices under Linux you have to enable SCSI-Emulation in the kernel in order to activate them!"

I run a UbuntuOS with a kernel version 2.6!

Any advice will be wellcomed!
 
Old 10-12-2005, 12:13 PM   #2
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
What is the command that you are using to write to CD?

Try something like this:

cdrecord -v speed=4 dev=/dev/hdc name_of_file_to_write

It says you need scsi emulation, but for kernel 2.6 you do not need it.
 
Old 10-12-2005, 01:49 PM   #3
tuce
LQ Newbie
 
Registered: Apr 2005
Posts: 17

Original Poster
Rep: Reputation: 0
I listened to your advice and here it is th result:

root@rippy:/home/rippy/downloads # cdrecord -v speed=4 dev=/dev/hdc prezentare-qmail.pdf
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01a29 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
NOTE: this version of cdrecord is an unofficial (modified) release of cdrecord
and thus may have bugs that are not present in the original version.
Please send bug reports and support requests to <cdrtools@packages.debian.org>.
The original author should not be bothered with problems of this version.

TOC Type: 1 = CD-ROM
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
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)... 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)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
cdrecord: Device or resource busy. Cannot open '/dev/hdc'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
cdrecord:
cdrecord: For more information, install the cdrtools-doc
cdrecord: package and read /usr/share/doc/cdrecord/README.ATAPI.setup .
 
Old 10-12-2005, 02:36 PM   #4
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
/dev/hdc is only going to work if that is the name of your cdrom drive. Do you know if that is what it is? Let's see what's in your fstab:

Code:
cat /etc/fstab
 
Old 10-12-2005, 03:16 PM   #5
tuce
LQ Newbie
 
Registered: Apr 2005
Posts: 17

Original Poster
Rep: Reputation: 0
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda3 / ext3 defaults,errors=remount-ro 0 1
/dev/hdd /media/cdrom0 udf,iso9660 ro,user,noauto 0 0
/dev/hdc /media/cdrom1 udf,iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/hda5 /mnt/data vfat umask=022 0 0
 
Old 10-12-2005, 03:17 PM   #6
tuce
LQ Newbie
 
Registered: Apr 2005
Posts: 17

Original Poster
Rep: Reputation: 0
belive me /dev/hdc is the CD-WR
 
Old 10-12-2005, 03:36 PM   #7
azucaro
Member
 
Registered: Jan 2005
Location: Washington, D.C.
Distribution: Arch (Custom), CentOS
Posts: 239

Rep: Reputation: 30
Note also that your cdrom has to be unmounted before you begin your burn process. You are getting a busy signal which says to me that the cd is probably mounted by automount (or automatically when you boot up). Try:

Code:
umount /dev/hdc
See if that will let you burn "exclusively" as cdrecord puts it.
 
Old 10-12-2005, 04:16 PM   #8
tuce
LQ Newbie
 
Registered: Apr 2005
Posts: 17

Original Poster
Rep: Reputation: 0
10x man it worked!
 
  


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
CDRW problem binaryatrocity Linux - Hardware 12 07-26-2005 10:21 PM
cdrw problem doralsoral Linux - Hardware 4 01-15-2004 09:05 PM
Liteon 52x cdrw - K3b doesn't see it as cdrw LooseCanon Linux - Hardware 20 08-29-2003 10:21 PM
CDRW Problem with 7.2 rmaustin67410 Linux - Newbie 3 10-02-2002 10:10 AM
cdrw problem jstu Linux - Software 9 03-05-2002 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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