[mythtv-users] RE: Ivtv DMA errors

Ryan Brancheau (US) ryan.brancheau at us.didata.com
Sat Mar 27 08:37:53 EST 2004


Plain-text repost:  sorry thought I had it set properly last time. 
 
Okay, here's the situation:  I have been getting lockups and freezes on
my PVR-350 (but hey, who hasn't been?).  I've got an MSI 6378 micro-atx
mobo with a VIA KLE-133 chipset, which I'm not sure is one of the one's
notorious for DMA problems, but it's probably just a different rev of
one of the one's that are.  So, I tried installing a PCI IDE controller,
and disabling the on-board.  So I picked up an SIIG UltraATA133
controller and slapped it in.  And about 45 minutes into watching ESPN
(going for high-motion) screen is completely blank again, and got this
dmesg |grep ivtv output:
 
ivtv: version 0.1.9 (release) loading
ivtv: SGarray_size = 340, DSGarray_size = 56
ivtv: Found an iTVC15 based chip
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
saa7127: Configuring encoder...<6>saa7114.c: starting probe for adapter
ivtv i2c driver #0 (0x10005)
ivtv: Encoder revision: 0x02040011
ivtv: Decoder revision: 0x02020023
ivtv: Registered v4l2 device, minor 0
ivtv: Registered v4l2 device, minor 32
ivtv: Registered v4l2 device, minor 224
ivtv: Registered v4l2 device, minor 16
ivtv: Registered v4l2 device, minor 48
ivtv: loaded
ivtv-fb: Framebuffer module loaded (attached to ivtv card id 0)
ivtv-fb: screen coords: [0 0] -> [720 480]
ivtv-fb: original global alpha = 208
ivtv-fb: new global alpha = 208
ivtv-fb: current OSD state = 35
ivtv-fb: warning: cannot reserve video memory at 0xe1510000
ivtv-fb: framebuffer at 0xe1510000, mapped to 0xe2204000, size 2818k
ivtv-fb: mode is 720x480x32, linelength=2880
ivtv: DMA read error. Result=0x00000002
ivtv: DMA read error. Result=0x00000002
ivtv: DMA read error. Result=0x00000002
ivtv: DMA read error. Result=0x00000002
ivtv: DMA read error. Result=0x00000002
ivtv: DMA read error. Result=0x00000002
ivtv: DMA read error. Result=0x00000002
ivtv: DMA read error. Result=0x00000002
ivtv: DMA read error. Result=0x00000002
ivtv: DMA read error. Result=0x00000002
ivtv: DMA read error. Result=0x00000002
ivtv: DMA read error. Result=0x00000002
ivtv: DMA read error. Result=0x00000002
ivtv: DMA read error. Result=0x00000002
ivtv: DMA read error. Result=0x00000002
ivtv: DMA read error. Result=0x00000002
ivtv: DMA read error. Result=0x00000002
ivtv: DMA read error. Result=0x00000002
ivtv: DMA read error. Result=0x00000002
ivtv: ivtv_dec_timeout: lost IRQ; resetting...
ivtv: DEC: unknown stream type 1
ivtv: DEC: unknown stream type 1
ivtv: DEC: unknown stream type 1
ivtv: DEC: unknown stream type 1
ivtv: stopDEC error 2. Code -16
ivtv-fb: error sending DMA info

The first memory message happens every time ivtv loads, don't know if
this is part of the problem or how to disable it.  Any thoughts? 
 
I used to get a dmesg showing actual linkage to fb0, now I'm not.
 
Bear in mind, killing mythfront/back-end does nothing, screen is
completely blank and session is hosed.  Sometimes when this used to
happen the entire box would crash, though not usually.  BTW, Fedora Core
1, 1 PVR-350 card, one WinTV Go card, 512MB RAM, Athlon XP 2000+, Caviar
200GB drive, XFS on the /video mount (per Jarod's how-to) running
2.4.22-1.2174.nptl_37.rhfc1.at.  Basically everything is strictly
according to Jarod's how-to, except for the alsa stuff which I couldn't
get to work with my via82cxxx driver.
 
BTW here's the output of lspci -v:
 
00:00.0 Host bridge: VIA Technologies, Inc. VT8361 [KLE133] Host Bridge
        Flags: bus master, medium devsel, latency 8
        Memory at d0000000 (32-bit, prefetchable) [size=256M]
        Capabilities: [a0] AGP version 2.0
        Capabilities: [c0] Power Management version 2
 
00:01.0 PCI bridge: VIA Technologies, Inc. VT8361 [KLE133] AGP Bridge
(prog-if 00 [Normal decode])
        Flags: bus master, 66Mhz, medium devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Memory behind bridge: e4000000-e6ffffff
        Capabilities: [80] Power Management version 2
 
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South]
(rev 40)
        Subsystem: VIA Technologies, Inc. VT82C686/A PCI to ISA Bridge
        Flags: bus master, stepping, medium devsel, latency 0
        Capabilities: [c0] Power Management version 2
 
00:07.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C/VT8235 PIPC Bus Master IDE (rev 06)
(prog-if 8a [Master SecP PriP])
        Subsystem: VIA Technologies, Inc.
VT82C586/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE
        Flags: bus master, medium devsel, latency 32
        I/O ports at c000 [size=16]
        Capabilities: [c0] Power Management version 2
 
00:07.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0
controller] (rev 1a) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at c400 [size=32]
        Capabilities: [80] Power Management version 2
 
