lirc_i2c module (connected to a pvrusb2) spins at 100% cpu

Bug #557289 reported by Tristan Tarrant
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I recently upgraded from Karmic to Lucid on my htpc and I am experiencing a bug which causes the lirc_i2c module (contained within the lirc-modules-source package) to use all of my CPU together with the rsyslogd process.
I am reporting against the kernel because the same lirc_i2c module with the latest karmic kernel doesn't have a problem.

I have a Hauppauge WinTV PVR USB2 device attached via USB. When I boot using the Lucid kernel I get the following in syslog:

Apr 6 22:07:54 mediacenter kernel: [ 51.344602] pvrusb2: Timed out control-write
Apr 6 22:07:54 mediacenter kernel: [ 51.344610] pvrusb2: Device being rendered inoperable
Apr 6 22:07:54 mediacenter kernel: [ 51.344632] pvrusb2: Attempted to execute control transfer when device not ok
Apr 6 22:07:54 mediacenter kernel: [ 51.344641] pvrusb2: Attempted to execute control transfer when device not ok
Apr 6 22:07:54 mediacenter kernel: [ 51.344649] pvrusb2: Attempted to execute control transfer when device not ok
Apr 6 22:07:54 mediacenter kernel: [ 51.344656] pvrusb2: Attempted to execute control transfer when device not ok

The last line is repeated thousands of times. If I reboot, the PVR causes the USB bus to hang stalling the computer at the BIOS screen. As soon as I disconnect the device, the computer boots normally.
Booting with kernel 2.6.31-20 everything is fine.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image (not installed)
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.31-21.59-generic
Uname: Linux 2.6.31-21-generic i686
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.20.
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: NVidia [HDA NVidia], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: mediacenter 3914 F.... pulseaudio
 /dev/snd/pcmC0D0p: mediacenter 3914 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xfae78000 irq 22'
   Mixer name : 'Nvidia MCP7A HDMI'
   Components : 'HDA:10ec0662,19daa108,00100101 HDA:10de0007,10de0101,00100100'
   Controls : 28
   Simple ctrls : 15
Date: Wed Apr 7 14:54:45 2010
HibernationDevice: RESUME=
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcCmdLine: root=UUID=0534b776-72a4-451e-bc2d-36f6daff83fc ro quiet splash
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.33
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
WpaSupplicantLog:

dmi.bios.date: 05/08/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 080015
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: To be filled by O.E.M.
dmi.board.vendor: To be filled by O.E.M.
dmi.board.version: To be filled by O.E.M.
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr080015:bd05/08/2009:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnTobefilledbyO.E.M.:rnTobefilledbyO.E.M.:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
Tristan Tarrant (tristan-tarrant-gmail) wrote :
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Tristan,

If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
Changed in linux (Ubuntu):
status: Expired → New
Revision history for this message
Christian Obst (christian-obst) wrote :

I can confirm and reproduce this behaviour on Lucid with 2.6.32-24-generic-tuxonice (the tuxonice thing should not affect this at all). However, it doesn't start right after boot time, but only when I have tried and somehow failed to watch tv or scan for channels. I suspect it might have something to do with a firmware lockup problem concerning WinTV USB 29xxx models, but this is rather an impression. I am trying a workaround by blacklisting lirc_i2c (which seems to be working).

Do you need any other information?

Revision history for this message
Christian Obst (christian-obst) wrote :

Ok, now I tested this for the latest mainline kernel (2.6.36-999-generic), and the problem did not occur. I remove the needs-upstream-testing tag.

tags: removed: needs-upstream-testing
Revision history for this message
Christian Obst (christian-obst) wrote :

Ok. I tested again on Maverick with a 2.6.35-22-generic, and the problem does not occur here, either.

Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
tags: removed: regression-potential
Revision history for this message
penalvch (penalvch) wrote :

Tristan Tarrant, thank you for reporting this and helping make Ubuntu better. This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

tags: added: needs-upstream-testing regression-release
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.