Web lists-archives.org

Re: [Spca50x-devs] "Fatal exception in interrupt" with Multiple SPC300NC Cams




Le Samedi 8 Juillet 2006 19:03, Ulisses Penna a écrit :
> Volkan
>
>     AFAIK, the spca driver was written for v4l calls
> and kernel > 2.6.16 has v4l2 calls ....
>     Maybe thats the problem ...
>
> Regards. Ulisses Penna
>
> --- Volkan YAZICI <yazicivo@xxxxxxxxxxxx> escreveu:
> > Hi,
> >
> > First thanks so much for providing a module with
> > such a wide-range
> > webcam support. But I've some problems with the
> > stability of the
> > software.
> >
> > I've been trying to use your spca5xx kernel module
> > for a project of the
> > company, but I'm having some real trouble in here
> > while trying to use
> > multiple (actually 2) Philips spc300nc webcams
> > concurrently. Here's the
> > related kernel panic screen:
> >
> > invalid opcode: 0000 [#1]
> > PREEMPT
> > Modules linked in: spca5xx videodev
> > CPU:    0
> > EIP:    0060:[<c011ad25>]      Not tainted VLI
> > EFLAGS: 00010246      (2.6.17.1   #9)
> > EIP is at tasklet_action+0x2d/0x54
> > eax: 00000000  ebx: cb090008  ecx: 0000000b  edx:
> > cb090008
> > esi: c03ed348  edi: 0000000a  ebp: 0042a007   esp:
> > c03b9f8c
> > ds: 007b   es: 007b  ss: 0068
> > Process swapper (pid: 0, threadinfo=c03b8000
> > task=c035e400)
> > Stack: 00000001 c011ab23 c03ed348 00000046 00099100
> > c03af800 c011ab59 c03b8000
> >        c011ac05 c0104e7e c0103842 c03b8000 c035e400
> > c03b8000 00099199 c03af800
> >        0042a007 00000000 c035007b c035007b ffffff05
> > c0100b15 00000060 00000246
> > Call Trace:
> >  <c011ab23> __do_softirq+0x77/0x84  <c011ab59>
> > do_softirq+0x29/0x2c
> >  <c011ac05> irq_exit+0x35/0x38  <c0104e7e>
> > do_IRQ+0x1e/0x24
> >  <c0103842> common_interrupt+0x1a/0x20  <c0100b15>
> > default_idle+0x25/0x54
> >  <c01100b91> cpu_idle+0x49/0x60  <c03ba670>
> > start_kernel+0x158/0x16c
> > Code: 8b 1d 00 d3 3e c0 c7 05 00 d3 3e c0 00 00 00
> > 00 fb 85 db 74 23 90 89 da 8b
> >  42 08 85 c0 8b 1b 75 19 9f b3 42 04 19 c0 85 c0 75
> > 02 <0f> 0b ff 72 10 ff 52 0c
> >  528 85 db 75 de 5b c3 fa a1 00 d3 3e c0
> > EIP: [<c011ad25>] tasklet_action+0x2d/0x54 SS:ESP
> > 0068:c03b9f8c
> >  <0>Kernel panic - not syncing: Fatal exception in
> > interrupt
> >
> > I'm using kernel 2.6.17.1 and here's my .config
> > file:
> > http://www.students.itu.edu.tr/~yazicivo/config.txt
> > (Yes, in this config
> > file, kernel is not preemptible despite above output
> > is; that's because
> > that I've tried both a preempt and a non-preempt
> > kernel, but the results
> > were same: kernel panic.)
> >
> > Also this problem occurs again when I try a
> > spc200nc, spc300nc
> > combination too.
> >
> > I'd be very appreciated if you can urgently help me
> > to fix this problem.
> > Please just tell me if you need any further
> > information. (At least, it'll
> > be welcome if you can suggest any webcam model
> > working stable when used
> > concurrently.)
> >
> > Regards.
> >
> > Using Tomcat but need to do more? Need to support
> > web services, security?
> > Get stuff done quickly with pre-integrated
> > technology to make your job easier
> > Download IBM WebSphere Application Server v.1.0.1
> > based on Apache Geronimo
>
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> > _______________________________________________
> > Spca50x-devs mailing list
> > Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
>
> https://lists.sourceforge.net/lists/listinfo/spca50x-devs
>
>
>
> __________________________________________________
> Fale com seus amigos  de graça com o novo Yahoo! Messenger
> http://br.messenger.yahoo.com/
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Spca50x-devs mailing list
> Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/spca50x-devs
Ulisses,
For tester only :
You can test the gspcav1 package with v4l1 only
http://mxhaard.free.fr/spca50x/Investigation/Gspca/
take the last one, i have add a lock between tasklet and the interrupt routine 
that should FIX your problem :) The spc300NC or spc200NC can provided upto 
50fp/s with good light condition.
gspcav2 (v4l2 only) can be tested with your webcam (only the Vimicro chipset 
is implemented ATM) tested with luvcview from:
http://mxhaard.free.fr/spca50x/Investigation/uvc/
take the last one to :)
luvcview -d /dev/video0 -f jpg -s 640x480
best regards from France
-- 
Michel Xhaard
http://mxhaard.free.fr


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs