Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115127 - 2.6.14 kernel spouts badness messages when ripping CDs
Summary: 2.6.14 kernel spouts badness messages when ripping CDs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://groups.google.com/group/linux....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-10 13:36 UTC by Craig Bradney
Modified: 2006-01-10 08:19 UTC (History)
1 user (show)

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 Craig Bradney 2005-12-10 13:36:36 UTC
Dec  8 23:50:08 luxbg arq->state: 4  
Dec  8 23:50:08 luxbg Badness in as_insert_request at  
drivers/block/as-iosched.c:1519  
Dec  8 23:50:08 luxbg [<c0313b5d>] as_insert_request+0x6d/0x1c0  
Dec  8 23:50:08 luxbg [<c0309d29>] __elv_add_request+0x99/0xd0  
Dec  8 23:50:08 luxbg [<c0309da0>] elv_add_request+0x40/0x70  
Dec  8 23:50:08 luxbg [<c030d395>] blk_execute_rq_nowait+0x45/0x60  
Dec  8 23:50:08 luxbg [<c030d453>] blk_execute_rq+0xa3/0xf0  
Dec  8 23:50:08 luxbg [<c030d6c0>] blk_end_sync_rq+0x0/0x30  
Dec  8 23:50:08 luxbg [<c030eb8c>] blk_rq_bio_prep+0x7c/0xb0  
Dec  8 23:50:08 luxbg [<c037181d>] cdrom_read_cdda_bpc+0x17d/0x1f0  
Dec  8 23:50:08 luxbg [<c03718fa>] cdrom_read_cdda+0x6a/0xd0  
Dec  8 23:50:08 luxbg [<c0373120>] mmc_ioctl+0x900/0xb20  
Dec  8 23:50:08 luxbg [<c011cde7>] activate_task+0x67/0x80  
Dec  8 23:50:08 luxbg [<c011cf27>] try_to_wake_up+0xd7/0xe0  
Dec  8 23:50:08 luxbg [<c011cde7>] activate_task+0x67/0x80  
Dec  8 23:50:08 luxbg [<c0311775>] scsi_cmd_ioctl+0xa5/0x500  
Dec  8 23:50:08 luxbg [<c049e605>] preempt_schedule+0x45/0x70  
Dec  8 23:50:08 luxbg [<c0488867>] unix_stream_sendmsg+0x267/0x440  
Dec  8 23:50:08 luxbg [<c03724ca>] cdrom_ioctl+0xb6a/0xe20  
Dec  8 23:50:08 luxbg [<c01481fd>] buffered_rmqueue+0x15d/0x210  
Dec  8 23:50:08 luxbg [<c0148640>] __alloc_pages+0x2c0/0x440  
Dec  8 23:50:08 luxbg [<c03483f5>] idecd_ioctl+0x85/0xa0  
Dec  8 23:50:08 luxbg [<c030fa4f>] blkdev_driver_ioctl+0x5f/0xb0  
Dec  8 23:50:08 luxbg [<c030fc63>] blkdev_ioctl+0x1c3/0x1d0  
Dec  8 23:50:08 luxbg [<c016e26b>] block_ioctl+0x2b/0x30  
Dec  8 23:50:08 luxbg [<c0178fee>] do_ioctl+0x9e/0xb0  
Dec  8 23:50:08 luxbg [<c0179195>] vfs_ioctl+0x65/0x200  
  
is written to /var/log/messages for every track ripped.  
Was the patch from Jens put into the mainline kernel? If so it would be nice 
if a new 2.6.14 could be released on gentoo. 

Reproducible: Always
Steps to Reproduce:
1. Rip CD..  
2. 
3. 
 



Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 
2.6.14-gentoo-r4 i686) 
================================================================= 
System uname: 2.6.14-gentoo-r4 i686 AMD Athlon(tm) XP 2600+ 
Gentoo Base System version 1.6.13 
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.5-r2, 2.4.2 
sys-apps/sandbox:    1.2.12 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.20 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig ccache distlocks nostrip sandbox sfperms strict" 
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.mirror.sdv.fr 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ 
http://ftp.uni-erlangen.de/pub/mirrors/gentoo 
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
http://ftp.easynet.nl/mirror/gentoo/ 
http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/gentoo/ 
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ 
http://gentoo.oregonstate.edu" 
LANG="en_GB" 
LC_ALL="en_GB.UTF-8" 
LINGUAS="en_GB" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="x86 3dnow X acpi alsa apache2 apm arts audiofile authdaemond avi berkdb 
bitmap-fonts browserplugin bzip2 cdr crypt cups curl divx4linux dvd dvdr 
dvdread eds emboss encode exif expat fam fbcon ffmpeg foomaticdb fortran gcj 
gd gdbm gif glut gmp gnutls gpm gstreamer gtk gtk2 idn imagemagick imap imlib 
innodb ipv6 java jpeg jpeg2k kde kdeenablefinal lcms libg++ libwww lzw-tiff 
mad mhash mikmod mmx mng motif mp3 mpeg mysql ncurses nls odbc ogg oggvorbis 
opengl oss pam pcre pdflib perl php png ppds python qt quicktime radeon 
readline real recode samba sasl sdl slp spell sse ssl svg tcltk tcpd tiff 
truetype truetype-fonts type1-fonts udev usb vhosts vorbis wifi win32codecs 
wmf xine xinerama xml xml2 xmms xv xvid zlib linguas_en_GB userland_GNU 
kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 1 Craig Bradney 2005-12-10 13:38:07 UTC
I guess I have been hitting a lot of bad tracks on older cds too.. trying to 
get to them before they all die. 
Comment 2 Craig Bradney 2005-12-10 13:43:24 UTC
I did reboot into 2.6.14 2 nights ago and the messages started 2 hours after 
that. Log file is now 30g+ and / was full. 
Comment 3 Paul Taylor 2005-12-15 11:07:36 UTC
Same problem here.  I found this suggested patch, but haven't tried it:

   http://lkml.org/lkml/2005/11/20/119
Comment 4 Craig Bradney 2005-12-15 11:41:58 UTC
Same patch as from my URL, just wrapped in another site. I've applied it and so 
far so good. 
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2005-12-15 12:01:40 UTC
FYI, just waiting for this patch to go upstream. Will contact Jens if it doesn't
make it into 2.6.15
Comment 6 Phil Richards 2006-01-05 02:36:07 UTC
Change *didn't* make it in to 2.6.15, but apparently something else that fixed it did - the badness messages don't occur with 2.6.15, so that's good.

Phil

(Asides:
Still no fix for the "dropping to single frame dma" issue, though :-(  One error and ripping drops to from 6x to sub 1x with grip until the next reboot.

And it looks (from lkml) that there might be some quality-of-data issues with regards to digital audio extraction (http://lkml.org/lkml/2006/1/3/386).
)
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2006-01-10 08:19:15 UTC
Marking fixed. Feel free to report other problems in new bugs.