About Me

My photo

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/E/B d-- s:++>: a-- C++(++++) UL++ P! L++ E--- W+++ N+++ w PS+ PE- !tv
b+++ G++ e++ h
------END GEEK CODE BLOCK------

Tuesday, September 14, 2004

cdrecord in Fedora Core 2

The command (for my system) is:
/usr/bin/cdrecord -v gracetime=2 dev=/dev/hdc speed=32 -dao driveropts=burnfree -eject -data <filename>

Previously the device was got by cdrecord -scanbus,but there were problems when given device from scanbus -dev=ATAPI 1,0,0 ( or do I not remember)

Anyway K3B helped and is helping a long way.!

2 comments:

Pierre MacKay said...

How did you manage this?

Here are my results---
/opt/schily/bin/cdrecord -v dev=/dev/hdc -data /archive/cdimage.raw
/opt/schily/bin/cdrecord: No write mode specified.
/opt/schily/bin/cdrecord: Asuming -tao mode.
/opt/schily/bin/cdrecord: Future versions of cdrecord may have different drive dependent defaults.
/opt/schily/bin/cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J￿rg Schilling
/opt/schily/bin/cdrecord: Warning: Running on Linux-2.6.7-1.494.2.2
/opt/schily/bin/cdrecord: There are unsettled issues with Linux-2.5 and newer.
/opt/schily/bin/cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
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.
/opt/schily/bin/cdrecord: /opt/schily/bin/cdrecord -v dev=/dev/hdc -data /archive/cdimage.raw
/opt/schily/bin/cdrecord: No write mode specified.
/opt/schily/bin/cdrecord: Asuming -tao mode.
/opt/schily/bin/cdrecord: Future versions of cdrecord may have different drive dependent defaults.
/opt/schily/bin/cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J￿rg Schilling
/opt/schily/bin/cdrecord: Warning: Running on Linux-2.6.7-1.494.2.2
/opt/schily/bin/cdrecord: There are unsettled issues with Linux-2.5 and newer.
/opt/schily/bin/cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
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.
/opt/schily/bin/cdrecord: No such device or address. Cannot open '/dev/hdc'. Cannot open SCSI driver.
/opt/schily/bin/cdrecord: For possible targets try 'cdrecord -scanbus'.
/opt/schily/bin/cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
No such device or address. Cannot open '/dev/hdc'. Cannot open SCSI driver.
/opt/schily/bin/cdrecord: For possible targets try 'cdrecord -scanbus'.
/opt/schily/bin/cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

If I could find some way of adding an ide-scsi module, I would, but for the moment, I cannot find any useful references. There is also the occasional message, using deprecated sg transport method instead of SG_IO. What and
where is SG_IO?

cdrecord is so great. I would hate to give it up for the
writer that is presently available on FC2.

phoe6 said...

I too tried different values for -dev, making futile attempts all the times and failing to understand the exact changes from the previous version. But k3b came handy and could recognize the value to be used with -dev (as it turned out /dev/hdc)
The command I have noted is working well.
Based upon your -scanbus results, selecting the corresponding device ( for eg. for me 1,0,0 turned out /dev/hdc) would help solve the issue I believe.
I shall shell more comments,when I get further information.