Re: PS2 mouse going nuts during cdparanoia session.

From: Jens Axboe (axboe@suse.de)
Date: Wed Jul 16 2003 - 12:13:23 EST


On Wed, Jul 16 2003, Dave Jones wrote:
> On Wed, Jul 16, 2003 at 07:03:52PM +0200, Jens Axboe wrote:
>
> > > It only happens whilst cdparanoia is reading from the CD.
> > > The IDE CD drive is using DMA, and interrupts are unmasked.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > Yes. You can try and make the situation a little better by unmasking
> > interrupts with -u1.
>
> See above 8-) It was the first thing I tried when I observed this phenomenon.

Oh right, sorry.

> > Or you can try and use a ripper that actually uses
> > SG_IO, that way you can use dma (and zero copy) for the rips. That will
> > be lots more smooth.
>
> Ah right, I thought cdparanoia was still ripper de jour..
> What's recommended these days?

It is, unfortunately it uses read/write on /dev/sg* directly so cannot
be used with "new path" that is so much faster. It's been a while since
I looked, I can check for a good cdda ripper that uses SG_IO tomorrow if
you don't find one first.

I'm about to cave in and add block emulation of that part, too. It's a
bit more code, though.

-- 
Jens Axboe

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:25 EST