Mailing List Archive

PVR-150 fails after working for a few hours/days at a time, zero-byte recordings
Hi,

I have a pvr-150 low profile card, which I use for watching analog cable tv.

Usually it works briefly after a reboot, but inevitably I get the dreaded DMA errors, which look like this:

[104235.184516] ivtv0: DMA TIMEOUT 00000001 0

repeated ad infinitum.

I've fiddled around with the PCI latency settings. The only setting that is configurable is the setting for my only expansion card, the pvr-150. I've tried changing it to the max of 254, which does seem to delay the problem, but after a few days it fails again. I've also tried switching PCI slots, but this actually made things worse.

The symptom is a zero-byte recording file in MythTV. I also have an HD Homerun, which records fine with MythTV at the same time.

What are my chances of getting this card to work? There are very few analog, low profile options out there, but I'm starting to consider whether a USB device is worth trying, and cutting my losses with this one.

I read a message in the archives about removing certain code from the driver, forcing the PVR to avoid using DMA. Is this a real solution? Any pointers on what code changes I need to make?

Also, I'm happy to help debug, but I'm not sure where to start in getting better debug information.

I can say that I am using kernel version 2.6.27-14 (ubuntu stock smp) on AMD-64.

The output of lspci -v is as follows:

00:00.0 RAM memory: nVidia Corporation MCP78S [GeForce 8200] Memory Controller (
rev a2)
Subsystem: Giga-byte Technology Device 5001
Flags: bus master, 66MHz, fast devsel, latency 0
Capabilities: <access denied>

00:01.0 ISA bridge: nVidia Corporation MCP78S [GeForce 8200] LPC Bridge (rev a2)
Subsystem: Giga-byte Technology Device 0c11
Flags: bus master, 66MHz, fast devsel, latency 0

00:01.1 SMBus: nVidia Corporation MCP78S [GeForce 8200] SMBus (rev a1)
Subsystem: Giga-byte Technology Device 0c11
Flags: 66MHz, fast devsel, IRQ 11
I/O ports at e000 [size=64]
I/O ports at 1c00 [size=64]
I/O ports at 1c40 [size=64]
Capabilities: <access denied>

00:01.2 RAM memory: nVidia Corporation MCP78S [GeForce 8200] Memory Controller (
rev a1)
Subsystem: nVidia Corporation Device cb84
Flags: 66MHz, fast devsel

00:01.4 RAM memory: nVidia Corporation MCP78S [GeForce 8200] Memory Controller (
rev a1)
Flags: 66MHz, fast devsel

00:02.0 USB Controller: nVidia Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Co
ntroller (rev a1) (prog-if 10)
Subsystem: Giga-byte Technology Device 5004
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23
Memory at f800c000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: ohci_hcd
Kernel modules: ohci-hcd

00:02.1 USB Controller: nVidia Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Co
ntroller (rev a1) (prog-if 20)
Subsystem: Giga-byte Technology Device 5004
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21
Memory at f8006000 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd

00:04.0 USB Controller: nVidia Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller (rev a1) (prog-if 10)
Subsystem: Giga-byte Technology Device 5004
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
Memory at f8007000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: ohci_hcd
Kernel modules: ohci-hcd

00:04.1 USB Controller: nVidia Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Co
ntroller (rev a1) (prog-if 20)
Subsystem: nVidia Corporation Device cb84
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
Memory at f800b000 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd

00:06.0 IDE interface: nVidia Corporation MCP78S [GeForce 8200] IDE (rev a1) (pr
og-if 8a [Master SecP PriP])
Subsystem: Device f458:5002
Flags: bus master, 66MHz, fast devsel, latency 0
[virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size
=8]
[virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size
=1]
[virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size
=8]
[virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size
=1]
I/O ports at f000 [size=16]
Capabilities: <access denied>
Kernel driver in use: pata_amd
Kernel modules: ata_generic, pata_acpi, pata_amd

00:07.0 Audio device: nVidia Corporation Realtek ALC1200 8-Channel High Definiti
on Audio Codec (rev a1)
Subsystem: Giga-byte Technology Device a002
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
Memory at f8000000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

00:08.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1)
(prog-if 01)
Flags: bus master, 66MHz, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
Prefetchable memory behind bridge: f0000000-f3ffffff
Capabilities: <access denied>

