Re: Why my computer freeze completely with xawtv ?

Grzegorz Kulewski
2004-11-08T08:31:19Z

On Mon, 8 Nov 2004, Con Kolivas wrote:

> Gregoire Favre wrote:
>> On Mon, Nov 08, 2004 at 11:08:11AM +1100, Con Kolivas wrote:
>>
>>
>>>>>> I use DVB with VDR, but I can do the crash all the time without VDR,
>>>>>> all
>>>>>> I have to do is to have xawtv running and having a process that write
>>>>>> fast enough data to an HD (I tested xfs, reiserfs, ext2 and ext3 with
>>>>>> same result). If I don't have xawtv running I can't make crashing my
>>>>>> system which is rock stable :-)
>>>>>
>>>>> Is xawtv running as root or with real time privileges? That could do it.
>>
>>
>>> What does 'top' show as the PRI for xawtv?
>>
>>
>> I just started it and see 16 as priority in top. Should I renice it or
>> start it another way ?
>
> No I was just excluding whether you were running real time or not. You are
> not, so that excludes that as the cause of your problem. I have no further
> ideas though I'm afraid.

I am seeing the same problem with my bttv card. It was present in the 2.4
day and is present to this day. There are some kernels that are more
probable to hang while others are less. It does not depend on -ck or any
other patchset or scheduling. I reported it to bttv maintainer year or two
ago, but it looks like he is very unresponsive. :-) I know that this is
not only my problem. And I know it is not probably related with nvidia or
any other binary drivers. And it happens with zapping or mplayer v4l[12]
too. And I tried every possible configuration of cards and IRQs. Nothing
helps.

I suspect two things:
- there is some bug in bttv and similar drivers (DVB) that corrupts memory
related with internal mm and vfs structures or does something equally bad,
- or maybe PCI bandwitch is overflowed, but I do not think it should
happen.

But it is very hard to prove any of these I am afraid.

Grzegorz Kulewski