Re: kernel 2.6.8.1: memory leak? cdrecord problem?

From: Frank Steiner
Date: Thu Aug 26 2004 - 07:21:51 EST


Hi,

Con Kolivas wrote:

Yes, there's a memory leak, you can try 2.6.8.1-mm3
or apply the fix yourself (I think it's this one:
http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8.1/2.6.8.1-mm3/broken-out/bio_uncopy_user-mem-leak.patch )


That wont do by itself. It only fixes the memory leak. You _also_ need this patch for audio cds to not be stuffed:

http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8.1/2.6.8.1-mm3/broken-out/bio_uncopy_user-mem-leak-fix.patch

it doesn't work, even with these two patches applied. I tried to burn
a DVD image (3.5GB) with kernel 2.6.8.1 including those patches and
again the memory run full until the kernel started killing processes.
Unfortunately the host always crashes before it writes the messages
to the log files, but I saw some messages about "cpu0..." and DMA.


I was running "cdrecord -sao dev=ATAPI:/dev/cdrecorder -v 2.4.img"
on a NEC ND1300A.

Can I debug/provide more info?

BTW, the bio.c from 2.6.9rc1 and 2.6.8.1 don't differ, so I assume it's
still unfixed in 2.6.9-rc1, too...?

cu,
Frank

--
Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17 Phone: +49 89 2180-4049
80333 Muenchen, Germany Fax: +49 89 2180-99-4049

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