I added those lines as requested and enabled the spinlock related
debugging, but what jumps out here for me
is the ivtv50331648 reference from the IVTV_ERR. I don't have that many
ivtv cards installed :)

Regards,
 Mark

PS. Happy Hogmanay

ivtv50331648: dma_reg_lock already locked! Deadlocked...
INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
 [<c0142267>] __lock_acquire+0x4ac/0x10f7
 [<c0124d77>] wake_up_klogd+0x37/0x3b
 [<c0142122>] __lock_acquire+0x367/0x10f7
 [<c0142f2c>] lock_acquire+0x7a/0x94
 [<f500ed41>] ivtv_irq_handler+0x2b/0x107a [ivtv]
 [<c03ca38c>] _spin_lock+0x2c/0x55
 [<f500ed41>] ivtv_irq_handler+0x2b/0x107a [ivtv]
 [<f500ed41>] ivtv_irq_handler+0x2b/0x107a [ivtv]
 [<f4a23c38>] budget_ci_irq+0xad/0xcd [budget_ci]
 [<c0141848>] trace_hardirqs_on+0x77/0x156
 [<f49cf967>] interrupt_hw+0xd8/0x261 [saa7146]
 [<c014e6a1>] handle_fasteoi_irq+0x5b/0xc9
 [<c014d493>] handle_IRQ_event+0x1e/0x48
 [<c014e6aa>] handle_fasteoi_irq+0x64/0xc9
 [<c0106120>] do_IRQ+0x3b/0x7b
 [<c010497e>] common_interrupt+0x2e/0x34
 [<f50100d8>] ivtv_api_call+0x231/0x54f [ivtv]
 [<f50104fc>] ivtv_buf_swap+0x1c/0x25 [ivtv]
 [<f50080e6>] ivtv_v4l2_read+0xa89/0xadd [ivtv]
 [<c0141887>] trace_hardirqs_on+0xb6/0x156
 [<c016f51a>] fget_light+0xae/0xb6
 [<c0136eb2>] autoremove_wake_function+0x0/0x37
 [<c016e98c>] vfs_read+0x89/0x117
 [<f500765d>] ivtv_v4l2_read+0x0/0xadd [ivtv]
 [<c016eddf>] sys_read+0x41/0x6a
 [<c0103f6e>] syscall_call+0x7/0xb
 =======================
BUG: spinlock lockup on CPU#0, hsp/1462, cf620c08
 [<c01d6c4e>] _raw_spin_lock+0x108/0x13c
 [<c03ca3a9>] _spin_lock+0x49/0x55
 [<f500ed41>] ivtv_irq_handler+0x2b/0x107a [ivtv]
 [<f500ed41>] ivtv_irq_handler+0x2b/0x107a [ivtv]
 [<f4a23c38>] budget_ci_irq+0xad/0xcd [budget_ci]
 [<c0141848>] trace_hardirqs_on+0x77/0x156
 [<f49cf967>] interrupt_hw+0xd8/0x261 [saa7146]
 [<c014e6a1>] handle_fasteoi_irq+0x5b/0xc9
 [<c014d493>] handle_IRQ_event+0x1e/0x48
 [<c014e6aa>] handle_fasteoi_irq+0x64/0xc9
 [<c0106120>] do_IRQ+0x3b/0x7b
 [<c010497e>] common_interrupt+0x2e/0x34
 [<f50100d8>] ivtv_api_call+0x231/0x54f [ivtv]
 [<f50104fc>] ivtv_buf_swap+0x1c/0x25 [ivtv]
 [<f50080e6>] ivtv_v4l2_read+0xa89/0xadd [ivtv]
 [<c0141887>] trace_hardirqs_on+0xb6/0x156
 [<c016f51a>] fget_light+0xae/0xb6
 [<c0136eb2>] autoremove_wake_function+0x0/0x37
 [<c016e98c>] vfs_read+0x89/0x117
 [<f500765d>] ivtv_v4l2_read+0x0/0xadd [ivtv]
 [<c016eddf>] sys_read+0x41/0x6a
 [<c0103f6e>] syscall_call+0x7/0xb
 =======================





-- 
Mark Bryars
Senior Software Developer
ETV Interactive Ltd
Logie Court
Stirling University Innovation Park
Stirling
Scotland, UK
FK9 4NF
T: +44 (0) 1786 455150
F: +44 (0) 1786 455179
W: www.etvinteractive.com


_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to