[linux-dvb] Kernel panic w/ CVS drivers and Nexus-CA / TT C2300 OT (rev 2.3)

Mikko Hämäläinen mikolas at mikolas.net
Wed Apr 20 20:10:22 CEST 2005


Hello,

I've tweaked stv0297.c to tune to QAM128 cleanly on my C2300 OT cable 
card, but now I'm experiencing kernel panics whenever trying to actually 
capture stream from the card, please see the log at the end of this 
mail. This seems to have something to do with pre-empting kernel, but it 
seems a bit strange as I also have rev 2.1 card and it works perfectly. 
Basically to achieve the panic, I run czap in one terminal and dvbstream 
in another. My kernel is vanilla 2.6.11 and DVB drivers are fresh from 
cvs, except my minor timeout modification to the stv0297.c frontend driver.

Best regards,
Mikko.

----

scheduling while atomic: czap/0x00000102/4231
 [<c0351083>] schedule+0x503/0x510
 [<c0122583>] __mod_timer+0x123/0x170
 [<c03519e3>] schedule_timeout+0x63/0xc0
 [<c02ff3b7>] qdisc_restart+0x17/0x1d0
 [<c0122fe0>] process_timeout+0x0/0x10
 [<c01233bf>] msleep+0x2f/0x40
 [<e0a34eac>] __av7110_send_fw_cmd+0x7c/0x4e0 [dvb_ttpci]
 [<e0a35358>] av7110_send_fw_cmd+0x48/0xc0 [dvb_ttpci]
 [<e0a35438>] av7110_fw_cmd+0x68/0x90 [dvb_ttpci]
 [<e0a3f437>] ChangePIDs+0x147/0x1f0 [dvb_ttpci]
 [<e0a39c3e>] av7110_set_vidmode+0x8e/0xe0 [dvb_ttpci]
 [<e0a39d29>] get_video_format+0x99/0x110 [dvb_ttpci]
 [<e0a39f1f>] play_video_cb+0x17f/0x2d0 [dvb_ttpci]
 [<c0115bf8>] recalc_task_prio+0x88/0x140
 [<c0115d12>] activate_task+0x62/0x80
 [<c0115e04>] try_to_wake_up+0xa4/0xc0
 [<e0a42b94>] send_ipack+0x94/0x210 [dvb_ttpci]
 [<e0a42d49>] av7110_ipack_flush+0x39/0x50 [dvb_ttpci]
 [<e0a3b20c>] av7110_write_to_decoder+0xcc/0x120 [dvb_ttpci]
 [<e09c40f8>] dvb_dmx_swfilter_packet+0x238/0x280 [dvb_core]
 [<e09c41a2>] dvb_dmx_swfilter_packets+0x62/0x70 [dvb_core]
 [<e0a3dff1>] debiirq+0x81/0x330 [dvb_ttpci]
 [<c01354e0>] handle_IRQ_event+0x30/0x70
 [<c011ed16>] tasklet_action+0x46/0x70
 [<c011eabd>] __do_softirq+0x7d/0x90
 [<c011eaf6>] do_softirq+0x26/0x30
 [<c011ebc5>] irq_exit+0x35/0x40
 [<c010559e>] do_IRQ+0x1e/0x30
 [<c0103b96>] common_interrupt+0x1a/0x20
 [<c010e6e4>] delay_pmtmr+0x14/0x20
 [<c0246f52>] __delay+0x12/0x20
 [<e09e1a14>] stv0297_read_ber+0x74/0x90 [stv0297]
 [<e09c9c2d>] dvb_frontend_ioctl+0x4dd/0x650 [dvb_core]
 [<c02ed2c9>] __kfree_skb+0xa9/0x150
 [<c0247976>] copy_from_user+0x46/0x90
 [<e09c17ac>] dvb_usercopy+0x8c/0x11b [dvb_core]
 [<c0288f5d>] write_chan+0x15d/0x210
 [<e09c12f3>] dvb_generic_ioctl+0x43/0x50 [dvb_core]
 [<e09c9750>] dvb_frontend_ioctl+0x0/0x650 [dvb_core]
 [<c01686af>] do_ioctl+0x6f/0xa0
 [<c01688f5>] vfs_ioctl+0x65/0x1d0
 [<c0168ac7>] sys_ioctl+0x67/0xa0
 [<c01031af>] syscall_call+0x7/0xb
