After a few days of recording dozens of 1-hour programs on a PVR-500 
(usually simultaneous and one-after-another), one of the ivtv devices 
will go silent. It'll record a show (and all subsequent shows on that 
tuner) with silent audio until the system is rebooted. The recordings on 
the other device are unaffected.

Under a normal debug level, nothing shows up in the kernel logs that 
would indicate a problem.

Here is my device status AFTER the bug:

(in this case, ivtv1 was the one that went silent, not ivtv0 -- not sure 
if there's a pattern that it's always ivtv1)

[EMAIL PROTECTED] cyrus]# v4l2-ctl --log-status --device=/dev/video0

Status Log:

   ivtv0: =================  START STATUS CARD #0  =================
   tveeprom 2-0050: Hauppauge model 23552, rev E587, serial# 8363157
   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 receiver, has no IR transmitter
   tuner 2-0060: Tuner mode:      undefined
   tuner 2-0060: Frequency:       0.00 MHz
   tuner 2-0060: Standard:        0x00000000
   tuner 2-0061: Tuner mode:      analog TV
   tuner 2-0061: Frequency:       175.25 MHz
   tuner 2-0061: Standard:        0x00001000
   cx25840 2-0044: Video signal:              present
   cx25840 2-0044: Detected format:           NTSC-M
   cx25840 2-0044: Specified standard:        NTSC-M
   cx25840 2-0044: Specified video input:     Composite 7
   cx25840 2-0044: Specified audioclock freq: 48000 Hz
   cx25840 2-0044: Detected audio mode:       stereo
   cx25840 2-0044: Detected audio standard:   BTSC
   cx25840 2-0044: Audio muted:               no
   cx25840 2-0044: Audio microcontroller:     running
   cx25840 2-0044: Configured audio standard: automatic detection
   cx25840 2-0044: Configured audio system:   BTSC
   cx25840 2-0044: Specified audio input:     Tuner (In8)
   cx25840 2-0044: Preferred audio mode:      stereo
   wm8775 2-001b: Input: 2
   ivtv0: Video Input: Tuner 1
   ivtv0: Audio Input: Tuner 1
   ivtv0: Tuner: TV
   ivtv0: Stream: MPEG-2 Program Stream
   ivtv0: VBI Format: No VBI
   ivtv0: Video:  720x480, 30 fps
   ivtv0: Video:  MPEG-2, 4x3, Variable Bitrate, 6000000, Peak 8000000
   ivtv0: Video:  GOP Size 15, 2 B-Frames, GOP Closure, No 3:2 Pulldown
   ivtv0: Audio:  48 kHz, Layer II, 224 kbps, Stereo, No Emphasis, No CRC
   ivtv0: Spatial Filter:  Manual, Luma 1D Horizontal, Chroma 1D 
Horizontal, 0
   ivtv0: Temporal Filter: Manual, 8
   ivtv0: Median Filter:   Off, Luma [0, 255], Chroma [0, 255]
   ivtv0: Status flags: 0x00000000
   ivtv0: Stream encoder MPEG: status 0x0000, 0% of 4096 KiB (128 
buffers) in use
   ivtv0: Stream encoder YUV: status 0x0000, 0% of 2046 KiB (194 
buffers) in use
   ivtv0: Stream encoder VBI: status 0x0000, 0% of 1023 KiB (60 buffers) 
in use
   ivtv0: Stream encoder PCM audio: status 0x0000, 0% of 1021 KiB (227 
buffers) in use
   ivtv0: Read MPEG/VBI: 2929000448/0 bytes
   ivtv0: ==================  END STATUS CARD #0  ==================

[EMAIL PROTECTED] cyrus]# v4l2-ctl --log-status --device=/dev/video1

Status Log:

   ivtv1: =================  START STATUS CARD #1  =================
   tveeprom 3-0050: Hauppauge model 23552, rev E587, serial# 8363157
   tveeprom 3-0050: tuner model is Samsung TCPN 2121P30A (idx 87, type 70)
   tveeprom 3-0050: TV standards NTSC(M) (eeprom 0x08)
   tveeprom 3-0050: second tuner model is Philips TEA5768HL FM Radio 
(idx 101, type 62)
   tveeprom 3-0050: audio processor is CX25843 (idx 37)
   tveeprom 3-0050: decoder processor is CX25843 (idx 30)
   tveeprom 3-0050: has radio, has no IR receiver, has no IR transmitter
   tuner 3-0061: Tuner mode:      analog TV
   tuner 3-0061: Frequency:       193.25 MHz
   tuner 3-0061: Standard:        0x00001000
   cx25840 3-0044: Video signal:              present
   cx25840 3-0044: Detected format:           NTSC-M
   cx25840 3-0044: Specified standard:        NTSC-M
   cx25840 3-0044: Specified video input:     Composite 7
   cx25840 3-0044: Specified audioclock freq: 48000 Hz
   cx25840 3-0044: Detected audio mode:       stereo
   cx25840 3-0044: Detected audio standard:   BTSC
   cx25840 3-0044: Audio muted:               yes
   cx25840 3-0044: Audio microcontroller:     running
   cx25840 3-0044: Configured audio standard: automatic detection
   cx25840 3-0044: Configured audio system:   BTSC
   cx25840 3-0044: Specified audio input:     Tuner (In8)
   cx25840 3-0044: Preferred audio mode:      stereo
   wm8775 3-001b: Input: 2
   ivtv1: Video Input: Tuner 1
   ivtv1: Audio Input: Tuner 1
   ivtv1: Tuner: TV
   ivtv1: Stream: MPEG-2 Program Stream
   ivtv1: VBI Format: No VBI
   ivtv1: Video:  720x480, 30 fps
   ivtv1: Video:  MPEG-2, 4x3, Variable Bitrate, 6000000, Peak 8000000
   ivtv1: Video:  GOP Size 15, 2 B-Frames, GOP Closure, No 3:2 Pulldown
   ivtv1: Audio:  48 kHz, Layer II, 224 kbps, Stereo, No Emphasis, No CRC
   ivtv1: Spatial Filter:  Manual, Luma 1D Horizontal, Chroma 1D 
