Web lists-archives.org

Re: [Spca50x-devs] spca triggering kernel Bug kernel/softirq.c:266




Le Samedi 18 Mars 2006 20:32, Florian Lohoff a écrit :
> Hi,
> i am seeing this kernel Bug as soon as i start touching the
> spca5xx based cam. Kernel tried so far are 2.6.15 and 2.6.16-rc6
> without preemption, UP, PII 266Mhz.
>
> kernel/softirq.c
>     263                 if (tasklet_trylock(t)) {
>     264                         if (!atomic_read(&t->count)) {
>     265                                 if
> (!test_and_clear_bit(TASKLET_STATE_SCHED, &t->state)) 266                  
>                       BUG();
>     267                                 t->func(t->data);
>     268                                 tasklet_unlock(t);
>     269                                 continue;
>     270                         }
>     271                         tasklet_unlock(t);
>     272                 }
>
> Cam is a
>
> 0ac8:301b Z-Star Microelectronics Corp. ZC0301 WebCam
>
> Source is 20060202 from Debian thus i opened a Debian bug against the
> spca5xx-source package.
>
> ------------[ cut here ]------------
> kernel BUG at kernel/softirq.c:266!
> invalid operand: 0000 [#1]
> Modules linked in: spca5xx videodev uhci_hcd usbcore
> CPU:    0
> EIP:    0060:[<c01190fc>]    Not tainted VLI
> EFLAGS: 00010246   (2.6.15-netstation)
> EIP is at tasklet_action+0x2c/0x60
> eax: 00000000   ebx: c22fc008   ecx: 00000028   edx: c22fc008
> esi: c03c71e8   edi: 00000009   ebp: 0040d007   esp: c0393f90
> ds: 007b   es: 007b   ss: 0068
> Process swapper (pid: 0, threadinfo=c0392000 task=c033fb00)
> Stack: 00000001 c0118ee3 c03c71e8 00000046 00059100 c038c800 c0118f16
> c0392000 c0104e8f c010386a c0392000 00000000 c0392000 00059100 c038c800
> 0040d007 00000000 0000007b 0000007b ffffff0b c0100ba3 00000060 00000246
> c0100c3c Call Trace:
>  [<c0118ee3>] __do_softirq+0x83/0x90
>  [<c0118f16>] do_softirq+0x26/0x30
>  [<c0104e8f>] do_IRQ+0x1f/0x30
>  [<c010386a>] common_interrupt+0x1a/0x20
>  [<c0100ba3>] default_idle+0x33/0x60
>  [<c0100c3c>] cpu_idle+0x4c/0x60
>  [<c0394796>] start_kernel+0x166/0x1a0
> Code: fa 8b 1d a0 71 3c c0 c7 05 a0 71 3c c0 00 00 00 00 fb 85 db 74 29 89
> da 8b 1b 8b 42 08 85 c0 75 20 0f b3 42 04 19 c0 85 c0 75 08 <0f> 0b 0a 01
> 23 15 30 c0 8b 42 10 50 ff 52 0c 58 85 db 75 d7 5b <0>Kernel panic - not
> syncing: Fatal exception in interrupt
>  <0>Rebooting in 5 seconds..
Flo,
Are you sure a webcam with isochronous pipe can just get a single image ? 
I only support stable vanilla kernel, so wait for 2.6.16 official. Your PII is 
to low to decode jpeg in real times with a Vimicro/zstar chipset. A video 
stream in VGA at 30 fp/s need a strong CPU, a PIII 500Mhz is a minimum :)
regards
-- 
Michel Xhaard
http://mxhaard.free.fr


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs