cdrdao (WAS Re: [CLUE-Tech] ISO images from Audio CD's?)
Randy Arabie
randy at arabie.org
Tue Dec 10 19:40:35 MST 2002
On Sunday, 8 December 2002 at 19:10:02 -0700, Timothy C. Klein <teece at silverklein.net> wrote:
> * Randy Arabie (randy at arabie.org) wrote:
> > On Sunday, 8 December 2002 at 18:52:41 -0700, Timothy C. Klein <teece at silverklein.net> wrote:
> > > * 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
> >
> > But I don't know the bus,id,lun for my CD-ROM (/dev/cdrom)! When I
> > do cdrecord --scan-bus, it only reports the CD-Writer. How do I
> > 'discover' the bus,id,lun of the CD-ROM?
> >
> > I guess I could start trying 1,0,0 and 0,0,1 and 1,1,1 until I find
> > it ;)
> >
>
> Oh, sorry, I did not notice that you had two CD drives. In this case, I
> don't think you will be able to use the device with the cd burning
> utilities unless you make the generic scsi driver control it. I thought
> it controlled all drives by default, but maybe not. Try rebooting,
> passing a parameter to the kernel of:
>
> hdb=ide-scsi
>
> You could do it through lilo, or just type at the boot prompt
>
> LILO: linux hdb=ide-scsi
>
Turns out I had to add hdb=ide-scsi _AND_ ignore=hdb as parameters in
order to get cdrdao working as desired.
I went ahead and added this paramter to my /etc/lilo.conf file.
Thanks again Timothy.
--
Allons Rouler!
Randy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://cluedenver.org/pipermail/clue-tech/attachments/20021210/ff159fdf/attachment.bin
More information about the clue-tech
mailing list