Re: [Linux-hls-devel] Processes freezing up
Status: Pre-Alpha
Brought to you by:
lucabe
|
From: Luca A. <luc...@em...> - 2003-09-05 05:38:06
|
Hi guys,
I had a look at the problem, and here is my interpretation:
[...]
> hls_ctl: Moving to res1
> ...and setting the parameters!
> bug: kernel timer added twice at e24c1689.
> HLSUnblockThreadHook --- WAI = 2 [512]
> HLSUnblockThreadHook --- WAI = 2 [512]
Looks like someone is unblocking, and its scheduler posts the scheduler
timer when it is already active... :(
This causes the kernel to scream, performing a printk() that wakes up
the log daemon klogd ---> klogd unblocks during a hook.
From this point, the HLS internal state is screwed, and crazy things
happen. Hence, first of all we need to understand why a scheduler is
posting its timer twice. Unfortunately, I am not able to reproduce the
problem here, hence I'll need your help.
Can you please apply the attached patch and reproduce the problem,
sending me the dmesg output? The patch makes the module should be a
little more verbose, giving information about the scheduler that is
causing the problem.
Also, there are some #ifdef __DO_CLI__ in linux/hls_timers.c that are
currently commented out... Can you try to remove the comments, and see
if this fixes the problem?
Finally, are you usning the preemptive patch? If yes, can you confirm
that the problem still happens without the patch installed? If it still
happens, it likely is a locking problem...
Thanks,
Luca
--
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
N O W A R ! ! !
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Il nostro catalogo completo a casa tua, gratis! Vieni da Peraga, tanti prodotti introvabili per te.
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=450&d=5-9 |