Horizontal, 0
   ivtv1: Temporal Filter: Manual, 8
   ivtv1: Median Filter:   Off, Luma [0, 255], Chroma [0, 255]
   ivtv1: Status flags: 0x00000000
   ivtv1: Stream encoder MPEG: status 0x0000, 0% of 4096 KiB (128 
buffers) in use
   ivtv1: Stream encoder YUV: status 0x0000, 0% of 2046 KiB (194 
buffers) in use
   ivtv1: Stream encoder VBI: status 0x0000, 0% of 1023 KiB (60 buffers) 
in use
   ivtv1: Stream encoder PCM audio: status 0x0000, 0% of 1021 KiB (227 
buffers) in use
   ivtv1: Read MPEG/VBI: 2928836608/0 bytes
   ivtv1: ==================  END STATUS CARD #1  ==================

After rebooting to fix the error, I diff'd the two:

[EMAIL PROTECTED] Desktop]$ diff ivtv0_after_error.txt ivtv0_before_error.txt
16c16
<    tuner 2-0061: Frequency:       175.25 MHz
---
 >    tuner 2-0061: Frequency:       67.25 MHz
49c49
<    ivtv0: Read MPEG/VBI: 2929000448/0 bytes
---
 >    ivtv0: Read MPEG/VBI: 0/0 bytes

[EMAIL PROTECTED] Desktop]$ diff ivtv1_after_error.txt ivtv1_before_error.txt
13c13
<    tuner 3-0061: Frequency:       193.25 MHz
---
 >    tuner 3-0061: Frequency:       67.25 MHz
22c22
<    cx25840 3-0044: Audio muted:               yes
---
 >    cx25840 3-0044: Audio muted:               no
46c46
<    ivtv1: Read MPEG/VBI: 2928836608/0 bytes
---
 >    ivtv1: Read MPEG/VBI: 0/0 bytes

****Notice the audio muted... Why would it mute the audio 
spontaneously?***** Definitely seems like this is the problem. What's 
the command for "unmute" so I can make a workaround?

This is the error log, but the error started at June 26 23:00 so it 
doesn't make sense. ivtv1 at 5:00, 12:00 and 18:00 on the 26th were all 
fine. The only thing I see at the critical time (23:00 on the 26th) was 
that ivtv0 and ivtv1 both messed up at the same time. I'll try to get 
better error messages when I reboot and reset the debug level. Again, 
ivtv1 at 5:00 and 6:00 on the 27th were also silent. Once it goes bad, 
it stays bad, it would seem.

Jun 26 05:00:07 wtvq kernel: ivtv1: All encoder VBI stream buffers are 
full. Dropping data.
Jun 26 05:00:07 wtvq kernel: ivtv1: Cause: the application is not 
reading fast enough.
Jun 26 06:43:55 wtvq kernel: ivtv0 warning: Invalid PGM index 91164673 
(>= 400)
Jun 26 06:43:55 wtvq kernel: ivtv0 warning: Invalid PGM index 178891441 
(>= 400)
Jun 26 06:43:55 wtvq kernel: ivtv0 warning: Invalid PGM index 178891441 
(>= 400)
Jun 26 12:00:07 wtvq kernel: ivtv1: All encoder VBI stream buffers are 
full. Dropping data.
Jun 26 12:00:07 wtvq kernel: ivtv1: Cause: the application is not 
reading fast enough.
Jun 26 18:00:06 wtvq kernel: ivtv1: All encoder VBI stream buffers are 
full. Dropping data.
Jun 26 18:00:06 wtvq kernel: ivtv1: Cause: the application is not 
reading fast enough.
Jun 26 23:00:07 wtvq kernel: ivtv0: All encoder VBI stream buffers are 
full. Dropping data.
Jun 26 23:00:07 wtvq kernel: ivtv0: Cause: the application is not 
reading fast enough.
Jun 26 23:00:07 wtvq kernel: ivtv1: All encoder VBI stream buffers are 
full. Dropping data.
Jun 26 23:00:07 wtvq kernel: ivtv1: Cause: the application is not 
reading fast enough.
Jun 27 05:00:07 wtvq kernel: ivtv1: All encoder VBI stream buffers are 
full. Dropping data.
Jun 27 05:00:07 wtvq kernel: ivtv1: Cause: the application is not 
reading fast enough.
Jun 27 06:00:06 wtvq kernel: ivtv0: All encoder VBI stream buffers are 
full. Dropping data.
Jun 27 06:00:06 wtvq kernel: ivtv0: Cause: the application is not 
reading fast enough.
Jun 27 06:00:06 wtvq kernel: ivtv1: All encoder VBI stream buffers are 
full. Dropping data.
Jun 27 06:00:06 wtvq kernel: ivtv1: Cause: the application is not 
reading fast enough.


Thanks for any help you can provide.

Cyrus





_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to