00:07.3 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0
controller] (rev 1a) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at c800 [size=32]
        Capabilities: [80] Power Management version 2
 
00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev
40)
        Subsystem: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
        Flags: medium devsel
        Capabilities: [68] Power Management version 2
 
00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686
AC97 Audio Controller (rev 50)
        Subsystem: VIA Technologies, Inc. VT82C686 AC97 Audio Controller
        Flags: medium devsel, IRQ 12
        I/O ports at cc00 [size=256]
        I/O ports at d000 [size=4]
        I/O ports at d400 [size=4]
        Capabilities: [c0] Power Management version 2

00:08.0 Multimedia video controller: Internext Compression Inc iTVC15
MPEG-2 Encoder (rev 01)
        Subsystem: Hauppauge computer works Inc. WinTV PVR-350
        Flags: bus master, medium devsel, latency 64, IRQ 10
        Memory at e0000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [44] Power Management version 2
 
00:09.0 Unknown mass storage controller: CMD Technology Inc PCI0680 (rev
02)
        Subsystem: CMD Technology Inc PCI0680
        Flags: bus master, medium devsel, latency 32, IRQ 15
        I/O ports at d800 [size=8]
        I/O ports at dc00 [size=4]
        I/O ports at e000 [size=8]
        I/O ports at e400 [size=4]
        I/O ports at e800 [size=16]
        Memory at e8000000 (32-bit, non-prefetchable) [size=256]
        Expansion ROM at <unassigned> [disabled] [size=512K]
        Capabilities: [60] Power Management version 2
 
00:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video
Capture (rev 11)
        Subsystem: Hauppauge computer works Inc. WinTV Series
        Flags: bus master, medium devsel, latency 32, IRQ 12
        Memory at e8001000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data
        Capabilities: [4c] Power Management version 2
 
00:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture
(rev 11)
        Subsystem: Hauppauge computer works Inc. WinTV Series
        Flags: bus master, medium devsel, latency 32, IRQ 12
        Memory at e8002000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data
        Capabilities: [4c] Power Management version 2
 
00:0f.0 Ethernet controller: Linksys Network Everywhere Fast Ethernet
10/100 model NC100 (rev 11)
        Subsystem: Accton Technology Corporation: Unknown device 1216
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at ec00 [size=256]
        Memory at e8003000 (32-bit, non-prefetchable) [size=1K]
        Expansion ROM at <unassigned> [disabled] [size=128K]
        Capabilities: [c0] Power Management version 2
 
01:00.0 VGA compatible controller: Trident Microsystems CyberBlade/i1
(prog-if 00 [VGA])
        Subsystem: Trident Microsystems CyberBlade/i1
        Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 10
        Memory at e5800000 (32-bit, non-prefetchable) [size=8M]
        Memory at e6000000 (32-bit, non-prefetchable) [size=128K]
        Memory at e5000000 (32-bit, non-prefetchable) [size=8M]
        Expansion ROM at <unassigned> [disabled] [size=64K]
        Capabilities: [80] AGP version 1.0
        Capabilities: [90] Power Management version 1

Just noticed that the PVR-350 is sharing IRQ 10 with the VGA, don't know
if that's a show-stopper or what... I also noticed that my integrated
IDE seems to still be registering, even though it is in fact disabled in
the CMOS.
 
I apologize for the length, but list users often complain about too
little information in initial posts so I thought I'd send everything
that seems relevant :)
 
Any thoughts/suggestions would be greatly appreciated, even if it's "go
get a real motherboard".
 
 
Thanks
 




More information about the mythtv-users mailing list