DVB module cx23885 causes kernel oops, hangs dvb applications

Bug #658916 reported by Rick George
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6.35-22-generic

Kubuntu 10.10

I am attempting to use a TV card, showing under lspci as HDPVR-1250 model 1196. the module for this card is cx23885. rmmod and modprobe both work okay before trying to open the card. Trying to use the card, either in mythtv or kaffeine, causes a kernel oops, hangs whatever program I was trying to use to the point where I can't even close it with killall command, and leaves the module in use so that you can't even remove the module. I have tested the TV card under other distros to make sure it isn't a hardware issue, which it is not.

dmesg upon 'modprobe cx23885'
[ 114.730925] cx23885 driver version 0.0.2 loaded
[ 114.731048] cx23885 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 114.731240] CORE cx23885[0]: subsystem: 0070:7801, board: Hauppauge WinTV-HVR1800 [card=2,autodetected]
[ 115.119454] tveeprom 0-0050: Hauppauge model 78521, rev C1E9, serial# 2879812
[ 115.119456] tveeprom 0-0050: MAC address is 00:0d:fe:2b:f1:44
[ 115.119458] tveeprom 0-0050: tuner model is Philips 18271_8295 (idx 149, type 54)
[ 115.119460] tveeprom 0-0050: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88)
[ 115.119462] tveeprom 0-0050: audio processor is CX23887 (idx 42)
[ 115.119463] tveeprom 0-0050: decoder processor is CX23887 (idx 37)
[ 115.119464] tveeprom 0-0050: has radio
[ 115.119466] cx23885[0]: hauppauge eeprom: model=78521
[ 115.121346] cx25840 2-0044: cx23887 A/V decoder found @ 0x88 (cx23885[0])
[ 115.762078] cx25840 2-0044: loaded v4l-cx23885-avcore-01.fw firmware (16382 bytes)
[ 115.773968] tuner 1-0042: chip found @ 0x84 (cx23885[0])
[ 115.831278] tda829x 1-0042: could not clearly identify tuner address, defaulting to 60
[ 115.861978] tda18271 1-0060: creating new instance
[ 115.910719] TDA18271HD/C1 detected @ 1-0060
[ 117.532853] tda829x 1-0042: type set to tda8295+18271
[ 119.030841] cx23885[0]/0: registered device video1 [v4l2]
[ 120.504892] cx23885[0]: registered device video2 [mpeg]
[ 120.504899] cx23885_dvb_register() allocating 1 frontend(s)
[ 120.504907] cx23885[0]: cx23885 based dvb card
[ 120.533978] MT2131: successfully identified at address 0x61
[ 120.535624] DVB: registering new adapter (cx23885[0])
[ 120.535626] DVB: registering adapter 1 frontend 0 (Samsung S5H1409 QAM/8VSB Frontend)...
[ 120.535848] cx23885_dev_checkrevision() Hardware revision = 0xb1
[ 120.535855] cx23885[0]/0: found at 0000:02:00.0, rev: 15, irq: 17, latency: 0, mmio: 0xf9c00000
[ 120.535863] cx23885 0000:02:00.0: setting latency timer to 64
[ 120.535949] cx23885 0000:02:00.0: irq 46 for MSI/MSI-X

dmesg after attempting to scan for channels:

[ 195.294397] BUG: unable to handle kernel paging request at 0000010100000028
[ 195.294409] IP: [<ffffffffa0452563>] videobuf_dma_unmap+0x43/0xb0 [videobuf_dma_sg]
[ 195.294429] PGD 0
[ 195.294435] Oops: 0000 [#1] SMP
[ 195.294442] last sysfs file: /sys/devices/pci0000:00/0000:00:14.4/0000:05:05.2/local_cpus
[ 195.294449] CPU 1
[ 195.294452] Modules linked in: cx23885 parport_pc ppdev mt2131 s5h1409 jfs tda18271 snd_hda_codec_atihdmi or51132 cx88_dvb cx88_vp3054_i2c snd_hda_codec_via rc_hauppauge_new tuner_simple tuner_types tda9887 tda8290 cx25840 tuner reiserfs snd_hda_intel snd_hda_codec snd_hwdep snd_pcm cx2341x cx8802 ir_lirc_codec lirc_dev ir_sony_decoder snd_seq_midi ir_jvc_decoder snd_rawmidi snd_seq_midi_event snd_seq ir_rc6_decoder ir_rc5_decoder ir_nec_decoder cx8800 snd_timer cx88xx asus_atk0110 fglrx(P) snd_seq_device i2c_algo_bit ir_common joydev edac_core ir_core v4l2_common videodev v4l1_compat v4l2_compat_ioctl32 edac_mce_amd videobuf_dma_sg videobuf_dvb psmouse serio_raw k10temp i2c_piix4 snd dvb_core videobuf_core btcx_risc tveeprom soundcore snd_page_alloc lp parport hid_microsoft usb_storage usbhid hid floppy ahci atl1e pata_atiixp libahci firewire_ohci firewire_core crc_itu_t [last unloaded: cx23885]
[ 195.294569]
[ 195.294578] Pid: 2802, comm: cx23885[0] dvb Tainted: P 2.6.35-22-generic #33-Ubuntu M4A78T-E/System Product Name
[ 195.294585] RIP: 0010:[<ffffffffa0452563>] [<ffffffffa0452563>] videobuf_dma_unmap+0x43/0xb0 [videobuf_dma_sg]
[ 195.294601] RSP: 0018:ffff88009e875dc0 EFLAGS: 00010246
[ 195.294606] RAX: 0000010100000000 RBX: ffff8800cf9094f8 RCX: 0000000000000002
[ 195.294612] RDX: 0000000000000006 RSI: ffffc900112dd000 RDI: ffff88012b04b0a0
[ 195.294617] RBP: ffff88009e875dd0 R08: 0000000000000000 R09: 00000000ffffffff
[ 195.294623] R10: 00000000ffffffff R11: 0000000000000001 R12: ffff8800c7216028
[ 195.294628] R13: ffff8800cf9094f8 R14: ffff8800c7216028 R15: ffff8800c733c4a0
[ 195.294635] FS: 00007f7f9d5a1840(0000) GS:ffff880001e80000(0000) knlGS:0000000000000000
[ 195.294642] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 195.294647] CR2: 0000010100000028 CR3: 0000000116ff1000 CR4: 00000000000006e0
[ 195.294653] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 195.294659] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 195.294666] Process cx23885[0] dvb (pid: 2802, threadinfo ffff88009e874000, task ffff8800c733c4a0)
[ 195.294671] Stack:
[ 195.294674] ffff8800cf9094f8 ffff8800cf909400 ffff88009e875e00 ffffffffa04ad12a
[ 195.294683] <0> ffff88009e875df0 ffff8800c7216028 ffff8800c7216028 ffff8800c7216128
[ 195.294692] <0> ffff88009e875e10 ffffffffa04aed5e ffff88009e875e40 ffffffffa03d0457
[ 195.294702] Call Trace:
[ 195.294722] [<ffffffffa04ad12a>] cx23885_free_buffer+0x5a/0xa0 [cx23885]
[ 195.294738] [<ffffffffa04aed5e>] dvb_buf_release+0xe/0x10 [cx23885]
[ 195.294753] [<ffffffffa03d0457>] videobuf_queue_cancel+0xf7/0x120 [videobuf_core]
[ 195.294766] [<ffffffffa03d04e7>] __videobuf_read_stop+0x17/0x70 [videobuf_core]
[ 195.294778] [<ffffffffa03d055e>] videobuf_read_stop+0x1e/0x30 [videobuf_core]
[ 195.294790] [<ffffffffa044a8c8>] videobuf_dvb_thread+0x168/0x1e0 [videobuf_dvb]
[ 195.294802] [<ffffffffa044a760>] ? videobuf_dvb_thread+0x0/0x1e0 [videobuf_dvb]
[ 195.294812] [<ffffffff8107f0b6>] kthread+0x96/0xa0
[ 195.294822] [<ffffffff8100aee4>] kernel_thread_helper+0x4/0x10
[ 195.294830] [<ffffffff8107f020>] ? kthread+0x0/0xa0
[ 195.294837] [<ffffffff8100aee0>] ? kernel_thread_helper+0x0/0x10
[ 195.294841] Code: 19 75 6e 8b 53 28 85 d2 74 4b 48 8b 7f 28 8b 4b 30 48 8b 73 20 48 85 ff 74 4e 48 8b 87 e8 01 00 00 48 85 c0 74 42 83 f9 02 77 5d <48> 8b 40 28 48 85 c0 74 0a 45 31 c0 90 ff d0 48 8b 73 20 48 89
[ 195.294907] RIP [<ffffffffa0452563>] videobuf_dma_unmap+0x43/0xb0 [videobuf_dma_sg]
[ 195.294920] RSP <ffff88009e875dc0>
[ 195.294923] CR2: 0000010100000028
[ 195.294929] ---[ end trace 9239e1b540d37d41 ]---

Rick George (danza-vera)
summary: - DVB module cx23885 causes kernel panic hangs dvb applications
+ DVB module cx23885 causes kernel oops, hangs dvb applications
description: updated
Revision history for this message
gilson585 (gilson585) wrote :

I too am experiencing the same issue on Mythbuntu 10.10 with identical DVB card

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Rick,

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 658916

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.

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

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Rick George (danza-vera) wrote :

The issue appears to somehow have been only with the 2.6.35 line of kernels. I have been using the 2.6.36 kernel from the mainline ppa in 10.10 and it works just fine. I downloaded the alpha of 11.4, and can confirm that this problem does not exist there either.

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

Bug attachments

Remote bug watches

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