Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: Using dvb-kernel and bttv 0.9.x in parallel on 2.6 (Re: Re: overlay-problem -> pci-latency)



Hello Michael,

in the meantime i upgraded to cvs-dvb-kernel as you suggested but i do get the 
same oops as i previously send, happening during exiting kvdr.
---
kernel BUG at /data1/free/in_use/dvb-kernel/build-2.6/saa7146_fops.c:52!
invalid operand: 0000 [#1]
CPU:    0
EIP:    0060:[<e150c1e4>]    Not tainted
EFLAGS: 00010297
EIP is at saa7146_res_free+0x24/0x110 [saa7146_vv]
eax: 00000002   ebx: d1218000   ecx: 00200020   edx: 00400000
esi: d98ca7a0   edi: de3b5000   ebp: 00000003   esp: d1219b48
ds: 007b   es: 007b   ss: 0068
Process kvdr (pid: 4135, threadinfo=d1218000 task=d213a140)
Stack: d98ca7a0 e150e1f2 de3b5000 df0d33c0 d1218000 00000246 00000000 de3b5000
       e150f448 de3b5000 00000003 00000246 c02f4c24 c03fda28 d98ca7a0 0000012b
       00000001 c04669b8 0000000a 00000246 c04669b8 d1218000 ffffffff c03f86e0
Call Trace:
 [<e150e1f2>] saa7146_stop_preview+0xb2/0xf0 [saa7146_vv]
 [<e150f448>] saa7146_video_do_ioctl+0x3f8/0x1280 [saa7146_vv]
 [<c02f4c24>] net_rx_action+0x74/0x110
 [<e14d827f>] v4l_compat_translate_ioctl+0x1d5f/0x1db8 [v4l1_compat]
 [<c01252b6>] update_wall_time+0x16/0x40
 [<c0125720>] do_timer+0xe0/0xf0
 [<c010b679>] handle_IRQ_event+0x49/0x80
 [<c0118e9d>] scheduler_tick+0x1d/0x500
 [<c0109c48>] common_interrupt+0x18/0x20
 [<c0109c6a>] apic_timer_interrupt+0x1a/0x20
 [<c0118e9d>] scheduler_tick+0x1d/0x500
 [<c0125446>] update_process_times+0x46/0x60
 [<c01252b6>] update_wall_time+0x16/0x40
 [<c0125720>] do_timer+0xe0/0xf0
 [<c010f960>] timer_interrupt+0x50/0x130
 [<c010b679>] handle_IRQ_event+0x49/0x80
 [<c010ba4d>] do_IRQ+0xbd/0x140
 [<c0109c48>] common_interrupt+0x18/0x20
 [<e14d0e56>] saa7146_wait_for_debi_done+0x86/0xe0 [saa7146]
 [<e15b00a8>] av7110_pes_play+0x38/0x1e0 [dvb_ttpci]
 [<e15ab048>] av7110_debiwrite+0x48/0xa0 [dvb_ttpci]
 [<e15ab048>] av7110_debiwrite+0x48/0xa0 [dvb_ttpci]
 [<e15b4cfd>] gpioirq+0x39d/0xb00 [dvb_ttpci]
 [<e15b00a8>] av7110_pes_play+0x38/0x1e0 [dvb_ttpci]
 [<e15ab048>] av7110_debiwrite+0x48/0xa0 [dvb_ttpci]
 [<e15b4cfd>] gpioirq+0x39d/0xb00 [dvb_ttpci]
 [<c013b53e>] buffered_rmqueue+0xbe/0x160
 [<c013b68f>] __alloc_pages+0xaf/0x360
 [<c0109c6a>] apic_timer_interrupt+0x1a/0x20
 [<e150f1ed>] saa7146_video_do_ioctl+0x19d/0x1280 [saa7146_vv]
 [<e150f050>] saa7146_video_do_ioctl+0x0/0x1280 [saa7146_vv]
 [<c0143ade>] copy_page_range+0xfe/0x380
 [<c0137455>] unlock_page+0x15/0x60
 [<e14c94a8>] video_usercopy+0xe8/0x1e0 [videodev]
 [<c0117b2c>] do_page_fault+0x31c/0x519
 [<c0129ae2>] do_sigaction+0x182/0x270
 [<c0129f79>] sys_rt_sigaction+0xb9/0x120
 [<e150ce8f>] fops_ioctl+0x2f/0x40 [saa7146_vv]
 [<e150f050>] saa7146_video_do_ioctl+0x0/0x1280 [saa7146_vv]
 [<c0166710>] sys_ioctl+0x100/0x290
 [<c0117810>] do_page_fault+0x0/0x519
 [<c01092db>] syscall_call+0x7/0xb

Code: 0f 0b 34 00 e0 46 51 e1 f6 05 44 49 4d e1 02 0f 85 a7 00 00
---
After that i see no overlay again until i reboot the machine, the modules 
might not be unloaded anymore, not even with force.

Also, the same problem exists, that after capturing an image using kvdr the 
overlay is turned off (also it's definitely turned on after capturing again 
as it works just fine with the bttv-part also over the same 
v4l1-compat-layer) - i had an workaround for this working with older driver 
versions, which simply waited 40ms before turning it on again, until now i 
didn't need to care about this in overlay mode, just in xv-mode, see
kvdr.cpp:XvDeinterlaceSLOT:line 1569 "workaround for dvb-driver-failure".
It seems to be a timing problem...

Also i uploaded an image http://www.s.netic.de/gfiala/overlay1.png when the 
overlay is totally clipped/turned off in case the window in front has a 
certain position. This does also happen with xawtv, so it's less likely a 
problem of kvdr but of the driver... maybe you have a clue.

Guido



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index