Hello,
Im am having some problems with my pvr500(PAL) card and mythtv.
When the system boots up, cat video0 (and 1) works just fine, and i get a
working stream.
After starting mythtv's backend, im still able to cat both devices, and
everyting is just fine.
But when i let mythtv read from the device (by watching tv) nothing happens.
After shutting down the backend, the device is nearly dead.
When i cat from the device i get either 0 bytes or about 600k, no matter how
long i let the cat wait.
If i do get data, its not an mpeg stream. To me it looks more or less like VBI
data or such.
(after a rmmod and modprobe, its all fine again)
So i started debugging, setting ivtv_debug=91 (WARN,INFO,DMA,IOCTL,IRQ) to see
what ioctls the backend makes, as this might be where the problem starts.
But this gave a rather interresting result.
In stead of debug information, the module crashes when i open the device.
(dump at the end).
There is no debug information from the ivtv driver, so it looks like its:
IVTV_DEBUG_INFO("v4l2 open on minor %d\n", minor);
that makes the crash, but i cant see how this line can crash the driver?
If i set ivtv_debug=89, i do not get the crash, nor if i comment out the
line...
Anyone got any ides (To either of the problems)?
/Jesper Toft
[ dmesg ]
Unable to handle kernel NULL pointer dereference at virtual address 000000c8
printing eip:
de9dcf18
*pde = 00000000
Oops: 0000 [#1]
Modules linked in: ivtv tda9887 wm8775 tuner cx25840 tveeprom saa7115 msp3400
CPU: 0
EIP: 0060:[<de9dcf18>] Not tainted VLI
EFLAGS: 00010202 (2.6.11.11)
EIP is at ivtv_v4l2_open+0x108/0x3c0 [ivtv]
eax: dd2be1b8 ebx: c04a4860 ecx: ddec953c edx: dce0a8e0
esi: 00000000 edi: 00000000 ebp: dd2be1b8 esp: dc1dbedc
ds: 007b es: 007b ss: 0068
Process cat (pid: 8488, threadinfo=dc1da000 task=dd6215d0)
Stack: 00000000 00000000 00000000 c04a4860 d93b2ce0 00000000 dd2be1b8 c027b482
dd2be1b8 d93b2ce0 ddec9500 00000000 00000000 dd2be1b8 c0154418 dd2be1b8
d93b2ce0 00000000 d93b2ce0 dd2be1b8 ddfe4a40 dd69be90 c014bad4 dd2be1b8
Call Trace:
[<c027b482>] video_open+0xb2/0x180
[<c0154418>] chrdev_open+0x98/0x130
[<c014bad4>] dentry_open+0x164/0x1d0
[<c014b960>] filp_open+0x50/0x60
[<c014bc75>] sys_open+0x35/0x90
[<c0102d87>] syscall_call+0x7/0xb
Code: a0 de 0f 8c 6b ff ff ff 56 8b 0d c8 00 00 00 51 68 9c 9d 9f de e8 29 8c
73 e1 83 c4 0c b8 fa ff ff ff 83 c4 08 5b 5e 5f 5d c3 56 <a1> c8 00 00 00 50
68 cc 9d 9f de e8 08 8c 73 e1 83 c4 0c e9 10
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel