cdrdao (WAS Re: [CLUE-Tech] ISO images from Audio CD's?)
Timothy C. Klein
teece at silverklein.net
Sun Dec 8 18:52:41 MST 2002
* Randy Arabie (randy at arabie.org) wrote:
> On Sunday, 8 December 2002 at 12:37:24 -0700, Dave Price <davep at kinaole.org> wrote:
> I'm giving cdrdao a whirl. I tried this:
>
> rrarabie at potter:~$ cdrdao copy -v 10 --device 0,0,0 --source-device
> /dev/hdb --speed 4 --buffers 64 --reload --eject --on-the-fly --fast-toc
> --paranoia-mode 0
>
> And I got this:
>
> 0,0,0: HP CD-Writer+ 9100 Rev: 1.0c
> Reading driver table from file "/usr/share/cdrdao/drivers".
> Found 184 valid driver table entries.
> Using driver: Generic SCSI-3/MMC - Version 1.2 (options 0x0010)
>
> ERROR: /dev/cdrom: Need a filename that resolves to a SCSI device.
> ERROR: Cannot open SCSI device '/dev/cdrom': Cannot open '/dev/cdrom'
> ERROR: Please use option '--device bus,id,lun', e.g. --device 0,6,0
> ERROR: Cannot setup source device /dev/cdrom.
>
> I think I understand the error. /dev/cdrom is a symbolic link to
> /dev/hdb. It works as a CD-ROM, but I've never been able to play
> audio CD's from it. Apparently, cdrdao and the xmms need to access
> it via it's SCSI device bus,id,lun. However, I don't know hot to
> get this. For my writer I use cdrecord --scan-bus, that only reports
> my CD-Writer:
I believe that it wants a SCSI device, not a device on the filesystem.
If cdrdao is like cdrecord, you would give it: --device 0,0,0
That should work for what you have listed below as your cd burner.
> rrarabie at potter:~$ cdrecord --scanbus
> Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
> Linux sg driver version: 3.1.22
> Using libscg version 'schily-0.5'
> scsibus0:
> 0,0,0 0) 'HP CD-Writer+ 9100 ' '1.0c' 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) *
>
> From dmesg I see this:
>
> rrarabie at potter:~$ dmesg | grep CD
> hdb: CD-ROM Drive/F5D, ATAPI CD/DVD-ROM drive
> hdc: Hewlett-Packard CD-Writer Plus 9100, ATAPI CD/DVD-ROM drive
> hdb: ATAPI 52X CD-ROM drive, 128kB Cache
> Uniform CD-ROM driver Revision: 3.12
> Vendor: HP Model: CD-Writer+ 9100 Rev: 1.0c
> Type: CD-ROM ANSI SCSI revision: 02
>
> BTW, my CD-ROM is the second (slave) device on my IDE0. The CD-Writer
> is the only device on my IDE1. The box is Debian (woody).
>
> Can anyone enlighten me as to what I've not configured properly? Do I
> need to link /dev/cdrom to some other scsi device, as my CD-Writer is?
> --
> Allons Rouler!
>
> Randy
--
==============================================
== Timothy Klein || teece at silverklein.net ==
== ---------------------------------------- ==
== "Hello, World" 17 Errors, 31 Warnings... ==
==============================================
More information about the clue-tech
mailing list