Public bug reported:

After upgrading from 10.04 I noticed a flood of message in dmesg like :

streamzap 3-1:1.0: streamzap_callback: received urb, len 2
streamzap 3-1:1.0: sz idx 0: f
streamzap 3-1:1.0: sz idx 1: ff

Has been for a while, but it finally got in my way enough to force me to
find out what was going on.

To reproduce it, looks like you just need a streamzap and to press some
buttons on it.

I think the problem is in the driver:

/drivers/media/IR/streamzap.c

in the function streamzap_callback

The lines:

dev_info(sz->dev, "%s: received urb, len %d\n", __func__, len);

and

dev_info(sz->dev, "sz idx %d: %x\n",
i, (unsigned char)sz->buf_in[i]);

which are the messages swamping dmesg.

I think what is meant to happen is that these lines are only done if
"debug" is true. Then you can control this logging with the
"/sys/module/streamzap/parameters/debug" file. But the debug variable
isn't acturally used and these lines are always executed if there is
data.

I emailed the maintainer and he said it was fixed four or five months
ago. So can we have this fixed back ported? Or at very least some
temporary fix. Compiling my own streamzap module every kernel release
would soon get as annoying as the dmesg flood. Especially for something
so simple to fix in the right place.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image-2.6.35-24-generic 2.6.35-24.42
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.35-24.42-generic 2.6.35.8
Uname: Linux 2.6.35-24-generic i686
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: i386
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC2:  jk         1628 F.... pulseaudio
 /dev/snd/controlC1:  jk         1628 F.... pulseaudio
 /dev/snd/controlC0:  jk         1628 F.... pulseaudio
 /dev/snd/pcmC0D0p:   jk         1628 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'I82801DBICH4'/'Intel 82801DB-ICH4 with AD1981A at irq 17'
   Mixer name   : 'Analog Devices AD1981A'
   Components   : 'AC97a:41445372'
   Controls      : 25
   Simple ctrls  : 17
Card1.Amixer.info:
 Card hw:1 'Live'/'SB Live! Value [CT4670] (rev.4, serial:0x201102) at 0xd400, 
irq 19'
   Mixer name   : 'TriTech TR28023'
   Components   : 'AC97a:54524103'
   Controls      : 216
   Simple ctrls  : 38
Card2.Amixer.info:
 Card hw:2 'U0x46d0x805'/'USB Device 0x46d:0x805 at usb-0000:00:1d.7-3, high 
speed'
   Mixer name   : 'USB Mixer'
   Components   : 'USB046d:0805'
   Controls      : 2
   Simple ctrls  : 1
Card2.Amixer.values:
 Simple mixer control 'Mic',0
   Capabilities: cvolume cvolume-joined cswitch cswitch-joined penum
   Capture channels: Mono
   Limits: Capture 0 - 6144
   Mono: Capture 0 [0%] [6.00dB] [on]
Date: Sun Jan  9 22:02:21 2011
HibernationDevice: RESUME=UUID=3d460649-fc41-45fe-9e55-c671124db42a
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
IwConfig:
 lo        no wireless extensions.
 
 eth0      no wireless extensions.
 
 vboxnet0  no wireless extensions.
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-24-generic 
root=UUID=e689fb1d-568b-457e-a87d-cc8220c8cac9 ro nomodeset 
video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.utf8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.38
RfKill:
 
SourcePackage: linux
dmi.bios.date: 07/14/2003
dmi.bios.vendor: Intel Corp.
dmi.bios.version: RG84510A.86A.0033.P17.0307141128
dmi.board.name: D845GBV
dmi.board.vendor: Intel Corporation
dmi.board.version: AAA84538-204
dmi.chassis.type: 2
dmi.modalias: 
dmi:bvnIntelCorp.:bvrRG84510A.86A.0033.P17.0307141128:bd07/14/2003:svn:pn:pvr:rvnIntelCorporation:rnD845GBV:rvrAAA84538-204:cvn:ct2:cvr:

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 kernel-uncat maverick needs-upstream-testing 
regression-release

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/700817

Title:
  streamzap IR module floods dmesg

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to