All of lore.kernel.org
 help / color / mirror / Atom feed
* xen 2.0 testing / DMA failure with ivtv-driver
@ 2005-10-05 14:43 Manuel Bernhardt
  2005-10-06  6:34 ` Manuel Bernhardt
  0 siblings, 1 reply; 11+ messages in thread
From: Manuel Bernhardt @ 2005-10-05 14:43 UTC (permalink / raw)
  To: xen-devel

Hi everyone,

i'm currently try migrate my mythtv-server into an xen maschine but the
ivtv-driver for my Hauppauge PVR350  doesn't work. Now, a lot of googling
and reading later i'm now here.
I've an error which i can't exactly allocate: is it an driver or an xen
generated error ?

I got with the ivtv-drivers following error:

(0.2.x ivtv driver)
general protection fault: 0000 [#1]
PREEMPT
Modules linked in: tuner tveeprom ivtv tda9887 saa7127 saa7115 msp3400
i2c_algo_bit i2c_core videodev
CPU: 0
EIP: 0061:[<d09ec891>] Not tainted VLI
EFLAGS: 00010202 (2.6.12-xen0)
EIP is at ivtv_sched_DMA+0x751/0xbe0 [ivtv]
eax: 00000003 ebx: ffffaff6 ecx: cfd1e000 edx: 00000000
esi: d0a05520 edi: 00000202 ebp: c9a77ed8 esp: c9a77e70
ds: 007b es: 007b ss: 0069
Process ivtv-enc (pid: 4108, threadinfo=c9a76000 task=ca6d15d0)
Stack: d09c0004 cec609e0 c9a77ed8 000217c0 c036bee0 00000001 00000001
00000000
0000006c cfd1e02c 00000001 00000000 00000000 00024000 000217c0
00000000
cfd1e000 00000000 00000000 00000000 00000000 00000000 000ffb1c
00000000
Call Trace:
[<c01187b0>] default_wake_function+0x0/0x20
[<c01187b0>] default_wake_function+0x0/0x20
[<c0117b0c>] recalc_task_prio+0x8c/0x160
[<d09efa28>] enc_work_handler+0x88/0x90 [ivtv]
[<d09f122d>] ivtv_enc_thread+0x16d/0x1de [ivtv]
[<c0132b10>] autoremove_wake_function+0x0/0x60
[<c0109802>] ret_from_fork+0x6/0x1c
[<c0132b10>] autoremove_wake_function+0x0/0x60
[<d09f10c0>] ivtv_enc_thread+0x0/0x1de [ivtv]
[<c0107765>] kernel_thread_helper+0x5/0x10
Code: 4b 2d c0 29 d8 3d b8 0b 00 00 76 c9 f6 05 10 40 a0 d0 01 0f 85 50 04
00 00 c7 44 24 04 01 00 00 00 89 34 24 e8 c1 c3 00 00 9c 5f <fa> bb 00 e0
ff ff 21 e3 ff 43 14 8b 86 d4 b0 00 00 8b 4c 24 40
ivtv: ENC: User stopped capture.
ivtv: ENC: DMA still Pending while stoping capture!

(and with 0.3.x driver)
general protection fault: 0000 [#1]
PREEMPT
Modules linked in: tuner tveeprom ivtv tda9887 saa7127 saa7115 msp3400
i2c_algo_bit i2c_core videodev
CPU: 0
EIP: 0061:[<d0a07ad6>] Not tainted VLI
EFLAGS: 00010246 (2.6.12-xen0)
EIP is at dma_from_device+0xb6/0x530 [ivtv]
eax: 00000000 ebx: ffffaf70 ecx: ca437000 edx: 000217c0
esi: 00000246 edi: 00000000 ebp: ca6b0000 esp: c96a9e04
ds: 007b es: 007b ss: 0069
Process ivtv-enc (pid: 4089, threadinfo=c96a8000 task=ca5a90c0)
Stack: d09c0000 cfd0e00a 00000009 00000125 c96a8000 00000000 00000000
cfe4af80
00000087 00000125 c11ff040 c013e0a9 cfe4af7c 00000087 cec68060
ca437000
d0a05818 ca437054 00000000 cfe4aedc ca5aa968 cfe4af7c ca437054
00000005
Call Trace:
[<c013e0a9>] filemap_nopage+0x319/0x3f0
[<d0a05818>] enc_gather_free_buffers+0x88/0x360 [ivtv]
[<d0a07936>] ivtv_sched_DMA+0x886/0x970 [ivtv]
[<c0118949>] __wake_up_sync+0x59/0xa0
[<c01187b0>] default_wake_function+0x0/0x20
[<c02a179a>] schedule+0x6a/0x660
[<c01187b0>] default_wake_function+0x0/0x20
[<d0a0b1b8>] enc_work_handler+0x38/0x40 [ivtv]
[<d0a0c70d>] ivtv_enc_thread+0x16d/0x1e0 [ivtv]
[<c015d782>] filp_close+0x52/0xa0
[<c0132b10>] autoremove_wake_function+0x0/0x60
[<c0109802>] ret_from_fork+0x6/0x1c
[<c0132b10>] autoremove_wake_function+0x0/0x60
[<d0a0c5a0>] ivtv_enc_thread+0x0/0x1e0 [ivtv]
[<c0107765>] kernel_thread_helper+0x5/0x10
Code: 00 e8 3f bf ff ff a1 e0 4b 2d c0 29 d8 3d b8 0b 00 00 76 cc f6 05 48
77 a2 d0 01 74 0c c7 04 24 44 dc a1 d0 e8 ac 4c 71 ef 9c 5e <fa> bb 00 e0
ff ff 21 e3 ff 43 14 8b 85 54 18 00 00 8b 54 24 74
<6>ivtv warning: ENC: DMA still Pending while stopping capture!

In both cases an "dma-part" of the driver is touched. Now, when i
understand it right
(http://lists.xensource.com/archives/html/xen-changelog/2005-07/msg00183.html)
this error shouldn't longer exist but it does, on my system with xen 2.0
testing (which should contain the fix). What could goes wrong?

On http://www.gossamer-threads.com/lists/ivtv/devel/24845 you'll find my
post on ivtv-dev list with a little bit more system informations.

What can i do ?

Manuel

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-10-06 10:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-05 14:43 xen 2.0 testing / DMA failure with ivtv-driver Manuel Bernhardt
2005-10-06  6:34 ` Manuel Bernhardt
2005-10-06  8:34   ` Manuel Bernhardt
2005-10-06  9:17     ` Keir Fraser
2005-10-06  9:25       ` Manuel Bernhardt
2005-10-06  9:38         ` Keir Fraser
2005-10-06  9:56           ` Manuel Bernhardt
2005-10-06 10:07             ` Keir Fraser
2005-10-06 10:11               ` Manuel Bernhardt
2005-10-06 10:31                 ` Keir Fraser
2005-10-06 10:24               ` Chris Bainbridge

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.