scheduling while atomic: czap/0x00000102/4231
 [<c0351083>] schedule+0x503/0x510
 [<c03519e3>] schedule_timeout+0x63/0xc0
 [<c0122fe0>] process_timeout+0x0/0x10
 [<c01233bf>] msleep+0x2f/0x40
 [<e0a34eac>] __av7110_send_fw_cmd+0x7c/0x4e0 [dvb_ttpci]
 [<e0a35358>] av7110_send_fw_cmd+0x48/0xc0 [dvb_ttpci]
 [<e0a35438>] av7110_fw_cmd+0x68/0x90 [dvb_ttpci]
 [<e0a39c5e>] av7110_set_vidmode+0xae/0xe0 [dvb_ttpci]
 [<e0a39d29>] get_video_format+0x99/0x110 [dvb_ttpci]
 [<e0a39f1f>] play_video_cb+0x17f/0x2d0 [dvb_ttpci]
 [<c0115bf8>] recalc_task_prio+0x88/0x140
 [<c0115d12>] activate_task+0x62/0x80
 [<c0115e04>] try_to_wake_up+0xa4/0xc0
 [<e0a42b94>] send_ipack+0x94/0x210 [dvb_ttpci]
 [<e0a42d49>] av7110_ipack_flush+0x39/0x50 [dvb_ttpci]
 [<e0a3b20c>] av7110_write_to_decoder+0xcc/0x120 [dvb_ttpci]
 [<e09c40f8>] dvb_dmx_swfilter_packet+0x238/0x280 [dvb_core]
 [<e09c41a2>] dvb_dmx_swfilter_packets+0x62/0x70 [dvb_core]
 [<e0a3dff1>] debiirq+0x81/0x330 [dvb_ttpci]
 [<c01354e0>] handle_IRQ_event+0x30/0x70
 [<c011ed16>] tasklet_action+0x46/0x70
 [<c011eabd>] __do_softirq+0x7d/0x90
 [<c011eaf6>] do_softirq+0x26/0x30
 [<c011ebc5>] irq_exit+0x35/0x40
 [<c010559e>] do_IRQ+0x1e/0x30
 [<c0103b96>] common_interrupt+0x1a/0x20
 [<c010e6e4>] delay_pmtmr+0x14/0x20
 [<c0246f52>] __delay+0x12/0x20
 [<e09e1a14>] stv0297_read_ber+0x74/0x90 [stv0297]
 [<e09c9c2d>] dvb_frontend_ioctl+0x4dd/0x650 [dvb_core]
 [<c02ed2c9>] __kfree_skb+0xa9/0x150
 [<c0247976>] copy_from_user+0x46/0x90
 [<e09c17ac>] dvb_usercopy+0x8c/0x11b [dvb_core]
 [<c0288f5d>] write_chan+0x15d/0x210
 [<e09c12f3>] dvb_generic_ioctl+0x43/0x50 [dvb_core]
 [<e09c9750>] dvb_frontend_ioctl+0x0/0x650 [dvb_core]
 [<c01686af>] do_ioctl+0x6f/0xa0
 [<c01688f5>] vfs_ioctl+0x65/0x1d0
 [<c0168ac7>] sys_ioctl+0x67/0xa0
 [<c01031af>] syscall_call+0x7/0xb
scheduling while atomic: swapper/0x00000102/0
 [<c0351083>] schedule+0x503/0x510
 [<e0a39ef3>] play_video_cb+0x153/0x2d0 [dvb_ttpci]
 [<e0a39fe8>] play_video_cb+0x248/0x2d0 [dvb_ttpci]
 [<c0115bf8>] recalc_task_prio+0x88/0x140
 [<c012e6b0>] autoremove_wake_function+0x0/0x60
 [<c012e6b0>] autoremove_wake_function+0x0/0x60
 [<e0a42b94>] send_ipack+0x94/0x210 [dvb_ttpci]
 [<e0a42d49>] av7110_ipack_flush+0x39/0x50 [dvb_ttpci]
 [<e0a3b20c>] av7110_write_to_decoder+0xcc/0x120 [dvb_ttpci]
 [<e09c40f8>] dvb_dmx_swfilter_packet+0x238/0x280 [dvb_core]
 [<e09c41a2>] dvb_dmx_swfilter_packets+0x62/0x70 [dvb_core]
 [<e0a3dff1>] debiirq+0x81/0x330 [dvb_ttpci]
 [<c01354e0>] handle_IRQ_event+0x30/0x70
 [<c011ed16>] tasklet_action+0x46/0x70
 [<c011eabd>] __do_softirq+0x7d/0x90
 [<c011eaf6>] do_softirq+0x26/0x30
 [<c011ebc5>] irq_exit+0x35/0x40
 [<c010559e>] do_IRQ+0x1e/0x30
 [<c0103b96>] common_interrupt+0x1a/0x20
 [<c0101053>] default_idle+0x23/0x30
 [<c01010d8>] cpu_idle+0x48/0x60
 [<c04287c4>] start_kernel+0x174/0x1b0
 [<c0428380>] unknown_bootoption+0x0/0x1b0
