Bug#357626: [Pkg-spca5xx-devel] Bug#357626: kernel bug (oops) using vgrabbj on spca5xx

michel Xhaard mxhaard at free.fr
Sat Mar 18 20:41:31 UTC 2006


Le Samedi 18 Mars 2006 17:37, Florian Lohoff a écrit :
> Package: spca5xx-source
> Version: 20060202-1
>
> Hi,
> when running spca5xx module on a PII IBM Netstation system with a Kernel
> 2.6.16-rc6 i am seeing this oops on the first invocation of vgrabbj
> to capture a single image (vgrabbj -d /dev/video0 -f f.jpg)
>
> The kernel line says:
>
>     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                 }
>
>
> ------------[ cut here ]------------
> kernel BUG at kernel/softirq.c:266!
> invalid opcode: 0000 [#1]
> Modules linked in: spca5xx videodev uhci_hcd usbcore
> CPU:    0
> EIP:    0060:[<c01195fc>]    Not tainted VLI
> EFLAGS: 00010246   (2.6.16-rc6-netstation #1)
> EIP is at tasklet_action+0x2c/0x60
> eax: 00000000   ebx: c232c008   ecx: 00000028   edx: c232c008
> esi: c03cb0a8   edi: 00000009   ebp: 00411007   esp: c0397f90
> ds: 007b   es: 007b   ss: 0068
> Process swapper (pid: 0, threadinfo=c0396000 task=c0342b00)
> Stack: <0>00000001 c01193e3 c03cb0a8 00000046 00059100 c0390800 c0119416
> c0396000 c0104eaf c010379a c0396000 00000000 c0396000 00059100 c0390800
> 00411007 00000000 0000007b 0000007b ffffff0b c0100ba3 00000060 00000246
> c0100c3c Call Trace:
>  [<c01193e3>] __do_softirq+0x83/0x90
>  [<c0119416>] do_softirq+0x26/0x30
>  [<c0104eaf>] do_IRQ+0x1f/0x30
>  [<c010379a>] common_interrupt+0x1a/0x20
>  [<c0100ba3>] default_idle+0x33/0x60
>  [<c0100c3c>] cpu_idle+0x4c/0x60
>  [<c039871a>] start_kernel+0x16a/0x1a0
> Code: fa 8b 1d 60 b0 3c c0 c7 05 60 b0 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
> 47 36 30 c0 8b 42 10 50 ff 52 0c 58 85 db 75 d7 5b <0>Kernel panic - not
> syncing: Fatal exception in interrupt
>
>
> ant:~# cat /proc/bus/usb/devices
> T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
> B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
> D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 2.06
> S:  Manufacturer=Linux 2.6.16-rc6-netstation uhci_hcd
> S:  Product=UHCI Host Controller
> S:  SerialNumber=0000:00:05.2
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
>
> T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
> D:  Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0ac8 ProdID=301b Rev= 1.00
> S:  Manufacturer=Z-Star Corp.
> S:  Product=PC Camera
> C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=160mA
> I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=spca5xx
> E:  Ad=81(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
> E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
> I:  If#= 0 Alt= 1 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=spca5xx
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 128 Ivl=1ms
> E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
> I:  If#= 0 Alt= 2 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=spca5xx
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 192 Ivl=1ms
> E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
> I:  If#= 0 Alt= 3 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=spca5xx
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 256 Ivl=1ms
> E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
> I:  If#= 0 Alt= 4 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=spca5xx
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 384 Ivl=1ms
> E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
> I:  If#= 0 Alt= 5 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=spca5xx
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 512 Ivl=1ms
> E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
> I:  If#= 0 Alt= 6 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=spca5xx
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 768 Ivl=1ms
> E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
> I:  If#= 0 Alt= 7 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=spca5xx
> E:  Ad=81(I) Atr=01(Isoc) MxPS=1023 Ivl=1ms
> E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
>
>
> Flo
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




More information about the Pkg-spca5xx-devel mailing list