(after getting no response on ivtv-users, I'm re-posting this here. I hope it's really not just some dumb user error)
Hi guys, I recently bought a Hauppauge PVR-250 on eBay and keep running into a problem on linux. For several minutes (anywhere from 1 to 30), tv playback (mplayer /dev/video0) or recording (cat /dev/video0 > tv.mpg) works fine. Then it stops working for no apparent reason. It happens even if the machine is idle otherwise. To verify that the hardware has no faults and is installed correctly, I installed the current Hauppauge software and drivers on Windows XP on the same box. Everything runs smoothly. No lock-up during 8 hours of continuous tv playback. See [1] for information from the help menu. My machine is an AMD Athlon64 3200+, with an nForce3 chipset, with a GeForce FX 5200 graphics card, and an on-board AC'97 audio controller. I'm running openSuse 10.2. I first installed ivtv version 0.8.2 with the standard kernel, 2.6.18.2-34. After experiencing problems, I tried the stock linux kernel 2.6.19.1, with ivtv 0.9.2 from svn. This did not make a difference. The logs posted here are from ivtv 0.9.2 running on the stock kernel. There were some warnings when building ivtv [2]. /etc/modprobe.conf and /etc/modprobe.conf.d/* are the default as it ships with openSuse 10.2. /etc/modprobe.conf.local is attached [3]. I'm using the firmware that's recommended in the instructions on the wiki of ivtvdriver.org. The files are in /lib/firmware, and should be the latest versions [4]. The quickest way to reproduce the problem is to boot, login as a user, run "cat /dev/video0 > tv.mpg" and wait. At first, the recording works fine, but after several minutes, no more data is read from /dev/video0. At this point, it is possible to remove the ivtv and msp3400 modules, but ivtv can't be loaded again successfully; see [5] for kernel messages. Any idea? Thanks! -Tobi [1] pvr250_info.txt [2] ivtv-make.log [3] modprobe.conf.local [4] firmware.m5dsum [5] dmesg.log, [<comment>] added by me.
About WinTV32 / Versions WinTV2K Version 4.13.24088 hcwTVWnd.dll 3, 01, 24111 PCI-USB DVBT/S PVR hcwChan.dll 3.23.22355 hcwTVDlg.dll 3.16.21311 hcwDlg.ocx 1.3.22044 hcwUtl32.dll 3.8.22159 hcwHook.dll 1.5.17117 hcwSnap.ax 1.12.21190 Prerelease Private Build hcwPNP32.dll 4.46.24020 hcwI2C32.dll 2.19.23350 hcwSplit.ax 1.15.24073 Prerelease Private Build hcwFRead.ax 1, 16, 24062, 0 Prerelease Private Build hcwFWrit.ax 1, 15, 24044, 0 Prerelease Private Build hcwAud32.dll 3.26.21058 PVR II hcwAV.dll 1.46.20346 PCI PVR II hcwTuner.dll 3.23.20338 About WinTV32 / Driver Details Model 48512 Rev. I126 Serial #6169990 Tuner Model/Formats: Temic 4036FY5 // (M/N) Tuner Audio: Stereo (MSP4448) Video Formats: NTSC ( M ) PAL ( B G H I D K M N NCOMBO ) SECAM ( L L' ) Audio Outputs: None External Inputs: 3 S-Video Inputs: 2 Teletext: Yes (Software) Radio: None Decoder: SAA7115 IR: No EEprom Contents: 84 09 00 04 20 77 00 40 86 25 5e 00 73 05 9b 00 84 08 00 06 80 bd 00 00 96 14 a5 72 07 70 73 09 13 5f 73 0a 08 1a 73 0b 4b 30 72 10 01 72 11 00 79 70
make -C driver all make[1]: Entering directory `/usr/src/ivtv/0.9/driver' created ivtv-svnversion.h make -C /lib/modules/2.6.19.1-tg/build M=/usr/src/ivtv/0.9/driver modules make[2]: Entering directory `/usr/src/linux-2.6.19.1' CC [M] /usr/src/ivtv/0.9/driver/ivtv-osd.o CC [M] /usr/src/ivtv/0.9/driver/ivtv-queue.o CC [M] /usr/src/ivtv/0.9/driver/ivtv-driver.o CC [M] /usr/src/ivtv/0.9/driver/ivtv-fileops.o CC [M] /usr/src/ivtv/0.9/driver/ivtv-i2c.o CC [M] /usr/src/ivtv/0.9/driver/ivtv-streams.o CC [M] /usr/src/ivtv/0.9/driver/ivtv-firmware.o CC [M] /usr/src/ivtv/0.9/driver/ivtv-gpio.o CC [M] /usr/src/ivtv/0.9/driver/ivtv-irq.o CC [M] /usr/src/ivtv/0.9/driver/ivtv-mailbox.o CC [M] /usr/src/ivtv/0.9/driver/ivtv-vbi.o CC [M] /usr/src/ivtv/0.9/driver/ivtv-kthreads.o CC [M] /usr/src/ivtv/0.9/driver/ivtv-audio.o CC [M] /usr/src/ivtv/0.9/driver/ivtv-ioctl.o CC [M] /usr/src/ivtv/0.9/driver/ivtv-controls.o CC [M] /usr/src/ivtv/0.9/driver/ivtv-video.o CC [M] /usr/src/ivtv/0.9/driver/ivtv-cards.o CC [M] /usr/src/ivtv/0.9/driver/ivtv-yuv.o LD [M] /usr/src/ivtv/0.9/driver/ivtv.o LD [M] /usr/src/ivtv/0.9/driver/ivtv-fb.o Building modules, stage 2. MODPOST 2 modules WARNING: "cx2341x_mpeg_ctrls" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! WARNING: "video_device_release" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! WARNING: "tveeprom_hauppauge_analog" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! WARNING: "video_usercopy" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! WARNING: "cx2341x_fill_defaults" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! WARNING: "cx2341x_log_status" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! WARNING: "i2c_add_adapter" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! WARNING: "i2c_clients_command" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! WARNING: "cx2341x_ctrl_get_menu" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! WARNING: "video_register_device" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! WARNING: "video_device_alloc" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! WARNING: "cx2341x_update" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! WARNING: "video_unregister_device" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! WARNING: "i2c_bit_del_bus" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! WARNING: "v4l2_ctrl_query_menu" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! WARNING: "tveeprom_read" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! WARNING: "v4l2_ctrl_next" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! WARNING: "i2c_del_adapter" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! WARNING: "cx2341x_ctrl_query" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! WARNING: "v4l_compat_translate_ioctl" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! WARNING: "request_firmware" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! WARNING: "cx2341x_ext_ctrls" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! WARNING: "i2c_bit_add_bus" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! WARNING: "release_firmware" [/usr/src/ivtv/0.9/driver/ivtv.ko] undefined! CC /usr/src/ivtv/0.9/driver/ivtv-fb.mod.o LD [M] /usr/src/ivtv/0.9/driver/ivtv-fb.ko CC /usr/src/ivtv/0.9/driver/ivtv.mod.o LD [M] /usr/src/ivtv/0.9/driver/ivtv.ko make[2]: Leaving directory `/usr/src/linux-2.6.19.1' make[1]: Leaving directory `/usr/src/ivtv/0.9/driver' make -C i2c-drivers all make[1]: Entering directory `/usr/src/ivtv/0.9/i2c-drivers' make -C /lib/modules/2.6.19.1-tg/build M=/usr/src/ivtv/0.9/i2c-drivers modules make[2]: Entering directory `/usr/src/linux-2.6.19.1' CC [M] /usr/src/ivtv/0.9/i2c-drivers/saa717x.o Building modules, stage 2. MODPOST 1 modules WARNING: "i2c_attach_client" [/usr/src/ivtv/0.9/i2c-drivers/saa717x.ko] undefined! WARNING: "i2c_register_driver" [/usr/src/ivtv/0.9/i2c-drivers/saa717x.ko] undefined! WARNING: "i2c_del_driver" [/usr/src/ivtv/0.9/i2c-drivers/saa717x.ko] undefined! WARNING: "i2c_probe" [/usr/src/ivtv/0.9/i2c-drivers/saa717x.ko] undefined! WARNING: "i2c_detach_client" [/usr/src/ivtv/0.9/i2c-drivers/saa717x.ko] undefined! WARNING: "i2c_transfer" [/usr/src/ivtv/0.9/i2c-drivers/saa717x.ko] undefined! CC /usr/src/ivtv/0.9/i2c-drivers/saa717x.mod.o LD [M] /usr/src/ivtv/0.9/i2c-drivers/saa717x.ko make[2]: Leaving directory `/usr/src/linux-2.6.19.1' make[1]: Leaving directory `/usr/src/ivtv/0.9/i2c-drivers' make -C utils all make[1]: Entering directory `/usr/src/ivtv/0.9/utils' g++ -I/usr/src/ivtv/0.9/utils/../driver -I/lib/modules/2.6.19.1-tg/build/include -D_GNU_SOURCE -O2 -Wall -g -c -o v4l2-ctl.o v4l2-ctl.cpp v4l2-ctl.cpp:670: warning: âchar* pts_to_string(char*, long unsigned int)â defined but not used g++ -lm -o v4l2-ctl v4l2-ctl.o make -C ../driver ivtv-svnversion.h make[2]: Entering directory `/usr/src/ivtv/0.9/driver' make[2]: Leaving directory `/usr/src/ivtv/0.9/driver' cc -I/usr/src/ivtv/0.9/utils/../driver -I/lib/modules/2.6.19.1-tg/build/include -D_GNU_SOURCE -O2 -Wall -g -c -o ivtvctl.o ivtvctl.c cc -lm -o ivtvctl ivtvctl.o cc -I/usr/src/ivtv/0.9/utils/../driver -I/lib/modules/2.6.19.1-tg/build/include -D_GNU_SOURCE -O2 -Wall -g ivtvfbctl.c -o ivtvfbctl cc -I/usr/src/ivtv/0.9/utils/../driver -I/lib/modules/2.6.19.1-tg/build/include -D_GNU_SOURCE -O2 -Wall -g ivtv-radio.c -o ivtv-radio g++ -I/usr/src/ivtv/0.9/utils/../driver -I/lib/modules/2.6.19.1-tg/build/include -D_GNU_SOURCE -O2 -Wall -g -lm -lpthread -o ivtvplay ivtvplay.cc cc -I/usr/src/ivtv/0.9/utils/../driver -I/lib/modules/2.6.19.1-tg/build/include -D_GNU_SOURCE -O2 -Wall -g ivtv-mpegindex.c -o ivtv-mpegindex make CFLAGS="-I/usr/src/ivtv/0.9/utils/../driver -I/lib/modules/2.6.19.1-tg/build/include -D_GNU_SOURCE -O2 -Wall -g" -C ivtv-tune make[2]: Entering directory `/usr/src/ivtv/0.9/utils/ivtv-tune' cc -I/usr/src/ivtv/0.9/utils/../driver -I/lib/modules/2.6.19.1-tg/build/include -D_GNU_SOURCE -O2 -Wall -g -c -o ivtv-tune.o ivtv-tune.c cc -I/usr/src/ivtv/0.9/utils/../driver -I/lib/modules/2.6.19.1-tg/build/include -D_GNU_SOURCE -O2 -Wall -g -c -o frequencies.o frequencies.c cc -I/usr/src/ivtv/0.9/utils/../driver -I/lib/modules/2.6.19.1-tg/build/include -D_GNU_SOURCE -O2 -Wall -g -c -o xawtv_parseconfig.o xawtv_parseconfig.c cc -I/usr/src/ivtv/0.9/utils/../driver -I/lib/modules/2.6.19.1-tg/build/include -D_GNU_SOURCE -O2 -Wall -g -c -o cmdline.o cmdline.c cc ivtv-tune.o frequencies.o xawtv_parseconfig.o cmdline.o -o ivtv-tune make[2]: Leaving directory `/usr/src/ivtv/0.9/utils/ivtv-tune' make CFLAGS="-I/usr/src/ivtv/0.9/utils/../driver -I/lib/modules/2.6.19.1-tg/build/include -D_GNU_SOURCE -O2 -Wall -g" -C cx25840ctl make[2]: Entering directory `/usr/src/ivtv/0.9/utils/cx25840ctl' cc -I/usr/src/ivtv/0.9/utils/../driver -I/lib/modules/2.6.19.1-tg/build/include -D_GNU_SOURCE -O2 -Wall -g -c -o cx25840ctl.o cx25840ctl.c cc -I/usr/src/ivtv/0.9/utils/../driver -I/lib/modules/2.6.19.1-tg/build/include -D_GNU_SOURCE -O2 -Wall -g -c -o cx25840-registers.o cx25840-registers.c cc -I/usr/src/ivtv/0.9/utils/../driver -I/lib/modules/2.6.19.1-tg/build/include -D_GNU_SOURCE -O2 -Wall -g -c -o cmdline.o cmdline.c cc cx25840ctl.o cx25840-registers.o cmdline.o -o cx25840ctl make[2]: Leaving directory `/usr/src/ivtv/0.9/utils/cx25840ctl' make[1]: Leaving directory `/usr/src/ivtv/0.9/utils' make -C test all make[1]: Entering directory `/usr/src/ivtv/0.9/test' cc -I../driver -I../utils -I/lib/modules/2.6.19.1-tg/build/include -D_GNU_SOURCE -O2 -Wall -lm vbi.c -o vbi cc -I../driver -I../utils -I/lib/modules/2.6.19.1-tg/build/include -D_GNU_SOURCE -O2 -Wall -lm wss.c -o wss cc -I../driver -I../utils -I/lib/modules/2.6.19.1-tg/build/include -D_GNU_SOURCE -O2 -Wall -lm vbi-passthrough.c -o vbi-passthrough cc -I../driver -I../utils -I/lib/modules/2.6.19.1-tg/build/include -D_GNU_SOURCE -O2 -Wall -lm vbi-detect.c -o vbi-detect cc -I../driver -I../utils -I/lib/modules/2.6.19.1-tg/build/include -D_GNU_SOURCE -O2 -Wall -lm ivtv-pcm-tester.c -o ivtv-pcm-tester make[1]: Leaving directory `/usr/src/ivtv/0.9/test'
modprobe.conf.local
Description: Binary data
firmware.md5sum
Description: Binary data
[ boot ] [...] ivtv: Unknown symbol i2c_bit_add_bus ivtv: Unknown symbol i2c_bit_del_bus [...] ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.9.2 (development revision 3693) loading ivtv: Linux version: 2.6.19.1-tg SMP mod_unload 586 REGPARM ivtv: In case of problems please include the debug info between ivtv: the START INIT IVTV and END INIT IVTV lines, along with ivtv: any module options, when mailing the ivtv-users mailinglist. ivtv0: Autodetected Hauppauge card (cx23415 based) ACPI: PCI Interrupt 0000:01:06.0[A] -> Link [LNKD] -> GSI 19 (level, low) -> IRQ 19 ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes) ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes) i2c-algo-bit.o: (0) scl=1, sda=1 i2c-algo-bit.o: (1) scl=1, sda=0 i2c-algo-bit.o: (2) scl=1, sda=1 i2c-algo-bit.o: (3) scl=0, sda=1 i2c-algo-bit.o: (4) scl=1, sda=1 i2c-algo-bit.o: ivtv i2c driver #0 passed test. tveeprom 5-0050: Hauppauge model 48512, rev I126, serial# 6169990 tveeprom 5-0050: tuner model is Temic 4036FY5 (idx 26, type 8) tveeprom 5-0050: TV standards NTSC(M) (eeprom 0x08) tveeprom 5-0050: audio processor is MSP4448 (idx 27) tveeprom 5-0050: decoder processor is SAA7115 (idx 19) tveeprom 5-0050: has no radio, has no IR remote ivtv0: Autodetected Hauppauge WinTV PVR-250 tuner 5-0061: chip found @ 0xc2 (ivtv i2c driver #0) saa7115 5-0021: saa7115 found (1f7115d0e100000) @ 0x42 (ivtv i2c driver #0) msp3400 5-0040: rev1=0x0117, rev2=0x3042 msp3400 5-0040: mute=off scanning=no volume=58880 msp3400 5-0040: MSP4448G-A2 found @ 0x80 (ivtv i2c driver #0) msp3400 5-0040: MSP4448G-A2 supports radio, mode is autodetect and autoselect msp3400 5-0040: msp34xxg daemon started ivtv0: Encoder revision: 0x02050032 ivtv0: Decoder revision: 0x02020023 ivtv0: Registered device video0 for encoder MPEG ivtv0: Registered device video32 for encoder YUV ivtv0: Registered device vbi0 for encoder VBI ivtv0: Registered device video24 for encoder PCM audio tuner 5-0061: type set to 8 (Temic NTSC (4036 FY5)) msp3400 5-0040: mute=on scanning=no volume=58880 msp3400 5-0040: scart switch: in1 => 0 (ACB=0x0000) msp3400 5-0040: scart switch: in1 da => 1 (ACB=0x0c00) msp3400 5-0040: scart switch: in1 da => 2 (ACB=0x0c00) msp3400 5-0040: set source to 0 (0x320) for output 08 msp3400 5-0040: set source to 0 (0x320) for output 0c msp3400 5-0040: set source to 0 (0x320) for output 09 msp3400 5-0040: set source to 0 (0x320) for output 0a msp3400 5-0040: set source to 0 (0x320) for output 41 msp3400 5-0040: set source to 0 (0x320) for output 0b msp3400 5-0040: thread: restart scan msp3400 5-0040: selected M (BTSC) modus msp3400 5-0040: set source to 0 (0x320) for output 08 msp3400 5-0040: set source to 0 (0x320) for output 0c msp3400 5-0040: set source to 0 (0x320) for output 09 msp3400 5-0040: set source to 0 (0x320) for output 0a msp3400 5-0040: set source to 0 (0x320) for output 41 msp3400 5-0040: set source to 0 (0x320) for output 0b msp3400 5-0040: started autodetect, waiting for result msp3400 5-0040: mute=off scanning=no volume=58880 msp3400 5-0040: thread: restart scan msp3400 5-0040: selected M (BTSC) modus msp3400 5-0040: set source to 0 (0x320) for output 08 msp3400 5-0040: set source to 0 (0x320) for output 0c msp3400 5-0040: set source to 0 (0x320) for output 09 msp3400 5-0040: set source to 0 (0x320) for output 0a msp3400 5-0040: set source to 0 (0x320) for output 41 msp3400 5-0040: set source to 0 (0x320) for output 0b msp3400 5-0040: started autodetect, waiting for result msp3400 5-0040: mute=on scanning=no volume=58880 msp3400 5-0040: thread: restart scan msp3400 5-0040: selected M (BTSC) modus msp3400 5-0040: set source to 0 (0x320) for output 08 msp3400 5-0040: set source to 0 (0x320) for output 0c msp3400 5-0040: set source to 0 (0x320) for output 09 msp3400 5-0040: set source to 0 (0x320) for output 0a msp3400 5-0040: set source to 0 (0x320) for output 41 msp3400 5-0040: set source to 0 (0x320) for output 0b msp3400 5-0040: started autodetect, waiting for result msp3400 5-0040: mute=off scanning=no volume=58880 ivtv0: Initialized Hauppauge WinTV PVR-250, card #0 ivtv: ==================== END INIT IVTV ==================== [ tv playback, till this happens... ] msp3400 5-0040: I/O error #0 (read 0x10/0x200) msp3400 5-0040: I/O error #1 (read 0x10/0x200) msp3400 5-0040: I/O error #2 (read 0x10/0x200) msp3400 5-0040: giving up, resetting chip. Sound will go off, sorry folks :-| msp3400 5-0040: chip reset failed msp3400 5-0040: status=0xffffffff, stereo=64, bilingual=256 -> rxsubchans=6 msp3400 5-0040: I/O error #0 (write 0x10/0x20) msp3400 5-0040: I/O error #1 (write 0x10/0x20) msp3400 5-0040: I/O error #2 (write 0x10/0x20) msp3400 5-0040: giving up, resetting chip. Sound will go off, sorry folks :-| msp3400 5-0040: chip reset failed msp3400 5-0040: set source to 0 (0x320) for output 08 [ repeated many times ] [ rmmod ivtv ] ivtv0 warning: Failed api call 0x0000000e with result 0xfffffff0 ivtv0 warning: stop_fw error 4. Code -16 ivtv0 warning: Failed api call 0x000000c3 with result 0xfffffff0 ivtv0 warning: stop_fw error 3. Code -16 msp3400 5-0040: thread: restart scan msp3400 5-0040: thread: exit msp3400 5-0040: chip reset failed ACPI: PCI interrupt for device 0000:01:06.0 disabled ivtv0: Removed Hauppauge WinTV PVR-250, card #0 [ modprove ivtv ] ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.9.2 (development revision 3693) loading ivtv: Linux version: 2.6.19.1-tg SMP mod_unload 586 REGPARM ivtv: In case of problems please include the debug info between ivtv: the START INIT IVTV and END INIT IVTV lines, along with ivtv: any module options, when mailing the ivtv-users mailinglist. ivtv0: Autodetected Hauppauge card (cx23415 based) PCI: Enabling device 0000:01:06.0 (0000 -> 0002) ACPI: PCI Interrupt 0000:01:06.0[A] -> Link [LNKD] -> GSI 19 (level, low) -> IRQ 19 PCI: Setting latency timer of device 0000:01:06.0 to 64 ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes) ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes) i2c-algo-bit.o: (0) scl=255, sda=255 i2c-algo-bit.o: (1) scl=255, sda=255 i2c-algo-bit.o: SDA stuck high! ivtv0: Could not initialize i2c Trying to free already-free IRQ 19 ivtv0: Error -19 on initialization ivtv: ==================== END INIT IVTV ====================
_______________________________________________ ivtv-devel mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-devel
