LinHES Forums
http://forums.linhes.org/

R6 PVR500 video0 errors
http://forums.linhes.org/viewtopic.php?f=23&t=20696
Page 1 of 1

Author:  knappster [ Fri Dec 18, 2009 10:25 pm ]
Post subject:  R6 PVR500 video0 errors

I recently did a fresh install to R6 from a system that had been running R5.5 over a year with no major problems. Shortly after the upgrade I would get kicked back to the menu when trying to tune to analog channels. I have a PVR-500 for 2 analog tuners and an HDHomerun for digital. I saw some ivtv errors in mythbackend so I added noapic to the menu.lst for grub, shut down and unplugged the power cord from the computer for a couple minutes and powered it back on. I am still having the same issue. What I have found:

/dev/video0 gives errors when selected.
/dev/video1 seems to work fine.

/var/log/mythtv/mythbackend.log info:
Code:
MPEGRec(/dev/video0) Error: select timeout - ivtv driver has stopped responding


dmesg | grep ivtv
Code:
ivtv:  Start initialization, version 1.4.0
ivtv0: Initializing card #0
ivtv0: Autodetected Hauppauge card (cx23416 based)
ivtv 0000:02:08.0: PCI INT A -> Link[LNK1] -> GSI 10 (level, low) -> IRQ 10
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
ivtv0: Autodetected WinTV PVR 500 (unit #1)
cx25840 2-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #0)
tuner 2-0060: chip found @ 0xc0 (ivtv i2c driver #0)
tuner 2-0043: chip found @ 0x86 (ivtv i2c driver #0)
tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0)
wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #0)
ivtv0: Registered device video0 for encoder MPG (4096 kB)
ivtv0: Registered device video32 for encoder YUV (2048 kB)
ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
ivtv0: Registered device video24 for encoder PCM (320 kB)
ivtv0: Registered device radio0 for encoder radio
ivtv0: Initialized card #0: WinTV PVR 500 (unit #1)
ivtv1: Initializing card #1
ivtv1: Autodetected Hauppauge card (cx23416 based)
ivtv 0000:02:09.0: PCI INT A -> Link[LNK2] -> GSI 11 (level, low) -> IRQ 11
ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
ivtv1: Correcting tveeprom data: no radio present on second unit
ivtv1: Autodetected WinTV PVR 500 (unit #2)
cx25840 3-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #1)
tuner 3-0043: chip found @ 0x86 (ivtv i2c driver #1)
tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #1)
wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver #1)
ivtv1: Registered device video1 for encoder MPG (4096 kB)
ivtv1: Registered device video33 for encoder YUV (2048 kB)
ivtv1: Registered device vbi1 for encoder VBI (1024 kB)
ivtv1: Registered device video25 for encoder PCM (320 kB)
ivtv1: Initialized card #1: WinTV PVR 500 (unit #2)
ivtv:  End initialization
ivtv 0000:02:08.0: firmware: requesting v4l-cx2341x-enc.fw
ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv0: Encoder revision: 0x02060039
ivtv 0000:02:09.0: firmware: requesting v4l-cx2341x-enc.fw
ivtv1: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv1: Encoder revision: 0x02060039


errors.log
Code:
Dec 18 22:07:20 mythtv ntpd[4552]: getaddrinfo: "::1" invalid host address, ignored
Dec 18 22:07:26 mythtv i2c-adapter i2c-2: sendbytes: NAK bailout.
Dec 18 22:07:26 mythtv cx25840 2-0044: firmware load i2c failure


Any ideas on what I can do to troubleshoot this problem? I don't remember it occurring even once with R5.5 and the only hardware change was a new hard drive when I did a clean install of R6.

Author:  gatorback [ Mon Mar 29, 2010 12:00 am ]
Post subject: 

I have been using a PVR-500 for years and I had problems with the initial R6 release, so I waited for 6.02. That being said, I tried 6.02 and it works well with the PVR-500. I had to physically reseat the card (I must have bumped it).

A friend gave me a 30 GB IDE HDD, so I use that as my test drive for when I want to try something significantly new (like moving from KM to LinHES). I like to know that my components are "known to be good" before introducing new software.

If it helps, I ran a similar test to the one to yours. Results are provided for you to compare against your results. This is the result from a working LinHES 6.02 system with a PVR-500:

Code:
[root@mythtv]# dmesg | grep -i ivtv

Quote:
ivtv: Start initialization, version 1.4.0
ivtv0: Initializing card #0
ivtv0: Autodetected Hauppauge card (cx23416 based)
ivtv 0000:05:08.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
ivtv0: Autodetected WinTV PVR 500 (unit #1)
cx25840 0-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #0)
tuner 0-0060: chip found @ 0xc0 (ivtv i2c driver #0)
tuner 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
ivtv0: Registered device video0 for encoder MPG (4096 kB)
ivtv0: Registered device video32 for encoder YUV (2048 kB)
ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
ivtv0: Registered device video24 for encoder PCM (320 kB)
ivtv0: Registered device radio0 for encoder radio
ivtv0: Initialized card #0: WinTV PVR 500 (unit #1)
ivtv1: Initializing card #1
ivtv1: Autodetected Hauppauge card (cx23416 based)
ivtv 0000:05:09.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
ivtv1: Correcting tveeprom data: no radio present on second unit
ivtv1: Autodetected WinTV PVR 500 (unit #2)
cx25840 1-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #1)
tuner 1-0043: chip found @ 0x86 (ivtv i2c driver #1)
tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #1)
wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #1)
ivtv1: Registered device video1 for encoder MPG (4096 kB)
ivtv1: Registered device video33 for encoder YUV (2048 kB)
ivtv1: Registered device vbi1 for encoder VBI (1024 kB)
ivtv1: Registered device video25 for encoder PCM (320 kB)
ivtv1: Initialized card #1: WinTV PVR 500 (unit #2)
ivtv: End initialization
ivtv 0000:05:08.0: firmware: requesting v4l-cx2341x-enc.fw
ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv0: Encoder revision: 0x02060039
ivtv 0000:05:09.0: firmware: requesting v4l-cx2341x-enc.fw
ivtv1: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv1: Encoder revision: 0x02060039


Hope this helps.

Author:  knappster [ Sat Apr 03, 2010 7:06 am ]
Post subject: 

Actually, I should have followed up on this long ago. I found that if I reload the modules once the system is up, it works fine. I use mythwelcome so I just changed the mythfrontend command to a script I called:

mythfrontend-ivtv.sh
Code:
#!/bin/sh
sudo /sbin/modprobe -r ivtv cx25840
sudo /sbin/modprobe cx2580 debug=1
sudo /sbin/modprobe ivtv debug=1023
/usr/bin/mythfrontend -d -l /var/log/mythtv/mythfrontend.log
The problem has not resurfaced since.[/code]

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/