[Pkg-spca5xx-devel] OOPS bugfix

Evgeny Chukreev akshaal at toril.ru
Thu Jul 6 21:08:46 UTC 2006


Hello.

This http://toril.ru/soft/spca5xx-20060501-tasklet_bugfix.patch.gz patch fixes bug mentioned here:
http://lists.alioth.debian.org/pipermail/pkg-spca5xx-devel/2006-March/000118.html

I got it on my Pentium M 1.5Ghz with Labtec Webcam Pro. Kernel 2.6.16.

Problem explanation:
After some investigations I found that one tasklet pointer queued in
tasklet queue twice. So after first task activation SCHED bit goes off,
and next time kernel checks it and found it cleared... so BUG() raised.

So we either shall move out tasklet_init out of loop or check
TASKLET_STATE_SCHED bit.

I suppose that it is not enough, becouse we lost second frame. But it works
for me. I have no more freezes.

-- 
... WBR, Evgeny Chukreev ...



More information about the Pkg-spca5xx-devel mailing list