[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question about cdrdao and Problems with cdparanoia



>Rob Weir wrote:
>On Thu, Aug 15, 2002 at 10:25:07AM +0200, Hans Ekbrand wrote:
>> On Thu, Aug 15, 2002 at 03:34:04AM -0400, Richard Lemay wrote:
>> > Wouldn't anyone have a good idea to allow normal program to use
>> > my cd on /dev/hdb like it should be while being able to use cdrdao
to
>> > read the cd in scsi mode when I need it.
>>
>> "like it should be"? I don't see any problem with using scsi
emulation
>> all the time.
>
>Interesting fact: cdparanoia recommends using SCSI emulation for better
>performance and lower error rates.
>
>-rob

On Wed, Aug 14, 2002 at 09:36:36PM -0700, Steve Juranich wrote:
> So what does this mean "not a cooked ioctl CDROM" and how do I fix it?

Hmm. There can be a problem with using SCSI emulation all the time
especially on slightly funny drives. cdda2wav works fine reading music
from my CD-RW using SCSI emulation but insists on cooked ioctl for my
CD-ROM (a 44-speed drive from when 44-speed was newish stuff, calls
itself "44x max" on the front and "E5SA CD-ROM" in its ID string,
possibly Mitsumi). So I have in my boot params:

# hdb = CD-ROM = want std ATAPI
hdb=ide-cd
# hdc = CD-RW = want SCSI emulation
hdc=ide-scsi

I also had to add user read & write permissions to /dev/hdb otherwise
cdda2wav moans that it can't set cooked ioctl if you're not root, even
though cdda2wav is setuid root.

If you have only one CD drive and you want to change it from one mode to
the other I _think_ you can do the following:

- Have both ATAPI support and SCSI emulation as modules
Say you have a CD in the drive, it's mounted, it's in SCSI emulation:
- unmount the drive
- unload the SCSI emulation module
- load the ATAPI module
- mount /dev/hdwhatever to your CD drive mount point
and to switch back, reverse this and mount /dev/scdwhatever.

Joerg Schilling moans like mad in the cdrecord documentation about how
useless the Linux sg driver is ("the worst driver design I've ever
seen") - what is the state of play on fixing this??

Pigeon





Reply to: