Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67213 - rip audio cd with cdrdao crashes kernel out of memory
Summary: rip audio cd with cdrdao crashes kernel out of memory
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Optical Media project
URL: http://lkml.org/lkml/2004/7/25/11
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-12 04:41 UTC by Heitzso
Modified: 2005-01-08 09:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heitzso 2004-10-12 04:41:59 UTC
if I try to rip an audio CD with cdrdao and
2.6.8.1 or any of 2.6.8-gentoo-r3/6/7
memory slowly eaten until system (almost)
locks up (mozilla/apache get killed automatically
by kernel during the attempted rip due to out
of memory).  Takes a couple of minutes to get 
to a place where I can cleanly reboot
the box.

My cdrdao command is:
cdrdao read-cd \
        --driver generic-mmc \
        --device /dev/hdc \
        --datafile /home/heitzso/audio/data.rip \
        --eject \
        /home/heitzso/audio/toc.rip

Let me know if need dmesg output or other
info.  

Reproducible: Always
Steps to Reproduce:
1. boot 2.6.8-gentoo-r7
2. insert "mondo head" into CD/DVD reader
3. run cdrdao command noted above

Actual Results:  
lots of processes get auto-killed to free up memory
never actually finish the audio rip
system effectively locks up

Expected Results:  
not lock up

Gentoo Base System version 1.4.16
Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.8-gentoo-r7)
=================================================================
System uname: 2.6.8-gentoo-r7 i686 AMD Athlon(tm) XP 2200+
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo/
ftp://gentoo.mirrors.pair.com/ http://adelie.polymtl.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups
curl directfb doc encode esd f77 foomaticdb freetds gb gd gdbm gif gnome gphoto2
gpm gtk gtk2 gtkhtml guile imap imlib java jikes jpeg junit libg++ libwww mad
maildir mikmod motif mozilla mpeg mysql ncurses nls odbc oggvorbis opengl oss
pam pdflib perl php plotutils png postgres ppds python qt quicktime readline
ruby samba sasl scanner sdl slang soap spell ssl svga tcltk tcpd tetex tiff
truetype usb wavelan wxwindows x86 xml xml2 xmlrpc xmms xprint xv zlib"
Comment 1 Lars Weiler (RETIRED) gentoo-dev 2005-01-08 00:38:51 UTC
I just tested it with a gentoo-dev-sources-2.6.9-r6 without a problem.

It could be that you were caught by a kernel-problem, as linux-2.6.8 had a lot of problems with accessing CD-Roms.  Please test with a more recent kernel.
Comment 2 Lars Weiler (RETIRED) gentoo-dev 2005-01-08 00:39:21 UTC
Setting to WORKSFORME.  Reopen if the problem still exists.
Comment 3 Heitzso 2005-01-08 09:32:47 UTC
Yes, problem went away with newer kernel.

In that vein you may want to flag dvdrtools
as having problems with 2.6 kernel series.
Because of various references to it on the web
I emerged it, only to fight it on my 2.6 kernel
setup.  Finally figured out to switch over to
another dvd writer tool kit.  But if there's
some way to flag a package in the main package
database display page as not functional in 
some environments, would be nice.