The ivtv driver is giving me some grief. Besides the error messages about "ENC
DMA ERROR b", sometimes the machine will hang, leaving the message "ivtv0: DMA
TIMEOUT 00000001 0"
Is ivtv .10.3 working well for everyone else?
I'm looking for advice on how to workaround this problem. I've included
excerpts from /var/log/messages and other info that could be useful.
[EMAIL PROTECTED] ~]$ uname -a
Linux mediapc.mapleshouse.com 2.6.20-1.2952.fc6 #1 SMP Wed May 16 18:18:22 EDT
2007 x86_64 x86_64 x86_64 GNU/Linux
[EMAIL PROTECTED] ~]$ rpm -qa | grep ivtv
...
ivtv-kmdl-2.6.20-1.2952.fc6-0.10.3-129.fc6
ivtv-0.10.3-129.fc6
ivtv-firmware-20070217-13.at
perl-Video-ivtv-0.13-8.fc6.at
[EMAIL PROTECTED] ~]$ cat /etc/modprobe.d/ivtv.conf
options ivtv enc_mpg_buffers=16
options ivtv enc_vbi_buffers=16
Jun 5 02:05:23 mediapc kernel: ivtv: ==================== START INIT IVTV
====================
Jun 5 02:05:23 mediapc kernel: ivtv: version 0.10.3 (tagged release) loading
Jun 5 02:05:23 mediapc kernel: ivtv: Linux version: 2.6.20-1.2952.fc6 SMP
mod_unload
Jun 5 02:05:23 mediapc kernel: ivtv: In case of problems please include the
debug info between
Jun 5 02:05:23 mediapc kernel: ivtv: the START INIT IVTV and END INIT IVTV
lines, along with
Jun 5 02:05:23 mediapc kernel: ivtv: any module options, when mailing the
ivtv-users mailinglist.
Jun 5 02:05:23 mediapc kernel: ivtv0: Autodetected Hauppauge card (cx23416
based)
Jun 5 02:05:23 mediapc kernel: ACPI: PCI Interrupt Link [APC3] enabled at IRQ
18
Jun 5 02:05:23 mediapc kernel: ACPI: PCI Interrupt 0000:04:0a.0[A] -> Link
[APC3] -> GSI 18 (level, low) -> IRQ 18
Jun 5 02:05:23 mediapc kernel: ivtv0: loaded v4l-cx2341x-enc.fw firmware
(376836 bytes)
Jun 5 02:05:23 mediapc kernel: ivtv0: Encoder revision: 0x02060039
Jun 5 02:05:23 mediapc kernel: tveeprom 2-0050: Hauppauge model 26592, rev
B282, serial# 7275840
Jun 5 02:05:23 mediapc kernel: tveeprom 2-0050: tuner model is LG TAPC H791F
(idx 82, type 39)
Jun 5 02:05:23 mediapc kernel: tveeprom 2-0050: TV standards NTSC(M) (eeprom
0x08)
Jun 5 02:05:23 mediapc kernel: tveeprom 2-0050: audio processor is CX25843
(idx 37)
Jun 5 02:05:23 mediapc kernel: tveeprom 2-0050: decoder processor is CX25843
(idx 30)
Jun 5 02:05:23 mediapc kernel: tveeprom 2-0050: has no radio, has no IR
receiver, has no IR transmitter
Jun 5 02:05:23 mediapc kernel: ivtv0: Autodetected Hauppauge WinTV PVR-150
Jun 5 02:05:23 mediapc kernel: tuner 2-0061: chip found @ 0xc2 (ivtv i2c
driver #0)
Jun 5 02:05:23 mediapc kernel: cx25840 2-0044: cx25841-23 found @ 0x88 (ivtv
i2c driver #0)
Jun 5 02:05:23 mediapc kernel: cx25840 2-0044: loaded v4l-cx25840.fw firmware
(16382 bytes)
Jun 5 02:05:23 mediapc kernel: wm8775 2-001b: chip found @ 0x36 (ivtv i2c
driver #0)
Jun 5 02:05:23 mediapc kernel: ivtv0: Registered device video0 for encoder
MPEG (4 MB)
Jun 5 02:05:23 mediapc kernel: ivtv0: Registered device video32 for encoder
YUV (2 MB)
Jun 5 02:05:23 mediapc kernel: ivtv0: Registered device vbi0 for encoder VBI
(1 MB)
Jun 5 02:05:23 mediapc kernel: ivtv0: Registered device video24 for encoder
PCM audio (1 MB)
Jun 5 02:05:23 mediapc kernel: tuner 2-0061: type set to 39 (LG NTSC (newer
TAPC series))
Jun 5 02:05:23 mediapc kernel: ivtv0: Initialized Hauppauge WinTV PVR-150,
card #0
Jun 5 02:05:23 mediapc kernel: ivtv: ==================== END INIT IVTV
====================
...
Jun 5 18:14:46 mediapc kernel: ivtv0 warning: ENC DMA ERROR b
Jun 5 18:14:46 mediapc kernel: ivtv0 warning: encoder MPEG: offset 0 -> 128
Jun 5 18:14:46 mediapc kernel: ivtv0 warning: encoder VBI: offset 0 -> 128
Jun 5 18:14:46 mediapc kernel: ivtv0 warning: encoder MPEG: offset 128 -> 0
Jun 5 18:14:46 mediapc kernel: ivtv0 warning: encoder VBI: offset 128 -> 0
Jun 5 18:19:49 mediapc ntpd[8615]: synchronized to 193.225.14.163, stratum 2
Jun 5 18:30:12 mediapc kernel: ivtv0 warning: ENC DMA ERROR b
Jun 5 18:30:12 mediapc kernel: ivtv0 warning: encoder VBI: Couldn't find start
of buffer within the first 256 bytes
Jun 5 18:30:12 mediapc kernel: ivtv0 warning: encoder MPEG: offset 0 -> 128
Jun 5 18:30:12 mediapc kernel: ivtv0 warning: encoder VBI: offset 0 -> 128
Jun 5 18:30:12 mediapc kernel: ivtv0 warning: encoder MPEG: offset 128 -> 0
Jun 5 18:30:12 mediapc kernel: ivtv0 warning: encoder VBI: offset 128 -> 0
Jun 5 18:30:16 mediapc kernel: ivtv0 warning: ENC DMA ERROR b
Jun 5 18:30:16 mediapc kernel: ivtv0 warning: encoder VBI: Couldn't find start
of buffer within the first 256 bytes
...many pages of this...
Jun 5 18:31:36 mediapc kernel: ivtv0 warning: encoder VBI: Couldn't find start
of buffer within the first 256 bytes
Jun 5 18:31:36 mediapc kernel: ivtv0 warning: encoder MPEG: offset 8 -> 128
Jun 5 18:31:36 mediapc kernel: ivtv0 warning: encoder VBI: offset 8 -> 124
Jun 5 18:31:36 mediapc kernel: ivtv0 warning: encoder MPEG: offset 128 -> 60
Jun 5 18:31:36 mediapc kernel: ivtv0 warning: encoder VBI: offset 124 -> 60
Jun 5 18:31:37 mediapc kernel: ivtv0 warning: ENC DMA ERROR b
Jun 5 18:31:37 mediapc kernel: ivtv0: DMA TIMEOUT 00000001 0
Jun 5 18:32:17 mediapc last message repeated 4 times
...
Jun 5 21:18:43 mediapc ntpd[9194]: synchronized to 193.202.83.121, stratum 2
Jun 5 21:18:44 mediapc kernel: ivtv0: DMA TIMEOUT 00000001 0
Jun 5 21:19:23 mediapc last message repeated 4 times
Jun 5 21:19:33 mediapc kernel: ivtv0: DMA TIMEOUT 00000001 0
Jun 5 21:19:42 mediapc ntpd[9194]: time reset +0.209853 s
Jun 5 21:19:43 mediapc kernel: ivtv0: DMA TIMEOUT 00000001 0
Jun 5 21:20:22 mediapc last message repeated 4 times
Jun 5 21:21:30 mediapc last message repeated 7 times
Jun 5 21:22:39 mediapc last message repeated 7 times
Jun 5 21:23:47 mediapc last message repeated 7 times
Jun 5 21:24:55 mediapc last message repeated 7 times
Jun 5 21:25:04 mediapc ntpd[9194]: synchronized to 193.131.101.50, stratum 2
Jun 5 21:25:05 mediapc kernel: ivtv0: DMA TIMEOUT 00000001 0
Jun 5 21:25:44 mediapc last message repeated 4 times
$ lspci -v
00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
Subsystem: nVidia Corporation C51 Host Bridge
Flags: bus master, 66MHz, fast devsel, latency 0
Capabilities: [44] HyperTransport: Slave or Primary Interface
Capabilities: [e0] HyperTransport: MSI Mapping
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
Subsystem: nVidia Corporation C51 Memory Controller 0
Flags: 66MHz, fast devsel
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
Subsystem: nVidia Corporation C51 Memory Controller 1
Flags: 66MHz, fast devsel
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
Subsystem: nVidia Corporation C51 Memory Controller 5
Flags: 66MHz, fast devsel
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
Subsystem: nVidia Corporation C51 Memory Controller 4
Flags: bus master, 66MHz, fast devsel, latency 0
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
Subsystem: nVidia Corporation C51 Host Bridge
Flags: bus master, 66MHz, fast devsel, latency 0
Capabilities: [44] #00 [00fe]
Capabilities: [fc] #00 [0000]
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
Subsystem: nVidia Corporation C51 Memory Controller 3
Flags: 66MHz, fast devsel
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
Subsystem: nVidia Corporation C51 Memory Controller 2
Flags: 66MHz, fast devsel
00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1) (prog-if
00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00008000-00008fff
Memory behind bridge: fd900000-fd9fffff
Prefetchable memory behind bridge: 00000000fd800000-00000000fd800000
Capabilities: [40] #0d [0000]
Capabilities: [48] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/1
Enable-
Capabilities: [60] HyperTransport: MSI Mapping
Capabilities: [80] Express Root Port (Slot+) IRQ 0
00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1) (prog-if
00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000a000-0000afff
Memory behind bridge: fde00000-fdefffff
Prefetchable memory behind bridge: 00000000fdd00000-00000000fdd00000
Capabilities: [40] #0d [0000]
Capabilities: [48] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/1
Enable-
Capabilities: [60] HyperTransport: MSI Mapping
Capabilities: [80] Express Root Port (Slot+) IRQ 0
00:04.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1) (prog-if
00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 00009000-00009fff
Memory behind bridge: fdc00000-fdcfffff
Prefetchable memory behind bridge: 00000000fda00000-00000000fda00000
Capabilities: [40] #0d [0000]
Capabilities: [48] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/1
Enable-
Capabilities: [60] HyperTransport: MSI Mapping
Capabilities: [80] Express Root Port (Slot+) IRQ 0
00:05.0 VGA compatible controller: nVidia Corporation C51PV [GeForce 6150] (rev
a2) (prog-if 00 [VGA])
Subsystem: nVidia Corporation Unknown device 0222
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 16
Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at fc000000 (64-bit, non-prefetchable) [size=16M]
[virtual] Expansion ROM at 88000000 [disabled] [size=128K]
Capabilities: [48] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/0
Enable-
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
Subsystem: nVidia Corporation Unknown device cb84
Flags: bus master, 66MHz, fast devsel, latency 0
Capabilities: [44] HyperTransport: Slave or Primary Interface
Capabilities: [e0] HyperTransport: MSI Mapping
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a3)
Subsystem: nVidia Corporation Unknown device cb84
Flags: bus master, 66MHz, fast devsel, latency 0
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a3)
Subsystem: nVidia Corporation Unknown device cb84
Flags: 66MHz, fast devsel, IRQ 10
I/O ports at 1c00 [size=64]
I/O ports at 1c40 [size=64]
Capabilities: [44] Power Management version 2
00:0a.2 RAM memory: nVidia Corporation MCP51 Memory Controller 0 (rev a3)
Subsystem: nVidia Corporation Unknown device cb84
Flags: 66MHz, fast devsel
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
(prog-if 10 [OHCI])
Subsystem: nVidia Corporation Unknown device cb84
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23
Memory at fe02f000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
(prog-if 20 [EHCI])
Subsystem: nVidia Corporation Unknown device cb84
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
Memory at fe02e000 (32-bit, non-prefetchable) [size=256]
Capabilities: [44] Debug port
Capabilities: [80] Power Management version 2
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev a1) (prog-if 8a
[Master SecP PriP])
Subsystem: nVidia Corporation Unknown device cb84
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 f400 [size=16]
Capabilities: [44] Power Management version 2
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1)
(prog-if 85 [Master SecO PriO])
Subsystem: nVidia Corporation Unknown device cb84
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21
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 e000 [size=16]
Memory at fe02d000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
Capabilities: [b0] Message Signalled Interrupts: 64bit+ Queue=0/2
Enable-
Capabilities: [cc] HyperTransport: MSI Mapping
00:0f.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1)
(prog-if 85 [Master SecO PriO])
Subsystem: nVidia Corporation Unknown device cb84
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
I/O ports at 09e0 [size=8]
I/O ports at 0be0 [size=4]
I/O ports at 0960 [size=8]
I/O ports at 0b60 [size=4]
I/O ports at cc00 [size=16]
Memory at fe02c000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
Capabilities: [b0] Message Signalled Interrupts: 64bit+ Queue=0/2
Enable-
Capabilities: [cc] HyperTransport: MSI Mapping
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2) (prog-if 01
[Subtractive decode])
Flags: bus master, 66MHz, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=32
I/O behind bridge: 0000b000-0000bfff
Memory behind bridge: fdb00000-fdbfffff
Prefetchable memory behind bridge: f4000000-f7ffffff
Capabilities: [b8] #0d [0000]
Capabilities: [8c] HyperTransport: MSI Mapping
00:10.2 Multimedia audio controller: nVidia Corporation MCP51 AC97 Audio
Controller (rev a2)
Subsystem: DFI Inc Unknown device 3100
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
I/O ports at c800 [size=256]
I/O ports at c400 [size=256]
Memory at fe02b000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
Subsystem: nVidia Corporation Unknown device cb84
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23
Memory at fe02a000 (32-bit, non-prefetchable) [size=4K]
I/O ports at c000 [size=8]
Capabilities: [44] Power Management version 2
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
Flags: fast devsel
Capabilities: [80] HyperTransport: Host or Secondary Interface
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
Controller
Flags: fast devsel
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control
Flags: fast devsel
Capabilities: [f0] #0f [0010]
04:07.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller
(rev 80) (prog-if 10 [OHCI])
Subsystem: DFI Inc Unknown device 1006
Flags: bus master, stepping, medium devsel, latency 64, IRQ 19
Memory at fdbff000 (32-bit, non-prefetchable) [size=2K]
I/O ports at bc00 [size=128]
Capabilities: [50] Power Management version 2
04:0a.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416)
MPEG-2 Encoder (rev 01)
Subsystem: Hauppauge computer works Inc. WinTV PVR 150
Flags: bus master, medium devsel, latency 128, IRQ 18
Memory at f4000000 (32-bit, prefetchable) [size=64M]
Capabilities: [44] Power Management version 2
_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users