[mythtv-users] mythbackend stops responding with HDPVR

Harley Peters harley at thepetersclan.net
Sat Apr 18 03:27:43 UTC 2009


On Fri, 17 Apr 2009 22:10:54 -0400
P S <guierrmo at gmail.com> wrote:

> On Fri, Apr 17, 2009 at 12:13 PM, John P Poet <jppoet at gmail.com>
> wrote:
> 
> I applied the DeviceReadBuffer patch and it does help, but is does
> error quite often still.  At least is is more graceful with the patch.
>  I see the below fairly often.  The blue LED goes off then back on and
> continues to record.  I haven't played any of these recording back yet
> to see if they are ok.
> 
> 2009-04-17 22:02:09.334 MPEGRec(/dev/video0) Error: Device error
> detected 2009-04-17 22:02:09.338 DevRdB(/dev/video0): Stop(): Not
> running.
> 
> 
> I have a Rev D1 and it had firmware 1.0.5.301 firmware.  I just
> upgraded to the latest beta, 1.5.6.  Which doesn't seem to make much
> difference.
> 
> I also had the driver crash with 1.0.5.301:
> 
> [346853.679641] usb 1-6: USB disconnect, address 6
> [346853.788045] hdpvr 1-6:1.0: device /dev/video0 disconnected
> [347918.528403] BUG: unable to handle kernel NULL pointer dereference
> at 00000000
> [347918.528410] IP: [<c037e6d5>] __mutex_lock_slowpath+0x35/0xb0
> [347918.528419] *pde = 00000000
> [347918.528423] Oops: 0002 [#1] SMP
> [347918.528427] Modules linked in: hdpvr v4l2_common i2c_core videodev
> v4l1_compat af_packet fglrx(P) agpgart rfcomm sco bridge stp bnep
> l2cap bluetooth ppdev ipv6 video output wmi pci_slot container sbs
> sbshc battery iptable_filter ip_tables x_tables xfs ac sbp2 lp dcdbas
> parport_pc parport snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm_oss
> snd_mixer_oss evdev snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi
> snd_rawmidi snd_seq_midi_event snd_seq button snd_timer snd_seq_device
> iTCO_wdt iTCO_vendor_support snd soundcore snd_page_alloc shpchp
> pci_hotplug pcspkr ext3 jbd mbcache sd_mod crc_t10dif sr_mod cdrom
> usbhid hid sg ata_generic pata_acpi ahci ata_piix libata ohci1394
> scsi_mod dock ieee1394 uhci_hcd ehci_hcd usbcore tg3 libphy thermal
> processor fan fbcon tileblit font bitblit softcursor fuse
> [347918.528491]
> [347918.528495] Pid: 30712, comm: mythbackend Tainted: P
> (2.6.27-11-generic #1)
> [347918.528498] EIP: 0060:[<c037e6d5>] EFLAGS: 00010246 CPU: 0
> [347918.528502] EIP is at __mutex_lock_slowpath+0x35/0xb0
> [347918.528505] EAX: f60dddd4 EBX: e89ec764 ECX: e89ec76c EDX:
> 00000000 [347918.528508] ESI: e89ec768 EDI: f71fc908 EBP: f60dddec
> ESP: f60dddcc [347918.528510]  DS: 007b ES: 007b FS: 00d8 GS: 0000
> SS: 0068 [347918.528513] Process mythbackend (pid: 30712, ti=f60dc000
> task=de92bed0 task.ti=f60dc000)
> [347918.528516] Stack: de92bed0 e89ec76c e89ec76c f7402600 ceb7ef68
> e89ec764 e89ec764 f71fc908
> [347918.528523]        f60dddf8 c037e52c e89ec700 f60dde08 f9ae7a0a
> e89e7400 f625a600 f60dde14
> [347918.528529]        f9ad890b 00000008 f60dde40 c01b38a0 00000000
> 00000000 f71fc908 f7851f80
> [347918.528536] Call Trace:
> [347918.528539]  [<c037e52c>] ? mutex_lock+0x1c/0x20
> [347918.528544]  [<f9ae7a0a>] ? hdpvr_release+0x2a/0x70 [hdpvr]
> [347918.528552]  [<f9ad890b>] ? v4l2_release+0x2b/0x40 [videodev]
> [347918.528559]  [<c01b38a0>] ? __fput+0xb0/0x190
> [347918.528564]  [<c01b399f>] ? fput+0x1f/0x30
> [347918.528568]  [<c01b027e>] ? filp_close+0x4e/0x80
> [347918.528572]  [<c0208aa0>] ? exit_sem+0x180/0x1d0
> [347918.528576]  [<c01343ce>] ? put_files_struct+0x6e/0xc0
> [347918.528582]  [<c0134468>] ? exit_files+0x48/0x60
> [347918.528585]  [<c0136014>] ? do_exit+0x224/0x360
> [347918.528589]  [<c013cf43>] ? recalc_sigpending+0x13/0x40
> [347918.528594]  [<c013e7a0>] ? dequeue_signal+0x30/0x180
> [347918.528598]  [<c0136185>] ? do_group_exit+0x35/0xa0
> [347918.528602]  [<c01401c3>] ? get_signal_to_deliver+0x183/0x3a0
> [347918.528606]  [<c0103da8>] ? do_notify_resume+0x78/0x160
> [347918.528611]  [<c012b740>] ? default_wake_function+0x0/0x10
> [347918.528616]  [<c0156a15>] ? do_futex+0x85/0x170
> [347918.528621]  [<c0156b9c>] ? sys_futex+0x9c/0x120
> [347918.528625]  [<c0104140>] ? work_notifysig+0x13/0x23
> [347918.528630]  =======================
> [347918.528631] Code: f2 6b d8 ff 89 c3 8d 73 04 64 a1 00 e0 50 c0 89
> 45 e0 89 f0 e8 5d 10 00 00 8b 53 0c 8d 45 e8 8d 4b 08 89 4d e4 89 43
> 0c 89 4d e8 <89> 02 8b 45 e0 89 55 ec ba ff ff ff ff 89 45 f0 89 d0 87
> 03 83
> [347918.528666] EIP: [<c037e6d5>] __mutex_lock_slowpath+0x35/0xb0
> SS:ESP 0068:f60dddcc
> [347918.528672] ---[ end trace 28a40cb7c7c245aa ]---
> [347918.528675] Fixing recursive fault but reboot is needed!
> 
> 
> Powering off/on the HDPVR caused it to link to /dev/video1, instead of
> /dev/video0, rebooting fixed that.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Have you looked at live tv when this happens to see if there is
corruption ?

>2009-04-17 22:02:09.334 MPEGRec(/dev/video0) Error: Device error
> detected 2009-04-17 22:02:09.338 DevRdB(/dev/video0): Stop(): Not
> running.

This error is "normal" happens when it stops recording and then
restarts.
I've had it stop and start recording nine times in one hour before when
there was a lot of video corruption thankfully that's rare.
I've never had the driver crash before so don't know what that was
about.

Harley.




More information about the mythtv-users mailing list