Bug 131414 - Memory leak while writing CDs via USB2
Memory leak while writing CDs via USB2
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
i686 Linux
medium Severity high
: ---
: ---
Assigned To: Dave Jones
Depends On:
  Show dependency treegraph
Reported: 2004-09-01 01:00 EDT by Greg Hartman
Modified: 2015-01-04 17:09 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-01-17 03:43:32 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Output from dmesg (11.67 KB, text/plain)
2004-09-01 01:11 EDT, Greg Hartman
no flags Details
Output from lsmod (860 bytes, text/plain)
2004-09-01 01:12 EDT, Greg Hartman
no flags Details
Output from lsusb (312 bytes, text/plain)
2004-09-01 01:13 EDT, Greg Hartman
no flags Details
Output from /var/log/messages (151.79 KB, text/plain)
2004-09-01 01:14 EDT, Greg Hartman
no flags Details

  None (edit)
Description Greg Hartman 2004-09-01 01:00:01 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; YComp; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)

Description of problem:
I upgraded to 2.6.8-1.521. Everything was fine until I tried to write 
to my USB CD recorder. If I run top, I can see the amount of free 
memory drop rapidly during the write until the system starts killing 

This did not happen on previous kernels

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Attach a CD-RW drive to the USB2 interface
2. cdrecord -v dev=/dev/scd0 blank=fast driveropts=burnfree speed=10 -
tao 1.iso
3. Run top in a different virtual console. Watch the free memory drop

Actual Results:  System runs out of memory (free memory drops by 
about 500k /sec.

Expected Results:  Free memory should stay more or less constant

Additional info:
Comment 1 Greg Hartman 2004-09-01 01:11:30 EDT
Created attachment 103326 [details]
Output from dmesg
Comment 2 Greg Hartman 2004-09-01 01:12:24 EDT
Created attachment 103327 [details]
Output from lsmod
Comment 3 Greg Hartman 2004-09-01 01:13:15 EDT
Created attachment 103328 [details]
Output from lsusb
Comment 4 Greg Hartman 2004-09-01 01:14:00 EDT
Created attachment 103329 [details]
Output from /var/log/messages
Comment 5 Greg Hartman 2004-09-01 01:39:13 EDT
Actually, I was burning audio CDs at the time.

The command line should be cdrecord -v dev=/dev/scd0 speed=4 
driveropts=burnfree -multi -pad -audio 45min.wav

I downgraded to the 2.6.7-1.494.2.2 kernel to see if I could 
reproduce the problem.

I do notice that a lot of memory moves from free to cached under the 
2.6.7 kernel. I suppose this is normal. I can't remember if this 
happened under 2.6.8

Comment 6 Jay Goodman 2004-09-06 23:13:08 EDT
Just to add a "me too" that this issue occurs with me using "cdrdao
write --device /dev/cdrom --driver generic-mmc audiocd.toc
" /dev/cdrom->/dev/hdd.  Rebooted under 2.6.6 and all was normal. 
Logs don't provide useful information except the auto killing of
certain procs.   
Comment 8 Dave Jones 2005-01-17 03:43:32 EST
this should be fixed in the latest updates.

Note You need to log in before you can comment on or make changes to this bug.