Debian Bug report logs - #357626
kernel bug (oops) using vgrabbj on spca5xx

version graph

Package: spca5xx-source; Maintainer for spca5xx-source is (unknown);

Reported by: Florian Lohoff <flo@rfc822.org>

Date: Sat, 18 Mar 2006 17:18:15 UTC

Severity: normal

Found in version spca5xx-source/20060202-1

Fixed in version 20060501-2+rm

Done: Marco Rodrigues <gothicx@sapo.pt>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>:
Bug#357626; Package spca5xx-source. (full text, mbox, link).


Acknowledgement sent to Florian Lohoff <flo@rfc822.org>:
New Bug report received and forwarded. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Florian Lohoff <flo@rfc822.org>
To: submit@bugs.debian.org
Subject: kernel bug (oops) using vgrabbj on spca5xx
Date: Sat, 18 Mar 2006 17:37:54 +0100
[Message part 1 (text/plain, inline)]
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
-- 
Florian Lohoff                  flo@rfc822.org             +49-171-2280134
                        Heisenberg may have been here.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>:
Bug#357626; Package spca5xx-source. (full text, mbox, link).


Acknowledgement sent to michel Xhaard <mxhaard@free.fr>:
Extra info received and forwarded to list. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #10 received at 357626@bugs.debian.org (full text, mbox, reply):

From: michel Xhaard <mxhaard@free.fr>
To: pkg-spca5xx-devel@lists.alioth.debian.org, Florian Lohoff <flo@rfc822.org>, 357626@bugs.debian.org
Cc: submit@bugs.debian.org
Subject: Re: [Pkg-spca5xx-devel] Bug#357626: kernel bug (oops) using vgrabbj on spca5xx
Date: Sat, 18 Mar 2006 21:41:31 +0100
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



Information forwarded to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>:
Bug#357626; Package spca5xx-source. (full text, mbox, link).


Acknowledgement sent to Florian Lohoff <flo@rfc822.org>:
Extra info received and forwarded to list. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #15 received at 357626@bugs.debian.org (full text, mbox, reply):

From: Florian Lohoff <flo@rfc822.org>
To: michel Xhaard <mxhaard@free.fr>
Cc: pkg-spca5xx-devel@lists.alioth.debian.org, 357626@bugs.debian.org, submit@bugs.debian.org
Subject: Re: [Pkg-spca5xx-devel] Bug#357626: kernel bug (oops) using vgrabbj on spca5xx
Date: Sat, 18 Mar 2006 23:10:50 +0100
[Message part 1 (text/plain, inline)]
On Sat, Mar 18, 2006 at 09:41:31PM +0100, michel Xhaard wrote:
> Flo,
> Are you sure a webcam with isochronous pipe can just get a single image ? 

The camera used to work a little while ago with vgrabbj like a charm -
It did on a Dual Xeon 2.4Ghz

> I only support stable vanilla kernel, so wait for 2.6.16
> official. Your PII is

As i said - i also tried 2.6.15 with no success - same oops ...

> 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

Nevertheless it should rather send empty images or nothing than die. An
Oops or "BUG" is _always_ the kernels fault ...

Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-171-2280134
                        Heisenberg may have been here.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>:
Bug#357626; Package spca5xx-source. (full text, mbox, link).


Acknowledgement sent to michel Xhaard <mxhaard@free.fr>:
Extra info received and forwarded to list. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #20 received at 357626@bugs.debian.org (full text, mbox, reply):

From: michel Xhaard <mxhaard@free.fr>
To: pkg-spca5xx-devel@lists.alioth.debian.org
Cc: Florian Lohoff <flo@rfc822.org>, submit@bugs.debian.org, 357626@bugs.debian.org
Subject: Re: [Pkg-spca5xx-devel] Bug#357626: kernel bug (oops) using vgrabbj on spca5xx
Date: Sun, 19 Mar 2006 00:24:25 +0100
Le Samedi 18 Mars 2006 23:10, Florian Lohoff a écrit :
> On Sat, Mar 18, 2006 at 09:41:31PM +0100, michel Xhaard wrote:
> > Flo,
> > Are you sure a webcam with isochronous pipe can just get a single image ?
>
> The camera used to work a little while ago with vgrabbj like a charm -
> It did on a Dual Xeon 2.4Ghz
With your Dual Xeon 2.4Ghz you can play with 4 Vimicro webcams in real 
times :)
> > I only support stable vanilla kernel, so wait for 2.6.16
> > official. Your PII is
>
> As i said - i also tried 2.6.15 with no success - same oops ...
>
> > 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
>
> Nevertheless it should rather send empty images or nothing than die. An
> Oops or "BUG" is _always_ the kernels fault ...
Hmm, spca5xx is design for running on a strong enought machine, your PII is to 
slow and cannot decode the jpeg stream in times.  A usb isochronous webcam is 
a streaming video device and never provide a single picture but a stream of 
pictures send with small packet on the usb bus. The iso handler collect the 
packet and when a frame is empty schedule a tasklet to decode the jpeg. What 
happen here is the handler collect the frame faster than the decoder.
I have set another driver for the vimicro chips design for small hardware 
(spca5xx-LE ) this one never decode the stream but instead forward the frame 
on userspace. I use it with a small TCP/IP server that way the video is 
forward to TCP and can be used by others TCP client. I use it with a Etrax 
Soc 100Mhz and can carry VGA stream in real times. Maybe have a look
regards
-- 
Michel Xhaard
http://mxhaard.free.fr



Reply sent to Marco Rodrigues <gothicx@sapo.pt>:
You have taken responsibility. (Mon, 03 Aug 2009 22:45:04 GMT) (full text, mbox, link).


Notification sent to Florian Lohoff <flo@rfc822.org>:
Bug acknowledged by developer. (Mon, 03 Aug 2009 22:45:04 GMT) (full text, mbox, link).


Message #25 received at 357626-done@bugs.debian.org (full text, mbox, reply):

From: Marco Rodrigues <gothicx@sapo.pt>
To: 357626-done@bugs.debian.org
Subject: spca5xx-source has been removed from Debian, closing #357626
Date: Mon, 03 Aug 2009 23:43:03 +0100
Version: 20060501-2+rm

The spca5xx-source package has been removed from Debian so we are closing
the bugs that were still opened against it.

For more information about this package's removal, read
http://bugs.debian.org/446980 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

Kind regards,
--
Marco Rodrigues




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 01 Sep 2009 07:31:10 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 12:05:46 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.