Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ivtv: users

PVR-500 crashes system

 

 

ivtv users RSS feed   Index | Next | Previous | View Threaded


tross.technical at starband

Oct 9, 2009, 7:35 PM

Post #1 of 1 (847 views)
Permalink
PVR-500 crashes system

Hello, and thanks to the authors for their selfless contributions to the
ivtv project.

I have compiled and installed ivtv-0.10.6 for the Linux 2.6.18-128.1.10.el5
kernel (the most recent available in CentOS 5.3) for the Hauppauge PVR-500
card and am having problems with system crashes with a 1 GHz CPU and 1.5 GB
memory with 750 MB of unused swap space. The ivtv information required
follows:

# lspci -v
...
02:08.0 Multimedia video controller: Internext Compression Inc iTVC16
(CX23416) MPEG-2 Encoder (rev 01)
Subsystem: Hauppauge computer works Inc. WinTV PVR 500 (1st unit)
Flags: bus master, medium devsel, latency 64, IRQ 5
Memory at e0000000 (32-bit, prefetchable) [size=64M]
Capabilities: [44] Power Management version 2

02:09.0 Multimedia video controller: Internext Compression Inc iTVC16
(CX23416) MPEG-2 Encoder (rev 01)
Subsystem: Hauppauge computer works Inc. WinTV PVR 500 (2nd unit)
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at e4000000 (32-bit, prefetchable) [size=64M]
Capabilities: [44] Power Management version 2

$ ls -l /dev/vid*
lrwxrwxrwx 1 root root 6 Oct 9 16:21 /dev/video -> video0
crw------- 1 me root 81, 0 Oct 9 16:21 /dev/video0
crw------- 1 me root 81, 1 Oct 9 16:21 /dev/video1
crw------- 1 me root 81, 24 Oct 9 16:21 /dev/video24
crw------- 1 me root 81, 25 Oct 9 16:21 /dev/video25
crw------- 1 me root 81, 32 Oct 9 16:21 /dev/video32
crw------- 1 me root 81, 33 Oct 9 16:21 /dev/video33

Apparently the modules are loaded, although I don't know how to find what
options are provided:

$ /sbin/lsmod | grep tv
ivtv 123536 0
i2c_algo_bit 12489 1 ivtv
cx2341x 14277 1 ivtv
tveeprom 17873 1 ivtv
videodev 25793 1 ivtv
v4l1_compat 16069 2 ivtv,videodev
v4l2_common 24385 5 cx25840,tuner,ivtv,cx2341x,videodev
i2c_core 23745 7
wm8775,cx25840,tuner,ivtv,i2c_algo_bit,tveeprom,i2c_viapro

The firmware is declared in dmesg:

ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.10.6 (tagged release) loading
ivtv: Linux version: 2.6.18-128.1.10.el5 SMP mod_unload 686 REGPARM
4KSTACKS gcc-4.1
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 (cx23416 based)
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
PCI: Found IRQ 3 for device 0000:00:11.0
PCI: Sharing IRQ 3 with 0000:00:0f.3
ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv0: Encoder revision: 0x02060039
tveeprom 1-0050: Hauppauge model 23552, rev D587, serial# 8897780
tveeprom 1-0050: tuner model is Samsung TCPN 2121P30A (idx 87, type 70)
tveeprom 1-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 1-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101,
type 62)
tveeprom 1-0050: audio processor is CX25843 (idx 37)
tveeprom 1-0050: decoder processor is CX25843 (idx 30)
tveeprom 1-0050: has radio, has no IR remote
ivtv0: Autodetected WinTV PVR 500 (unit #1)
tuner 1-0060: TEA5767 detected.
tuner 1-0060: chip found @ 0xc0 (ivtv i2c driver #0)
tuner 1-0060: type set to 62 (Philips TEA5767HN FM Radio)
tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
cx25840 1-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0)
ivtv0: Registered device video0 for encoder MPEG (4 MB)
ivtv0: Registered device video32 for encoder YUV (2 MB)
ivtv0: Registered device vbi0 for encoder VBI (1 MB)
ivtv0: Registered device video24 for encoder PCM audio (1 MB)
ivtv0: Registered device radio0 for encoder radio
tuner 1-0061: type set to 70 (Samsung TCPN 2121P30A)
ivtv0: Initialized WinTV PVR 500 (unit #1), card #0
ivtv: ====================== NEXT CARD ======================
ivtv1: Autodetected Hauppauge card (cx23416 based)
ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
ivtv1: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv1: Encoder revision: 0x02060039
tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #1)
cx25840 2-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1)
cx25840 2-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #1)
tveeprom 2-0050: Hauppauge model 23552, rev D587, serial# 8897780
tveeprom 2-0050: tuner model is Samsung TCPN 2121P30A (idx 87, type 70)
tveeprom 2-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 2-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101,
type 62)
tveeprom 2-0050: audio processor is CX25843 (idx 37)
tveeprom 2-0050: decoder processor is CX25843 (idx 30)
tveeprom 2-0050: has radio, has no IR remote
ivtv1: Correcting tveeprom data: no radio present on second unit
ivtv1: Autodetected WinTV PVR 500 (unit #2)
ivtv1: Registered device video1 for encoder MPEG (4 MB)
ivtv1: Registered device video33 for encoder YUV (2 MB)
ivtv1: Registered device vbi1 for encoder VBI (1 MB)
ivtv1: Registered device video25 for encoder PCM audio (1 MB)
tuner 2-0061: type set to 70 (Samsung TCPN 2121P30A)
ivtv1: Initialized WinTV PVR 500 (unit #2), card #1
ivtv: ==================== END INIT IVTV ====================

The RCA composite-video output is from an NTSC VCR output tuned to channel
3, so:

$ ivtv-tune -c3; v4l2-ctl -F
/dev/video0: 61.250 MHz
Frequency: 980 (61.250000 MHz)

Then when testing according to the recommendations, the crash comes:

$ cat /dev/video0 > test.mpg

... crashes the system after a very brief period. Upon reboot I find:

$ ls -l test.mpg; file test.mpg
-rw-rw-r-- 1 me me 10092544 Oct 9 15:48 test.mpg
test.mpg: MPEG sequence, v2, program multiplex

If I view the test.mpg file with lives, kino, xine etc. it consists of
random coloured snow on a black background.

The same crash occurs with:

src/ivtv-0.10.6/test]$ ./mpeg-read-test | tee crash.txt
000001/0/0000004: Fri Oct 9 17:05:29 2009
000002/1/0000004: Fri Oct 9 17:05:29 2009
000003/2/0000004: Fri Oct 9 17:05:30 2009
...
000094/5/0008192: Fri Oct 9 17:06:15 2009
000095/6/0008192: Fri Oct 9 17:06:16 2009
000096/7/00

What do I need to do to get this working, please? I feel I've done my
"homework", yet am still meeting serious dificulties.

Thank you for your considerations.


_______________________________________________
ivtv-users mailing list
ivtv-users [at] ivtvdriver
http://ivtvdriver.org/mailman/listinfo/ivtv-users

ivtv users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.