00:09.0 SATA controller: nVidia Corporation MCP78S [GeForce 8200] AHCI Controlle
r (rev a2) (prog-if 01)
Subsystem: Giga-byte Technology Device b002
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 2303
I/O ports at 09f0 [size=8]
I/O ports at 0bf0 [size=4]
I/O ports at 0970 [size=8]
I/O ports at 0b70 [size=4]
I/O ports at d800 [size=16]
Memory at f8004000 (32-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: ahci
Kernel modules: ahci

00:0a.0 Ethernet controller: nVidia Corporation MCP78S [GeForce 8200] Ethernet (
rev a2)
Subsystem: Giga-byte Technology Device e000
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 2302
Memory at f8008000 (32-bit, non-prefetchable) [size=4K]
I/O ports at dc00 [size=8]
Memory at f8009000 (32-bit, non-prefetchable) [size=256]
Memory at f800a000 (32-bit, non-prefetchable) [size=16]
Capabilities: <access denied>
Kernel driver in use: forcedeth
Kernel modules: forcedeth

00:0b.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Express Bridge
(rev a1)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000b000-0000bfff
Memory behind bridge: f6000000-f7ffffff
Prefetchable memory behind bridge: 00000000e0000000-00000000efffffff
Capabilities: <access denied>
Kernel modules: shpchp

00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTra
nsport Technology Configuration
Flags: fast devsel
Capabilities: <access denied>

00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address
-Map
Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Con
troller
Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscella
neous Control
Flags: fast devsel
Capabilities: <access denied>
Kernel driver in use: k8temp
Kernel modules: k8temp

01:07.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416)
MPEG-2 Encoder (rev 01)
Subsystem: Hauppauge computer works Inc. Device c801
Flags: bus master, medium devsel, latency 64, IRQ 17
Memory at f0000000 (32-bit, prefetchable) [size=64M]
Capabilities: <access denied>
Kernel driver in use: ivtv
Kernel modules: ivtv

Kernel modules: k8temp

01:07.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416)
MPEG-2 Encoder (rev 01)
Subsystem: Hauppauge computer works Inc. Device c801
Flags: bus master, medium devsel, latency 64, IRQ 17
Memory at f0000000 (32-bit, prefetchable) [size=64M]
Capabilities: <access denied>
Kernel driver in use: ivtv
Kernel modules: ivtv

02:00.0 VGA compatible controller: nVidia Corporation GeForce 8200 (rev a2)
Subsystem: Giga-byte Technology Device d000
Flags: bus master, fast devsel, latency 0, IRQ 21
Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
Memory at e0000000 (64-bit, prefetchable) [size=128M]
Memory at e8000000 (64-bit, prefetchable) [size=32M]
I/O ports at b000 [size=128]
[virtual] Expansion ROM at ea000000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nvidia




_______________________________________________
ivtv-users mailing list
ivtv-users@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-users
Re: PVR-150 fails after working for a few hours/days at a time, zero-byte recordings [ In reply to ]
Hi,

I'm resending this. Bottom line question, any hope that I'll be able to fix the DMA errors, if mucking with PCI slots, and PCI latency did not work? If not, any suggestions on another low-profile or USB-powered analog tuner card?

Is it possible that my card is defective? I could return it if so.

It sounds like this is a known flaw, with no guaranteed solutions other than buying a replacement motherboard. If I am mistaken, please correct me.


Quinten


----- Original Message ----
> From: Quinten Steenhuis <q.steenhuis@yahoo.com>
> To: ivtv-users@ivtvdriver.org
> Sent: Tuesday, August 25, 2009 1:38:52 PM
> Subject: [ivtv-users] PVR-150 fails after working for a few hours/days at a time, zero-byte recordings
>
> Hi,
>
> I have a pvr-150 low profile card, which I use for watching analog cable tv.
>
> Usually it works briefly after a reboot, but inevitably I get the dreaded DMA
> errors, which look like this:
>
> [104235.184516] ivtv0: DMA TIMEOUT 00000001 0
>
> repeated ad infinitum.
>
> I've fiddled around with the PCI latency settings. The only setting that is
> configurable is the setting for my only expansion card, the pvr-150. I've tried
> changing it to the max of 254, which does seem to delay the problem, but after
> a few days it fails again. I've also tried switching PCI slots, but this
> actually made things worse.
>
> The symptom is a zero-byte recording file in MythTV. I also have an HD Homerun,
> which records fine with MythTV at the same time.
>
> What are my chances of getting this card to work? There are very few analog, low
> profile options out there, but I'm starting to consider whether a USB device is
> worth trying, and cutting my losses with this one.
>
> I read a message in the archives about removing certain code from the driver,
> forcing the PVR to avoid using DMA. Is this a real solution? Any pointers on
> what code changes I need to make?
>
> Also, I'm happy to help debug, but I'm not sure where to start in getting better
> debug information.
>
> I can say that I am using kernel version 2.6.27-14 (ubuntu stock smp) on AMD-64.
>
> The output of lspci -v is as follows:
>
> 00:00.0 RAM memory: nVidia Corporation MCP78S [GeForce 8200] Memory Controller (
> rev a2)
> Subsystem: Giga-byte Technology Device 5001
> Flags: bus master, 66MHz, fast devsel, latency 0
> Capabilities:
>
> 00:01.0 ISA bridge: nVidia Corporation MCP78S [GeForce 8200] LPC Bridge (rev a2)
> Subsystem: Giga-byte Technology Device 0c11
> Flags: bus master, 66MHz, fast devsel, latency 0
>
> 00:01.1 SMBus: nVidia Corporation MCP78S [GeForce 8200] SMBus (rev a1)
> Subsystem: Giga-byte Technology Device 0c11
> Flags: 66MHz, fast devsel, IRQ 11
> I/O ports at e000 [size=64]
> I/O ports at 1c00 [size=64]
> I/O ports at 1c40 [size=64]
> Capabilities:
>
> 00:01.2 RAM memory: nVidia Corporation MCP78S [GeForce 8200] Memory Controller (
> rev a1)
> Subsystem: nVidia Corporation Device cb84
> Flags: 66MHz, fast devsel
>
> 00:01.4 RAM memory: nVidia Corporation MCP78S [GeForce 8200] Memory Controller (
> rev a1)
> Flags: 66MHz, fast devsel
>
> 00:02.0 USB Controller: nVidia Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Co
> ntroller (rev a1) (prog-if 10)
> Subsystem: Giga-byte Technology Device 5004
> Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23
> Memory at f800c000 (32-bit, non-prefetchable) [size=4K]
> Capabilities:
> Kernel driver in use: ohci_hcd
> Kernel modules: ohci-hcd
>
> 00:02.1 USB Controller: nVidia Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Co
> ntroller (rev a1) (prog-if 20)
> Subsystem: Giga-byte Technology Device 5004
> Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21
> Memory at f8006000 (32-bit, non-prefetchable) [size=256]
> Capabilities:
> Kernel driver in use: ehci_hcd
> Kernel modules: ehci-hcd
>
> 00:04.0 USB Controller: nVidia Corporation MCP78S [GeForce 8200] OHCI USB 1.1
> Controller (rev a1) (prog-if 10)
> Subsystem: Giga-byte Technology Device 5004
> Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
> Memory at f8007000 (32-bit, non-prefetchable) [size=4K]
> Capabilities:
> Kernel driver in use: ohci_hcd
> Kernel modules: ohci-hcd
>
> 00:04.1 USB Controller: nVidia Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Co
> ntroller (rev a1) (prog-if 20)
> Subsystem: nVidia Corporation Device cb84
> Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
> Memory at f800b000 (32-bit, non-prefetchable) [size=256]
> Capabilities:
> Kernel driver in use: ehci_hcd
> Kernel modules: ehci-hcd
>
> 00:06.0 IDE interface: nVidia Corporation MCP78S [GeForce 8200] IDE (rev a1) (pr
> og-if 8a [Master SecP PriP])
> Subsystem: Device f458:5002
> Flags: bus master, 66MHz, fast devsel, latency 0
> [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size
> =8]
> [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size
> =1]
> [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size
> =8]
> [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size
> =1]
> I/O ports at f000 [size=16]
> Capabilities:
> Kernel driver in use: pata_amd
> Kernel modules: ata_generic, pata_acpi, pata_amd
>
> 00:07.0 Audio device: nVidia Corporation Realtek ALC1200 8-Channel High Definiti
> on Audio Codec (rev a1)
> Subsystem: Giga-byte Technology Device a002
> Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
> Memory at f8000000 (32-bit, non-prefetchable) [size=16K]
> Capabilities:
> Kernel driver in use: HDA Intel
> Kernel modules: snd-hda-intel
>
> 00:08.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1)
> (prog-if 01)
> Flags: bus master, 66MHz, fast devsel, latency 0
> Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
> Prefetchable memory behind bridge: f0000000-f3ffffff
> Capabilities:
>
> 00:09.0 SATA controller: nVidia Corporation MCP78S [GeForce 8200] AHCI Controlle
> r (rev a2) (prog-if 01)
> Subsystem: Giga-byte Technology Device b002
> Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 2303
> I/O ports at 09f0 [size=8]
> I/O ports at 0bf0 [size=4]
> I/O ports at 0970 [size=8]
> I/O ports at 0b70 [size=4]
> I/O ports at d800 [size=16]
> Memory at f8004000 (32-bit, non-prefetchable) [size=8K]
> Capabilities:
> Kernel driver in use: ahci
> Kernel modules: ahci
>
> 00:0a.0 Ethernet controller: nVidia Corporation MCP78S [GeForce 8200] Ethernet (
> rev a2)
> Subsystem: Giga-byte Technology Device e000
> Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 2302
> Memory at f8008000 (32-bit, non-prefetchable) [size=4K]
> I/O ports at dc00 [size=8]
> Memory at f8009000 (32-bit, non-prefetchable) [size=256]
> Memory at f800a000 (32-bit, non-prefetchable) [size=16]
> Capabilities:
> Kernel driver in use: forcedeth
> Kernel modules: forcedeth
>
> 00:0b.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Express Bridge
> (rev a1)
> Flags: bus master, fast devsel, latency 0
> Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
> I/O behind bridge: 0000b000-0000bfff
> Memory behind bridge: f6000000-f7ffffff
> Prefetchable memory behind bridge: 00000000e0000000-00000000efffffff
> Capabilities:
> Kernel modules: shpchp
>
> 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTra
> nsport Technology Configuration
> Flags: fast devsel
> Capabilities:
>
> 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address
> -Map
> Flags: fast devsel
>
> 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Con
> troller
> Flags: fast devsel
>
> 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscella
> neous Control
> Flags: fast devsel
> Capabilities:
> Kernel driver in use: k8temp
> Kernel modules: k8temp
>
> 01:07.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416)
> MPEG-2 Encoder (rev 01)
> Subsystem: Hauppauge computer works Inc. Device c801
> Flags: bus master, medium devsel, latency 64, IRQ 17
> Memory at f0000000 (32-bit, prefetchable) [size=64M]
> Capabilities:
> Kernel driver in use: ivtv
> Kernel modules: ivtv
>
> Kernel modules: k8temp
>
> 01:07.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416)
> MPEG-2 Encoder (rev 01)
> Subsystem: Hauppauge computer works Inc. Device c801
> Flags: bus master, medium devsel, latency 64, IRQ 17
> Memory at f0000000 (32-bit, prefetchable) [size=64M]
> Capabilities:
> Kernel driver in use: ivtv
> Kernel modules: ivtv
>
> 02:00.0 VGA compatible controller: nVidia Corporation GeForce 8200 (rev a2)
> Subsystem: Giga-byte Technology Device d000
> Flags: bus master, fast devsel, latency 0, IRQ 21
> Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
> Memory at e0000000 (64-bit, prefetchable) [size=128M]
> Memory at e8000000 (64-bit, prefetchable) [size=32M]
> I/O ports at b000 [size=128]
> [virtual] Expansion ROM at ea000000 [disabled] [size=128K]
> Capabilities:
> Kernel driver in use: nvidia
> Kernel modules: nvidiafb, nvidia
>
>
>
>
> _______________________________________________
> ivtv-users mailing list
> ivtv-users@ivtvdriver.org
> http://ivtvdriver.org/mailman/listinfo/ivtv-users





_______________________________________________
ivtv-users mailing list
ivtv-users@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-users