Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: Driver locks entire PC



Klaus Schmidinger wrote:
> Ever since I switched to driver version 2002-12-08 (which is actually
> the same as 2002-12-06) I noticed that from time to time when I
> restart VDR (which I do quite often when further developing the
> program ;-) my entire system got totally frozen (and only a hard
> reset would help).
>
> Apparently this is caused when the frontend is opened/closed to
> quickly. The following test program runs stable for quite a while
> with driver 2002-12-01, but with driver 2002-12-06 it locks the
> machine after just a few loops.
>
> [test program]

I tried this on two different machines, but was not able to trigger this:
- P233 / P4-2800
- kernel 2.4.20
- dvb driver 2002-12-08
After more than 7000 loops I aborted the test. It runs solid as a rock.

> With driver 2002-12-01 the program does hang after some 1016 loops,
> apparently because there are too many processes running by then (I
> have over 1000 'kdvb-fe <defunct>' processes in that case, which go
> away only after killing the test program).

Interesting. As you know, the zombie processes were discussed in the 
thread "Leftover kdvb-fe processes". This has been fixed in the driver 
by adding a reparent_to_init().

Try this with your 2002-12-08 driver:
Comment-out line 440 in dvb_frontend.c
	reparent_to_init ();
Now the driver should behave the same way as the 2002-12-01 driver.
Did the crash disappear?

Oliver



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index