Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 112967

Summary: (sys-kernel/gentoo-sources-2.6.14-r2) cx88 driver floods syslog with useless printk()s
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: [OLD] Core systemAssignee: Daniel Drake (RETIRED) <dsd>
Status: RESOLVED FIXED    
Severity: normal CC: kernel
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gentoo-sources-2.6.14-r2-cx88-silence.patch
linux-2.6.14-r2-cx88-silence-r1.patch

Description Jeroen Roovers (RETIRED) gentoo-dev 2005-11-18 18:54:37 UTC
See also https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=168931

Very annoying, I must say. Patch to follow...


Reproducible: Always
Steps to Reproduce:
1. Compile gentoo-sources-2.6.14-r2 (probably other versions as well) with cx88.
2. Load the module (duh).
2. Start an app that uses the driver (tvtime for instance).

Actual Results:  
dmesg/syslog gets flooded with 

Nov 19 03:08:21 epia [4296573.504000] CORE IOCTL: 0xc054561d
Nov 19 03:08:21 epia [4296573.504000] cx88[0]: ioctl 0xc054561d (v4l2, rw, VIDIO
C_G_TUNER)

once per frame (with PAL, that's 50 times a second).


Expected Results:  
Keep quiet until debug is actually set:

epia /usr/src/linux # for i in `find /sys/ | grep cx88 | grep debug`; do echo -n
 "$i: "; cat $i; done
/sys/module/cx8800/parameters/vbi_debug: 0
/sys/module/cx8800/parameters/irq_debug: 0
/sys/module/cx8800/parameters/video_debug: 0
/sys/module/cx88xx/parameters/ir_debug: 0
/sys/module/cx88xx/parameters/audio_debug: 0
/sys/module/cx88xx/parameters/i2c_debug: 0
/sys/module/cx88xx/parameters/core_debug: 0


Sat Nov 19 03:53:49 CET 2005
Gentoo Base System version 1.6.13
Portage 2.0.53_rc7 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-
gentoo-r2-JeR i686)
=================================================================
System uname: 2.6.14-gentoo-r2-JeR i686 VIA Nehemiah
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.13
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.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=c3-2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X
11/xkb /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="-O3 -march=c3-2 -pipe"
DISTDIR="/keeps/gentoo/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks fixpackages notitles parallel-fetch 
prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/
pub/os/linux/gentoo ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://mirror.
nutsmaas.nl/gentoo/"
LC_ALL="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/keeps/gentoo/packages-epia"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/keeps/gentoo/portage"
PORTDIR_OVERLAY="/keeps/gentoo/local"
SYNC="rsync://10.0.0.153/gentoo-portage"
USE="x86 X a52 aalib acpi alsa apache2 apm audiofile avi bash-completion berkdb 
bitmap-fonts bzip2 cdda cdio cdparanoia cdr chroot cle266 crypt cscope cups 
curl dga directfb dts dvd dvdr dvdread dxr3 edl eds elf emboss encode esd exif 
expat fam fbcon ffmpeg flac flash foomaticdb fortran freetype gd gdbm ggi gif 
gimpprint glut gnutls gpm gstreamer gtk gtk2 hal idn imagemagick imlib ipv6 
jack java javascript jpeg junit lcms libg++ libwww lm_sensors lzo mad matroska 
mhash mikmod ming mmx mmxext mng motif mozilla mozsvg mozxmlterm mp3 mpeg 
multitarget nas ncurses network nls nptl nptlonly offensive ogg oggvorbis 
opengl oss pam pcre pdflib perl physfs pic png ppds python qt quicktime 
readline recode rtc samba screenshot sdl server sftplogging slang smux snmp 
speex sse ssl svg svga sysfs tcltk tcpd tetex theora threads tiff truetype 
truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vcd video_cards
_via vidix vlm vorbis win32codecs winbind xanim xine xml xml2 xosd xprint xv 
xvid xvmc zlib linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2005-11-18 18:55:30 UTC
Created attachment 73160 [details, diff]
gentoo-sources-2.6.14-r2-cx88-silence.patch
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2005-11-19 10:11:26 UTC
Created attachment 73186 [details, diff]
linux-2.6.14-r2-cx88-silence-r1.patch

Removed some more hardly useful dmesg clogging devices. The patch for that
second file are a bit more risky, though.
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2005-11-24 17:12:38 UTC
Upstream have done a similar change on cx88
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2005-11-25 04:36:58 UTC
cx88 fixed in gentoo-sources-2.6.14-r3 (genpatches-2.6.14-4). Please submit
changes to the other driver upstream.