Hi,
I'm trying to figure out my options for dealing with the ivtv DMA timeout
issues. Here's what I typically experience:
- System is fine for a day or so, and then my PVR500 tuners are unusable. My
250 seems to continue working just fine (not sure why).
- At this point, the entire system starts to degrade (things get pretty slow,
VNC sessions cause freeze ups, attempts to watch/record something on one of the
non-operational PVR150 tuners cause hardware freezes, and a reboot is usually
necessary). Not sure how much of this is related to DMA timeout, and how much
is the result of other gremlins in my setup.
- I have the following errors in my logs, which seem pretty typical of other
people's experience with this problem:
/var/log/mythtv/mythbackend.log:
Error: select timeout - ivtv driver has stopped responding
/var/log/messages:
ivtv1: DMA TIMEOUT 00000001
Here's my system:
- I'm running mythtv 0.20.2 on CentOS 5 (2.6.18 kernel) with ivtv 0.10.5 with
an ASUS M2NPV-VM mobo. I used to run FC5 (with the same HW), but rebuilt my box
recently due to frustrations over the frequent EOL of FC releases.
- I have a PVR250 and a PVR500 (2x 150) (ivtv init stuff attached)
Now, I'm somewhat of a linux novice. I've been running mythtv for about 5
years, so I'm not a complete newbie, but have only ever used packages from
apt-get or other established repositories. I haven't ever compiled my own
kernel or anything like that. My only real experience with Linux is setting up
and using Mythtv (e.g. I don't run Linux at work or anything like that).
I see that there's a potential fix to this DMA timeout issue in the 0.10.6
version of IVTV, but I am *really* confused by what my options are for taking
advantage of this fix. I've read through the ivtv mailing list as well as the
mythtv lists, and googled for more info about this. And while I see that a few
people have posted questions about how to ingest this new driver in a
package-based system, I haven't seen an answer that really seems to spell out
the options. So here's what I think my options are for getting rid of the DMA
timeout issues. Any feedback would be much appreciated:
1. Wait until 0.10.6 is stable and available in a package repository (like
apt-get) - I really don't want to do this since it will likely cause massive
instability and WAF pain until such time as 0.10.6 is stable.
2. Somehow remove the current ivtv drivers by using something like yum remove,
and then build/install the 0.10.6 version (using make install with this:
http://ivtvdriver.org/viewcvs/ivtv/branches/0.10.tar.gz?view=tar). Or will
removing the ivtv packages remove much more than just the ivtv driver? If not,
what's the proper way to build and install new versions of this driver and not
screw up all my packages and dependencies?
3. Will this be any better under FC7 and packages from repositories? (I think
the answer is no, but since my CentOS setup has been so unstable, I'm
contemplating a return to the land of Fedora).
4. Is there another way to work around this problem that doesn't require
updating drivers or disabling DMA?
I think #2 is the direction I want to go, I'm just not sure what the proper
steps are. Again, any help would be much appreciated.
- Leif
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.10.5 (tagged release) loading
ivtv: Linux version: 2.6.18-8.1.8.el5 SMP mod_unload 686 REGPARM 4KSTACKS
gcc-4.1
ivtv: In case of problems please include the debug info between
ivtv: the START INIT IVTV and END INIT IVTV lines, along with
ivtv: any module options, when mailing the ivtv-users mailinglist.
ivtv0: Autodetected Hauppauge card (cx23416 based)
ACPI: PCI Interrupt Link [LNK2] enabled at IRQ 5
ACPI: PCI Interrupt 0000:04:09.0[A] -> Link [LNK2] -> GSI 5 (level, low) -> IRQ
5
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
nvidia: module license 'NVIDIA' taints kernel.
Floppy drive(s): fd0 is 1.44M
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.56.
FDC 0 is a post-1991 82077
sd 0:0:0:0: Attached scsi generic sg0 type 0
ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv0: Encoder revision: 0x02060039
tveeprom 2-0050: Hauppauge model 32062, rev C182, serial# 7913321
tveeprom 2-0050: tuner model is LG TAPC H791F (idx 82, type 39)
tveeprom 2-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 2-0050: audio processor is MSP3445 (idx 12)
tveeprom 2-0050: decoder processor is SAA7115 (idx 19)
tveeprom 2-0050: has no radio, has IR remote
ivtv0: Autodetected Hauppauge WinTV PVR-250
tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0)
saa7115 2-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
msp3400 2-0040: MSP3445G-B8 found @ 0x80 (ivtv i2c driver #0)
msp3400 2-0040: MSP3445G-B8 supports radio, mode is autodetect and autoselect
ivtv0: Registered device video0 for encoder MPEG (4 MB)
ivtv0: Registered device video32 for encoder YUV (2 MB)
ivtv0: Registered device vbi0 for encoder VBI (1 MB)
ivtv0: Registered device video24 for encoder PCM audio (1 MB)
tuner 2-0061: type set to 39 (LG NTSC (newer TAPC series))
ivtv0: Initialized Hauppauge WinTV PVR-250, card #0
ivtv: ====================== NEXT CARD ======================
ivtv1: Autodetected Hauppauge card (cx23416 based)
ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 11
ACPI: PCI Interrupt 0000:05:08.0[A] -> Link [LNK1] -> GSI 11 (level, low) ->
IRQ 11
ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
EDAC MC0: Giving out device to k8_edac Athlon64/Opteron: DEV 0000:00:18.2
ACPI: PCI Interrupt Link [LNK7] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [LNK7] -> GSI 11 (level, low) ->
IRQ 11
PCI: Setting latency timer of device 0000:00:05.0 to 64
ivtv1: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv1: Encoder revision: 0x02060039
tuner 3-0043: chip found @ 0x86 (ivtv i2c driver #1)
tda9887 3-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 3-0060: TEA5767 detected.
tuner 3-0060: chip found @ 0xc0 (ivtv i2c driver #1)
tuner 3-0060: type set to 62 (Philips TEA5767HN FM Radio)
tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #1)
tveeprom 3-0050: Hauppauge model 23552, rev E692, serial# 10197541
tveeprom 3-0050: tuner model is Philips FQ1236A MK4 (idx 92, type 57)
tveeprom 3-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 3-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101,
type 62)
tveeprom 3-0050: audio processor is CX25843 (idx 37)
tveeprom 3-0050: decoder processor is CX25843 (idx 30)
tveeprom 3-0050: has radio, has no IR remote
ivtv1: Autodetected WinTV PVR 500 (unit #1)
cx25840 3-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1)
cx25840 3-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver #1)
ivtv1: Registered device video1 for encoder MPEG (4 MB)
ivtv1: Registered device video33 for encoder YUV (2 MB)
ivtv1: Registered device vbi1 for encoder VBI (1 MB)
ivtv1: Registered device video25 for encoder PCM audio (1 MB)
ivtv1: Registered device radio1 for encoder radio
tuner 3-0061: type set to 57 (Philips FQ1236A MK4)
ivtv1: Initialized WinTV PVR 500 (unit #1), card #1
ivtv: ====================== NEXT CARD ======================
ivtv2: Autodetected Hauppauge card (cx23416 based)
ACPI: PCI Interrupt 0000:05:09.0[A] -> Link [LNK2] -> GSI 5 (level, low) -> IRQ
5
ivtv2: Unreasonably low latency timer, setting to 64 (was 32)
ivtv2: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv2: Encoder revision: 0x02060039
tuner 4-0043: chip found @ 0x86 (ivtv i2c driver #2)
tda9887 4-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 4-0061: chip found @ 0xc2 (ivtv i2c driver #2)
cx25840 4-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #2)
cx25840 4-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
wm8775 4-001b: chip found @ 0x36 (ivtv i2c driver #2)
tveeprom 4-0050: Hauppauge model 23552, rev E692, serial# 10197541
tveeprom 4-0050: tuner model is Philips FQ1236A MK4 (idx 92, type 57)
tveeprom 4-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 4-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101,
type 62)
tveeprom 4-0050: audio processor is CX25843 (idx 37)
tveeprom 4-0050: decoder processor is CX25843 (idx 30)
tveeprom 4-0050: has radio, has no IR remote
ivtv2: Correcting tveeprom data: no radio present on second unit
ivtv2: Autodetected WinTV PVR 500 (unit #2)
ivtv2: Registered device video2 for encoder MPEG (4 MB)
ivtv2: Registered device video34 for encoder YUV (2 MB)
ivtv2: Registered device vbi2 for encoder VBI (1 MB)
ivtv2: Registered device video26 for encoder PCM audio (1 MB)
tuner 4-0061: type set to 57 (Philips FQ1236A MK4)
ivtv2: Initialized WinTV PVR 500 (unit #2), card #2
ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 5
ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [LAZA] -> GSI 5 (level, low) -> IRQ
5
PCI: Setting latency timer of device 0000:00:10.1 to 64
ivtv: ==================== END INIT IVTV ====================
_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users