This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x System crash with uvcvideo USB drivers in Kernel 4.1.18

Hello,

It seems that different USB camera the AM335x based system (based on Kernel 4.1.18) freezes at some point without giving any logs.

Here are some comments on the crash:

  • No crashes when disabling the uvcvideo kernel module.
  • No crashes not having webcam connected.
  • There is not difference in crashing between DMA and PIO mode for USB.
  • There is no logging before the system freezes (not in dmesg, not via an GPIO debug header).

Could you please clarify :
-what uvcvideo USB uses case have been validated with kernel 4.1.18?
-what web cam was used for testing?
- What test code was used to test the USB webcam use case?

Some further details will be posted soon.

Thanks in advance,

Anthony

  • Hi,

    I will ask the USB experts to comment.
  • Anthony,

    Typically system crash and freeze mean different things.

    Crash means kernel critical errors which generate dump on serial console or syslog, such as NULL pointer dereference or Kernel Panic, but freeze means kernel or input/output stop responding and typically without much related log on serial console.

    It sounds you ran into the latter situation, is it correct? If so, what is the resolution do you use? The kernel has an known issue which causes some cameras don't work @VGA or above.