Skip to content

USB related system freeze in 4.1.22-ti-r59 #43

@spiderkeys

Description

@spiderkeys

We're currently trying to track down a really nasty issue, seemingly related to the USB interface, on the Beaglebone Black. I'll detail the process below:

Kernel version: 4.1.22-ti-r59

  • Run mjpg-streamer utility for one of our USB webcams at 720p@30fps
  • Anywhere from 2 to 20 minutes later, the entire system will freeze.
  • No errors or kernel messages appear on the serial console; no info to go off of to track down the real cause
  • Serial console becomes entirely unresponsive
  • Power cycle brings the system up again normally

On kernel 4.1.8, I was able to run the camera for several hours without any problem. This is the version that we currently have deployed in our production environment and we've never received any complaints about it.

To make sure I isolated the problem from the actual beaglebone hardware, I ran the test process (start mjpg-streamer and wait until the system crashes) on a fresh, factory flashed BBB with 4.1.8, and it did not crash after several hours. I then inserted a 4.1.22 SD card on the same device and ran the tests again. The system always froze after 2-20 minutes.

Because I had read about past problems concerning freezes as a result of how power is supplied, I have also tried using various methods for supplying power to the board (from the mini USB port, using a 5V-2A supply on the rails, and using a custom 5V supply driven by 18650 li-ion batteries). This didn't seem to have any impact on results.

Coincidentally, I noticed this patch today on the 4.9 kernel: @590da07
Any relation?

I've also read on various message boards that there could supposedly be a silicon defect with the TI AM335x that causes similar problems; any info to confirm or refute this?

Any ideas what might be causing this? I can see that the problem might exist in one of three places: musb, v4l2, or uvcvideo, but my main suspicions lie with musb. I'm currently running the test again on the same hardware using your 4.4.23-ti-r51 build and have not had any problems yet (test 40 minutes underway).

Thanks much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions