On 11/3/07, Marty <[EMAIL PROTECTED]> wrote: > My PVR system uses two PVR-150 MCE cards. I am repeatedly getting "silent > hangs" on my up-to-date Debian Etch system, which has a VIA-based AMD64 > motherboard. The only non-Debian executable is the latest lirc from the > upstream source. I don't have any reason to suspect ivtv, except that it's > probably the newest driver I am using, the continuing bug reports here, and > the > fact that mythtv crashes or exhibits other anomalous behavior under heavy > load. > > The sole symptom is the apparent lost of the root partition, which therefore > leaves no logged evidence of the failure. making it difficult to track down. > (It may even rule out crash dumps.) I don't think the hardware is unstable > because I have tested using many 10s of kw hours at 100% I/O and CPU load, > with > 100% failure detection. > Now this is very weird. I have never seen any filesystem damage caused by a linux system locking up. What filesystem were you using?
> > Significantly, the only hardware the doesn't get excersized in the tests are > the > PVR cards, which again could point to ivtv. The other clue is that mythtv > behavior changes when I switch kernels. Under 2.6.18 mythtv just crashes, > while > under 2.6.23.1 it keeps running but no video comes out of one device, but the > other keeps working.) I suspect that every hang occurred when at least one of > the PVR cards was in use. > > Thanks for any ideas or help. Some systems specifics are pasted below. > > # lspci > 00:00.0 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge > 00:00.1 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge > 00:00.2 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge > 00:00.3 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge > 00:00.4 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge > 00:00.7 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge > 00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 > South] > 00:08.0 USB Controller: NEC Corporation USB (rev 43) > 00:08.1 USB Controller: NEC Corporation USB (rev 43) > 00:08.2 USB Controller: NEC Corporation USB 2.0 (rev 04) > 00:09.0 Multimedia video controller: Internext Compression Inc iTVC16 > (CX23416) > MPEG-2 Encoder (rev 01) > 00:0a.0 Multimedia video controller: Internext Compression Inc iTVC16 > (CX23416) > MPEG-2 Encoder (rev 01) > 00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller > (rev 80) > 00:0f.1 IDE interface: VIA Technologies, Inc. > VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) > 00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 > Controller > (rev 81) > 00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 > Controller > (rev 81) > 00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 > Controller > (rev 81) > 00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 > Controller > (rev 81) > 00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86) > 00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge > [KT600/K8T800/K8T890 South] > 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 > AC97 Audio Controller (rev 60) > 00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78) > 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] > HyperTransport Technology Configuration > 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] > Address Map > 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM > Controller > 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] > Miscellaneous Control > 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV200 QW > [Radeon > 7500] > VIA systems are known to have problems with DMA. I would suggest disabling DMA and see if the problems go away. Attached is a patch to ivtv-0.10.5 to disable DMA. If that does not apply you can do it manually. Basically you edit driver/ivtv-streams.c and replace the following line: PCI_DMA_FROMDEVICE, 0, V4L2_BUF_TYPE_VIDEO_CAPTURE, with this: PCI_DMA_FROMDEVICE, 1, V4L2_BUF_TYPE_VIDEO_CAPTURE, John
ivtv-0.10.3-pio.patch
Description: Binary data
_______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
