OoO En cette soir�e bien amorc�e du dimanche 27 juin 2004, vers 22:49,
Vincent Bernat <[EMAIL PROTECTED]> disait:

> In a system with 4 DVB cards, I sometimes get a EOVERFLOW error when
> trying to read from the card. I have raised MAX_EVENTS with no
> success. How can I prevent this ?

I have slightly modified the kernel to get some debug output :

dmxdev: buffer overflow (len: 188, free: 188)
dvb_dmxdev_ts_callback [415]: overflow
dmxdev: buffer overflow (len: 188, free: 188)
dvb_dmxdev_ts_callback [415]: overflow
dmxdev: buffer overflow (len: 188, free: 188)
dvb_dmxdev_ts_callback [415]: overflow
dmxdev: buffer overflow (len: 188, free: 188)
dvb_dmxdev_ts_callback [415]: overflow

The first line happens because len>=free in dvb_dmxdev_buffer_write in
dmxdev.c. The second line happens when coming back in
dvb_dmxdev_ts_callback.

This is 100% reproducible when the systems has a high charge and
happens sometimes otherwise.
-- 
I WILL NOT SNAP BRAS
I WILL NOT SNAP BRAS
I WILL NOT SNAP BRAS
-+- Bart Simpson on chalkboard in episode 8F22



Reply via email to