public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* capture-example.c crash on close_device()
@ 2009-08-05 20:08 Sean
  2009-08-12 21:55 ` Sean
  2009-10-27  8:48 ` Sean
  0 siblings, 2 replies; 3+ messages in thread
From: Sean @ 2009-08-05 20:08 UTC (permalink / raw)
  To: linux-media

Hi,

I have compiled kernel 2.6.30 from kernel.org, and I have also compiled 
capture-example.c from the mercurial depository. These work on laptop 
hardware, but on my DM&P e-box 2300SX (with vortex86 cpu), 
capture-example.c crashes the system. Complete lockup, no keyboard, etc. 
I turned on all debuging in gspca_main, i.e. options gspca_main 
debug=0x1FF. I also put print statements in capture-example.c in main() 
before each function call. Here is the output below. Has anyone had this 
problem?

-------
# capture-example -r
<snip>
gspca: packet [28] o:28644 l:126
gspca: add t:2 l:126
gspca: packet [31] o:31713 l:630
pac207: SOF found, bytes to analyze: 630. Frame starts at byte #19
gspca: add t:3 l:14
gspca: frame complete len:26496 q:1 i:0 o:1
gspca: add t:1 l:0
gspca: add t:2 l:600
gspca: poll
gspca: read (202752)
gspca: dqbuf
gspca: frame wait q:1 i:0 o:0
gspca: autogain: lum: 252, desired: 102, steps: 5
gspca: dqbuf 1
gspca: qbuf 1
gspca: qbuf q:0 i:0 o:0
.stop_capturing()
uninit_device()
close_device()
gspca: capture-example close
gspca: kill transfer
gspca: isoc irq
gspca: isoc irq
gspca: isoc irq

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: capture-example.c crash on close_device()
  2009-08-05 20:08 capture-example.c crash on close_device() Sean
@ 2009-08-12 21:55 ` Sean
  2009-10-27  8:48 ` Sean
  1 sibling, 0 replies; 3+ messages in thread
From: Sean @ 2009-08-12 21:55 UTC (permalink / raw)
  To: linux-media; +Cc: Hans de Goede

Hans,

What do you think is causing this? pac207 driver.

Sean

Sean wrote:
> Hi,
>
> I have compiled kernel 2.6.30 from kernel.org, and I have also 
> compiled capture-example.c from the mercurial depository. These work 
> on laptop hardware, but on my DM&P e-box 2300SX (with vortex86 cpu), 
> capture-example.c crashes the system. Complete lockup, no keyboard, 
> etc. I turned on all debuging in gspca_main, i.e. options gspca_main 
> debug=0x1FF. I also put print statements in capture-example.c in 
> main() before each function call. Here is the output below. Has anyone 
> had this problem?
>
> -------
> # capture-example -r
> <snip>
> gspca: packet [28] o:28644 l:126
> gspca: add t:2 l:126
> gspca: packet [31] o:31713 l:630
> pac207: SOF found, bytes to analyze: 630. Frame starts at byte #19
> gspca: add t:3 l:14
> gspca: frame complete len:26496 q:1 i:0 o:1
> gspca: add t:1 l:0
> gspca: add t:2 l:600
> gspca: poll
> gspca: read (202752)
> gspca: dqbuf
> gspca: frame wait q:1 i:0 o:0
> gspca: autogain: lum: 252, desired: 102, steps: 5
> gspca: dqbuf 1
> gspca: qbuf 1
> gspca: qbuf q:0 i:0 o:0
> .stop_capturing()
> uninit_device()
> close_device()
> gspca: capture-example close
> gspca: kill transfer
> gspca: isoc irq
> gspca: isoc irq
> gspca: isoc irq
> -- 
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: capture-example.c crash on close_device()
  2009-08-05 20:08 capture-example.c crash on close_device() Sean
  2009-08-12 21:55 ` Sean
@ 2009-10-27  8:48 ` Sean
  1 sibling, 0 replies; 3+ messages in thread
From: Sean @ 2009-10-27  8:48 UTC (permalink / raw)
  To: linux-media

I'm still having trouble with capture-example.c completely locking up my 
system. The same os image on other hardware works fine. Where do I start 
looking? What can I do to debug this issue?

Sean

Sean wrote:
> Hi,
>
> I have compiled kernel 2.6.30 from kernel.org, and I have also 
> compiled capture-example.c from the mercurial depository. These work 
> on laptop hardware, but on my DM&P e-box 2300SX (with vortex86 cpu), 
> capture-example.c crashes the system. Complete lockup, no keyboard, 
> etc. I turned on all debuging in gspca_main, i.e. options gspca_main 
> debug=0x1FF. I also put print statements in capture-example.c in 
> main() before each function call. Here is the output below. Has anyone 
> had this problem?
>
> -------
> # capture-example -r
> <snip>
> gspca: packet [28] o:28644 l:126
> gspca: add t:2 l:126
> gspca: packet [31] o:31713 l:630
> pac207: SOF found, bytes to analyze: 630. Frame starts at byte #19
> gspca: add t:3 l:14
> gspca: frame complete len:26496 q:1 i:0 o:1
> gspca: add t:1 l:0
> gspca: add t:2 l:600
> gspca: poll
> gspca: read (202752)
> gspca: dqbuf
> gspca: frame wait q:1 i:0 o:0
> gspca: autogain: lum: 252, desired: 102, steps: 5
> gspca: dqbuf 1
> gspca: qbuf 1
> gspca: qbuf q:0 i:0 o:0
> .stop_capturing()
> uninit_device()
> close_device()
> gspca: capture-example close
> gspca: kill transfer
> gspca: isoc irq
> gspca: isoc irq
> gspca: isoc irq
> -- 
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-10-27  9:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-05 20:08 capture-example.c crash on close_device() Sean
2009-08-12 21:55 ` Sean
2009-10-27  8:48 ` Sean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox