Re: audio cd writing causes massive swap and crash
From: Martin Schlemmer
Date: Thu Jul 22 2004 - 15:45:11 EST
On Thu, 2004-07-22 at 14:54, Jens Axboe wrote:
> On Thu, Jul 22 2004, Ed Sweetman wrote:
> > I've had other people test writing. It appears that scsi-emu is not
> > effected by this memory leak when writing audio cds. So it would appear
> > that ide-cd along with any of the dependent ide source files is the
> > culprit. But I cannot find anywhere in ide-cd that is apparent to being
> > a mem leak. There are various conditions in ide_do_drive_cmd that state
> > that the cdrom driver has to be very careful about handling but without
> > intimate knowledge of the driver, I can't be sure that it's sufficiently
> > handling those situations.
> >
> > Surprisingly, it's very hard to find anyone who's used the native atapi
> > mode to write an audio cd in 2.6. Which is partly why this problem
> > hasn't generated more mail traffic here I would guess.
>
> That's not true, lots of people use it. But, oddly, the leak isn't
> reproducable on any machine I've tested.
I seem to remember he noted a patch about dma during audio writing,
and his 'testing' if it might be the cause was to just disable dma
on the drive ...
--
Martin Schlemmer
Attachment:
signature.asc
Description: This is a digitally signed message part