> Peter,
> There are a whole host of things you can do to make it better. First
> of all, when the errors started, had you made any changes to your
> machine?
I try as much as I can to not do any changes to the system, but there
were some updates via apt-get.
> There are a couple of things that are known to exacerbate this issue:
> enabling SMP on a HyperThreading or Multiple-Processors machine, raid
> arrays, cpu frequency scaling, interrupt conflicts, bad PVR cards,
> and bad RAM.
I do have powernow-k8 installed, but it's been there all the time without
causing any noticable trouble. I also have powersaved installed but haven't
had the time to configure it.
In a desperate attempt to fix the problem I compiled the ivtv source and it
seems it installed drivers not needed by my system. I only use a PVR-150.
Is this output indicating something wrong? Could I remove some?
htpc:~# lsmod | grep ivtv
ivtv 158160 1
firmware_class 10048 3 bttv,cx25840,ivtv
i2c_algo_bit 8776 3 cx88xx,bttv,ivtv
cx2341x 10628 1 ivtv
tveeprom 14160 3 cx88xx,bttv,ivtv
videodev 21440 4 cx8800,cx88xx,bttv,ivtv
v4l1_compat 12356 3 cx8800,ivtv,videodev
v4l2_common 20736 7 cx8800,bttv,cx25840,tuner,ivtv,cx2341x,videodev
i2c_core 20096 12
cx88xx,bttv,lirc_i2c,w83627ehf,i2c_isa,wm8775,cx25840,tuner,ivtv,i2c_algo_bit,tveeprom,i2c_nforce2
htpc:~#
> To better diagnose this issue, could you provide output from /proc/
> interrupts and lspci -v?
htpc:~# cat /proc/interrupts
CPU0
0: 10131304 IO-APIC-edge timer
1: 8 IO-APIC-edge i8042
7: 1 IO-APIC-edge parport0
8: 2700 IO-APIC-edge rtc
9: 0 IO-APIC-level acpi
12: 105 IO-APIC-edge i8042
14: 360642 IO-APIC-edge ide0
177: 4109819 IO-APIC-level libata, eth0
185: 219 IO-APIC-level ehci_hcd:usb1, HDA Intel
193: 0 IO-APIC-level ohci_hcd:usb2
201: 2 IO-APIC-level ohci1394
209: 49820 IO-APIC-level libata
217: 102895 IO-APIC-level ivtv0
NMI: 0
LOC: 10131146
ERR: 0
MIS: 0
htpc:~# lspci -v
00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
Subsystem: Giga-byte Technology Unknown device 5000
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: Giga-byte Technology Unknown device 5000
Flags: 66MHz, fast devsel
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
Subsystem: Giga-byte Technology Unknown device 5000
Flags: 66MHz, fast devsel
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
Subsystem: Giga-byte Technology Unknown device 5000
Flags: 66MHz, fast devsel
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
Subsystem: Giga-byte Technology Unknown device 5000
Flags: bus master, 66MHz, fast devsel, latency 0
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
Subsystem: Giga-byte Technology Unknown device 5000
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: Giga-byte Technology Unknown device 5000
Flags: 66MHz, fast devsel
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
Subsystem: Giga-byte Technology Unknown device 5000
Flags: 66MHz, fast devsel
00:05.0 VGA compatible controller: nVidia Corporation C51PV [GeForce 6150] (rev
a2) (prog-if 00 [VGA])
Subsystem: Giga-byte Technology Unknown device d000
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 11
Memory at e6000000 (32-bit, non-prefetchable) [size=16M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at e7000000 (64-bit, non-prefetchable) [size=16M]
[virtual] Expansion ROM at 50000000 [disabled] [size=128K]
Capabilities: [48] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0
Enable-
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
Subsystem: Giga-byte Technology Unknown device 5001
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 a2)
Subsystem: Giga-byte Technology Unknown device 5001
Flags: bus master, 66MHz, fast devsel, latency 0
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a2)
Subsystem: Giga-byte Technology Unknown device 0264
Flags: 66MHz, fast devsel, IRQ 11
I/O ports at 1c00 [size=64]
I/O ports at 1c80 [size=64]
Capabilities: [44] Power Management version 2
00:0a.2 RAM memory: nVidia Corporation MCP51 Memory Controller 0 (rev a2)
Subsystem: Giga-byte Technology Unknown device 0264
Flags: 66MHz, fast devsel
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a2)
(prog-if 10 [OHCI])
Subsystem: Giga-byte Technology Unknown device 5004
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 193
Memory at e9108000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a2)
(prog-if 20 [EHCI])
Subsystem: Giga-byte Technology Unknown device 5004
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 185
Memory at e9104000 (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: Giga-byte Technology Unknown device b000
Flags: bus master, 66MHz, fast devsel, latency 0
I/O ports at f000 [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: Giga-byte Technology Unknown device b002
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 209
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 e9107000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
Capabilities: [b0] Message Signalled Interrupts: Mask- 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: Giga-byte Technology Unknown device b002
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 177
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 c400 [size=16]
Memory at e9106000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
Capabilities: [b0] Message Signalled Interrupts: Mask- 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=01, subordinate=01, sec-latency=32
I/O behind bridge: 0000a000-0000afff
Memory behind bridge: e9000000-e90fffff
Prefetchable memory behind bridge: e0000000-e3ffffff
Capabilities: [b8] Subsystem: Gammagraphx, Inc. Unknown device 0000
Capabilities: [8c] HyperTransport: MSI Mapping
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
Subsystem: Giga-byte Technology Unknown device a102
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 185
Memory at e9100000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask+ 64bit+ Queue=0/0
Enable-
Capabilities: [6c] HyperTransport: MSI Mapping
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a1)
Subsystem: Giga-byte Technology Unknown device e000
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 177
Memory at e9105000 (32-bit, non-prefetchable) [size=4K]
I/O ports at b000 [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
01:06.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 64, IRQ 217
Memory at e0000000 (32-bit, prefetchable) [size=64M]
Capabilities: [44] Power Management version 2
01:0e.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller
(rev 80) (prog-if 10 [OHCI])
Subsystem: Giga-byte Technology GA-7VT600-1394 Motherboard
Flags: bus master, stepping, medium devsel, latency 32, IRQ 201
Memory at e9000000 (32-bit, non-prefetchable) [size=2K]
I/O ports at a000 [size=128]
Capabilities: [50] Power Management version 2
htpc:~#
Best regards,
Peter Carlsson
On Nov 21, 2006, at 3:18 PM, Peter Carlsson wrote:
> Hello!
>
> A few days ago I had problems with the well known DMA errors
> while running kernel 2.6.16 and ivtv 0.6.3.
>
> I have now upgraded my Debian system to kernel 2.6.18 and
> ivtv 0.8.0 with the hope that the problems were fixed.
>
> Yesterday I successfully recorded a one hour show but today
> the DMA error seems to still be here.
>
> Any suggestions are welcome!
>
> <snip>
Kärlek och hur mycket pengar? Få svar idag om din morgondag!
http://horoskop.spray.se/_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users