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: Freeze/lockup when using USB webcam

Hello TI team,

We are using an ARM Sitara AM335x board (Kernel 4.1.13). We have been running long tests of our device, and we found out an error that we can't really debug. And we have been trying to track it for months now.

We discovered that the device freezes/lockup, and it only happens when we use the USB port. Our device has a USB webcam connected, and it works. But after a couple of minutes or hours (sometimes a whole day), the device freezes and a reboot is needed, in order to use it again. 
(This does not happen when no webcam is connected to the USB).
We have tried different webcams and different fixes:
At first, we tried to load the kernel module uvcvideo for video with different parameter values, as we read in many forums:
$ modprobe uvcvideo nodrop=1 timeout=5000 quirks=0x80

Second, we have tried to rebuild the kernel so we disable the use of DMA, and we use PIO instead.
But the device's lockup still happens, which makes the device useless. 
The Kernel we use is 4.1.13. 
May you have an idea of what could be going wrong?
Any idea or help is really much appreciated, since we have been a long time tracking this issue...
Many thanks and kind regards,
Karim
  • Hi,

    Is this the TI released Processor Linux SDK or other Linux version? What is the camera you use?
  • Dear Biser,

    Thanks for your quick answer. We have tried different webcams. Two of them are:

    LOGITECH C270 HD Webcam

    TRUST 16428 SPOTLIGHT WEBCAM PRO

    We are using Kernel 4.1, which extends from the TI released Processor Linux SDK.

  • I will ask the USB experts to look at this.
  • Hi Karim,

    Does some messages appear on the console when the issues happens? Could you attach the output of the Kernel log "dmesg" and "lsusb -t" when the system still not stuck?

    BR
    Tsvetolin Shulev
  • Hi Tsvetolin,

    Thanks for the help!

    Unfortunately there are no logs of the issue. We have tried leaving dmesg open. Or log dmesg into files. Also, using the device in debug mode using pins, etc. And checked all files in /var/log. But unfortunately we haven't found any log or kernel panic.

    It simple freezes the device. And device is not reachable by any way: touch screen, ssh, internet, etc.

    This is the output of  lsusb -t for three different webcams:

    root@element-a080ae ~ # lsusb -t
    /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=musb-hdrc/1p, 480M
        |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
            |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
            |__ Port 2: Dev 4, If 0, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 2: Dev 4, If 1, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 3: Dev 5, If 0, Class=Video, Driver=uvcvideo, 480M
            |__ Port 3: Dev 5, If 1, Class=Video, Driver=uvcvideo, 480M
            |__ Port 3: Dev 5, If 2, Class=Audio, Driver=, 480M
            |__ Port 3: Dev 5, If 3, Class=Audio, Driver=, 480M

    root@element-d16e34 ~ # lsusb -t
    /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=musb-hdrc/1p, 480M
        |__ Port 1: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 1: Dev 8, If 0, Class=Vendor Specific Class, Driver=ftdi_sio, 12M
            |__ Port 2: Dev 7, If 0, Class=Video, Driver=uvcvideo, 480M
            |__ Port 2: Dev 7, If 1, Class=Video, Driver=uvcvideo, 480M

    root@element-d16e34 ~ # lsusb -t
    /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=musb-hdrc/1p, 480M
        |__ Port 1: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 1: Dev 8, If 0, Class=Vendor Specific Class, Driver=ftdi_sio, 12M
            |__ Port 4: Dev 13, If 0, Class=Video, Driver=uvcvideo, 480M
            |__ Port 4: Dev 13, If 1, Class=Video, Driver=uvcvideo, 480M
            |__ Port 4: Dev 13, If 2, Class=Audio, Driver=, 480M
            |__ Port 4: Dev 13, If 3, Class=Audio, Driver=, 480M

    And this is the output of dmesg in one of the devices, from beginning to end:

    U-Boot SPL 2015.10-00106-g380efde-dirty (Mar 04 2016 - 17:03:04)
    SPL: Detected max. frequency 1000 MHz
    SPL: Boot device = MMC2
    SPL: Boot device = MMC2
    reading u-boot.img
    reading u-boot.img
    
    
    
    U-Boot 2015.10-00106-g380efde-dirty (Mar 04 2016 - 17:03:04 +0000), Build: jenkins-element-uboot-10
    
    
           Watchdog enabled
    
    I2C:   ready
    
    DRAM:  512 MiB
    
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    
    Display not initialized
    
    BDEV:  MMC2
    
    B-ID:  1
    
    Net:   usb_ether
    
    Hit any key to stop autoboot:  3  2  1  0 
    
    Board ID 1 - Standalone - HW Version 0.2/1.0: selecting am335x-the-element-standalone.dtb
    
    Booting system normaly...
    
    Loading am335x-the-element-standalone.dtb...
    
    31580 bytes read in 33 ms (933.6 KiB/s)
    
    Loading uImage...
    
    2473880 bytes read in 167 ms (14.1 MiB/s)
    
    ## Booting kernel from Legacy Image at 82000000 ...
    
       Image Name:   Linux-4.1.13-element-g2c2c4e9-di
    
       Created:      2016-05-12  15:09:59 UTC
    
       Image Type:   ARM Linux Kernel Image (uncompressed)
    
       Data Size:    2473816 Bytes = 2.4 MiB
    
       Load Address: 80008000
    
       Entry Point:  80008000
    
       Verifying Checksum ... OK
    
    ## Flattened Device Tree blob at 88000000
    
       Booting using the fdt blob at 0x88000000
    
       Loading Kernel Image ... OK
    
       Loading Device Tree to 8fff5000, end 8ffffb5b ... OK
    
    
    Starting kernel ...
    
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.1.13-element-g2c2c4e9-dirty (root@jenkins-element-installer-rootfs-94yx6) (gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.05) ) #1 PREEMPT Thu May 12 15:09:43 UTC 2016
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: Printr AM335x The Element Standalone
    [    0.000000] cma: Reserved 24 MiB at 0x9e800000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129920
    [    0.000000] Kernel command line: console=ttyS0,115200n8 root=/dev/mmcblk0p3 rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 487348K/524288K available (4743K kernel code, 198K rwdata, 1740K rodata, 236K init, 169K bss, 12364K reserved, 24576K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc065cf94   (6484 kB)
    [    0.000000]       .init : 0xc065d000 - 0xc0698000   ( 236 kB)
    [    0.000000]       .data : 0xc0698000 - 0xc06c9aa8   ( 199 kB)
    [    0.000000]        .bss : 0xc06cc000 - 0xc06f66e0   ( 170 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	Additional per-CPU info printed with stalls.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000012] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000031] clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000041] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000203] Console: colour dummy device 80x30
    [    0.000233] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
    [    0.089324] pid_max: default: 32768 minimum: 301
    [    0.089415] Security Framework initialized
    [    0.089462] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.089471] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.090100] Initializing cgroup subsys blkio
    [    0.090123] Initializing cgroup subsys memory
    [    0.090164] Initializing cgroup subsys devices
    [    0.090177] Initializing cgroup subsys freezer
    [    0.090190] Initializing cgroup subsys perf_event
    [    0.090212] CPU: Testing write buffer coherency: ok
    [    0.090581] Setting up static identity map for 0x80008200 - 0x80008258
    [    0.092012] devtmpfs: initialized
    [    0.100355] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.107555] omap_hwmod: tptc0 using broken dt data from edma
    [    0.107649] omap_hwmod: tptc1 using broken dt data from edma
    [    0.107728] omap_hwmod: tptc2 using broken dt data from edma
    [    0.111975] omap_hwmod: debugss: _wait_target_disable failed
    [    0.166681] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.168809] pinctrl core: initialized pinctrl subsystem
    [    0.170102] NET: Registered protocol family 16
    [    0.171974] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.199315] cpuidle: using governor ladder
    [    0.229304] cpuidle: using governor menu
    [    0.232545] OMAP GPIO hardware version 0.1
    [    0.240376] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.276151] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [    0.278087] SCSI subsystem initialized
    [    0.278393] usbcore: registered new interface driver usbfs
    [    0.278465] usbcore: registered new interface driver hub
    [    0.278600] usbcore: registered new device driver usb
    [    0.278936] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [    0.278980] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins, deferring probe
    [    0.279079] media: Linux media interface: v0.10
    [    0.279146] Linux video capture interface: v2.00
    [    0.279193] pps_core: LinuxPPS API ver. 1 registered
    [    0.279200] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.279227] PTP clock support registered
    [    0.280100] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.280938] Switched to clocksource timer1
    [    0.290295] NET: Registered protocol family 2
    [    0.291142] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.291187] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.291225] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.291296] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.291313] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.291460] NET: Registered protocol family 1
    [    0.292223] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
    [    0.292264] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.293943] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.294017] audit: initializing netlink subsys (disabled)
    [    0.294095] audit: type=2000 audit(0.280:1): initialized
    [    0.300498] VFS: Disk quotas dquot_6.6.0
    [    0.300686] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.301856] ntfs: driver 2.1.32 [Flags: R/W].
    [    0.303843] NET: Registered protocol family 38
    [    0.303901] io scheduler noop registered
    [    0.303955] io scheduler cfq registered (default)
    [    0.304930] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.307200] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [    0.307960] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.311221] console [ttyS0] disabled
    [    0.311305] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 155, base_baud = 3000000) is a 8250
    [    0.922326] console [ttyS0] enabled
    [    0.926677] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 156, base_baud = 3000000) is a 8250
    [    0.936098] [drm] Initialized drm 1.1.0 20060810
    [    0.950158] brd: module loaded
    [    0.957729] loop: module loaded
    [    0.961560] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    0.968123] ehci-omap: OMAP-EHCI Host Controller driver
    [    0.973631] usbcore: registered new interface driver cdc_acm
    [    0.979317] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [    0.987469] usbcore: registered new interface driver usb-storage
    [    0.994552] 47401300.usb-phy supply vcc not found, using dummy regulator
    [    1.033644] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [    1.062781] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [    1.068575] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
    [    1.076690] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    1.083543] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.090798] usb usb1: Product: MUSB HDRC host driver
    [    1.095797] usb usb1: Manufacturer: Linux 4.1.13-element-g2c2c4e9-dirty musb-hcd
    [    1.103237] usb usb1: SerialNumber: musb-hdrc.1.auto
    [    1.108925] hub 1-0:1.0: USB hub found
    [    1.112795] hub 1-0:1.0: 1 port detected
    [    1.147010] mousedev: PS/2 mouse device common for all mice
    [    1.153522] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [    1.160767] i2c /dev entries driver
    [    1.254915] mmc0: MAN_BKOPS_EN bit is not set
    [    1.263007] mmc0: new high speed MMC card at address 0001
    [    1.268882] mmcblk0: mmc0:0001 MMC04G 3.60 GiB 
    [    1.273619] mmcblk0boot0: mmc0:0001 MMC04G partition 1 16.0 MiB
    [    1.279675] mmcblk0boot1: mmc0:0001 MMC04G partition 2 16.0 MiB
    [    1.291321]  mmcblk0: p1 p2 p3 p4 < p5 p6 >
    [    1.332170] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.338511] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [    1.346812] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [    1.355388] omap_hsmmc 47810000.mmc: card claims to support voltages below defined range
    [    1.364224]  remoteproc0: wkup_m3 is available
    [    1.368693]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [    1.377873]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    1.388535]  remoteproc0: Direct firmware load for am335x-pm-firmware.elf failed with error -2
    [    1.398147] oprofile: using arm/armv7
    [    1.402354] Initializing XFRM netlink socket
    [    1.406681]  remoteproc0: Falling back to user helper
    [    1.411884] NET: Registered protocol family 17
    [    1.416760] NET: Registered protocol family 15
    [    1.421353] Key type dns_resolver registered
    [    1.425849] omap_voltage_late_init: Voltage driver support not added
    [    1.432798] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517
    [    1.441622] cpu cpu0: cpu0 clock notifier not ready, retry
    [    1.447501] ThumbEE CPU extension supported.
    [    1.451865] Registering SWP/SWPB emulation handler
    [    1.462083] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
    [    1.468239] mmc1: new high speed SDIO card at address 0001
    [    1.481978] tps65217 0-0024: TPS65217 ID 0xe version 1.2
    [    1.487347] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.494021] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
    [    1.500499] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating voltage latency[950000<->1325000]:-22
    [    1.510790] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating voltage latency[950000<->1325000]:-22
    [    1.521077] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
    [    1.533026] wlan-en-regulator: disabling
    [    1.542864] EXT4-fs (mmcblk0p3): INFO: recovery required on readonly filesystem
    [    1.550222] EXT4-fs (mmcblk0p3): write access will be enabled during recovery
    [    1.557465] usb 1-1: new high-speed USB device number 2 using musb-hdrc
    [    1.702160] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
    [    1.709656] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [    1.716864] usb 1-1: Product: USB2.0 Hub
    [    1.721745] hub 1-1:1.0: USB hub found
    [    1.726729] hub 1-1:1.0: 4 ports detected
    [    2.011000] usb 1-1.1: new full-speed USB device number 3 using musb-hdrc
    [    2.118478] usb 1-1.1: New USB device found, idVendor=0403, idProduct=6001
    [    2.125496] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    2.132907] usb 1-1.1: Product: FT232R USB UART
    [    2.137482] usb 1-1.1: Manufacturer: FTDI
    [    2.141571] usb 1-1.1: SerialNumber: A7049BC8
    [    2.231033] usb 1-1.2: new high-speed USB device number 4 using musb-hdrc
    [    2.370349] usb 1-1.2: New USB device found, idVendor=0c45, idProduct=62c0
    [    2.377341] usb 1-1.2: New USB device strings: Mfr=2, Product=1, SerialNumber=0
    [    2.384747] usb 1-1.2: Product: Trust Webcam
    [    2.389058] usb 1-1.2: Manufacturer: Trust Webcam
    [    2.575770] EXT4-fs (mmcblk0p3): recovery complete
    [    2.587126] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
    [    2.595468] VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
    [    2.604165] devtmpfs: mounted
    [    2.608175] Freeing unused kernel memory: 236K (c065d000 - c0698000)
    [    2.893976] random: systemd urandom read with 24 bits of entropy available
    [    2.906225] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
    [    2.920308] systemd[1]: Detected architecture 'arm'.
    
    Welcome to [1mDebian GNU/Linux 8 (jessie)[0m!
    
    [    3.024519] systemd[1]: Inserted module 'autofs4'
    [    3.029742] systemd[1]: Failed to insert module 'ipv6'
    [    3.037871] systemd[1]: Set hostname to <element-7514f7>.
    [    3.511565] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
    [    3.530005] systemd[1]: Expecting device dev-ttyS0.device...
             Expecting device dev-ttyS0.device...
    [    3.561291] systemd[1]: Expecting device dev-ttyGS0.device...
             Expecting device dev-ttyGS0.device...
    [    3.591229] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
    [    3.599324] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    3.607248] systemd[1]: Starting Remote File Systems (Pre).
    [[32m  OK  [0m] Reached target Remote File Systems (Pre).
    [    3.631198] systemd[1]: Reached target Remote File Systems (Pre).
    [    3.637553] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
    [    3.646062] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    3.654209] systemd[1]: Starting Paths.
    [[32m  OK  [0m] Reached target Paths.
    [    3.681183] systemd[1]: Reached target Paths.
    [    3.685838] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
    [[32m  OK  [0m] Set up automount Arbitrary Executable File Formats F...utomount Point.
    [    3.721221] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
    [    3.730823] systemd[1]: Starting Encrypted Volumes.
    [[32m  OK  [0m] Reached target Encrypted Volumes.
    [    3.751191] systemd[1]: Reached target Encrypted Volumes.
    [    3.756751] systemd[1]: Expecting device dev-mmcblk0p5.device...
             Expecting device dev-mmcblk0p5.device...
    [    3.781977] systemd[1]: Expecting device dev-mmcblk0p6.device...
             Expecting device dev-mmcblk0p6.device...
    [    3.811257] systemd[1]: Starting Root Slice.
    [[32m  OK  [0m] Created slice Root Slice.
    [    3.831226] systemd[1]: Created slice Root Slice.
    [    3.836105] systemd[1]: Starting User and Session Slice.
    [[32m  OK  [0m] Created slice User and Session Slice.
    [    3.861264] systemd[1]: Created slice User and Session Slice.
    [    3.867201] systemd[1]: Starting Delayed Shutdown Socket.
    [[32m  OK  [0m] Listening on Delayed Shutdown Socket.
    [    3.891255] systemd[1]: Listening on Delayed Shutdown Socket.
    [    3.897184] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
    [[32m  OK  [0m] Listening on /dev/initctl Compatibility Named Pipe.
    [    3.921248] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [    3.928395] systemd[1]: Starting Journal Socket (/dev/log).
    [[32m  OK  [0m] Listening on Journal Socket (/dev/log).
    [    3.951240] systemd[1]: Listening on Journal Socket (/dev/log).
    [    3.957396] systemd[1]: Starting udev Kernel Socket.
    [[32m  OK  [0m] Listening on udev Kernel Socket.
    [    3.981234] systemd[1]: Listening on udev Kernel Socket.
    [    3.986772] systemd[1]: Starting udev Control Socket.
    [[32m  OK  [0m] Listening on udev Control Socket.
    [    4.011238] systemd[1]: Listening on udev Control Socket.
    [    4.016856] systemd[1]: Starting Journal Socket.
    [[32m  OK  [0m] Listening on Journal Socket.
    [    4.041250] systemd[1]: Listening on Journal Socket.
    [    4.046518] systemd[1]: Starting System Slice.
    [[32m  OK  [0m] Created slice System Slice.
    [    4.071274] systemd[1]: Created slice System Slice.
    [    4.076491] systemd[1]: Starting File System Check on Root Device...
             Starting File System Check on Root Device...
    [    4.105434] systemd[1]: Starting system-systemd\x2dfsck.slice.
    [[32m  OK  [0m] Created slice system-systemd\x2dfsck.slice.
    [    4.141461] systemd[1]: Created slice system-systemd\x2dfsck.slice.
    [    4.147992] systemd[1]: Starting system-getty.slice.
    [[32m  OK  [0m] Created slice system-getty.slice.[    4.156638] systemd[1]: Created slice system-getty.slice.
    
    [    4.167284] systemd[1]: Starting system-serial\x2dgetty.slice.
    [[32m  OK  [0m] Created slice system-serial\x2dgetty.slice.[    4.175724] systemd[1]: Created slice system-serial\x2dgetty.slice.
    
    [    4.188618] systemd[1]: Starting Increase datagram queue length...
             Starting Increase datagram queue length...
    [    4.206737] systemd[1]: Mounting Debug File System...
             Mounting Debug File System...
    [    4.229208] systemd[1]: Starting udev Coldplug all Devices...
             Starting udev Coldplug all Devices...
    [    4.278434] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    4.327698] systemd[1]: Mounted Huge Pages File System.
    [    4.372200] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    4.413141] systemd[1]: Started Set Up Additional Binary Formats.
    [    4.438073] systemd[1]: Starting Create list of required static device nodes for the current kernel...
             Starting Create list of required static device nodes...rrent kernel...
    [    4.489244] fuse init (API version 7.23)
    [    4.497068] systemd[1]: Starting Slices.
    [[32m  OK  [0m] Reached target Slices.
    [    4.531408] systemd[1]: Reached target Slices.
    [[32m  OK  [0m] Mounted POSIX Message Queue File System.
    [    4.563503] systemd[1]: Mounted POSIX Message Queue File System.
    [[32m  OK  [0m] Mounted Debug File System.
    [    4.591345] systemd[1]: Mounted Debug File System.
    [[32m  OK  [0m] Started File System Check on Root Device.
    [    4.621421] systemd[1]: Started File System Check on Root Device.
    [[32m  OK  [0m] Started Increase datagram queue length.
    [    4.662287] systemd[1]: Started Increase datagram queue length.
    [[32m  OK  [0m] Started Create list of required static device nodes ...current kernel.
    [    4.711541] systemd[1]: Started Create list of required static device nodes for the current kernel.
    [    4.764126] cfg80211: Calling CRDA to update world regulatory domain
    [[32m  OK  [0m] Started udev Coldplug all Devices.
    [    4.911452] systemd[1]: Started udev Coldplug all Devices.
    [    4.982065] systemd[1]: Starting Create Static Device Nodes in /dev...
             Starting Create Static Device Nodes in /dev...
    [    5.015249] systemd[1]: Starting Syslog Socket.
    [[32m  OK  [0m] Listening on Syslog Socket.
    [    5.051704] systemd[1]: Listening on Syslog Socket.
    [    5.056818] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [[32m  OK  [0m] Started Journal Service.
    [    5.112829] systemd[1]: Started Journal Service.
             Starting Remount Root and Kernel File Systems...
    [    5.224885] EXT4-fs (mmcblk0p3): re-mounted. Opts: errors=remount-ro
    [[32m  OK  [0m] Started Remount Root and Kernel File Systems.
             Starting Load/Save Random Seed...
    [[32m  OK  [0m] Started Create Static Device Nodes in /dev.
    [[32m  OK  [0m] Started Load/Save Random Seed.
             Starting udev Kernel Device Manager...
    [[32m  OK  [0m] Reached target Local File Systems (Pre).
    [[32m  OK  [0m] Started udev Kernel Device Manager.[    5.601560] systemd-udevd[102]: starting version 215
    
             Starting Copy rules generated while the root was ro...
    [    5.668509] systemd-fsck[74]: /dev/mmcblk0p3: clean, 31818/64000 files, 142045/243712 blocks
    [[32m  OK  [0m] Started Copy rules generated while the root was ro.
    [    5.969769] g_serial gadget: Gadget Serial v2.4
    [    5.983096] g_serial gadget: g_serial ready
    [[32m  OK  [0m] Started Load Kernel Modules.
             Starting Apply Kernel Variables...
             Mounting FUSE Control File System...
             Mounting Configuration File System...
    [    6.215523] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    6.243927] g_serial gadget: high-speed config #2: CDC ACM config
    [    6.261782] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
    [    6.271851] cfg80211: World regulatory domain updated:
    [    6.277040] cfg80211:  DFS Master region: unset[[32m  OK  [0m] Mounted FUSE Control File System.
    [[32m  OK  [0m] Mounted Configuration File System.
    [[32m  OK  [0m] Started Apply Kernel Variables.
    
    [    6.341216] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [    6.411306] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [    6.419368] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [[32m  OK  [0m] Found device /dev/ttyS0.
    [    6.525935] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
    [    6.602078] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
    [    6.656309] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
    [    6.709556] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
    [    6.734022] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    [    6.749837] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    6.774508] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
    [    6.888401] usbcore: registered new interface driver usbserial
    [[32m  OK  [0m] Found device /dev/mmcblk0p6.[    6.947323] usbcore: registered new interface driver ftdi_sio
    
             Starting File System Check on /dev/mmcblk0p6...
    [    7.008512] usbserial: USB Serial support registered for FTDI USB Serial Device
    [[32m  OK  [0m] Found device /dev/mmcblk0p5.
    [    7.074294] ftdi_sio 1-1.1:1.0: FTDI USB Serial Device converter detected
             Activating swap /dev/mmcblk0p5...
    [    7.113199] wlcore: loaded
    [    7.129118] uvcvideo: Found UVC 1.00 device Trust Webcam (0c45:62c0)
    [    7.179951] usb 1-1.1: Detected FT232RL
    [    7.216002]  remoteproc0: powering up wkup_m3
    [    7.223974] PM: bootloader does not support rtc-only!
    [    7.230745] input: Trust Webcam as /devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1.auto/usb1/1-1/1-1.2/1-1.2:1.0/input/input0
    [    7.257505] usb 1-1.1: FTDI USB Serial Device converter now attached to ttyUSB0
    [    7.272891]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 219803
    [    7.280511]  remoteproc0: remote processor wkup_m3 is now up
    [    7.286213] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191
    [    7.333887] Adding 500732k swap on /dev/mmcblk0p5.  Priority:-1 extents:1 across:500732k SS
    [    7.375891] usbcore: registered new interface driver uvcvideo
    [    7.385982] systemd-fsck[131]: DATA: recovering journal
    [    7.422859] USB Video Class driver (1.1.1)
    [[32m  OK  [0m] Activated swap /dev/mmcblk0p5.
    [    7.542871] systemd-fsck[131]: DATA: clean, 18/131376 files, 25421/525312 blocks
    [[32m  OK  [0m] Started File System Check on /dev/mmcblk0p6.
             Mounting /data...
    [[32m  OK  [0m] Reached target Swap.
    [[32m  OK  [0m] Found device /dev/ttyGS0.
    [    8.021562] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: errors=remount-ro
    [[32m  OK  [0m] Mounted /data.
    [[32m  OK  [0m] Reached target Local File Systems.
             Starting netfilter persistent configuration...
             Starting Create Volatile Files and Directories...
    [[32m  OK  [0m] Reached target Remote File Systems.
             Starting Trigger Flushing of Journal to Persistent Storage...
             Starting LSB: Raise network interfaces....
    [[32m  OK  [0m] Started Create Volatile Files and Directories.
    [    8.314726] systemd-journald[95]: Received request to flush runtime journal from PID 1
    [    8.353628] ip_tables: (C) 2000-2006 Netfilter Core Team
    [[32m  OK  [0m] Started Trigger Flushing of Journal to Persistent Storage.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [    8.511838] nf_conntrack version 0.5.0 (8002 buckets, 32008 max)
    [[32m  OK  [0m] Started Update UTMP about System Boot/Shutdown.
    [[32m  OK  [0m] Started Network Time Synchronization.
    [[32m  OK  [0m] Reached target System Time Synchronized.
    [[32m  OK  [0m] Started netfilter persistent configuration.
    [[32m  OK  [0m] Started LSB: Raise network interfaces..
    [[32m  OK  [0m] Reached target Network.
    [[32m  OK  [0m] Reached target System Initialization.
    [[32m  OK  [0m] Listening on D-Bus System Message Bus Socket.
    [[32m  OK  [0m] Reached target Sockets.
    [[32m  OK  [0m] Reached target Timers.
    [[32m  OK  [0m] Reached target Basic System.
             Starting FormideOS Client...
    [[32m  OK  [0m] Started FormideOS Client.
             Starting OpenBSD Secure Shell server...
    [[32m  OK  [0m] Started OpenBSD Secure Shell server.
             Starting Regular background program processing daemon...
    [[32m  OK  [0m] Started Regular background program processing daemon.
             Starting /etc/rc.local Compatibility...
    [    9.386249] random: nonblocking pool is initialized
             Starting Login Service...
             Starting LSB: Start Motion detection...
             Starting D-Bus System Message Bus...
    [[32m  OK  [0m] Started D-Bus System Message Bus.
             Starting System Logging Service...
             Starting Permit User Sessions...
    [[32m  OK  [0m] Started LSB: Start Motion detection.
    [[32m  OK  [0m] Started Permit User Sessions.
    [[32m  OK  [0m] Started Login Service.
             Starting Hostname Service...
    [[32m  OK  [0m] Started System Logging Service.
    [[32m  OK  [0m] Started Hostname Service.
             Starting WiFi watchdog...
    [[32m  OK  [0m] Started LSB: Start Motion detection.
    [[32m  OK  [0m] Started /etc/rc.local Compatibility.
    [[32m  OK  [0m] Stopped WiFi client.
             Starting WiFi client...
             Starting Getty on tty1...
    [[32m  OK  [0m] Started Getty on tty1.
             Starting Serial Getty on ttyGS0...
    [[32m  OK  [0m] Started Serial Getty on ttyGS0.
             Starting Serial Getty on ttyS0...
    [[32m  OK  [0m] Started Serial Getty on ttyS0.
    [[32m  OK  [0m] Reached target Login Prompts.
    [[32m  OK  [0m] Reached target Multi-User System.
    [[32m  OK  [0m] Reached target Graphical Interface.
             Starting Update UTMP about System Runlevel Changes...
    [[32m  OK  [0m] Started Update UTMP about System Runlevel Changes.
    [   15.031668] wlcore: PHY firmware version: Rev 8.2.0.0.228
    [   15.111326] wlcore: firmware booted (Rev 8.9.0.0.39)
    [   16.121529] wlan0: authenticate with 2c:30:33:ce:41:b6
    [   16.136164] wlan0: direct probe to 2c:30:33:ce:41:b6 (try 1/3)
    [   16.361866] wlan0: send auth to 2c:30:33:ce:41:b6 (try 2/3)
    [   16.384177] wlan0: authenticated
    [   16.401101] wlan0: associate with 2c:30:33:ce:41:b6 (try 1/3)
    [   16.421708] wlan0: RX AssocResp from 2c:30:33:ce:41:b6 (capab=0x1411 status=0 aid=6)
    [   16.462852] wlan0: associated
    [   16.757558] wlcore: Association completed.
             Starting Time & Date Service...
    [[32m  OK  [0m] Started Time & Date Service.
    [[32m  OK  [0m] Started WiFi client.
    
    
    The Element 7514f7
    element-7514f7 login: [   62.921186] ttyUSB0: 2 input overrun(s)
    [ 8313.942544] wlcore: ERROR SW watchdog interrupt received! starting recovery.
    [ 8313.950026] ------------[ cut here ]------------
    [ 8313.955002] WARNING: CPU: 0 PID: 125 at drivers/net/wireless/ti/wlcore/main.c:802 wl12xx_queue_recovery_work+0x34/0x78 [wlcore]()
    [ 8313.967070] Modules linked in: ctr ccm iptable_filter xt_REDIRECT nf_nat_redirect xt_tcpudp iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables evdev pm33xx uvcvideo arc4 ftdi_sio usbserial videobuf2_vmalloc omap_rng rng_core omap_wdt usb_f_acm u_serial g_serial libcomposite wlcore_sdio wl18xx wlcore mac80211 cfg80211 fuse autofs4
    [ 8314.002580] CPU: 0 PID: 125 Comm: irq/40-wl18xx Not tainted 4.1.13-element-g2c2c4e9-dirty #1
    [ 8314.011123] Hardware name: Generic AM33XX (Flattened Device Tree)
    [ 8314.017313] Backtrace: 
    [ 8314.019869] [<c0012028>] (dump_backtrace) from [<c0012248>] (show_stack+0x18/0x1c)
    [ 8314.027541]  r7:00000322 r6:bf0edf00 r5:00000009 r4:00000000
    [ 8314.034003] [<c0012230>] (show_stack) from [<c04a2618>] (dump_stack+0x20/0x28)
    [ 8314.041452] [<c04a25f8>] (dump_stack) from [<c003201c>] (warn_slowpath_common+0x8c/0xb4)
    [ 8314.049905] [<c0031f90>] (warn_slowpath_common) from [<c00320e8>] (warn_slowpath_null+0x24/0x2c)
    [ 8314.058914]  r8:00000001 r7:c006143c r6:ddbccdc8 r5:ddbccc38 r4:ddbccc00
    [ 8314.065972] [<c00320c4>] (warn_slowpath_null) from [<bf0da9f8>] (wl12xx_queue_recovery_work+0x34/0x78 [wlcore])
    [ 8314.076340] [<bf0da9c4>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0dae04>] (wlcore_irq+0x164/0x224 [wlcore])
    [ 8314.086841]  r5:ddbccc38 r4:ddbccc00
    [ 8314.090599] [<bf0daca0>] (wlcore_irq [wlcore]) from [<c0061460>] (irq_thread_fn+0x24/0x3c)
    [ 8314.098982]  r7:c006143c r6:dd8d2900 r5:dc817d00 r4:dc817d00
    [ 8314.104856] [<c006143c>] (irq_thread_fn) from [<c00616a0>] (irq_thread+0xc4/0x13c)
    [ 8314.112525]  r7:c006143c r6:ddd8a000 r5:dc817d00 r4:dd8d2900
    [ 8314.118938] [<c00615dc>] (irq_thread) from [<c004a0c8>] (kthread+0xd8/0xec)
    [ 8314.126018]  r8:00000000 r7:c00615dc r6:dc817d00 r5:00000000 r4:dc817d80
    [ 8314.133154] [<c0049ff0>] (kthread) from [<c000f028>] (ret_from_fork+0x14/0x2c)
    [ 8314.140704]  r7:00000000 r6:00000000 r5:c0049ff0 r4:dc817d80
    [ 8314.146777] ---[ end trace b9f22e89f0bffc2c ]---
    [ 8314.157482] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.39
    [ 8314.173059] wlcore: pc: 0x13dfe, hint_sts: 0x00000000 count: 1
    [ 8314.179441] wlcore: down
    [ 8314.184235] ieee80211 phy0: Hardware restart was requested
    [ 8314.625624] wlcore: PHY firmware version: Rev 8.2.0.0.228
    [ 8314.690590] wlcore: firmware booted (Rev 8.9.0.0.39)
    [ 8314.724159] wlcore: Association completed.
    [ 8786.436885] wlcore: ERROR SW watchdog interrupt received! starting recovery.
    [ 8786.444216] ------------[ cut here ]------------
    [ 8786.449213] WARNING: CPU: 0 PID: 125 at drivers/net/wireless/ti/wlcore/main.c:802 wl12xx_queue_recovery_work+0x34/0x78 [wlcore]()
    [ 8786.461266] Modules linked in: ctr ccm iptable_filter xt_REDIRECT nf_nat_redirect xt_tcpudp iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables evdev pm33xx uvcvideo arc4 ftdi_sio usbserial videobuf2_vmalloc omap_rng rng_core omap_wdt usb_f_acm u_serial g_serial libcomposite wlcore_sdio wl18xx wlcore mac80211 cfg80211 fuse autofs4
    [ 8786.496014] CPU: 0 PID: 125 Comm: irq/40-wl18xx Tainted: G        W       4.1.13-element-g2c2c4e9-dirty #1
    [ 8786.505783] Hardware name: Generic AM33XX (Flattened Device Tree)
    [ 8786.511973] Backtrace: 
    [ 8786.514515] [<c0012028>] (dump_backtrace) from [<c0012248>] (show_stack+0x18/0x1c)
    [ 8786.522197]  r7:00000322 r6:bf0edf00 r5:00000009 r4:00000000
    [ 8786.528042] [<c0012230>] (show_stack) from [<c04a2618>] (dump_stack+0x20/0x28)
    [ 8786.535397] [<c04a25f8>] (dump_stack) from [<c003201c>] (warn_slowpath_common+0x8c/0xb4)
    [ 8786.543739] [<c0031f90>] (warn_slowpath_common) from [<c00320e8>] (warn_slowpath_null+0x24/0x2c)
    [ 8786.552740]  r8:00000001 r7:c006143c r6:ddbccdc8 r5:ddbccc38 r4:ddbccc00
    [ 8786.560093] [<c00320c4>] (warn_slowpath_null) from [<bf0da9f8>] (wl12xx_queue_recovery_work+0x34/0x78 [wlcore])
    [ 8786.570464] [<bf0da9c4>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0dae04>] (wlcore_irq+0x164/0x224 [wlcore])
    [ 8786.580950]  r5:ddbccc38 r4:ddbccc00
    [ 8786.584833] [<bf0daca0>] (wlcore_irq [wlcore]) from [<c0061460>] (irq_thread_fn+0x24/0x3c)
    [ 8786.593221]  r7:c006143c r6:dd8d2900 r5:dc817d00 r4:dc817d00
    [ 8786.599069] [<c006143c>] (irq_thread_fn) from [<c00616a0>] (irq_thread+0xc4/0x13c)
    [ 8786.606755]  r7:c006143c r6:ddd8a000 r5:dc817d00 r4:dd8d2900
    [ 8786.612650] [<c00615dc>] (irq_thread) from [<c004a0c8>] (kthread+0xd8/0xec)
    [ 8786.619663]  r8:00000000 r7:c00615dc r6:dc817d00 r5:00000000 r4:dc817d80
    [ 8786.626641] [<c0049ff0>] (kthread) from [<c000f028>] (ret_from_fork+0x14/0x2c)
    [ 8786.633969]  r7:00000000 r6:00000000 r5:c0049ff0 r4:dc817d80
    [ 8786.640182] ---[ end trace b9f22e89f0bffc2d ]---
    [ 8786.645070] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.39
    [ 8786.700725] wlcore: pc: 0x13dfe, hint_sts: 0x00000000 count: 2
    [ 8786.731346] wlcore: down
    [ 8786.741284] ieee80211 phy0: Hardware restart was requested
    [ 8787.196027] wlcore: PHY firmware version: Rev 8.2.0.0.228
    [ 8787.257776] wlcore: firmware booted (Rev 8.9.0.0.39)
    [ 8787.287142] wlcore: Association completed.
    [ 9278.569308] wlcore: ERROR SW watchdog interrupt received! starting recovery.
    [ 9278.576756] ------------[ cut here ]------------
    [ 9278.581731] WARNING: CPU: 0 PID: 125 at drivers/net/wireless/ti/wlcore/main.c:802 wl12xx_queue_recovery_work+0x34/0x78 [wlcore]()
    [ 9278.593778] Modules linked in: ctr ccm iptable_filter xt_REDIRECT nf_nat_redirect xt_tcpudp iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables evdev pm33xx uvcvideo arc4 ftdi_sio usbserial videobuf2_vmalloc omap_rng rng_core omap_wdt usb_f_acm u_serial g_serial libcomposite wlcore_sdio wl18xx wlcore mac80211 cfg80211 fuse autofs4
    [ 9278.629773] CPU: 0 PID: 125 Comm: irq/40-wl18xx Tainted: G        W       4.1.13-element-g2c2c4e9-dirty #1
    [ 9278.639541] Hardware name: Generic AM33XX (Flattened Device Tree)
    [ 9278.645765] Backtrace: 
    [ 9278.648311] [<c0012028>] (dump_backtrace) from [<c0012248>] (show_stack+0x18/0x1c)
    [ 9278.655996]  r7:00000322 r6:bf0edf00 r5:00000009 r4:00000000
    [ 9278.662373] [<c0012230>] (show_stack) from [<c04a2618>] (dump_stack+0x20/0x28)
    [ 9278.669751] [<c04a25f8>] (dump_stack) from [<c003201c>] (warn_slowpath_common+0x8c/0xb4)
    [ 9278.677983] [<c0031f90>] (warn_slowpath_common) from [<c00320e8>] (warn_slowpath_null+0x24/0x2c)
    [ 9278.686891]  r8:00000001 r7:c006143c r6:ddbccdc8 r5:ddbccc38 r4:ddbccc00
    [ 9278.694365] [<c00320c4>] (warn_slowpath_null) from [<bf0da9f8>] (wl12xx_queue_recovery_work+0x34/0x78 [wlcore])
    [ 9278.704724] [<bf0da9c4>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0dae04>] (wlcore_irq+0x164/0x224 [wlcore])
    [ 9278.715220]  r5:ddbccc38 r4:ddbccc00
    [ 9278.718989] [<bf0daca0>] (wlcore_irq [wlcore]) from [<c0061460>] (irq_thread_fn+0x24/0x3c)
    [ 9278.727373]  r7:c006143c r6:dd8d2900 r5:dc817d00 r4:dc817d00
    [ 9278.733251] [<c006143c>] (irq_thread_fn) from [<c00616a0>] (irq_thread+0xc4/0x13c)
    [ 9278.740877]  r7:c006143c r6:ddd8a000 r5:dc817d00 r4:dd8d2900
    [ 9278.746783] [<c00615dc>] (irq_thread) from [<c004a0c8>] (kthread+0xd8/0xec)
    [ 9278.753821]  r8:00000000 r7:c00615dc r6:dc817d00 r5:00000000 r4:dc817d80
    [ 9278.761720] [<c0049ff0>] (kthread) from [<c000f028>] (ret_from_fork+0x14/0x2c)
    [ 9278.769024]  r7:00000000 r6:00000000 r5:c0049ff0 r4:dc817d80
    [ 9278.774888] ---[ end trace b9f22e89f0bffc2e ]---
    [ 9278.784649] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.39
    [ 9278.801134] wlcore: pc: 0x13dfe, hint_sts: 0x00000000 count: 3
    [ 9278.807485] wlcore: down
    [ 9278.812101] ieee80211 phy0: Hardware restart was requested
    [ 9279.256741] wlcore: PHY firmware version: Rev 8.2.0.0.228
    [ 9279.317174] wlcore: firmware booted (Rev 8.9.0.0.39)
    [ 9279.349923] wlcore: Association completed.
    [11331.920115] wlcore: ERROR SW watchdog interrupt received! starting recovery.
    [11331.927467] ------------[ cut here ]------------
    [11331.932492] WARNING: CPU: 0 PID: 125 at drivers/net/wireless/ti/wlcore/main.c:802 wl12xx_queue_recovery_work+0x34/0x78 [wlcore]()
    [11331.944542] Modules linked in: ctr ccm iptable_filter xt_REDIRECT nf_nat_redirect xt_tcpudp iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables evdev pm33xx uvcvideo arc4 ftdi_sio usbserial videobuf2_vmalloc omap_rng rng_core omap_wdt usb_f_acm u_serial g_serial libcomposite wlcore_sdio wl18xx wlcore mac80211 cfg80211 fuse autofs4
    [11331.979309] CPU: 0 PID: 125 Comm: irq/40-wl18xx Tainted: G        W       4.1.13-element-g2c2c4e9-dirty #1
    [11331.989083] Hardware name: Generic AM33XX (Flattened Device Tree)
    [11331.995247] Backtrace: 
    [11331.997786] [<c0012028>] (dump_backtrace) from [<c0012248>] (show_stack+0x18/0x1c)
    [11332.005480]  r7:00000322 r6:bf0edf00 r5:00000009 r4:00000000
    [11332.011370] [<c0012230>] (show_stack) from [<c04a2618>] (dump_stack+0x20/0x28)
    [11332.018724] [<c04a25f8>] (dump_stack) from [<c003201c>] (warn_slowpath_common+0x8c/0xb4)
    [11332.026929] [<c0031f90>] (warn_slowpath_common) from [<c00320e8>] (warn_slowpath_null+0x24/0x2c)
    [11332.035926]  r8:00000001 r7:c006143c r6:ddbccdc8 r5:ddbccc38 r4:ddbccc00
    [11332.043399] [<c00320c4>] (warn_slowpath_null) from [<bf0da9f8>] (wl12xx_queue_recovery_work+0x34/0x78 [wlcore])
    [11332.053873] [<bf0da9c4>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0dae04>] (wlcore_irq+0x164/0x224 [wlcore])
    [11332.064365]  r5:ddbccc38 r4:ddbccc00
    [11332.068132] [<bf0daca0>] (wlcore_irq [wlcore]) from [<c0061460>] (irq_thread_fn+0x24/0x3c)
    [11332.076505]  r7:c006143c r6:dd8d2900 r5:dc817d00 r4:dc817d00
    [11332.082388] [<c006143c>] (irq_thread_fn) from [<c00616a0>] (irq_thread+0xc4/0x13c)
    [11332.090049]  r7:c006143c r6:ddd8a000 r5:dc817d00 r4:dd8d2900
    [11332.095920] [<c00615dc>] (irq_thread) from [<c004a0c8>] (kthread+0xd8/0xec)
    [11332.102987]  r8:00000000 r7:c00615dc r6:dc817d00 r5:00000000 r4:dc817d80
    [11332.109959] [<c0049ff0>] (kthread) from [<c000f028>] (ret_from_fork+0x14/0x2c)
    [11332.117235]  r7:00000000 r6:00000000 r5:c0049ff0 r4:dc817d80
    [11332.123768] ---[ end trace b9f22e89f0bffc2f ]---
    [11332.128792] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.39
    [11332.160279] wlcore: pc: 0x13dfe, hint_sts: 0x00000000 count: 4
    [11332.174780] wlcore: down
    [11332.180446] ieee80211 phy0: Hardware restart was requested
    [11332.627616] wlcore: PHY firmware version: Rev 8.2.0.0.228
    [11332.703192] wlcore: firmware booted (Rev 8.9.0.0.39)
    [11332.745986] wlcore: Association completed.
    [12403.279489] wlcore: ERROR SW watchdog interrupt received! starting recovery.
    [12403.286885] ------------[ cut here ]------------
    [12403.292011] WARNING: CPU: 0 PID: 125 at drivers/net/wireless/ti/wlcore/main.c:802 wl12xx_queue_recovery_work+0x34/0x78 [wlcore]()
    [12403.304093] Modules linked in: ctr ccm iptable_filter xt_REDIRECT nf_nat_redirect xt_tcpudp iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables evdev pm33xx uvcvideo arc4 ftdi_sio usbserial videobuf2_vmalloc omap_rng rng_core omap_wdt usb_f_acm u_serial g_serial libcomposite wlcore_sdio wl18xx wlcore mac80211 cfg80211 fuse autofs4
    [12403.339757] CPU: 0 PID: 125 Comm: irq/40-wl18xx Tainted: G        W       4.1.13-element-g2c2c4e9-dirty #1
    [12403.349525] Hardware name: Generic AM33XX (Flattened Device Tree)
    [12403.355729] Backtrace: 
    [12403.358281] [<c0012028>] (dump_backtrace) from [<c0012248>] (show_stack+0x18/0x1c)
    [12403.365976]  r7:00000322 r6:bf0edf00 r5:00000009 r4:00000000
    [12403.372413] [<c0012230>] (show_stack) from [<c04a2618>] (dump_stack+0x20/0x28)
    [12403.379739] [<c04a25f8>] (dump_stack) from [<c003201c>] (warn_slowpath_common+0x8c/0xb4)
    [12403.387971] [<c0031f90>] (warn_slowpath_common) from [<c00320e8>] (warn_slowpath_null+0x24/0x2c)
    [12403.396879]  r8:00000001 r7:c006143c r6:ddbccdc8 r5:ddbccc38 r4:ddbccc00
    [12403.403936] [<c00320c4>] (warn_slowpath_null) from [<bf0da9f8>] (wl12xx_queue_recovery_work+0x34/0x78 [wlcore])
    [12403.414293] [<bf0da9c4>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0dae04>] (wlcore_irq+0x164/0x224 [wlcore])
    [12403.424780]  r5:ddbccc38 r4:ddbccc00
    [12403.428963] [<bf0daca0>] (wlcore_irq [wlcore]) from [<c0061460>] (irq_thread_fn+0x24/0x3c)
    [12403.437359]  r7:c006143c r6:dd8d2900 r5:dc817d00 r4:dc817d00
    [12403.443256] [<c006143c>] (irq_thread_fn) from [<c00616a0>] (irq_thread+0xc4/0x13c)
    [12403.450935]  r7:c006143c r6:ddd8a000 r5:dc817d00 r4:dd8d2900
    [12403.456793] [<c00615dc>] (irq_thread) from [<c004a0c8>] (kthread+0xd8/0xec)
    [12403.463861]  r8:00000000 r7:c00615dc r6:dc817d00 r5:00000000 r4:dc817d80
    [12403.471440] [<c0049ff0>] (kthread) from [<c000f028>] (ret_from_fork+0x14/0x2c)
    [12403.478750]  r7:00000000 r6:00000000 r5:c0049ff0 r4:dc817d80
    [12403.485082] ---[ end trace b9f22e89f0bffc30 ]---
    [12403.501813] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.39
    [12403.512355] wlcore: pc: 0x13dfe, hint_sts: 0x00000000 count: 5
    [12403.519392] wlcore: down
    [12403.525345] ieee80211 phy0: Hardware restart was requested
    [12403.969610] wlcore: PHY firmware version: Rev 8.2.0.0.228
    [12404.025321] wlcore: firmware booted (Rev 8.9.0.0.39)
    [12404.058553] wlcore: Association completed.
    [12612.393268] wlcore: ERROR SW watchdog interrupt received! starting recovery.
    [12612.400458] ------------[ cut here ]------------
    [12612.405395] WARNING: CPU: 0 PID: 125 at drivers/net/wireless/ti/wlcore/main.c:802 wl12xx_queue_recovery_work+0x34/0x78 [wlcore]()
    [12612.417234] Modules linked in: ctr ccm iptable_filter xt_REDIRECT nf_nat_redirect xt_tcpudp iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables evdev pm33xx uvcvideo arc4 ftdi_sio usbserial videobuf2_vmalloc omap_rng rng_core omap_wdt usb_f_acm u_serial g_serial libcomposite wlcore_sdio wl18xx wlcore mac80211 cfg80211 fuse autofs4
    [12612.452388] CPU: 0 PID: 125 Comm: irq/40-wl18xx Tainted: G        W       4.1.13-element-g2c2c4e9-dirty #1
    [12612.462157] Hardware name: Generic AM33XX (Flattened Device Tree)
    [12612.468353] Backtrace: 
    [12612.470903] [<c0012028>] (dump_backtrace) from [<c0012248>] (show_stack+0x18/0x1c)
    [12612.478595]  r7:00000322 r6:bf0edf00 r5:00000009 r4:00000000
    [12612.484480] [<c0012230>] (show_stack) from [<c04a2618>] (dump_stack+0x20/0x28)
    [12612.491782] [<c04a25f8>] (dump_stack) from [<c003201c>] (warn_slowpath_common+0x8c/0xb4)
    [12612.500013] [<c0031f90>] (warn_slowpath_common) from [<c00320e8>] (warn_slowpath_null+0x24/0x2c)
    [12612.508920]  r8:00000001 r7:c006143c r6:ddbccdc8 r5:ddbccc38 r4:ddbccc00
    [12612.516492] [<c00320c4>] (warn_slowpath_null) from [<bf0da9f8>] (wl12xx_queue_recovery_work+0x34/0x78 [wlcore])
    [12612.527051] [<bf0da9c4>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0dae04>] (wlcore_irq+0x164/0x224 [wlcore])
    [12612.537561]  r5:ddbccc38 r4:ddbccc00
    [12612.541456] [<bf0daca0>] (wlcore_irq [wlcore]) from [<c0061460>] (irq_thread_fn+0x24/0x3c)
    [12612.549839]  r7:c006143c r6:dd8d2900 r5:dc817d00 r4:dc817d00
    [12612.555711] [<c006143c>] (irq_thread_fn) from [<c00616a0>] (irq_thread+0xc4/0x13c)
    [12612.563393]  r7:c006143c r6:ddd8a000 r5:dc817d00 r4:dd8d2900
    [12612.569242] [<c00615dc>] (irq_thread) from [<c004a0c8>] (kthread+0xd8/0xec)
    [12612.576310]  r8:00000000 r7:c00615dc r6:dc817d00 r5:00000000 r4:dc817d80
    [12612.583290] [<c0049ff0>] (kthread) from [<c000f028>] (ret_from_fork+0x14/0x2c)
    [12612.590576]  r7:00000000 r6:00000000 r5:c0049ff0 r4:dc817d80
    [12612.596562] ---[ end trace b9f22e89f0bffc31 ]---
    [12612.601339] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.39
    [12612.753401] wlcore: pc: 0x13dfe, hint_sts: 0x00000000 count: 6
    [12612.767953] wlcore: down
    [12612.771958] ieee80211 phy0: Hardware restart was requested
    [12613.217398] wlcore: PHY firmware version: Rev 8.2.0.0.228
    [12613.287346] wlcore: firmware booted (Rev 8.9.0.0.39)
    [12613.320379] wlcore: Association completed.
    [13446.088432] wlcore: ERROR SW watchdog interrupt received! starting recovery.
    [13446.095623] ------------[ cut here ]------------
    [13446.100570] WARNING: CPU: 0 PID: 125 at drivers/net/wireless/ti/wlcore/main.c:802 wl12xx_queue_recovery_work+0x34/0x78 [wlcore]()
    [13446.112413] Modules linked in: ctr ccm iptable_filter xt_REDIRECT nf_nat_redirect xt_tcpudp iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables evdev pm33xx uvcvideo arc4 ftdi_sio usbserial videobuf2_vmalloc omap_rng rng_core omap_wdt usb_f_acm u_serial g_serial libcomposite wlcore_sdio wl18xx wlcore mac80211 cfg80211 fuse autofs4
    [13446.147579] CPU: 0 PID: 125 Comm: irq/40-wl18xx Tainted: G        W       4.1.13-element-g2c2c4e9-dirty #1
    [13446.157352] Hardware name: Generic AM33XX (Flattened Device Tree)
    [13446.163515] Backtrace: 
    [13446.166101] [<c0012028>] (dump_backtrace) from [<c0012248>] (show_stack+0x18/0x1c)
    [13446.173729]  r7:00000322 r6:bf0edf00 r5:00000009 r4:00000000
    [13446.179634] [<c0012230>] (show_stack) from [<c04a2618>] (dump_stack+0x20/0x28)
    [13446.186983] [<c04a25f8>] (dump_stack) from [<c003201c>] (warn_slowpath_common+0x8c/0xb4)
    [13446.195176] [<c0031f90>] (warn_slowpath_common) from [<c00320e8>] (warn_slowpath_null+0x24/0x2c)
    [13446.204086]  r8:00000001 r7:c006143c r6:ddbccdc8 r5:ddbccc38 r4:ddbccc00
    [13446.211669] [<c00320c4>] (warn_slowpath_null) from [<bf0da9f8>] (wl12xx_queue_recovery_work+0x34/0x78 [wlcore])
    [13446.222028] [<bf0da9c4>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0dae04>] (wlcore_irq+0x164/0x224 [wlcore])
    [13446.232528]  r5:ddbccc38 r4:ddbccc00
    [13446.236470] [<bf0daca0>] (wlcore_irq [wlcore]) from [<c0061460>] (irq_thread_fn+0x24/0x3c)
    [13446.244807]  r7:c006143c r6:dd8d2900 r5:dc817d00 r4:dc817d00
    [13446.250714] [<c006143c>] (irq_thread_fn) from [<c00616a0>] (irq_thread+0xc4/0x13c)
    [13446.258383]  r7:c006143c r6:ddd8a000 r5:dc817d00 r4:dd8d2900
    [13446.264226] [<c00615dc>] (irq_thread) from [<c004a0c8>] (kthread+0xd8/0xec)
    [13446.271306]  r8:00000000 r7:c00615dc r6:dc817d00 r5:00000000 r4:dc817d80
    [13446.278269] [<c0049ff0>] (kthread) from [<c000f028>] (ret_from_fork+0x14/0x2c)
    [13446.285546]  r7:00000000 r6:00000000 r5:c0049ff0 r4:dc817d80
    [13446.291456] ---[ end trace b9f22e89f0bffc32 ]---
    [13446.296298] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.39
    [13446.332534] wlcore: pc: 0x13dfe, hint_sts: 0x00000000 count: 7
    [13446.340073] wlcore: down
    [13446.344088] ieee80211 phy0: Hardware restart was requested
    [13446.790335] wlcore: PHY firmware version: Rev 8.2.0.0.228
    [13446.871342] wlcore: firmware booted (Rev 8.9.0.0.39)
    [13446.906233] wlcore: Association completed.
    [14250.198476] wlcore: ERROR SW watchdog interrupt received! starting recovery.
    [14250.205878] ------------[ cut here ]------------
    [14250.210862] WARNING: CPU: 0 PID: 125 at drivers/net/wireless/ti/wlcore/main.c:802 wl12xx_queue_recovery_work+0x34/0x78 [wlcore]()
    [14250.223068] Modules linked in: ctr ccm iptable_filter xt_REDIRECT nf_nat_redirect xt_tcpudp iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables evdev pm33xx uvcvideo arc4 ftdi_sio usbserial videobuf2_vmalloc omap_rng rng_core omap_wdt usb_f_acm u_serial g_serial libcomposite wlcore_sdio wl18xx wlcore mac80211 cfg80211 fuse autofs4
    [14250.257697] CPU: 0 PID: 125 Comm: irq/40-wl18xx Tainted: G        W       4.1.13-element-g2c2c4e9-dirty #1
    [14250.267471] Hardware name: Generic AM33XX (Flattened Device Tree)
    [14250.273693] Backtrace: 
    [14250.276232] [<c0012028>] (dump_backtrace) from [<c0012248>] (show_stack+0x18/0x1c)
    [14250.283915]  r7:00000322 r6:bf0edf00 r5:00000009 r4:00000000
    [14250.289769] [<c0012230>] (show_stack) from [<c04a2618>] (dump_stack+0x20/0x28)
    [14250.297142] [<c04a25f8>] (dump_stack) from [<c003201c>] (warn_slowpath_common+0x8c/0xb4)
    [14250.305370] [<c0031f90>] (warn_slowpath_common) from [<c00320e8>] (warn_slowpath_null+0x24/0x2c)
    [14250.314381]  r8:00000001 r7:c006143c r6:ddbccdc8 r5:ddbccc38 r4:ddbccc00
    [14250.321866] [<c00320c4>] (warn_slowpath_null) from [<bf0da9f8>] (wl12xx_queue_recovery_work+0x34/0x78 [wlcore])
    [14250.332237] [<bf0da9c4>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0dae04>] (wlcore_irq+0x164/0x224 [wlcore])
    [14250.342716]  r5:ddbccc38 r4:ddbccc00
    [14250.346484] [<bf0daca0>] (wlcore_irq [wlcore]) from [<c0061460>] (irq_thread_fn+0x24/0x3c)
    [14250.354986]  r7:c006143c r6:dd8d2900 r5:dc817d00 r4:dc817d00
    [14250.360835] [<c006143c>] (irq_thread_fn) from [<c00616a0>] (irq_thread+0xc4/0x13c)
    [14250.368505]  r7:c006143c r6:ddd8a000 r5:dc817d00 r4:dd8d2900
    [14250.374388] [<c00615dc>] (irq_thread) from [<c004a0c8>] (kthread+0xd8/0xec)
    [14250.381453]  r8:00000000 r7:c00615dc r6:dc817d00 r5:00000000 r4:dc817d80
    [14250.388376] [<c0049ff0>] (kthread) from [<c000f028>] (ret_from_fork+0x14/0x2c)
    [14250.395713]  r7:00000000 r6:00000000 r5:c0049ff0 r4:dc817d80
    [14250.401618] ---[ end trace b9f22e89f0bffc33 ]---
    [14250.406429] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.39
    [14250.621268] wlcore: pc: 0x13dfe, hint_sts: 0x00000000 count: 8
    [14250.651888] wlcore: down
    [14250.655828] ieee80211 phy0: Hardware restart was requested
    [14251.239384] wlcore: PHY firmware version: Rev 8.2.0.0.228
    [14251.294547] wlcore: firmware booted (Rev 8.9.0.0.39)
    [14251.319320] wlcore: Association completed.
    [16290.698748] wlcore: ERROR SW watchdog interrupt received! starting recovery.
    [16290.705989] ------------[ cut here ]------------
    [16290.710938] WARNING: CPU: 0 PID: 125 at drivers/net/wireless/ti/wlcore/main.c:802 wl12xx_queue_recovery_work+0x34/0x78 [wlcore]()
    [16290.722762] Modules linked in: ctr ccm iptable_filter xt_REDIRECT nf_nat_redirect xt_tcpudp iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables evdev pm33xx uvcvideo arc4 ftdi_sio usbserial videobuf2_vmalloc omap_rng rng_core omap_wdt usb_f_acm u_serial g_serial libcomposite wlcore_sdio wl18xx wlcore mac80211 cfg80211 fuse autofs4
    [16290.757374] CPU: 0 PID: 125 Comm: irq/40-wl18xx Tainted: G        W       4.1.13-element-g2c2c4e9-dirty #1
    [16290.767170] Hardware name: Generic AM33XX (Flattened Device Tree)
    [16290.773361] Backtrace: 
    [16290.775919] [<c0012028>] (dump_backtrace) from [<c0012248>] (show_stack+0x18/0x1c)
    [16290.783598]  r7:00000322 r6:bf0edf00 r5:00000009 r4:00000000
    [16290.790018] [<c0012230>] (show_stack) from [<c04a2618>] (dump_stack+0x20/0x28)
    [16290.797345] [<c04a25f8>] (dump_stack) from [<c003201c>] (warn_slowpath_common+0x8c/0xb4)
    [16290.805580] [<c0031f90>] (warn_slowpath_common) from [<c00320e8>] (warn_slowpath_null+0x24/0x2c)
    [16290.814495]  r8:00000001 r7:c006143c r6:ddbccdc8 r5:ddbccc38 r4:ddbccc00
    [16290.821558] [<c00320c4>] (warn_slowpath_null) from [<bf0da9f8>] (wl12xx_queue_recovery_work+0x34/0x78 [wlcore])
    [16290.831944] [<bf0da9c4>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0dae04>] (wlcore_irq+0x164/0x224 [wlcore])
    [16290.842557]  r5:ddbccc38 r4:ddbccc00
    [16290.846334] [<bf0daca0>] (wlcore_irq [wlcore]) from [<c0061460>] (irq_thread_fn+0x24/0x3c)
    [16290.854716]  r7:c006143c r6:dd8d2900 r5:dc817d00 r4:dc817d00
    [16290.860597] [<c006143c>] (irq_thread_fn) from [<c00616a0>] (irq_thread+0xc4/0x13c)
    [16290.868222]  r7:c006143c r6:ddd8a000 r5:dc817d00 r4:dd8d2900
    [16290.874123] [<c00615dc>] (irq_thread) from [<c004a0c8>] (kthread+0xd8/0xec)
    [16290.881190]  r8:00000000 r7:c00615dc r6:dc817d00 r5:00000000 r4:dc817d80
    [16290.888139] [<c0049ff0>] (kthread) from [<c000f028>] (ret_from_fork+0x14/0x2c)
    [16290.895593]  r7:00000000 r6:00000000 r5:c0049ff0 r4:dc817d80
    [16290.901498] ---[ end trace b9f22e89f0bffc34 ]---
    [16290.909523] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.39
    [16290.954424] wlcore: pc: 0x13dfe, hint_sts: 0x00000000 count: 9
    [16290.979288] wlcore: down
    [16290.991771] ieee80211 phy0: Hardware restart was requested
    [16291.457795] wlcore: PHY firmware version: Rev 8.2.0.0.228
    [16291.514986] wlcore: firmware booted (Rev 8.9.0.0.39)
    [16291.554753] wlcore: Association completed.
    [16806.204001] wlcore: ERROR SW watchdog interrupt received! starting recovery.
    [16806.211275] ------------[ cut here ]------------
    [16806.216126] WARNING: CPU: 0 PID: 125 at drivers/net/wireless/ti/wlcore/main.c:802 wl12xx_queue_recovery_work+0x34/0x78 [wlcore]()
    [16806.227980] Modules linked in: ctr ccm iptable_filter xt_REDIRECT nf_nat_redirect xt_tcpudp iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables evdev pm33xx uvcvideo arc4 ftdi_sio usbserial videobuf2_vmalloc omap_rng rng_core omap_wdt usb_f_acm u_serial g_serial libcomposite wlcore_sdio wl18xx wlcore mac80211 cfg80211 fuse autofs4
    [16806.263255] CPU: 0 PID: 125 Comm: irq/40-wl18xx Tainted: G        W       4.1.13-element-g2c2c4e9-dirty #1
    [16806.273001] Hardware name: Generic AM33XX (Flattened Device Tree)
    [16806.279154] Backtrace: 
    [16806.281763] [<c0012028>] (dump_backtrace) from [<c0012248>] (show_stack+0x18/0x1c)
    [16806.289530]  r7:00000322 r6:bf0edf00 r5:00000009 r4:00000000
    [16806.295452] [<c0012230>] (show_stack) from [<c04a2618>] (dump_stack+0x20/0x28)
    [16806.302832] [<c04a25f8>] (dump_stack) from [<c003201c>] (warn_slowpath_common+0x8c/0xb4)
    [16806.311032] [<c0031f90>] (warn_slowpath_common) from [<c00320e8>] (warn_slowpath_null+0x24/0x2c)
    [16806.319903]  r8:00000001 r7:c006143c r6:ddbccdc8 r5:ddbccc38 r4:ddbccc00
    [16806.326971] [<c00320c4>] (warn_slowpath_null) from [<bf0da9f8>] (wl12xx_queue_recovery_work+0x34/0x78 [wlcore])
    [16806.337330] [<bf0da9c4>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0dae04>] (wlcore_irq+0x164/0x224 [wlcore])
    [16806.347824]  r5:ddbccc38 r4:ddbccc00
    [16806.351629] [<bf0daca0>] (wlcore_irq [wlcore]) from [<c0061460>] (irq_thread_fn+0x24/0x3c)
    [16806.359957]  r7:c006143c r6:dd8d2900 r5:dc817d00 r4:dc817d00
    [16806.366417] [<c006143c>] (irq_thread_fn) from [<c00616a0>] (irq_thread+0xc4/0x13c)
    [16806.374296]  r7:c006143c r6:ddd8a000 r5:dc817d00 r4:dd8d2900
    [16806.380415] [<c00615dc>] (irq_thread) from [<c004a0c8>] (kthread+0xd8/0xec)
    [16806.387443]  r8:00000000 r7:c00615dc r6:dc817d00 r5:00000000 r4:dc817d80
    [16806.394441] [<c0049ff0>] (kthread) from [<c000f028>] (ret_from_fork+0x14/0x2c)
    [16806.401762]  r7:00000000 r6:00000000 r5:c0049ff0 r4:dc817d80
    [16806.407607] ---[ end trace b9f22e89f0bffc35 ]---
    [16806.412439] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.39
    [16806.451051] wlcore: pc: 0x13dfe, hint_sts: 0x00000000 count: 10
    [16806.459428] wlcore: down
    [16806.466225] ieee80211 phy0: Hardware restart was requested
    [16806.959747] wlcore: PHY firmware version: Rev 8.2.0.0.228
    [16807.015725] wlcore: firmware booted (Rev 8.9.0.0.39)
    [16807.048516] wlcore: Association completed.
    [18761.705545] wlcore: ERROR SW watchdog interrupt received! starting recovery.
    [18761.712739] ------------[ cut here ]------------
    [18761.717669] WARNING: CPU: 0 PID: 125 at drivers/net/wireless/ti/wlcore/main.c:802 wl12xx_queue_recovery_work+0x34/0x78 [wlcore]()
    [18761.729501] Modules linked in: ctr ccm iptable_filter xt_REDIRECT nf_nat_redirect xt_tcpudp iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables evdev pm33xx uvcvideo arc4 ftdi_sio usbserial videobuf2_vmalloc omap_rng rng_core omap_wdt usb_f_acm u_serial g_serial libcomposite wlcore_sdio wl18xx wlcore mac80211 cfg80211 fuse autofs4
    [18761.764965] CPU: 0 PID: 125 Comm: irq/40-wl18xx Tainted: G        W       4.1.13-element-g2c2c4e9-dirty #1
    [18761.774731] Hardware name: Generic AM33XX (Flattened Device Tree)
    [18761.780877] Backtrace: 
    [18761.783418] [<c0012028>] (dump_backtrace) from [<c0012248>] (show_stack+0x18/0x1c)
    [18761.791100]  r7:00000322 r6:bf0edf00 r5:00000009 r4:00000000
    [18761.796995] [<c0012230>] (show_stack) from [<c04a2618>] (dump_stack+0x20/0x28)
    [18761.804347] [<c04a25f8>] (dump_stack) from [<c003201c>] (warn_slowpath_common+0x8c/0xb4)
    [18761.812520] [<c0031f90>] (warn_slowpath_common) from [<c00320e8>] (warn_slowpath_null+0x24/0x2c)
    [18761.821432]  r8:00000001 r7:c006143c r6:ddbccdc8 r5:ddbccc38 r4:ddbccc00
    [18761.828478] [<c00320c4>] (warn_slowpath_null) from [<bf0da9f8>] (wl12xx_queue_recovery_work+0x34/0x78 [wlcore])
    [18761.838957] [<bf0da9c4>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0dae04>] (wlcore_irq+0x164/0x224 [wlcore])
    [18761.849454]  r5:ddbccc38 r4:ddbccc00
    [18761.853231] [<bf0daca0>] (wlcore_irq [wlcore]) from [<c0061460>] (irq_thread_fn+0x24/0x3c)
    [18761.861607]  r7:c006143c r6:dd8d2900 r5:dc817d00 r4:dc817d00
    [18761.867477] [<c006143c>] (irq_thread_fn) from [<c00616a0>] (irq_thread+0xc4/0x13c)
    [18761.875164]  r7:c006143c r6:ddd8a000 r5:dc817d00 r4:dd8d2900
    [18761.881434] [<c00615dc>] (irq_thread) from [<c004a0c8>] (kthread+0xd8/0xec)
    [18761.888594]  r8:00000000 r7:c00615dc r6:dc817d00 r5:00000000 r4:dc817d80
    [18761.895555] [<c0049ff0>] (kthread) from [<c000f028>] (ret_from_fork+0x14/0x2c)
    [18761.902832]  r7:00000000 r6:00000000 r5:c0049ff0 r4:dc817d80
    [18761.908821] ---[ end trace b9f22e89f0bffc36 ]---
    [18761.913648] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.39
    [18761.944133] wlcore: pc: 0x13dfe, hint_sts: 0x00000000 count: 11
    [18761.957450] wlcore: down
    [18761.962307] ieee80211 phy0: Hardware restart was requested
    [18762.421042] wlcore: PHY firmware version: Rev 8.2.0.0.228
    [18762.494129] wlcore: firmware booted (Rev 8.9.0.0.39)
    [18762.529937] wlcore: Association completed.
    [19622.693808] wlcore: ERROR SW watchdog interrupt received! starting recovery.
    [19622.701002] ------------[ cut here ]------------
    [19622.705939] WARNING: CPU: 0 PID: 125 at drivers/net/wireless/ti/wlcore/main.c:802 wl12xx_queue_recovery_work+0x34/0x78 [wlcore]()
    [19622.717755] Modules linked in: ctr ccm iptable_filter xt_REDIRECT nf_nat_redirect xt_tcpudp iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables evdev pm33xx uvcvideo arc4 ftdi_sio usbserial videobuf2_vmalloc omap_rng rng_core omap_wdt usb_f_acm u_serial g_serial libcomposite wlcore_sdio wl18xx wlcore mac80211 cfg80211 fuse autofs4
    [19622.752959] CPU: 0 PID: 125 Comm: irq/40-wl18xx Tainted: G        W       4.1.13-element-g2c2c4e9-dirty #1
    [19622.762853] Hardware name: Generic AM33XX (Flattened Device Tree)
    [19622.769059] Backtrace: 
    [19622.771604] [<c0012028>] (dump_backtrace) from [<c0012248>] (show_stack+0x18/0x1c)
    [19622.779295]  r7:00000322 r6:bf0edf00 r5:00000009 r4:00000000
    [19622.785203] [<c0012230>] (show_stack) from [<c04a2618>] (dump_stack+0x20/0x28)
    [19622.792507] [<c04a25f8>] (dump_stack) from [<c003201c>] (warn_slowpath_common+0x8c/0xb4)
    [19622.800738] [<c0031f90>] (warn_slowpath_common) from [<c00320e8>] (warn_slowpath_null+0x24/0x2c)
    [19622.809664]  r8:00000001 r7:c006143c r6:ddbccdc8 r5:ddbccc38 r4:ddbccc00
    [19622.816724] [<c00320c4>] (warn_slowpath_null) from [<bf0da9f8>] (wl12xx_queue_recovery_work+0x34/0x78 [wlcore])
    [19622.827081] [<bf0da9c4>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0dae04>] (wlcore_irq+0x164/0x224 [wlcore])
    [19622.837596]  r5:ddbccc38 r4:ddbccc00
    [19622.841488] [<bf0daca0>] (wlcore_irq [wlcore]) from [<c0061460>] (irq_thread_fn+0x24/0x3c)
    [19622.849862]  r7:c006143c r6:dd8d2900 r5:dc817d00 r4:dc817d00
    [19622.855748] [<c006143c>] (irq_thread_fn) from [<c00616a0>] (irq_thread+0xc4/0x13c)
    [19622.863373]  r7:c006143c r6:ddd8a000 r5:dc817d00 r4:dd8d2900
    [19622.869786] [<c00615dc>] (irq_thread) from [<c004a0c8>] (kthread+0xd8/0xec)
    [19622.876866]  r8:00000000 r7:c00615dc r6:dc817d00 r5:00000000 r4:dc817d80
    [19622.883851] [<c0049ff0>] (kthread) from [<c000f028>] (ret_from_fork+0x14/0x2c)
    [19622.891128]  r7:00000000 r6:00000000 r5:c0049ff0 r4:dc817d80
    [19622.897005] ---[ end trace b9f22e89f0bffc37 ]---
    [19622.901919] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.39
    [19622.923203] wlcore: pc: 0x13dfe, hint_sts: 0x00000000 count: 12
    [19622.929737] wlcore: down
    [19622.936328] ieee80211 phy0: Hardware restart was requested
    [19623.377816] wlcore: PHY firmware version: Rev 8.2.0.0.228
    [19623.438504] wlcore: firmware booted (Rev 8.9.0.0.39)
    [19623.479132] wlcore: Association completed.
    [20089.019458] wlcore: ERROR SW watchdog interrupt received! starting recovery.
    [20089.026873] ------------[ cut here ]------------
    [20089.031857] WARNING: CPU: 0 PID: 125 at drivers/net/wireless/ti/wlcore/main.c:802 wl12xx_queue_recovery_work+0x34/0x78 [wlcore]()
    [20089.044043] Modules linked in: ctr ccm iptable_filter xt_REDIRECT nf_nat_redirect xt_tcpudp iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables evdev pm33xx uvcvideo arc4 ftdi_sio usbserial videobuf2_vmalloc omap_rng rng_core omap_wdt usb_f_acm u_serial g_serial libcomposite wlcore_sdio wl18xx wlcore mac80211 cfg80211 fuse autofs4
    [20089.078536] CPU: 0 PID: 125 Comm: irq/40-wl18xx Tainted: G        W       4.1.13-element-g2c2c4e9-dirty #1
    [20089.088308] Hardware name: Generic AM33XX (Flattened Device Tree)
    [20089.094492] Backtrace: 
    [20089.097035] [<c0012028>] (dump_backtrace) from [<c0012248>] (show_stack+0x18/0x1c)
    [20089.104726]  r7:00000322 r6:bf0edf00 r5:00000009 r4:00000000
    [20089.110691] [<c0012230>] (show_stack) from [<c04a2618>] (dump_stack+0x20/0x28)
    [20089.118020] [<c04a25f8>] (dump_stack) from [<c003201c>] (warn_slowpath_common+0x8c/0xb4)
    [20089.126344] [<c0031f90>] (warn_slowpath_common) from [<c00320e8>] (warn_slowpath_null+0x24/0x2c)
    [20089.135338]  r8:00000001 r7:c006143c r6:ddbccdc8 r5:ddbccc38 r4:ddbccc00
    [20089.142686] [<c00320c4>] (warn_slowpath_null) from [<bf0da9f8>] (wl12xx_queue_recovery_work+0x34/0x78 [wlcore])
    [20089.153050] [<bf0da9c4>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0dae04>] (wlcore_irq+0x164/0x224 [wlcore])
    [20089.163544]  r5:ddbccc38 r4:ddbccc00
    [20089.167338] [<bf0daca0>] (wlcore_irq [wlcore]) from [<c0061460>] (irq_thread_fn+0x24/0x3c)
    [20089.175717]  r7:c006143c r6:dd8d2900 r5:dc817d00 r4:dc817d00
    [20089.181553] [<c006143c>] (irq_thread_fn) from [<c00616a0>] (irq_thread+0xc4/0x13c)
    [20089.189221]  r7:c006143c r6:ddd8a000 r5:dc817d00 r4:dd8d2900
    [20089.195229] [<c00615dc>] (irq_thread) from [<c004a0c8>] (kthread+0xd8/0xec)
    [20089.202245]  r8:00000000 r7:c00615dc r6:dc817d00 r5:00000000 r4:dc817d80
    [20089.209211] [<c0049ff0>] (kthread) from [<c000f028>] (ret_from_fork+0x14/0x2c)
    [20089.216530]  r7:00000000 r6:00000000 r5:c0049ff0 r4:dc817d80
    [20089.222364] ---[ end trace b9f22e89f0bffc38 ]---
    [20089.227444] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.39
    [20089.264712] wlcore: pc: 0x13dfe, hint_sts: 0x00000000 count: 13
    [20089.283677] wlcore: down
    [20089.288239] ieee80211 phy0: Hardware restart was requested
    [20089.736856] wlcore: PHY firmware version: Rev 8.2.0.0.228
    [20089.799383] wlcore: firmware booted (Rev 8.9.0.0.39)
    [20089.832869] wlcore: Association completed.
    [21461.628383] wlcore: ERROR SW watchdog interrupt received! starting recovery.
    [21461.635743] ------------[ cut here ]------------
    [21461.640682] WARNING: CPU: 0 PID: 125 at drivers/net/wireless/ti/wlcore/main.c:802 wl12xx_queue_recovery_work+0x34/0x78 [wlcore]()
    [21461.652521] Modules linked in: ctr ccm iptable_filter xt_REDIRECT nf_nat_redirect xt_tcpudp iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables evdev pm33xx uvcvideo arc4 ftdi_sio usbserial videobuf2_vmalloc omap_rng rng_core omap_wdt usb_f_acm u_serial g_serial libcomposite wlcore_sdio wl18xx wlcore mac80211 cfg80211 fuse autofs4
    [21461.687041] CPU: 0 PID: 125 Comm: irq/40-wl18xx Tainted: G        W       4.1.13-element-g2c2c4e9-dirty #1
    [21461.696811] Hardware name: Generic AM33XX (Flattened Device Tree)
    [21461.702973] Backtrace: 
    [21461.705549] [<c0012028>] (dump_backtrace) from [<c0012248>] (show_stack+0x18/0x1c)
    [21461.713177]  r7:00000322 r6:bf0edf00 r5:00000009 r4:00000000
    [21461.719295] [<c0012230>] (show_stack) from [<c04a2618>] (dump_stack+0x20/0x28)
    [21461.727140] [<c04a25f8>] (dump_stack) from [<c003201c>] (warn_slowpath_common+0x8c/0xb4)
    [21461.735473] [<c0031f90>] (warn_slowpath_common) from [<c00320e8>] (warn_slowpath_null+0x24/0x2c)
    [21461.744468]  r8:00000001 r7:c006143c r6:ddbccdc8 r5:ddbccc38 r4:ddbccc00
    [21461.751711] [<c00320c4>] (warn_slowpath_null) from [<bf0da9f8>] (wl12xx_queue_recovery_work+0x34/0x78 [wlcore])
    [21461.762072] [<bf0da9c4>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0dae04>] (wlcore_irq+0x164/0x224 [wlcore])
    [21461.772562]  r5:ddbccc38 r4:ddbccc00
    [21461.776345] [<bf0daca0>] (wlcore_irq [wlcore]) from [<c0061460>] (irq_thread_fn+0x24/0x3c)
    [21461.784717]  r7:c006143c r6:dd8d2900 r5:dc817d00 r4:dc817d00
    [21461.790561] [<c006143c>] (irq_thread_fn) from [<c00616a0>] (irq_thread+0xc4/0x13c)
    [21461.798228]  r7:c006143c r6:ddd8a000 r5:dc817d00 r4:dd8d2900
    [21461.804115] [<c00615dc>] (irq_thread) from [<c004a0c8>] (kthread+0xd8/0xec)
    [21461.811133]  r8:00000000 r7:c00615dc r6:dc817d00 r5:00000000 r4:dc817d80
    [21461.818506] [<c0049ff0>] (kthread) from [<c000f028>] (ret_from_fork+0x14/0x2c)
    [21461.825833]  r7:00000000 r6:00000000 r5:c0049ff0 r4:dc817d80
    [21461.831689] ---[ end trace b9f22e89f0bffc39 ]—
    [21461.836520] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.39
    [21461.859626] wlcore: pc: 0x13dfe, hint_sts: 0x00000000 count: 14
    [21461.868519] wlcore: down
    [21461.872352] ieee80211 phy0: Hardware restart was requested
    [21462.312617] wlcore: PHY firmware version: Rev 8.2.0.0.228
    [21462.379477] wlcore: firmware booted (Rev 8.9.0.0.39)
    [21462.412523] wlcore: Association completed.
    

    Again, thanks for the help and the quick answers.

    Kind regards,

    Karim

  • Karim,

    Please first apply the following patches and test again.

    1. Revert "usb: musb: musb_host: Enable HCD_BH flag to handle urb return in bottom half"

    http://marc.info/?l=linux-usb&m=146161762513084&w=2

    2. usb: musb: host: don't start next rx urb if current one failed

    http://marc.info/?l=linux-usb&m=146377679008180&w=2

    3. usb: musb: host: correct cppi dma channel for isoch transfer

    http://marc.info/?l=linux-usb&m=146402023429033&w=2

  • Bin Liu,



    Thanks again for your help.



    Yesterday I applied those patches and rebuilt the Kernel.



    However, after trying it on a few devices, they froze again after a few hours.
  • Karim,

    I see in the attached kernel log several wi-fi crashes:
    [21461.628383] wlcore: ERROR SW watchdog interrupt received! starting recovery.
    [21461.635743] ------------[ cut here ]------------
    [21461.640682] WARNING: CPU: 0 PID: 125 at drivers/net/wireless/ti/wlcore/main.c:802 wl12xx_queue_recovery_work+0x34/0x78 [wlcore]()
    [21461.652521] Modules linked in: ctr ccm iptable_filter xt_REDIRECT nf_nat_redirect xt_tcpudp iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables evdev pm33xx uvcvideo arc4 ftdi_sio usbserial videobuf2_vmalloc omap_rng rng_core omap_wdt usb_f_acm u_serial g_serial libcomposite wlcore_sdio wl18xx wlcore mac80211 cfg80211 fuse autofs4
    -----
    But after every crush seems the hardware recovery succeeds. However this crush could be related to your issue. Could you try to disable Wi-Fi during USB camera testing?
    Also an other test that you can make is to verify the USB camera with the last Processor SDK release v02.00.02 with kernel 4.1.18 which can be downloaded from:
    www.ti.com/.../processor-sdk-am335x

    BR
    Tsvetolin Shulev
  • Bin Liu said:

    Karim,

    Please first apply the following patches and test again.

    1. Revert "usb: musb: musb_host: Enable HCD_BH flag to handle urb return in bottom half"

    http://marc.info/?l=linux-usb&m=146161762513084&w=2

    2. usb: musb: host: don't start next rx urb if current one failed

    http://marc.info/?l=linux-usb&m=146377679008180&w=2

    3. usb: musb: host: correct cppi dma channel for isoch transfer

    http://marc.info/?l=linux-usb&m=146402023429033&w=2

    Karim,

    Please apply the patches attached below on top of the 3 patches listed above, and let me know if this fixes the issue for you. The patches below were validated on Processor SDK 3.0 (v4.4 kernel), but I think it should work on TI 4.1 kernel as well.

    musb-host-isoch-fix-sdk3006.tar[1].gz

  • Hi Bin,

    Sorry to bring up such an old issue, but I believe I might be running into the same issue as Karim. I'm using the 4.1.6 kernel, and I'm seeing the device go into a full freeze state after a USB camera has been streaming for a while using a resolution of 800x600. The freeze can happen anywhere between 15 minutes and 2 hours using the default 4.1.6 kernel.

    I applied the patches you provided (the 3 patches linked to, and the 5 in the tarball), and while I had to modify the 5th patch in the tarball to fix a spinlock issue (spin_lock was being called twice before any spin_unlock call in what was provided, causing deadlock. The patch to the end of musb_advance_schedule had to be modified to avoid this) they do seem to be working in most cases. However, when I stop streaming video I get the attached kernel panic. Any idea why this is happening with the patches you provided?

    Our application is based on Qt 5.5, and we're using gstreamer to stream the video if that helps. Let me know if any more information is needed.

    scheduling_while_atomic_panic.txt
    [   45.354927] BUG: scheduling while atomic: PDEApplication/177/0xffffffff
    [   45.361271] Modules linked in: g_mass_storage usb_f_mass_storage rfcomm bnep btwilink usb_f_ss_lb libcomposite lis3lv02d_i2c lis3lv02d [last unloaded: g_zero]
    [   45.376740] CPU: 0 PID: 177 Comm: PDEApplication Not tainted 4.1.6 #2
    [   45.382758] Hardware name: Generic AM33XX (Flattened Device Tree)
    [   45.389014] Backtrace:
    [   45.391642] [<c0012d34>] (dump_backtrace) from [<c0012f54>] (show_stack+0x18/0x1c)
    [   45.399403]  r6:c0a3a950 r5:dd13a400 r4:00000000 r3:00000000
    [   45.405513] [<c0012f3c>] (show_stack) from [<c072cc44>] (dump_stack+0x20/0x28)
    [   45.412900] [<c072cc24>] (dump_stack) from [<c0058c00>] (__schedule_bug+0x4c/0x64)
    [   45.420722] [<c0058bb4>] (__schedule_bug) from [<c072f028>] (__schedule+0x414/0x4c0)
    [   45.428733]  r4:c072f118 r3:00000002
    [   45.432599] [<c072ec14>] (__schedule) from [<c072f118>] (schedule+0x44/0x9c)
    [   45.439783]  r9:00000001 r8:00000000 r7:dd5eb800 r6:db001c6c r5:da8aa40c r4:db000000
    [   45.448221] [<c072f0d4>] (schedule) from [<c04b5f10>] (usb_kill_urb+0x80/0xcc)
    [   45.455632]  r4:da8aa400 r3:00000001
    [   45.459433] [<c04b5e90>] (usb_kill_urb) from [<c0550e48>] (uvc_uninit_video+0x54/0x80)
    [   45.467538]  r6:dd5ebed8 r5:da8aa400 r4:dd5ebec8
    [   45.472464] [<c0550df4>] (uvc_uninit_video) from [<c0553710>] (uvc_video_enable+0x20/0x130)
    [   45.481001]  r9:00000000 r8:00000013 r7:dd5eb810 r6:dd5ebad4 r5:00000000 r4:dd5eb800
    [   45.489287] [<c05536f0>] (uvc_video_enable) from [<c054e998>] (uvc_stop_streaming+0x1c/0x80)
    [   45.497894]  r6:dd5ebad4 r5:dd5ebad4 r4:dd5ebad4 r3:c054e97c
    [   45.504108] [<c054e97c>] (uvc_stop_streaming) from [<c054331c>] (__vb2_queue_cancel+0x48/0x23c)
    [   45.513015]  r5:dd5ebad4 r4:dd5ebad4
    [   45.516849] [<c05432d4>] (__vb2_queue_cancel) from [<c05450c0>] (vb2_internal_streamoff+0x38/0xcc)
    [   45.525977]  r10:dc644e40 r9:00000000 r8:00000013 r7:dd5eb810 r6:00000001 r5:dd5ebad4
    [   45.534769]  r4:dd5ebad4
    [   45.537458] [<c0545088>] (vb2_internal_streamoff) from [<c0545188>] (vb2_streamoff+0x34/0x58)
    [   45.546109]  r4:dd5ebd98 r3:00000000
    [   45.549850] [<c0545154>] (vb2_streamoff) from [<c054ef14>] (uvc_queue_streamoff+0x2c/0x40)
    [   45.558237] [<c054eee8>] (uvc_queue_streamoff) from [<c054fe80>] (uvc_ioctl_streamoff+0x38/0x50)
    [   45.567128]  r6:00000001 r5:dd5ebac4 r4:dd5eb800 r3:00000001
    [   45.573239] [<c054fe48>] (uvc_ioctl_streamoff) from [<c052d8d4>] (v4l_streamoff+0x20/0x24)
    [   45.581598]  r6:40045613 r5:00000001 r4:da809b80 r3:db001e38
    [   45.587580] [<c052d8b4>] (v4l_streamoff) from [<c0530958>] (__video_do_ioctl+0x298/0x318)
    [   45.595886] [<c05306c0>] (__video_do_ioctl) from [<c053036c>] (video_usercopy+0x168/0x4a0)
    [   45.604221]  r10:c05306c0 r9:bee907d4 r8:dc644e40 r7:00000000 r6:db001e38 r5:00000004
    [   45.612408]  r4:40045613
    [   45.615063] [<c0530204>] (video_usercopy) from [<c05306b8>] (video_ioctl2+0x14/0x1c)
    [   45.622893]  r10:00000000 r9:db000000 r8:00000000 r7:40045613 r6:bee907d4 r5:dc644e40
    [   45.631099]  r4:dd5eb810
    [   45.633738] [<c05306a4>] (video_ioctl2) from [<c052be98>] (v4l2_ioctl+0xb0/0xe4)
    [   45.641224] [<c052bde8>] (v4l2_ioctl) from [<c0121844>] (do_vfs_ioctl+0x420/0x61c)
    [   45.649019]  r8:00000016 r7:40045613 r6:dc644e40 r5:da8c1cf0 r4:bee907d4 r3:c052bde8
    [   45.657153] [<c0121424>] (do_vfs_ioctl) from [<c0121a7c>] (SyS_ioctl+0x3c/0x64)
    [   45.664577]  r9:db000000 r8:00000016 r7:40045613 r6:dc644e40 r5:bee907d4 r4:dc644e41
    [   45.672716] [<c0121a40>] (SyS_ioctl) from [<c000faa0>] (ret_fast_syscall+0x0/0x3c)
    [   45.680389]  r8:c000fc44 r7:00000036 r6:00000016 r5:00000000 r4:00000001 r3:00000000
    [   45.688507] BUG: scheduling while atomic: PDEApplication/177/0xffffffff
    [   45.694751] Modules linked in: g_mass_storage usb_f_mass_storage rfcomm bnep btwilink usb_f_ss_lb libcomposite lis3lv02d_i2c lis3lv02d [last unloaded: g_zero]
    [   45.709653] CPU: 0 PID: 177 Comm: PDEApplication Tainted: G        W       4.1.6 #2
    [   45.716868] Hardware name: Generic AM33XX (Flattened Device Tree)
    [   45.723036] Backtrace:
    [   45.725617] [<c0012d34>] (dump_backtrace) from [<c0012f54>] (show_stack+0x18/0x1c)
    [   45.733253]  r6:c0a3a950 r5:dd13a400 r4:00000000 r3:00000000
    [   45.739248] [<c0012f3c>] (show_stack) from [<c072cc44>] (dump_stack+0x20/0x28)
    [   45.746581] [<c072cc24>] (dump_stack) from [<c0058c00>] (__schedule_bug+0x4c/0x64)
    [   45.754246] [<c0058bb4>] (__schedule_bug) from [<c072f028>] (__schedule+0x414/0x4c0)
    [   45.762079]  r4:c072f118 r3:00000002
    [   45.765979] [<c072ec14>] (__schedule) from [<c072f118>] (schedule+0x44/0x9c)
    [   45.773095]  r9:00000001 r8:00000000 r7:dd5eb800 r6:db001c6c r5:da8aa00c r4:db000000
    [   45.781196] [<c072f0d4>] (schedule) from [<c04b5f10>] (usb_kill_urb+0x80/0xcc)
    [   45.788529]  r4:da8aa000 r3:00000001
    [   45.792268] [<c04b5e90>] (usb_kill_urb) from [<c0550e48>] (uvc_uninit_video+0x54/0x80)
    [   45.800290]  r6:dd5ebed8 r5:da8aa000 r4:dd5ebecc
    [   45.805209] [<c0550df4>] (uvc_uninit_video) from [<c0553710>] (uvc_video_enable+0x20/0x130)
    [   45.813635]  r9:00000000 r8:00000013 r7:dd5eb810 r6:dd5ebad4 r5:00000000 r4:dd5eb800
    [   45.821975] [<c05536f0>] (uvc_video_enable) from [<c054e998>] (uvc_stop_streaming+0x1c/0x80)
    [   45.830514]  r6:dd5ebad4 r5:dd5ebad4 r4:dd5ebad4 r3:c054e97c
    [   45.836484] [<c054e97c>] (uvc_stop_streaming) from [<c054331c>] (__vb2_queue_cancel+0x48/0x23c)
    [   45.845274]  r5:dd5ebad4 r4:dd5ebad4
    [   45.849079] [<c05432d4>] (__vb2_queue_cancel) from [<c05450c0>] (vb2_internal_streamoff+0x38/0xcc)
    [   45.859132]  r10:dc644e40 r9:00000000 r8:00000013 r7:dd5eb810 r6:00000001 r5:dd5ebad4
    [   45.867640]  r4:dd5ebad4
    [   45.870336] [<c0545088>] (vb2_internal_streamoff) from [<c0545188>] (vb2_streamoff+0x34/0x58)
    [   45.878994]  r4:dd5ebd98 r3:00000000
    [   45.882731] [<c0545154>] (vb2_streamoff) from [<c054ef14>] (uvc_queue_streamoff+0x2c/0x40)
    [   45.891150] [<c054eee8>] (uvc_queue_streamoff) from [<c054fe80>] (uvc_ioctl_streamoff+0x38/0x50)
    [   45.900028]  r6:00000001 r5:dd5ebac4 r4:dd5eb800 r3:00000001
    [   45.906027] [<c054fe48>] (uvc_ioctl_streamoff) from [<c052d8d4>] (v4l_streamoff+0x20/0x24)
    [   45.914378]  r6:40045613 r5:00000001 r4:da809b80 r3:db001e38
    [   45.920349] [<c052d8b4>] (v4l_streamoff) from [<c0530958>] (__video_do_ioctl+0x298/0x318)
    [   45.928631] [<c05306c0>] (__video_do_ioctl) from [<c053036c>] (video_usercopy+0x168/0x4a0)
    [   45.936998]  r10:c05306c0 r9:bee907d4 r8:dc644e40 r7:00000000 r6:db001e38 r5:00000004
    [   45.945324]  r4:40045613
    [   45.947968] [<c0530204>] (video_usercopy) from [<c05306b8>] (video_ioctl2+0x14/0x1c)
    [   45.955836]  r10:00000000 r9:db000000 r8:00000000 r7:40045613 r6:bee907d4 r5:dc644e40
    [   45.964014]  r4:dd5eb810
    [   45.966703] [<c05306a4>] (video_ioctl2) from [<c052be98>] (v4l2_ioctl+0xb0/0xe4)
    [   45.974178] [<c052bde8>] (v4l2_ioctl) from [<c0121844>] (do_vfs_ioctl+0x420/0x61c)
    [   45.981866]  r8:00000016 r7:40045613 r6:dc644e40 r5:da8c1cf0 r4:bee907d4 r3:c052bde8
    [   45.989978] [<c0121424>] (do_vfs_ioctl) from [<c0121a7c>] (SyS_ioctl+0x3c/0x64)
    [   45.997368]  r9:db000000 r8:00000016 r7:40045613 r6:dc644e40 r5:bee907d4 r4:dc644e41
    [   46.005633] [<c0121a40>] (SyS_ioctl) from [<c000faa0>] (ret_fast_syscall+0x0/0x3c)
    [   46.013290]  r8:c000fc44 r7:00000036 r6:00000016 r5:00000000 r4:00000001 r3:00000000
    [   46.021399] BUG: scheduling while atomic: PDEApplication/177/0xfffffffd
    [   46.027556] Modules linked in: g_mass_storage usb_f_mass_storage rfcomm bnep btwilink usb_f_ss_lb libcomposite lis3lv02d_i2c lis3lv02d [last unloaded: g_zero]
    [   46.042100] CPU: 0 PID: 177 Comm: PDEApplication Tainted: G        W       4.1.6 #2
    [   46.049315] Hardware name: Generic AM33XX (Flattened Device Tree)
    [   46.055459] Backtrace:
    [   46.057968] [<c0012d34>] (dump_backtrace) from [<c0012f54>] (show_stack+0x18/0x1c)
    [   46.065601]  r6:c0a3a950 r5:dd13a400 r4:00000000 r3:00000000
    [   46.071421] [<c0012f3c>] (show_stack) from [<c072cc44>] (dump_stack+0x20/0x28)
    [   46.078735] [<c072cc24>] (dump_stack) from [<c0058c00>] (__schedule_bug+0x4c/0x64)
    [   46.086377] [<c0058bb4>] (__schedule_bug) from [<c072f028>] (__schedule+0x414/0x4c0)
    [   46.094169]  r4:c072f118 r3:00000002
    [   46.097845] [<c072ec14>] (__schedule) from [<c072f118>] (schedule+0x44/0x9c)
    [   46.104950]  r9:00000001 r8:00000000 r7:dd5eb800 r6:db001c6c r5:dbfc5c0c r4:db000000
    [   46.112886] [<c072f0d4>] (schedule) from [<c04b5f10>] (usb_kill_urb+0x80/0xcc)
    [   46.120167]  r4:dbfc5c00 r3:00000001
    [   46.123850] [<c04b5e90>] (usb_kill_urb) from [<c0550e48>] (uvc_uninit_video+0x54/0x80)
    [   46.131830]  r6:dd5ebed8 r5:dbfc5c00 r4:dd5ebed0
    [   46.136576] [<c0550df4>] (uvc_uninit_video) from [<c0553710>] (uvc_video_enable+0x20/0x130)
    [   46.144991]  r9:00000000 r8:00000013 r7:dd5eb810 r6:dd5ebad4 r5:00000000 r4:dd5eb800
    [   46.152900] [<c05536f0>] (uvc_video_enable) from [<c054e998>] (uvc_stop_streaming+0x1c/0x80)
    [   46.161386]  r6:dd5ebad4 r5:dd5ebad4 r4:dd5ebad4 r3:c054e97c
    [   46.167105] [<c054e97c>] (uvc_stop_streaming) from [<c054331c>] (__vb2_queue_cancel+0x48/0x23c)
    [   46.175847]  r5:dd5ebad4 r4:dd5ebad4
    [   46.179451] [<c05432d4>] (__vb2_queue_cancel) from [<c05450c0>] (vb2_internal_streamoff+0x38/0xcc)
    [   46.188456]  r10:dc644e40 r9:00000000 r8:00000013 r7:dd5eb810 r6:00000001 r5:dd5ebad4
    [   46.196358]  r4:dd5ebad4
    [   46.198907] [<c0545088>] (vb2_internal_streamoff) from [<c0545188>] (vb2_streamoff+0x34/0x58)
    [   46.207475]  r4:dd5ebd98 r3:00000000
    [   46.211080] [<c0545154>] (vb2_streamoff) from [<c054ef14>] (uvc_queue_streamoff+0x2c/0x40)
    [   46.219393] [<c054eee8>] (uvc_queue_streamoff) from [<c054fe80>] (uvc_ioctl_streamoff+0x38/0x50)
    [   46.228225]  r6:00000001 r5:dd5ebac4 r4:dd5eb800 r3:00000001
    [   46.233932] [<c054fe48>] (uvc_ioctl_streamoff) from [<c052d8d4>] (v4l_streamoff+0x20/0x24)
    [   46.242240]  r6:40045613 r5:00000001 r4:da809b80 r3:db001e38
    [   46.247957] [<c052d8b4>] (v4l_streamoff) from [<c0530958>] (__video_do_ioctl+0x298/0x318)
    [   46.256182] [<c05306c0>] (__video_do_ioctl) from [<c053036c>] (video_usercopy+0x168/0x4a0)
    [   46.264492]  r10:c05306c0 r9:bee907d4 r8:dc644e40 r7:00000000 r6:db001e38 r5:00000004
    [   46.272380]  r4:40045613
    [   46.274942] [<c0530204>] (video_usercopy) from [<c05306b8>] (video_ioctl2+0x14/0x1c)
    [   46.282713]  r10:00000000 r9:db000000 r8:00000000 r7:40045613 r6:bee907d4 r5:dc644e40
    [   46.290616]  r4:dd5eb810
    [   46.293166] [<c05306a4>] (video_ioctl2) from [<c052be98>] (v4l2_ioctl+0xb0/0xe4)
    [   46.300607] [<c052bde8>] (v4l2_ioctl) from [<c0121844>] (do_vfs_ioctl+0x420/0x61c)
    [   46.308216]  r8:00000016 r7:40045613 r6:dc644e40 r5:da8c1cf0 r4:bee907d4 r3:c052bde8
    [   46.316032] [<c0121424>] (do_vfs_ioctl) from [<c0121a7c>] (SyS_ioctl+0x3c/0x64)
    [   46.323372]  r9:db000000 r8:00000016 r7:40045613 r6:dc644e40 r5:bee907d4 r4:dc644e41
    [   46.331191] [<c0121a40>] (SyS_ioctl) from [<c000faa0>] (ret_fast_syscall+0x0/0x3c)
    [   46.338801]  r8:c000fc44 r7:00000036 r6:00000016 r5:00000000 r4:00000001 r3:00000000
    [   46.346658] BUG: scheduling while atomic: PDEApplication/177/0xfffffffd
    [   46.352780] Modules linked in: g_mass_storage usb_f_mass_storage rfcomm bnep btwilink usb_f_ss_lb libcomposite lis3lv02d_i2c lis3lv02d [last unloaded: g_zero]
    [   46.367100] CPU: 0 PID: 177 Comm: PDEApplication Tainted: G        W       4.1.6 #2
    [   46.374274] Hardware name: Generic AM33XX (Flattened Device Tree)
    [   46.380388] Backtrace:
    [   46.382853] [<c0012d34>] (dump_backtrace) from [<c0012f54>] (show_stack+0x18/0x1c)
    [   46.390467]  r6:c0a3a950 r5:dd13a400 r4:00000000 r3:00000000
    [   46.396187] [<c0012f3c>] (show_stack) from [<c072cc44>] (dump_stack+0x20/0x28)
    [   46.403447] [<c072cc24>] (dump_stack) from [<c0058c00>] (__schedule_bug+0x4c/0x64)
    [   46.411065] [<c0058bb4>] (__schedule_bug) from [<c072f028>] (__schedule+0x414/0x4c0)
    [   46.418845]  r4:c072f118 r3:00000002
    [   46.422449] [<c072ec14>] (__schedule) from [<c072f118>] (schedule+0x44/0x9c)
    [   46.429535]  r9:00000001 r8:00000000 r7:dd5eb800 r6:db001c6c r5:dbfc5c0c r4:db000000
    [   46.437360] [<c072f0d4>] (schedule) from [<c04b5f10>] (usb_kill_urb+0x80/0xcc)
    [   46.444620]  r4:dbfc5c00 r3:00000001
    [   46.448221] [<c04b5e90>] (usb_kill_urb) from [<c0550e48>] (uvc_uninit_video+0x54/0x80)
    [   46.456180]  r6:dd5ebed8 r5:dbfc5c00 r4:dd5ebed0
    [   46.460834] [<c0550df4>] (uvc_uninit_video) from [<c0553710>] (uvc_video_enable+0x20/0x130)
    [   46.469229]  r9:00000000 r8:00000013 r7:dd5eb810 r6:dd5ebad4 r5:00000000 r4:dd5eb800
    [   46.477048] [<c05536f0>] (uvc_video_enable) from [<c054e998>] (uvc_stop_streaming+0x1c/0x80)
    [   46.485531]  r6:dd5ebad4 r5:dd5ebad4 r4:dd5ebad4 r3:c054e97c
    [   46.491236] [<c054e97c>] (uvc_stop_streaming) from [<c054331c>] (__vb2_queue_cancel+0x48/0x23c)
    [   46.499979]  r5:dd5ebad4 r4:dd5ebad4
    [   46.503579] [<c05432d4>] (__vb2_queue_cancel) from [<c05450c0>] (vb2_internal_streamoff+0x38/0xcc)
    [   46.512584]  r10:dc644e40 r9:00000000 r8:00000013 r7:dd5eb810 r6:00000001 r5:dd5ebad4
    [   46.520484]  r4:dd5ebad4
    [   46.523032] [<c0545088>] (vb2_internal_streamoff) from [<c0545188>] (vb2_streamoff+0x34/0x58)
    [   46.531599]  r4:dd5ebd98 r3:00000000
    [   46.535212] [<c0545154>] (vb2_streamoff) from [<c054ef14>] (uvc_queue_streamoff+0x2c/0x40)
    [   46.543513] [<c054eee8>] (uvc_queue_streamoff) from [<c054fe80>] (uvc_ioctl_streamoff+0x38/0x50)
    [   46.552345]  r6:00000001 r5:dd5ebac4 r4:dd5eb800 r3:00000001
    [   46.558060] [<c054fe48>] (uvc_ioctl_streamoff) from [<c052d8d4>] (v4l_streamoff+0x20/0x24)
    [   46.566369]  r6:40045613 r5:00000001 r4:da809b80 r3:db001e38
    [   46.572077] [<c052d8b4>] (v4l_streamoff) from [<c0530958>] (__video_do_ioctl+0x298/0x318)
    [   46.580301] [<c05306c0>] (__video_do_ioctl) from [<c053036c>] (video_usercopy+0x168/0x4a0)
    [   46.588608]  r10:c05306c0 r9:bee907d4 r8:dc644e40 r7:00000000 r6:db001e38 r5:00000004
    [   46.596507]  r4:40045613
    [   46.599058] [<c0530204>] (video_usercopy) from [<c05306b8>] (video_ioctl2+0x14/0x1c)
    [   46.606840]  r10:00000000 r9:db000000 r8:00000000 r7:40045613 r6:bee907d4 r5:dc644e40
    [   46.614740]  r4:dd5eb810
    [   46.617289] [<c05306a4>] (video_ioctl2) from [<c052be98>] (v4l2_ioctl+0xb0/0xe4)
    [   46.624729] [<c052bde8>] (v4l2_ioctl) from [<c0121844>] (do_vfs_ioctl+0x420/0x61c)
    [   46.632330]  r8:00000016 r7:40045613 r6:dc644e40 r5:da8c1cf0 r4:bee907d4 r3:c052bde8
    [   46.640146] [<c0121424>] (do_vfs_ioctl) from [<c0121a7c>] (SyS_ioctl+0x3c/0x64)
    [   46.647496]  r9:db000000 r8:00000016 r7:40045613 r6:dc644e40 r5:bee907d4 r4:dc644e41
    [   46.655312] [<c0121a40>] (SyS_ioctl) from [<c000faa0>] (ret_fast_syscall+0x0/0x3c)
    [   46.662914]  r8:c000fc44 r7:00000036 r6:00000016 r5:00000000 r4:00000001 r3:00000000
    [   46.671073] BUG: scheduling while atomic: PDEApplication/177/0xfffffffb
    [   46.677236] Modules linked in: g_mass_storage usb_f_mass_storage rfcomm bnep btwilink usb_f_ss_lb libcomposite lis3lv02d_i2c lis3lv02d [last unloaded: g_zero]
    [   46.691779] CPU: 0 PID: 177 Comm: PDEApplication Tainted: G        W       4.1.6 #2
    [   46.698974] Hardware name: Generic AM33XX (Flattened Device Tree)
    [   46.705119] Backtrace:
    [   46.707628] [<c0012d34>] (dump_backtrace) from [<c0012f54>] (show_stack+0x18/0x1c)
    [   46.715258]  r6:c0a3a950 r5:dd13a400 r4:00000000 r3:00000000
    [   46.721061] [<c0012f3c>] (show_stack) from [<c072cc44>] (dump_stack+0x20/0x28)
    [   46.728352] [<c072cc24>] (dump_stack) from [<c0058c00>] (__schedule_bug+0x4c/0x64)
    [   46.735988] [<c0058bb4>] (__schedule_bug) from [<c072f028>] (__schedule+0x414/0x4c0)
    [   46.743783]  r4:c072f118 r3:00000002
    [   46.747456] [<c072ec14>] (__schedule) from [<c072f118>] (schedule+0x44/0x9c)
    [   46.754568]  r9:00000001 r8:00000000 r7:dd5eb800 r6:db001c6c r5:dbfc580c r4:db000000
    [   46.762382] [<c072f0d4>] (schedule) from [<c04b5f10>] (usb_kill_urb+0x80/0xcc)
    [   46.769644]  r4:dbfc5800 r3:00000001
    [   46.773246] [<c04b5e90>] (usb_kill_urb) from [<c0550e48>] (uvc_uninit_video+0x54/0x80)
    [   46.781207]  r6:dd5ebed8 r5:dbfc5800 r4:dd5ebed4
    [   46.785871] [<c0550df4>] (uvc_uninit_video) from [<c0553710>] (uvc_video_enable+0x20/0x130)
    [   46.794268]  r9:00000000 r8:00000013 r7:dd5eb810 r6:dd5ebad4 r5:00000000 r4:dd5eb800
    [   46.802076] [<c05536f0>] (uvc_video_enable) from [<c054e998>] (uvc_stop_streaming+0x1c/0x80)
    [   46.810559]  r6:dd5ebad4 r5:dd5ebad4 r4:dd5ebad4 r3:c054e97c
    [   46.816278] [<c054e97c>] (uvc_stop_streaming) from [<c054331c>] (__vb2_queue_cancel+0x48/0x23c)
    [   46.825023]  r5:dd5ebad4 r4:dd5ebad4
    [   46.828625] [<c05432d4>] (__vb2_queue_cancel) from [<c05450c0>] (vb2_internal_streamoff+0x38/0xcc)
    [   46.837628]  r10:dc644e40 r9:00000000 r8:00000013 r7:dd5eb810 r6:00000001 r5:dd5ebad4
    [   46.845531]  r4:dd5ebad4
    [   46.848078] [<c0545088>] (vb2_internal_streamoff) from [<c0545188>] (vb2_streamoff+0x34/0x58)
    [   46.856648]  r4:dd5ebd98 r3:00000000
    [   46.860250] [<c0545154>] (vb2_streamoff) from [<c054ef14>] (uvc_queue_streamoff+0x2c/0x40)
    [   46.868564] [<c054eee8>] (uvc_queue_streamoff) from [<c054fe80>] (uvc_ioctl_streamoff+0x38/0x50)
    [   46.877395]  r6:00000001 r5:dd5ebac4 r4:dd5eb800 r3:00000001
    [   46.883102] [<c054fe48>] (uvc_ioctl_streamoff) from [<c052d8d4>] (v4l_streamoff+0x20/0x24)
    [   46.891412]  r6:40045613 r5:00000001 r4:da809b80 r3:db001e38
    [   46.897132] [<c052d8b4>] (v4l_streamoff) from [<c0530958>] (__video_do_ioctl+0x298/0x318)
    [   46.905359] [<c05306c0>] (__video_do_ioctl) from [<c053036c>] (video_usercopy+0x168/0x4a0)
    [   46.913654]  r10:c05306c0 r9:bee907d4 r8:dc644e40 r7:00000000 r6:db001e38 r5:00000004
    [   46.921556]  r4:40045613
    [   46.924104] [<c0530204>] (video_usercopy) from [<c05306b8>] (video_ioctl2+0x14/0x1c)
    [   46.931888]  r10:00000000 r9:db000000 r8:00000000 r7:40045613 r6:bee907d4 r5:dc644e40
    [   46.939788]  r4:dd5eb810
    [   46.942336] [<c05306a4>] (video_ioctl2) from [<c052be98>] (v4l2_ioctl+0xb0/0xe4)
    [   46.949777] [<c052bde8>] (v4l2_ioctl) from [<c0121844>] (do_vfs_ioctl+0x420/0x61c)
    [   46.957389]  r8:00000016 r7:40045613 r6:dc644e40 r5:da8c1cf0 r4:bee907d4 r3:c052bde8
    [   46.965205] [<c0121424>] (do_vfs_ioctl) from [<c0121a7c>] (SyS_ioctl+0x3c/0x64)
    [   46.972545]  r9:db000000 r8:00000016 r7:40045613 r6:dc644e40 r5:bee907d4 r4:dc644e41
    [   46.980364] [<c0121a40>] (SyS_ioctl) from [<c000faa0>] (ret_fast_syscall+0x0/0x3c)
    [   46.987976]  r8:c000fc44 r7:00000036 r6:00000016 r5:00000000 r4:00000001 r3:00000000
    [   46.995961] BUG: scheduling while atomic: PDEApplication/177/0xfffffffb
    [   47.002088] Modules linked in: g_mass_storage usb_f_mass_storage rfcomm bnep btwilink usb_f_ss_lb libcomposite lis3lv02d_i2c lis3lv02d [last unloaded: g_zero]
    [   47.016411] CPU: 0 PID: 177 Comm: PDEApplication Tainted: G        W       4.1.6 #2
    [   47.023577] Hardware name: Generic AM33XX (Flattened Device Tree)
    [   47.029703] Backtrace:
    [   47.032168] [<c0012d34>] (dump_backtrace) from [<c0012f54>] (show_stack+0x18/0x1c)
    [   47.039778]  r6:c0a3a950 r5:dd13a400 r4:00000000 r3:00000000
    [   47.045503] [<c0012f3c>] (show_stack) from [<c072cc44>] (dump_stack+0x20/0x28)
    [   47.052763] [<c072cc24>] (dump_stack) from [<c0058c00>] (__schedule_bug+0x4c/0x64)
    [   47.060379] [<c0058bb4>] (__schedule_bug) from [<c072f028>] (__schedule+0x414/0x4c0)
    [   47.068163]  r4:c072f118 r3:00000002
    [   47.071766] [<c072ec14>] (__schedule) from [<c072f118>] (schedule+0x44/0x9c)
    [   47.078851]  r9:00000001 r8:00000000 r7:dd5eb800 r6:db001c6c r5:dbfc540c r4:db000000
    [   47.086678] [<c072f0d4>] (schedule) from [<c04b5f10>] (usb_kill_urb+0x80/0xcc)
    [   47.093927]  r4:dbfc5400 r3:00000001
    [   47.097540] [<c04b5e90>] (usb_kill_urb) from [<c0550e48>] (uvc_uninit_video+0x54/0x80)
    [   47.105501]  r6:dd5ebed8 r5:dbfc5400 r4:dd5ebed8
    [   47.110153] [<c0550df4>] (uvc_uninit_video) from [<c0553710>] (uvc_video_enable+0x20/0x130)
    [   47.118548]  r9:00000000 r8:00000013 r7:dd5eb810 r6:dd5ebad4 r5:00000000 r4:dd5eb800
    [   47.126370] [<c05536f0>] (uvc_video_enable) from [<c054e998>] (uvc_stop_streaming+0x1c/0x80)
    [   47.134852]  r6:dd5ebad4 r5:dd5ebad4 r4:dd5ebad4 r3:c054e97c
    [   47.140559] [<c054e97c>] (uvc_stop_streaming) from [<c054331c>] (__vb2_queue_cancel+0x48/0x23c)
    [   47.149306]  r5:dd5ebad4 r4:dd5ebad4
    [   47.152908] [<c05432d4>] (__vb2_queue_cancel) from [<c05450c0>] (vb2_internal_streamoff+0x38/0xcc)
    [   47.161912]  r10:dc644e40 r9:00000000 r8:00000013 r7:dd5eb810 r6:00000001 r5:dd5ebad4
    [   47.169811]  r4:dd5ebad4
    [   47.172360] [<c0545088>] (vb2_internal_streamoff) from [<c0545188>] (vb2_streamoff+0x34/0x58)
    [   47.180929]  r4:dd5ebd98 r3:00000000
    [   47.184541] [<c0545154>] (vb2_streamoff) from [<c054ef14>] (uvc_queue_streamoff+0x2c/0x40)
    [   47.192842] [<c054eee8>] (uvc_queue_streamoff) from [<c054fe80>] (uvc_ioctl_streamoff+0x38/0x50)
    [   47.201673]  r6:00000001 r5:dd5ebac4 r4:dd5eb800 r3:00000001
    [   47.207391] [<c054fe48>] (uvc_ioctl_streamoff) from [<c052d8d4>] (v4l_streamoff+0x20/0x24)
    [   47.215700]  r6:40045613 r5:00000001 r4:da809b80 r3:db001e38
    [   47.221405] [<c052d8b4>] (v4l_streamoff) from [<c0530958>] (__video_do_ioctl+0x298/0x318)
    [   47.229633] [<c05306c0>] (__video_do_ioctl) from [<c053036c>] (video_usercopy+0x168/0x4a0)
    [   47.237938]  r10:c05306c0 r9:bee907d4 r8:dc644e40 r7:00000000 r6:db001e38 r5:00000004
    [   47.245841]  r4:40045613
    [   47.248390] [<c0530204>] (video_usercopy) from [<c05306b8>] (video_ioctl2+0x14/0x1c)
    [   47.256172]  r10:00000000 r9:db000000 r8:00000000 r7:40045613 r6:bee907d4 r5:dc644e40
    [   47.264061]  r4:dd5eb810
    [   47.266622] [<c05306a4>] (video_ioctl2) from [<c052be98>] (v4l2_ioctl+0xb0/0xe4)
    [   47.274050] [<c052bde8>] (v4l2_ioctl) from [<c0121844>] (do_vfs_ioctl+0x420/0x61c)
    [   47.281661]  r8:00000016 r7:40045613 r6:dc644e40 r5:da8c1cf0 r4:bee907d4 r3:c052bde8
    [   47.289476] [<c0121424>] (do_vfs_ioctl) from [<c0121a7c>] (SyS_ioctl+0x3c/0x64)
    [   47.296825]  r9:db000000 r8:00000016 r7:40045613 r6:dc644e40 r5:bee907d4 r4:dc644e41
    [   47.304644] [<c0121a40>] (SyS_ioctl) from [<c000faa0>] (ret_fast_syscall+0x0/0x3c)
    [   47.312244]  r8:c000fc44 r7:00000036 r6:00000016 r5:00000000 r4:00000001 r3:00000000
    [   47.320830] BUG: scheduling while atomic: PDEApplication/177/0xfffffffb
    [   47.327022] Modules linked in: g_mass_storage usb_f_mass_storage rfcomm bnep btwilink usb_f_ss_lb libcomposite lis3lv02d_i2c lis3lv02d [last unloaded: g_zero]
    [   47.341357] CPU: 0 PID: 177 Comm: PDEApplication Tainted: G        W       4.1.6 #2
    [   47.348535] Hardware name: Generic AM33XX (Flattened Device Tree)
    [   47.354661] Backtrace:
    [   47.357139] [<c0012d34>] (dump_backtrace) from [<c0012f54>] (show_stack+0x18/0x1c)
    [   47.364750]  r6:c0a3a950 r5:dd13a400 r4:00000000 r3:00000000
    [   47.370467] [<c0012f3c>] (show_stack) from [<c072cc44>] (dump_stack+0x20/0x28)
    [   47.377742] [<c072cc24>] (dump_stack) from [<c0058c00>] (__schedule_bug+0x4c/0x64)
    [   47.385361] [<c0058bb4>] (__schedule_bug) from [<c072f028>] (__schedule+0x414/0x4c0)
    [   47.393138]  r4:c072f118 r3:00000002
    [   47.396752] [<c072ec14>] (__schedule) from [<c072f118>] (schedule+0x44/0x9c)
    [   47.403826]  r9:00000000 r8:c0a9e280 r7:c0a3c248 r6:c0a3c250 r5:db001b74 r4:db000000
    [   47.411651] [<c072f0d4>] (schedule) from [<c0731c34>] (schedule_timeout+0x120/0x1d8)
    [   47.419434]  r4:ffff9f3f r3:db000000
    [   47.423039] [<c0731b14>] (schedule_timeout) from [<c072fb08>] (wait_for_common+0xc8/0x1b4)
    [   47.431347]  r9:dd13a400 r8:db001c10 r7:00000000 r6:00000000 r5:00000002 r4:db000000
    [   47.439169] [<c072fa40>] (wait_for_common) from [<c072fc24>] (wait_for_completion_timeout+0x14/0x18)
    [   47.448348]  r9:0000000b r8:00001388 r7:db001c54 r6:00000000 r5:db001c10 r4:dc643f00
    [   47.456175] [<c072fc10>] (wait_for_completion_timeout) from [<c04b63b4>] (usb_start_wait_urb+0x68/0xc4)
    [   47.465624] [<c04b634c>] (usb_start_wait_urb) from [<c04b64d0>] (usb_control_msg+0xc0/0xf8)
    [   47.474011]  r8:00000000 r7:00000000 r6:00000001 r5:00000000 r4:da809500
    [   47.480781] [<c04b6410>] (usb_control_msg) from [<c04b7d48>] (usb_set_interface+0x144/0x31c)
    [   47.489263]  r10:dd6d9a08 r9:00000001 r8:00000000 r7:dd52cc00 r6:00000000 r5:dd6ebc00
    [   47.497162]  r4:dd702c00
    [   47.499714] [<c04b7c04>] (usb_set_interface) from [<c0553734>] (uvc_video_enable+0x44/0x130)
    [   47.508198]  r10:dc644e40 r9:00000000 r8:00000013 r7:dd5eb810 r6:dd5ebad4 r5:00000000
    [   47.516096]  r4:dd5eb800
    [   47.518654] [<c05536f0>] (uvc_video_enable) from [<c054e998>] (uvc_stop_streaming+0x1c/0x80)
    [   47.527136]  r6:dd5ebad4 r5:dd5ebad4 r4:dd5ebad4 r3:c054e97c
    [   47.532843] [<c054e97c>] (uvc_stop_streaming) from [<c054331c>] (__vb2_queue_cancel+0x48/0x23c)
    [   47.541589]  r5:dd5ebad4 r4:dd5ebad4
    [   47.545201] [<c05432d4>] (__vb2_queue_cancel) from [<c05450c0>] (vb2_internal_streamoff+0x38/0xcc)
    [   47.554198]  r10:dc644e40 r9:00000000 r8:00000013 r7:dd5eb810 r6:00000001 r5:dd5ebad4
    [   47.562094]  r4:dd5ebad4
    [   47.564654] [<c0545088>] (vb2_internal_streamoff) from [<c0545188>] (vb2_streamoff+0x34/0x58)
    [   47.573214]  r4:dd5ebd98 r3:00000000
    [   47.576827] [<c0545154>] (vb2_streamoff) from [<c054ef14>] (uvc_queue_streamoff+0x2c/0x40)
    [   47.585144] [<c054eee8>] (uvc_queue_streamoff) from [<c054fe80>] (uvc_ioctl_streamoff+0x38/0x50)
    [   47.593962]  r6:00000001 r5:dd5ebac4 r4:dd5eb800 r3:00000001
    [   47.599685] [<c054fe48>] (uvc_ioctl_streamoff) from [<c052d8d4>] (v4l_streamoff+0x20/0x24)
    [   47.607994]  r6:40045613 r5:00000001 r4:da809b80 r3:db001e38
    [   47.613701] [<c052d8b4>] (v4l_streamoff) from [<c0530958>] (__video_do_ioctl+0x298/0x318)
    [   47.621929] [<c05306c0>] (__video_do_ioctl) from [<c053036c>] (video_usercopy+0x168/0x4a0)
    [   47.630241]  r10:c05306c0 r9:bee907d4 r8:dc644e40 r7:00000000 r6:db001e38 r5:00000004
    [   47.638143]  r4:40045613
    [   47.640692] [<c0530204>] (video_usercopy) from [<c05306b8>] (video_ioctl2+0x14/0x1c)
    [   47.648479]  r10:00000000 r9:db000000 r8:00000000 r7:40045613 r6:bee907d4 r5:dc644e40
    [   47.656380]  r4:dd5eb810
    [   47.658929] [<c05306a4>] (video_ioctl2) from [<c052be98>] (v4l2_ioctl+0xb0/0xe4)
    [   47.666375] [<c052bde8>] (v4l2_ioctl) from [<c0121844>] (do_vfs_ioctl+0x420/0x61c)
    [   47.673971]  r8:00000016 r7:40045613 r6:dc644e40 r5:da8c1cf0 r4:bee907d4 r3:c052bde8
    [   47.681793] [<c0121424>] (do_vfs_ioctl) from [<c0121a7c>] (SyS_ioctl+0x3c/0x64)
    [   47.689141]  r9:db000000 r8:00000016 r7:40045613 r6:dc644e40 r5:bee907d4 r4:dc644e41
    [   47.696963] [<c0121a40>] (SyS_ioctl) from [<c000faa0>] (ret_fast_syscall+0x0/0x3c)
    [   47.704573]  r8:c000fc44 r7:00000036 r6:00000016 r5:00000000 r4:00000001 r3:00000000
    [   47.712973] BUG: scheduling while atomic: PDEApplication/177/0xfffffffb
    [   47.719097] Modules linked in: g_mass_storage usb_f_mass_storage rfcomm bnep btwilink usb_f_ss_lb libcomposite lis3lv02d_i2c lis3lv02d [last unloaded: g_zero]
    [   47.733395] CPU: 0 PID: 177 Comm: PDEApplication Tainted: G        W       4.1.6 #2
    [   47.740557] Hardware name: Generic AM33XX (Flattened Device Tree)
    [   47.746670] Backtrace:
    [   47.749142] [<c0012d34>] (dump_backtrace) from [<c0012f54>] (show_stack+0x18/0x1c)
    [   47.756740]  r6:c0a3a950 r5:dd13a400 r4:00000000 r3:00000000
    [   47.762448] [<c0012f3c>] (show_stack) from [<c072cc44>] (dump_stack+0x20/0x28)
    [   47.769706] [<c072cc24>] (dump_stack) from [<c0058c00>] (__schedule_bug+0x4c/0x64)
    [   47.777309] [<c0058bb4>] (__schedule_bug) from [<c072f028>] (__schedule+0x414/0x4c0)
    [   47.785080]  r4:c072f118 r3:00000000
    [   47.788681] [<c072ec14>] (__schedule) from [<c072f118>] (schedule+0x44/0x9c)
    [   47.795754]  r9:db000000 r8:c000fc44 r7:00000036 r6:db001fb0 r5:c000fc44 r4:db000000
    [   47.803561] [<c072f0d4>] (schedule) from [<c0012974>] (do_work_pending+0x28/0xb4)
    [   47.811071]  r4:db000000 r3:db001f90
    [   47.814670] [<c001294c>] (do_work_pending) from [<c000faec>] (work_pending+0xc/0x20)
    [   47.822441]  r6:00000016 r5:00000000 r4:00000001 r3:00000000
    [   47.828547] BUG: scheduling while atomic: PDEApplication/177/0xfffffffb
    [   47.834671] Modules linked in: g_mass_storage usb_f_mass_storage rfcomm bnep btwilink usb_f_ss_lb libcomposite lis3lv02d_i2c lis3lv02d [last unloaded: g_zero]
    [   47.848965] CPU: 0 PID: 177 Comm: PDEApplication Tainted: G        W       4.1.6 #2
    [   47.856126] Hardware name: Generic AM33XX (Flattened Device Tree)
    [   47.862239] Backtrace:
    [   47.864704] [<c0012d34>] (dump_backtrace) from [<c0012f54>] (show_stack+0x18/0x1c)
    [   47.872300]  r6:c0a3a950 r5:dd13a400 r4:00000000 r3:00000000
    [   47.878007] [<c0012f3c>] (show_stack) from [<c072cc44>] (dump_stack+0x20/0x28)
    [   47.885263] [<c072cc24>] (dump_stack) from [<c0058c00>] (__schedule_bug+0x4c/0x64)
    [   47.892867] [<c0058bb4>] (__schedule_bug) from [<c072f028>] (__schedule+0x414/0x4c0)
    [   47.900637]  r4:c072f118 r3:00000000
    [   47.904239] [<c072ec14>] (__schedule) from [<c072f118>] (schedule+0x44/0x9c)
    [   47.911313]  r9:db000000 r8:c000fc44 r7:0000005b r6:db001fb0 r5:c000fc44 r4:db000000
    [   47.919118] [<c072f0d4>] (schedule) from [<c0012974>] (do_work_pending+0x28/0xb4)
    [   47.926626]  r4:db000000 r3:db001f90
    [   47.930226] [<c001294c>] (do_work_pending) from [<c000faec>] (work_pending+0xc/0x20)
    [   47.937997]  r6:b57ae6a3 r5:000a0c40 r4:0008a86c r3:db000000
    [   47.943979] BUG: scheduling while atomic: PDEApplication/177/0xfffffffb
    [   47.950099] Modules linked in: g_mass_storage usb_f_mass_storage rfcomm bnep btwilink usb_f_ss_lb libcomposite lis3lv02d_i2c lis3lv02d [last unloaded: g_zero]
    [   47.964390] CPU: 0 PID: 177 Comm: PDEApplication Tainted: G        W       4.1.6 #2
    [   47.971552] Hardware name: Generic AM33XX (Flattened Device Tree)
    [   47.977666] Backtrace:
    [   47.980133] [<c0012d34>] (dump_backtrace) from [<c0012f54>] (show_stack+0x18/0x1c)
    [   47.987729]  r6:c0a3a950 r5:dd13a400 r4:00000000 r3:00000000
    [   47.993436] [<c0012f3c>] (show_stack) from [<c072cc44>] (dump_stack+0x20/0x28)
    [   48.000692] [<c072cc24>] (dump_stack) from [<c0058c00>] (__schedule_bug+0x4c/0x64)
    [   48.008295] [<c0058bb4>] (__schedule_bug) from [<c072f028>] (__schedule+0x414/0x4c0)
    [   48.016065]  r4:c072f118 r3:00000000
    [   48.019666] [<c072ec14>] (__schedule) from [<c072f118>] (schedule+0x44/0x9c)
    [   48.026740]  r9:db000000 r8:00000000 r7:10c5387d r6:db001fb0 r5:00000000 r4:db000000
    [   48.034547] [<c072f0d4>] (schedule) from [<c0012974>] (do_work_pending+0x28/0xb4)
    [   48.042056]  r4:db000000 r3:db001f90
    [   48.045657] [<c001294c>] (do_work_pending) from [<c000faec>] (work_pending+0xc/0x20)
    [   48.053428]  r6:ffffffff r5:600f0010 r4:b334b748 r3:00000004
    [   48.059345] BUG: scheduling while atomic: PDEApplication/177/0xfffffffb
    [   48.065464] Modules linked in: g_mass_storage usb_f_mass_storage rfcomm bnep btwilink usb_f_ss_lb libcomposite lis3lv02d_i2c lis3lv02d [last unloaded: g_zero]
    [   48.079756] CPU: 0 PID: 177 Comm: PDEApplication Tainted: G        W       4.1.6 #2
    [   48.086917] Hardware name: Generic AM33XX (Flattened Device Tree)
    [   48.093031] Backtrace:
    [   48.095496] [<c0012d34>] (dump_backtrace) from [<c0012f54>] (show_stack+0x18/0x1c)
    [   48.103093]  r6:c0a3a950 r5:dd13a400 r4:00000000 r3:00000000
    [   48.108799] [<c0012f3c>] (show_stack) from [<c072cc44>] (dump_stack+0x20/0x28)
    [   48.116054] [<c072cc24>] (dump_stack) from [<c0058c00>] (__schedule_bug+0x4c/0x64)
    [   48.123658] [<c0058bb4>] (__schedule_bug) from [<c072f028>] (__schedule+0x414/0x4c0)
    [   48.131429]  r4:c072f118 r3:00000000
    [   48.135029] [<c072ec14>] (__schedule) from [<c072f118>] (schedule+0x44/0x9c)
    [   48.142103]  r9:db000000 r8:00000000 r7:10c5387d r6:db001fb0 r5:00000000 r4:db000000
    [   48.149907] [<c072f0d4>] (schedule) from [<c0012974>] (do_work_pending+0x28/0xb4)
    [   48.157416]  r4:db000000 r3:db001f90
    [   48.161016] [<c001294c>] (do_work_pending) from [<c000faec>] (work_pending+0xc/0x20)
    [   48.168787]  r6:ffffffff r5:200f0030 r4:b502c384 r3:00000004
    [   48.174617] BUG: scheduling while atomic: PDEApplication/177/0xfffffffb
    [   48.180734] Modules linked in: g_mass_storage usb_f_mass_storage rfcomm bnep btwilink usb_f_ss_lb libcomposite lis3lv02d_i2c lis3lv02d [last unloaded: g_zero]
    [   48.195024] CPU: 0 PID: 177 Comm: PDEApplication Tainted: G        W       4.1.6 #2
    [   48.202184] Hardware name: Generic AM33XX (Flattened Device Tree)
    [   48.208297] Backtrace:
    [   48.210761] [<c0012d34>] (dump_backtrace) from [<c0012f54>] (show_stack+0x18/0x1c)
    [   48.218357]  r6:c0a3a950 r5:dd13a400 r4:00000000 r3:00000000
    [   48.224063] [<c0012f3c>] (show_stack) from [<c072cc44>] (dump_stack+0x20/0x28)
    [   48.231317] [<c072cc24>] (dump_stack) from [<c0058c00>] (__schedule_bug+0x4c/0x64)
    [   48.238920] [<c0058bb4>] (__schedule_bug) from [<c072f028>] (__schedule+0x414/0x4c0)
    [   48.246690]  r4:c072f118 r3:00000000
    [   48.250291] [<c072ec14>] (__schedule) from [<c072f118>] (schedule+0x44/0x9c)
    [   48.257365]  r9:db000000 r8:00000000 r7:10c5387d r6:db001fb0 r5:00000000 r4:db000000
    [   48.265171] [<c072f0d4>] (schedule) from [<c0012974>] (do_work_pending+0x28/0xb4)
    [   48.272681]  r4:db000000 r3:db001f90
    [   48.276280] [<c001294c>] (do_work_pending) from [<c000faec>] (work_pending+0xc/0x20)
    [   48.284051]  r6:ffffffff r5:400f0030 r4:b4e5d146 r3:00000004
    [   48.289851] BUG: scheduling while atomic: PDEApplication/177/0xfffffffb
    [   48.295967] Modules linked in: g_mass_storage usb_f_mass_storage rfcomm bnep btwilink usb_f_ss_lb libcomposite lis3lv02d_i2c lis3lv02d [last unloaded: g_zero]
    [   48.310257] CPU: 0 PID: 177 Comm: PDEApplication Tainted: G        W       4.1.6 #2
    [   48.317418] Hardware name: Generic AM33XX (Flattened Device Tree)
    [   48.323531] Backtrace:
    [   48.325996] [<c0012d34>] (dump_backtrace) from [<c0012f54>] (show_stack+0x18/0x1c)
    [   48.333593]  r6:c0a3a950 r5:dd13a400 r4:00000000 r3:00000000
    [   48.339299] [<c0012f3c>] (show_stack) from [<c072cc44>] (dump_stack+0x20/0x28)
    [   48.346553] [<c072cc24>] (dump_stack) from [<c0058c00>] (__schedule_bug+0x4c/0x64)
    [   48.354155] [<c0058bb4>] (__schedule_bug) from [<c072f028>] (__schedule+0x414/0x4c0)
    [   48.361927]  r4:c072f118 r3:00000000
    [   48.365527] [<c072ec14>] (__schedule) from [<c072f118>] (schedule+0x44/0x9c)
    [   48.372600]  r9:db000000 r8:00000000 r7:10c5387d r6:db001fb0 r5:00000000 r4:db000000
    [   48.380406] [<c072f0d4>] (schedule) from [<c0012974>] (do_work_pending+0x28/0xb4)
    [   48.387915]  r4:db000000 r3:db001f90
    [   48.391514] [<c001294c>] (do_work_pending) from [<c000faec>] (work_pending+0xc/0x20)
    [   48.399286]  r6:ffffffff r5:200f0030 r4:b501281c r3:00000004
    [   48.405091] BUG: scheduling while atomic: PDEApplication/177/0xfffffffb
    [   48.411208] Modules linked in: g_mass_storage usb_f_mass_storage rfcomm bnep btwilink usb_f_ss_lb libcomposite lis3lv02d_i2c lis3lv02d [last unloaded: g_zero]
    [   48.425496] CPU: 0 PID: 177 Comm: PDEApplication Tainted: G        W       4.1.6 #2
    [   48.432658] Hardware name: Generic AM33XX (Flattened Device Tree)
    [   48.438770] Backtrace:
    [   48.441236] [<c0012d34>] (dump_backtrace) from [<c0012f54>] (show_stack+0x18/0x1c)
    [   48.448833]  r6:c0a3a950 r5:dd13a400 r4:00000000 r3:00000000
    [   48.454539] [<c0012f3c>] (show_stack) from [<c072cc44>] (dump_stack+0x20/0x28)
    [   48.461794] [<c072cc24>] (dump_stack) from [<c0058c00>] (__schedule_bug+0x4c/0x64)
    [   48.469396] [<c0058bb4>] (__schedule_bug) from [<c072f028>] (__schedule+0x414/0x4c0)
    [   48.477167]  r4:c072f118 r3:00000000
    [   48.480766] [<c072ec14>] (__schedule) from [<c072f118>] (schedule+0x44/0x9c)
    [   48.487839]  r9:db000000 r8:00000000 r7:10c5387d r6:db001fb0 r5:00000000 r4:db000000
    [   48.495643] [<c072f0d4>] (schedule) from [<c0012974>] (do_work_pending+0x28/0xb4)
    [   48.503152]  r4:db000000 r3:db001f90
    [   48.506751] [<c001294c>] (do_work_pending) from [<c000faec>] (work_pending+0xc/0x20)
    [   48.514523]  r6:ffffffff r5:200f0030 r4:b4e4a2a6 r3:00000004

  • Ben,

    Is you streaming 30fps YUV raw format? If so, please try to enable CONFIG_SMP in your kernel config to see if the lockup still happens. I know AM335x has a single ARM core and CONFIG_SMP doesn't make sense, but the patch 0005 in the tarball above seems causing issue when CONFIG_SMP is not set, I don't remember what exact the issue is now.

    If you stream mjpeg compressed video, the usb throughput is much lower, you can drop the patch 0005 in the tarball (which is just a hack) and the first patch above (Revert "usb: musb: musb_host: Enable HCD_BH flag to handle urb return in bottom half").

    If none of them solves the issue, please test with the latest Processor SDK 4.0. If the issue still happens, we will debug from there. Please start a new e2e thread if you still have such issue in Processor SDK 4.0.
  • Hi Bin,

    While we were not streaming in 30 fps YUV (we requested 10 fps MJPG through gstreamer), we've run enough tests to confirm that this did fix our issue. Thanks!
  • Hello Ben, 


    I just solved this issue on our Sitara AM335, which is still using kernel 3.14.

    What you need is the USB core of kernel 4.4.49 and this patch to cdc-wdm.c in kernel 4.9: 

    USB core patches I needed for this to work in 3.14 - All of them are already in 4.4.49

    ==> 0001-usb-core-unlink-urbs-from-the-tail-of-the-endpoint-s.patch <==
    From 921a1ed2a11ad05ffd95171a6b7509634baab760 Mon Sep 17 00:00:00 2001
    From: Bin Liu <b-liu@ti.com>
    Date: Tue, 25 Jul 2017 09:31:33 -0500

    ==> 0001-usb-musb-core-add-clear_ep_rxintr-to-musb_platform_o.patch <==
    From 5de2dd7f1be18c1ee72c4aa4aeccb191982c1e7c Mon Sep 17 00:00:00 2001
    From: Bin Liu <b-liu@ti.com>
    Date: Tue, 3 Jan 2017 18:13:46 -0600

    ==> 0001-usb-musb-fix-tx-fifo-flush-handling-again.patch <==
    From 8b278516e5e36fd330ce8b88371e755decd19d3b Mon Sep 17 00:00:00 2001
    From: Bin Liu <b-liu@ti.com>
    Date: Tue, 25 Jul 2017 09:31:34 -0500

    ==> 0001-usb-musb-fix-tx-fifo-flush-handling.patch <==
    From 68fe05e2a45181ce02ab2698930b37f20487bd24 Mon Sep 17 00:00:00 2001
    From: Bin Liu <b-liu@ti.com>
    Date: Fri, 6 Nov 2015 12:08:56 -0600

    ==> 0001-usb-musb-host-don-t-start-next-rx-urb-if-current-one.patch <==
    From dbac5d07d13e330e6706813c9fde477140fb5d80 Mon Sep 17 00:00:00 2001
    From: Bin Liu <b-liu@ti.com>
    Date: Tue, 31 May 2016 10:05:04 -0500

    ---  these should be in 4.1. Needed for 3.14
    ==> 0001-usb-musb-Ensure-rx-reinit-occurs-for-shared_fifo-end.patch <==
    From f3eec0cf784e0d6c47822ca6b66df3d5812af7e6 Mon Sep 17 00:00:00 2001
    From: Andrew Goodbody <andrew.goodbody@cambrionix.com>
    Date: Tue, 31 May 2016 10:05:26 -0500

    ==> 0001-usb-musb-Stop-bulk-endpoint-while-queue-is-rotated.patch <==
    From 7b2c17f829545df27a910e8d82e133c21c9a8c9c Mon Sep 17 00:00:00 2001
    From: Andrew Goodbody <andrew.goodbody@cambrionix.com>
    Date: Tue, 31 May 2016 10:05:27 -0500