bad: scheduling from the idle thread!
 [<c0351048>] schedule+0x4c8/0x510
 [<e0a39fe8>] play_video_cb+0x248/0x2d0 [dvb_ttpci]
 [<e0a39fe8>] play_video_cb+0x248/0x2d0 [dvb_ttpci]
 [<c0115bf8>] recalc_task_prio+0x88/0x140
 [<c012e6b0>] autoremove_wake_function+0x0/0x60
 [<c012e6b0>] autoremove_wake_function+0x0/0x60
 [<e0a42b94>] send_ipack+0x94/0x210 [dvb_ttpci]
 [<e0a42d49>] av7110_ipack_flush+0x39/0x50 [dvb_ttpci]
 [<e0a3b20c>] av7110_write_to_decoder+0xcc/0x120 [dvb_ttpci]
 [<e09c40f8>] dvb_dmx_swfilter_packet+0x238/0x280 [dvb_core]
 [<e09c41a2>] dvb_dmx_swfilter_packets+0x62/0x70 [dvb_core]
 [<e0a3dff1>] debiirq+0x81/0x330 [dvb_ttpci]
 [<c01354e0>] handle_IRQ_event+0x30/0x70
 [<c011ed16>] tasklet_action+0x46/0x70
 [<c011eabd>] __do_softirq+0x7d/0x90
 [<c011eaf6>] do_softirq+0x26/0x30
 [<c011ebc5>] irq_exit+0x35/0x40
 [<c010559e>] do_IRQ+0x1e/0x30
 [<c0103b96>] common_interrupt+0x1a/0x20
 [<c0101053>] default_idle+0x23/0x30
 [<c01010d8>] cpu_idle+0x48/0x60
 [<c04287c4>] start_kernel+0x174/0x1b0
 [<c0428380>] unknown_bootoption+0x0/0x1b0
Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
c0115a56
*pde = 00000000
Oops: 0002 [#1]
PREEMPT
Modules linked in: dvb_usb_umt_010 dvb_usb_nova_t_usb2 dvb_usb_a800 
dvb_usb_dibu
sb_mc dvb_usb_dibusb_mb dvb_usb_dibusb_common dvb_usb_dtt200u 
dvb_usb_vp7045 dvb
_usb cinergyT2 b2c2_flexcop_pci b2c2_flexcop_usb b2c2_flexcop ttusb_dec 
dvb_ttus
b_budget budget_av budget_ci budget budget_core dvb_ttpci ttpci_eeprom 
saa7146_v
v saa7146 ttusbdecfe nxt2002 stv0297 mt352 mt312 cx22702 cx24110 tda8083 
l64781
dib3000mc dib3000mb dib3000_common tda10021 tda1004x ves1820 stv0299 
cx22700 sp8
870 ves1x93 dvb_pll dvb_core video_buf v4l2_common v4l1_compat videodev 
firmware
_class i2c_core sd_mod sg sr_mod scsi_mod ipv6 af_packet evdev floppy 
pci_hotplu
g ehci_hcd usbcore psmouse genrtc unix
CPU:    0
EIP:    0060:[<c0115a56>]    Tainted: P      VLI
EFLAGS: 00010086   (2.6.11)
EIP is at dequeue_task+0x16/0x50
eax: 00000000   ebx: c03a4b40   ecx: c03a4b20   edx: c03a4b20
esi: 00000000   edi: de22429c   ebp: c0427da8   esp: c0427da0
ds: 007b   es: 007b   ss: 0068
Process swapper (pid: 0, threadinfo=c0426000 task=c03a4b20)
Stack: c03a4b20 de22428c c0427dbc c0115d50 c03a4b20 00000000 00000000 
c0427dfc
       c0350ca8 c03a4b20 c045c260 00000102 00000000 00000000 000002e0 
25500080
       ac61b440 000f4224 c03a4b20 c03a4c70 c0426000 de22428c de22429c 
00000712
Call Trace:
 [<c0115d50>] deactivate_task+0x20/0x30
 [<c0350ca8>] schedule+0x128/0x510
 [<e0a39fe8>] play_video_cb+0x248/0x2d0 [dvb_ttpci]
 [<c0115bf8>] recalc_task_prio+0x88/0x140
 [<c012e6b0>] autoremove_wake_function+0x0/0x60
 [<c012e6b0>] autoremove_wake_function+0x0/0x60
 [<e0a42b94>] send_ipack+0x94/0x210 [dvb_ttpci]
 [<e0a42d49>] av7110_ipack_flush+0x39/0x50 [dvb_ttpci]
 [<e0a3b20c>] av7110_write_to_decoder+0xcc/0x120 [dvb_ttpci]
 [<e09c40f8>] dvb_dmx_swfilter_packet+0x238/0x280 [dvb_core]
 [<e09c41a2>] dvb_dmx_swfilter_packets+0x62/0x70 [dvb_core]
 [<e0a3dff1>] debiirq+0x81/0x330 [dvb_ttpci]
 [<c01354e0>] handle_IRQ_event+0x30/0x70
 [<c011ed16>] tasklet_action+0x46/0x70
 [<c011eabd>] __do_softirq+0x7d/0x90
 [<c011eaf6>] do_softirq+0x26/0x30
 [<c011ebc5>] irq_exit+0x35/0x40
 [<c010559e>] do_IRQ+0x1e/0x30
 [<c0103b96>] common_interrupt+0x1a/0x20
 [<c0101053>] default_idle+0x23/0x30
 [<c01010d8>] cpu_idle+0x48/0x60
 [<c04287c4>] start_kernel+0x174/0x1b0
 [<c0428380>] unknown_bootoption+0x0/0x1b0
Code: ff 40 14 b8 60 c2 45 c0 c9 c3 8d 74 26 00 8d bc 27 00 00 00 00 55 
89 e5 83
 ec 08 89 74 24 04 8b 55 08 89 1c 24 8b 75 0c 8d 5a 20 <ff> 0e 8b 42 20 
8b 4b 04
 89 01 89 48 04 c7 42 20 00 01 10 00 c7
 <0>Kernel panic - not syncing: Fatal exception in interrupt






More information about the linux-dvb mailing list