Gregor, Grab the latest 0.10.x source:
svn co http://ivtvdriver.org/svn/browser/ivtv/branches/0.10 ivtv And apply the attached patch. cat ivtv-pio.diff | patch -p0 - Rick
ivtv-pio.diff
Description: Binary data
On Apr 2, 2007, at 6:27 PM, Gregor Fuis wrote:
Thanks all for help,I don't know how to turn off DMA, so if you will be nice enough to tellme? Then i will gladly try that. And about power supply. I have 450W, and I don't know if it is enoughfor all that card. I will install sensors that I can see if my voltagesare dropping down. Thanks both of you for help! Ricardo Lugo wrote:Gregor, This might be a sad solution, but have you tried turning off DMA in the ivtv source code then recompiling it? (Unfortunately, it'll disable DMA for both your 350 and 150) Hans recently did some work on optimizing PIO mode in 0.10.x, and for the increased stability you might have to live with the small performance hit. - Rick On Apr 2, 2007, at 4:48 AM, Gregor Fuis wrote:Hello,I already addressed the user mailing list without getting any helpfulfeedback on the issue.My computer is based on Tyan Trinity i875P, 2.66HT Pentium 4, SATA HD,and 4 DVB-S NEXUS-S cards, PVR-150 and PVR 350. I have a problem with PVR-350 card in my system. I can't get it running for whole week without system lock-up. I am just capturing from mpeg device with vlc and sending it to network on multicast address. I triedto change everything on my computer (disable HT, APIC, load fail- safe defaults in BIOS which are disabling DMA on disk) and nothing of theseworked. But if I remove 350 card and get in 150 instead, my system is stable and working great. But my problem is that I use 350 card for SECAM standard which my 150 card doesn't support, so I need 350 card. I also have disabled all the cpu frequency scaling stuff, so this cannot be the problem either.The system lock-up is happening every time when the VLC is stopped orstarted, but I think that VLC is not a problem, bacouse I wrote a script which is capturing mpeg and dumping to /dev/null. This script is restarting a command cat /dev/video5 > /dev/null every second, and computer lock-ups in about 30 minutes! Please help, I am really desperate to find what is causing this lock-ups. Here are my logs: [ 17.322787] ivtv: ==================== START INIT IVTV ==================== [ 17.322794] ivtv: version 0.10.1 (tagged release) loading[ 17.322797] ivtv: Linux version: 2.6.19.2-iskratel SMP mod_unload586 REGPARM [ 17.322802] ivtv: In case of problems please include the debug info between [ 17.322807] ivtv: the START INIT IVTV and END INIT IVTV lines, along with[ 17.322810] ivtv: any module options, when mailing the ivtv- usersmailinglist. [ 17.324218] ivtv0: Autodetected Hauppauge card (cx23416 based) [ 17.328586] ACPI: PCI Interrupt 0000:03:07.0[A] -> GSI 16 (level, low) -> IRQ 17 [ 17.328603] ivtv0: Unreasonably low latency timer, setting to 64 (was 32) [ 17.833308] input: ImPS/2 Generic Wheel Mouse as /class/input/ input1 [ 18.083169] ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 bytes) [ 18.301992] ivtv0: Encoder revision: 0x02060039 [ 18.372907] tveeprom 0-0050: Hauppauge model 26559, rev C260, serial# 7862327 [ 18.372912] tveeprom 0-0050: tuner model is LG S001D MK3 (idx 60, type 38) [ 18.372916] tveeprom 0-0050: TV standards PAL(B/G) PAL(I) SECAM (L/L') PAL(D/D1/K) (eeprom 0x74) [ 18.372919] tveeprom 0-0050: audio processor is CX25843 (idx 37)[ 18.372922] tveeprom 0-0050: decoder processor is CX25843 (idx 30)[ 18.372925] tveeprom 0-0050: has radio, has no IR remote [ 18.372928] ivtv0: Autodetected Hauppauge WinTV PVR-150 [ 18.399409] tuner 0-0043: chip found @ 0x86 (ivtv i2c driver #0) [ 18.399733] tda9887 0-0043: tda988[5/6/7] found @ 0x43 (tuner) [ 18.404313] tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0) [ 18.439095] cx25840 0-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0) [ 23.564609] cx25840 0-0044: loaded v4l-cx25840.fw firmware (16382 bytes) [ 23.697397] wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)[ 23.767135] ivtv0: Registered device video4 for encoder MPEG (4 MB) [ 23.767660] ivtv0: Registered device video36 for encoder YUV (2 MB)[ 23.768674] ivtv0: Registered device vbi4 for encoder VBI (1 MB) [ 23.769735] ivtv0: Registered device video28 for encoder PCM audio (1 MB) [ 23.771641] ivtv0: Registered device radio4 for encoder radio [ 23.771667] tuner 0-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) [ 24.177236] ivtv0: Initialized Hauppauge WinTV PVR-150, card #0 [ 24.177289] ivtv: ====================== NEXT CARD ====================== [ 24.177294] ivtv1: Autodetected Hauppauge card (cx23415 based) [ 24.177415] ACPI: PCI Interrupt 0000:03:09.0[A] -> GSI 20 (level, low) -> IRQ 21 [ 24.177430] ivtv1: Unreasonably low latency timer, setting to 64 (was 32) [ 24.848420] ivtv1: loaded v4l-cx2341x-enc.fw firmware (376836 bytes) [ 24.951247] ivtv1: loaded v4l-cx2341x-dec.fw firmware (262144 bytes) [ 25.179945] ivtv1: Encoder revision: 0x02060039 [ 25.190938] ivtv1: Decoder revision: 0x02020023 [ 25.198940] tuner 1-0043: chip found @ 0x86 (ivtv i2c driver #1) [ 25.200009] tda9887 1-0043: tda988[5/6/7] found @ 0x43 (tuner) [ 25.204556] tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #1) [ 25.298039] tveeprom 1-0050: Hauppauge model 48139, rev K257, serial# 8351135 [ 25.298045] tveeprom 1-0050: tuner model is Philips FM1216 ME MK3 (idx 57, type 38) [ 25.298049] tveeprom 1-0050: TV standards PAL(B/G) PAL(I) SECAM (L/L') PAL(D/D1/K) (eeprom 0x74) [ 25.298052] tveeprom 1-0050: audio processor is MSP4418 (idx 25)[ 25.298055] tveeprom 1-0050: decoder processor is SAA7115 (idx 19)[ 25.298058] tveeprom 1-0050: has radio, has IR remote [ 25.298061] ivtv1: Autodetected Hauppauge WinTV PVR-350[ 25.376502] saa7115 1-0021: saa7115 found (1f7115d0e100000) @ 0x42(ivtv i2c driver #1) [ 25.621399] saa7127 1-0044: saa7129 found @ 0x88 (ivtv i2c driver #1) [ 25.658785] msp3400 1-0040: MSP4418G-B3 found @ 0x80 (ivtv i2c driver #1) [ 25.658789] msp3400 1-0040: MSP4418G-B3 supports nicam and radio, mode is autodetect and autoselect[ 25.659278] ivtv1: Registered device video5 for encoder MPEG (4 MB) [ 25.661067] ivtv1: Registered device video37 for encoder YUV (2 MB)[ 25.662706] ivtv1: Registered device vbi5 for encoder VBI (1 MB) [ 25.662903] ivtv1: Registered device video29 for encoder PCM audio (1 MB) [ 25.664758] ivtv1: Registered device radio5 for encoder radio [ 25.664897] ivtv1: Registered device video21 for decoder MPEG (1 MB) [ 25.665981] ivtv1: Registered device vbi13 for decoder VBI (1 MB) [ 25.667683] ivtv1: Registered device vbi21 for decoder VOUT[ 25.668072] ivtv1: Registered device video53 for decoder YUV (1 MB)[ 25.750795] ivtv1: loaded v4l-cx2341x-init.mpg firmware (155648 bytes) [ 25.862202] tuner 1-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) [ 26.244448] ivtv1: Initialized Hauppauge WinTV PVR-350, card #1 [ 26.244466] ivtv: ==================== END INIT IVTV ==================== Here is /proc/interupts:I left it with loaded bios optimize options because it doesn't changeanything if I disable all the features on my motherboard! CPU0 CPU1 0: 542340 0 IO-APIC-edge timer 1: 8 0 IO-APIC-edge i8042 6: 3 0 IO-APIC-edge floppy 7: 0 0 IO-APIC-edge parport0 8: 4 0 IO-APIC-edge rtc 9: 1 0 IO-APIC-fasteoi acpi 12: 122 0 IO-APIC-edge i8042 14: 24 0 IO-APIC-edge ide016: 2222575 0 IO-APIC-fasteoi libata, uhci_hcd:usb3,saa7146 (1), eth0 17: 24924 0 IO-APIC-fasteoi uhci_hcd:usb1, uhci_hcd:usb4, ivtv0 18: 1655788 0 IO-APIC-fasteoi uhci_hcd:usb2, saa7146 (2) 19: 0 0 IO-APIC-fasteoi ehci_hcd:usb5 20: 0 0 IO-APIC-fasteoi libata 21: 156281 0 IO-APIC-fasteoi ivtv1 22: 1665304 0 IO-APIC-fasteoi Intel ICH5, saa7146 (0), ohci1394 NMI: 0 0 LOC: 542180 542188 ERR: 0 MIS: 0 lsmod: Module Size Used by af_packet 24840 0 xt_MARK 3584 13 xt_tcpudp 4480 13 iptable_mangle 4096 1 ip_tables 15476 1 iptable_mangle x_tables 17796 3 xt_MARK,xt_tcpudp,ip_tables rfcomm 43288 0 l2cap 27136 5 rfcomm bluetooth 59108 4 rfcomm,l2cap cls_fw 6656 1 sch_htb 19968 1 video 18308 0 sbs 17060 0 i2c_ec 6400 1 sbs button 7952 0 battery 11652 0 container 5632 0 ac 6532 0 asus_acpi 17560 0 ipv6 271744 31 analog 13472 0 gameport 17416 1 analog floppy 62992 0 pcspkr 4352 0 ohci1394 37936 0 ieee1394 303416 1 ohci1394 dvb_ttpci 105408 59 lnbp21 3584 1 dvb_ttpci l64781 8708 1 dvb_ttpci saa7146_vv 52608 1 dvb_ttpci video_buf 27524 1 saa7146_vv saa7146 20104 2 dvb_ttpci,saa7146_vv ves1820 8324 1 dvb_ttpci tda8083 7684 1 dvb_ttpci sp8870 8716 1 dvb_ttpci stv0297 9088 1 dvb_ttpci ves1x93 8324 1 dvb_ttpci ttpci_eeprom 3712 1 dvb_ttpci stv0299 12296 1 dvb_ttpci dvb_core 86056 2 dvb_ttpci,stv0299 snd_intel8x0 35996 1 snd_ac97_codec 101792 1 snd_intel8x0 snd_ac97_bus 3584 1 snd_ac97_codec snd_pcm_oss 47360 0 snd_mixer_oss 18432 1 snd_pcm_oss snd_pcm 84100 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss snd_timer 25220 1 snd_pcm snd 56992 8snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_ti mer soundcore 9440 1 snd snd_page_alloc 11528 2 snd_intel8x0,snd_pcm ata_generic 8708 0 shpchp 41248 0 pci_hotplug 34880 1 shpchp intel_agp 26268 1 agpgart 34888 1 intel_agp dm_mod 63252 0 msp3400 33568 0 saa7127 13588 0 saa7115 17296 0 wm8775 7436 0 tsdev 9280 0 cx25840 27408 0 tuner 65576 0 ivtv 140688 1 i2c_algo_bit 9736 1 ivtv cx2341x 13316 1 ivtv tveeprom 16400 1 ivtv i2c_core 24448 20i2c_ec,dvb_ttpci,lnbp21,l64781,ves1820,tda8083,sp8870,stv0297,ves1x9 3, ttpci_eeprom,stv0299,msp3400,saa7127,saa7115,wm8775,cx25840,tuner,iv tv,i2c_algo_bit,tveeprom videodev 27904 3 saa7146_vv,ivtv v4l1_compat 15108 3 saa7146_vv,ivtv,videodev v4l2_common 24448 8 saa7146_vv,msp3400,saa7115,cx25840,tuner,ivtv,cx2341x,videodev psmouse 41352 0 parport_pc 38256 1 lp 13344 0 parport 39368 2 parport_pc,lp md_mod 83604 0 ext3 145544 1 jbd 62504 1 ext3 mbcache 10500 1 ext3 thermal 16008 0 processor 33096 1 thermal fan 6276 0 sata_promise 13700 0 8139too 28928 0 8139cp 26752 0 mii 7168 2 8139too,8139cp e1000 128192 0 ehci_hcd 34952 0 uhci_hcd 26252 0 usbcore 145184 3 ehci_hcd,uhci_hcd sd_mod 23424 3 ide_cd 42784 0 cdrom 39216 1 ide_cd ide_generic 2432 0 [permanent] ata_piix 17288 2 libata 114708 3 ata_generic,sata_promise,ata_piix scsi_mod 144752 2 sd_mod,libata piix 11652 0 [permanent] generic 6660 0 [permanent] vga16fb 14092 0 vgastate 10880 1 vga16fb tileblit 3968 0 font 9472 0 _______________________________________________ ivtv-devel mailing list ivtv-devel@ivtvdriver.org http://ivtvdriver.org/mailman/listinfo/ivtv-devel_______________________________________________ ivtv-devel mailing list ivtv-devel@ivtvdriver.org http://ivtvdriver.org/mailman/listinfo/ivtv-devel_______________________________________________ ivtv-devel mailing list ivtv-devel@ivtvdriver.org http://ivtvdriver.org/mailman/listinfo/ivtv-devel
_______________________________________________ ivtv-devel mailing list ivtv-devel@ivtvdriver.org http://ivtvdriver.org/mailman/listinfo/ivtv-devel