[ aboot second-stage loader ] boot device: USB inited software boot configuration kernel: 0x80008000 (3836044 bytes) ramdisk: 0x823a9800 (9068032 bytes) atags: 0x80000100 cmdline: console=ttyO2,115200 earlyprintk mem=768M root=/dev/nfs rw ip=10.0.0.50 nfsroot=10.0.0.1:/home/rabin/dev/rootfs/nfs rmachtype: 2791 booting... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.4.0-rc8-00025-gbbf360b (rabin@debian) (gcc version 5.1.1 20150608 (Linaro GCC 5.1-2015.08) ) #172 SMP Tue Jan 5 13:52:16 CET 2016 [ 0.000000] CPU: ARMv7 Processor [411fc092] revision 2 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine model: TI OMAP4 PandaBoard [ 0.000000] bootconsole [earlycon0] enabled [ 0.000000] cma: Reserved 16 MiB at 0xaec00000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] OMAP4: Map 0xafe00000 to fe600000 for dram barrier [ 0.000000] OMAP4430 ES2.1 [ 0.000000] PERCPU: Embedded 12 pages/cpu @efd6a000 s19456 r8192 d21504 u49152 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 194560 [ 0.000000] Kernel command line: console=ttyO2,115200 earlyprintk mem=768M root=/dev/nfs rw ip=10.0.0.50 nfsroot=10.0.0.1:/home/rabin/dev/rootfs/nfs rootwait nfsrootdebug g_ether.dev_addr=5a:77:1e:af:8e:9e g_ether.host_addr=72:8d:1f:c4:e8:ca [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Memory: 743992K/784384K available (5319K kernel code, 474K rwdata, 1900K rodata, 356K init, 8344K bss, 24008K reserved, 16384K 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 : 0xf0800000 - 0xff800000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0714fa4 (7220 kB) [ 0.000000] .init : 0xc0715000 - 0xc076e000 ( 356 kB) [ 0.000000] .data : 0xc076e000 - 0xc07e4b10 ( 475 kB) [ 0.000000] .bss : 0xc07e7000 - 0xc100d278 (8345 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Running RCU self tests [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU lockdep checking is enabled. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] L2C: platform modifies aux control register: 0x0e070000 -> 0x3e470000 [ 0.000000] L2C: DT/platform modifies aux control register: 0x0e070000 -> 0x3e470000 [ 0.000000] L2C-310 erratum 727915 enabled [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9 [ 0.000000] L2C-310 ID prefetch enabled, offset 1 lines [ 0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB [ 0.000000] L2C-310: CACHE_ID 0x410000c4, AUX_CTRL 0x7e470000 [ 0.000000] ti_dt_clocks_register: failed to lookup clock node dss_fck [ 0.000000] ti_dt_clocks_register: failed to lookup clock node dss_fck [ 0.000000] ti_dt_clocks_register: failed to lookup clock node div_ts_ck [ 0.000000] ti_dt_clocks_register: failed to lookup clock node bandgap_ts_fclk [ 0.000000] OMAP clockevent source: timer1 at 32768 Hz [ 0.000000] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns [ 0.000030] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65535999984741ns [ 0.008666] OMAP clocksource: 32k_counter at 32768 Hz [ 0.014678] Console: colour dummy device 80x30 [ 0.019348] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.027374] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.031677] ... MAX_LOCK_DEPTH: 48 [ 0.036041] ... MAX_LOCKDEP_KEYS: 8191 [ 0.040618] ... CLASSHASH_SIZE: 4096 [ 0.045166] ... MAX_LOCKDEP_ENTRIES: 32768 [ 0.049804] ... MAX_LOCKDEP_CHAINS: 65536 [ 0.054443] ... CHAINHASH_SIZE: 32768 [ 0.059082] memory used by lock dependency info: 5167 kB [ 0.064727] per task-struct memory footprint: 1536 bytes [ 0.070373] Calibrating delay loop... 2007.04 BogoMIPS (lpj=10035200) [ 0.132385] pid_max: default: 32768 minimum: 301 [ 0.137695] Security Framework initialized [ 0.142211] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.149108] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.159118] CPU: Testing write buffer coherency: ok [ 0.165344] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.171386] Setting up static identity map for 0x80008340 - 0x80008398 [ 0.239318] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.239685] Brought up 2 CPUs [ 0.248718] SMP: Total of 2 processors activated (4014.08 BogoMIPS). [ 0.255340] CPU: All CPU(s) started in SVC mode. [ 0.262664] devtmpfs: initialized [ 0.398986] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 1 [ 0.410247] omap_hwmod: l3_instr using broken dt data from ptm [ 0.416381] omap_hwmod: l3_main_3 using broken dt data from ocp [ 0.426422] omap_hwmod: l3_main_2 using broken dt data from ocp [ 0.436157] omap_hwmod: debugss using broken dt data from ptm [ 0.596984] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.609954] pinctrl core: initialized pinctrl subsystem [ 0.621063] NET: Registered protocol family 16 [ 0.628875] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.669555] OMAP GPIO hardware version 0.1 [ 0.691375] omap-gpmc 50000000.gpmc: GPMC revision 6.0 [ 0.696838] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000 [ 0.704681] irq: no irq domain found for /ocp/l4@4a000000/scm@100000/pinmux@40 ! [ 0.713317] irq: no irq domain found for /ocp/l4@4a000000/scm@100000/pinmux@40 ! [ 0.721954] irq: no irq domain found for /ocp/l4@4a000000/scm@100000/pinmux@40 ! [ 0.762847] platform 4b501000.aes: Cannot lookup hwmod 'aes' [ 0.769592] platform 480a5000.des: Cannot lookup hwmod 'des' [ 0.788848] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. [ 0.797180] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.804443] omap4_sram_init:Unable to get sram pool needed to handle errata I688 [ 0.814422] OMAP DMA hardware revision 0.0 [ 0.822265] ARM PMU: not yet supported on OMAP4430 due to missing CTI driver [ 0.929168] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver [ 1.019836] reg-fixed-voltage wl12xx_vmmc: could not find pctldev for node /ocp/l4@4a000000/scm@100000/pinmux@40/pinmux_wl12xx_gpio, deferring probe [ 1.039855] omap-iommu 4a066000.mmu: 4a066000.mmu registered [ 1.046264] omap-iommu 55082000.mmu: 55082000.mmu registered [ 1.055236] usbcore: registered new interface driver usbfs [ 1.061370] usbcore: registered new interface driver hub [ 1.067169] usbcore: registered new device driver usb [ 1.077484] omap_i2c 48070000.i2c: could not find pctldev for node /ocp/l4@4a000000/scm@100000/pinmux@40/pinmux_i2c1_pins, deferring probe [ 1.090484] omap_i2c 48072000.i2c: could not find pctldev for node /ocp/l4@4a000000/scm@100000/pinmux@40/pinmux_i2c2_pins, deferring probe [ 1.103454] omap_i2c 48060000.i2c: could not find pctldev for node /ocp/l4@4a000000/scm@100000/pinmux@40/pinmux_i2c3_pins, deferring probe [ 1.116424] omap_i2c 48350000.i2c: could not find pctldev for node /ocp/l4@4a000000/scm@100000/pinmux@40/pinmux_i2c4_pins, deferring probe [ 1.134796] clocksource: Switched to clocksource 32k_counter [ 1.310272] NET: Registered protocol family 2 [ 1.317657] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 1.325164] TCP bind hash table entries: 8192 (order: 6, 294912 bytes) [ 1.333953] TCP: Hash tables configured (established 8192 bind 8192) [ 1.340911] UDP hash table entries: 512 (order: 3, 40960 bytes) [ 1.347381] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes) [ 1.355255] NET: Registered protocol family 1 [ 1.361572] RPC: Registered named UNIX socket transport module. [ 1.367767] RPC: Registered udp transport module. [ 1.372680] RPC: Registered tcp transport module. [ 1.377716] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.394439] futex hash table entries: 512 (order: 3, 32768 bytes) [ 1.493347] VFS: Disk quotas dquot_6.6.0 [ 1.498657] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.513977] NFS: Registering the id_resolver key type [ 1.519531] Key type id_resolver registered [ 1.523925] Key type id_legacy registered [ 1.534698] io scheduler noop registered [ 1.538879] io scheduler deadline registered [ 1.545654] io scheduler cfq registered (default) [ 1.558990] pinctrl-single 4a100040.pinmux: 203 pins at pa fc100040 size 406 [ 1.567169] pinctrl-single 4a31e040.pinmux: 28 pins at pa fc31e040 size 56 [ 1.575988] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.590454] omap_uart 4806a000.serial: no wakeirq for uart0 [ 1.596557] 4806a000.serial: ttyO0 at MMIO 0x4806a000 (irq = 226, base_baud = 3000000) is a OMAP UART0 [ 1.608459] 4806c000.serial: ttyO1 at MMIO 0x4806c000 (irq = 227, base_baud = 3000000) is a OMAP UART1 [ 1.619903] 48020000.serial: ttyO2 at MMIO 0x48020000 (irq = 228, base_baud = 3000000) is a OMAP UART2 [ 1.630249] console [ttyO2] enabled [ 1.630249] console [ttyO2] enabled [ 1.637603] bootconsole [earlycon0] disabled [ 1.637603] bootconsole [earlycon0] disabled [ 1.648529] 4806e000.serial: ttyO3 at MMIO 0x4806e000 (irq = 229, base_baud = 3000000) is a OMAP UART3 [ 1.716674] brd: module loaded [ 1.754058] loop: module loaded [ 1.760437] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.781158] usbcore: registered new interface driver asix [ 1.787231] usbcore: registered new interface driver ax88179_178a [ 1.793914] usbcore: registered new interface driver cdc_ether [ 1.800476] usbcore: registered new interface driver smsc95xx [ 1.806823] usbcore: registered new interface driver net1080 [ 1.813079] usbcore: registered new interface driver cdc_subset [ 1.819580] usbcore: registered new interface driver zaurus [ 1.825927] usbcore: registered new interface driver cdc_ncm [ 1.834533] usbcore: registered new interface driver cdc_wdm [ 1.841033] usbcore: registered new interface driver usbtest [ 1.848388] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver [ 1.856231] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1 [ 1.865905] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.873046] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.880737] usb usb1: Product: MUSB HDRC host driver [ 1.885986] usb usb1: Manufacturer: Linux 4.4.0-rc8-00025-gbbf360b musb-hcd [ 1.893310] usb usb1: SerialNumber: musb-hdrc.0.auto [ 1.902770] hub 1-0:1.0: USB hub found [ 1.907043] hub 1-0:1.0: 1 port detected [ 1.917419] using random self ethernet address [ 1.922088] using random host ethernet address [ 1.926788] using host ethernet address: 72:8d:1f:c4:e8:ca [ 1.932373] using self ethernet address: 5a:77:1e:af:8e:9e[ 1.941589] usb0: HOST MAC 72:8d:1f:c4:e8:ca [ 1.946350] usb0: MAC 5a:77:1e:af:8e:9e [ 1.950469] using random self ethernet address [ 1.955169] using random host ethernet address [ 1.960632] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008 [ 1.967620] g_ether gadget: g_ether ready [ 1.972747] i2c /dev entries driver [ 1.980194] omap_wdt: OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec [ 1.992401] usbcore: registered new interface driver usbhid [ 1.998291] usbhid: USB HID core driver [ 2.004608] coresight-tpiu 54163000.tpiu: TPIU initialized [ 2.012695] coresight-etb10 54162000.etb: ETB initialized [ 2.019714] coresight-funnel 54158000.funnel: FUNNEL initialized [ 2.027252] coresight-funnel 54164000.funnel: FUNNEL initialized [ 2.035064] coresight-replicator 44000000.ocp:replicator: REPLICATOR initialized [ 2.055328] Initializing XFRM netlink socket [ 2.059967] NET: Registered protocol family 17 [ 2.064819] NET: Registered protocol family 15 [ 2.070007] Key type dns_resolver registered [ 2.074829] twl: not initialized [ 2.078216] twl6030_uv_to_vsel:OUT OF RANGE! non mapped vsel for 1375000 Vs max 1316660 [ 2.086639] twl6030_uv_to_vsel:OUT OF RANGE! non mapped vsel for 1375000 Vs max 1316660 [ 2.095092] twl6030_uv_to_vsel:OUT OF RANGE! non mapped vsel for 1375000 Vs max 1316660 [ 2.103515] twl6030_uv_to_vsel:OUT OF RANGE! non mapped vsel for 1375000 Vs max 1316660 [ 2.111968] twl6030_uv_to_vsel:OUT OF RANGE! non mapped vsel for 1375000 Vs max 1316660 [ 2.120391] twl6030_uv_to_vsel:OUT OF RANGE! non mapped vsel for 1375000 Vs max 1316660 [ 2.128814] twl6030_uv_to_vsel:OUT OF RANGE! non mapped vsel for 1410000 Vs max 1316660 [ 2.137268] omap2_set_init_voltage: unable to find boot up OPP for vdd_mpu [ 2.144500] omap2_set_init_voltage: unable to set vdd_mpu [ 2.150207] omap2_set_init_voltage: unable to find boot up OPP for vdd_core [ 2.157531] omap2_set_init_voltage: unable to set vdd_core [ 2.163330] omap2_set_init_voltage: unable to find boot up OPP for vdd_iva [ 2.170562] omap2_set_init_voltage: unable to set vdd_iva [ 2.177917] Power Management for TI OMAP4+ devices. [ 2.183044] OMAP4 PM: u-boot >= v2012.07 is required for full PM support [ 2.190399] ThumbEE CPU extension supported. [ 2.194946] Registering SWP/SWPB emulation handler [ 2.200775] coresight-replicator 44000000.ocp:replicator: omap_device: omap_device_idle() called from invalid state 0 [ 2.227874] Skipping twl internal clock init and using bootloader value (unknown osc rate) [ 2.255981] twl 0-0048: PIH (irq 335) nested IRQs [ 2.264373] twl_rtc 48070000.i2c:twl@48:rtc: Enabling TWL-RTC [ 2.276184] twl_rtc 48070000.i2c:twl@48:rtc: rtc core: registered 48070000.i2c:twl@48 as rtc0 [ 2.327972] twl6030_usb 48070000.i2c:twl@48:usb-comparator: Initialized TWL6030 USB module [ 2.340362] twl6040 0-004b: clk32k is not handled [ 2.351898] omap_i2c 48070000.i2c: bus 0 rev0.10 at 400 kHz [ 2.361114] omap_i2c 48072000.i2c: bus 1 rev0.10 at 400 kHz [ 2.370666] omap_i2c 48060000.i2c: bus 2 rev0.10 at 100 kHz [ 2.379425] omap_i2c 48350000.i2c: bus 3 rev0.10 at 400 kHz [ 2.388305] coresight-etm3x 5414c000.ptm: PTM 1.0 initialized [ 2.397033] coresight-etm3x 5414d000.ptm: PTM 1.0 initialized [ 2.404235] g_ether gadget: high-speed config #1: CDC Ethernet (ECM) [ 2.414367] twl_rtc 48070000.i2c:twl@48:rtc: setting system clock to 2000-01-01 00:14:16 UTC (946685656) [ 2.495025] IP-Config: Guessing netmask 255.0.0.0 [ 2.500457] IP-Config: Complete: [ 2.503845] device=usb0, hwaddr=5a:77:1e:af:8e:9e, ipaddr=10.0.0.50, mask=255.0.0.0, gw=255.255.255.255 [ 2.514251] host=10.0.0.50, domain=, nis-domain=(none) [ 2.520141] bootserver=255.255.255.255, rootserver=10.0.0.1, rootpath= [ 2.527740] vwl1271: disabling [ 2.533233] VMMC: disabling [ 2.537872] VDAC: disabling [ 2.541473] VANA: disabling [ 2.575164] VFS: Mounted root (nfs filesystem) on device 0:16. [ 2.582427] devtmpfs: mounted [ 2.586090] Freeing unused kernel memory: 356K (c0715000 - c076e000) Starting logging: OK Initializing random number generator... [ 3.381896] random: dd urandom read with 85 bits of entropy available done. Starting network... ip: RTNETLINK answers: File exists Starting dropbear sshd: OK Welcome to Buildroot buildroot login: root Password: # # # # # echo 1 > /sys/bus/coresight/devices/54162000.etb/enable_sink # # # # # echo 1 > /sys/bus/coresight/devices/5414c000.ptm/enable_source [ 23.197021] [ 23.198608] ====================================================== [ 23.205078] [ INFO: possible circular locking dependency detected ] [ 23.211639] 4.4.0-rc8-00025-gbbf360b #172 Not tainted [ 23.216918] ------------------------------------------------------- [ 23.223480] sh/858 is trying to acquire lock: [ 23.228057] (coresight_mutex){+.+.+.}, at: [] coresight_enable+0x1c/0x1b4 [ 23.236206] [ 23.236206] but task is already holding lock: [ 23.242309] (s_active#52){++++.+}, at: [] kernfs_fop_write+0x5c/0x1c0 [ 23.250122] [ 23.250122] which lock already depends on the new lock. [ 23.250122] [ 23.258697] [ 23.258697] the existing dependency chain (in reverse order) is: [ 23.266510] -> #1 (s_active#52){++++.+}: [ 23.270843] [] __kernfs_remove+0x294/0x35c [ 23.276672] [] kernfs_remove_by_name_ns+0x44/0x8c [ 23.283172] [] remove_files+0x3c/0x84 [ 23.288543] [] sysfs_remove_group+0x48/0x9c [ 23.294494] [] sysfs_remove_groups+0x2c/0x3c [ 23.300506] [] device_remove_attrs+0x5c/0x74 [ 23.306549] [] device_del+0x110/0x218 [ 23.311950] [] device_unregister+0x2c/0x6c [ 23.317779] [] coresight_unregister+0x30/0x40 [ 23.323883] [] etm_probe+0x228/0x2e8 [ 23.329193] [] amba_probe+0xe4/0x160 [ 23.334503] [] driver_probe_device+0x23c/0x480 [ 23.340728] [] __driver_attach+0x9c/0xa0 [ 23.346374] [] bus_for_each_dev+0x70/0xa4 [ 23.352142] [] driver_attach+0x24/0x28 [ 23.357604] [] bus_add_driver+0x1e0/0x278 [ 23.363372] [] driver_register+0x80/0x100 [ 23.369110] [] amba_driver_register+0x58/0x5c [ 23.375244] [] etm_driver_init+0x18/0x1c [ 23.380889] [] do_one_initcall+0xc4/0x20c [ 23.386657] [] kernel_init_freeable+0x160/0x208 [ 23.392974] [] kernel_init+0x18/0xf0 [ 23.398254] [] ret_from_fork+0x14/0x24 [ 23.403747] -> #0 (coresight_mutex){+.+.+.}: [ 23.408447] [] lock_acquire+0xe4/0x210 [ 23.413909] [] mutex_lock_nested+0x74/0x450 [ 23.419860] [] coresight_enable+0x1c/0x1b4 [ 23.425689] [] enable_source_store+0x58/0x68 [ 23.431732] [] dev_attr_store+0x20/0x2c [ 23.437286] [] sysfs_kf_write+0x50/0x54 [ 23.442871] [] kernfs_fop_write+0xc4/0x1c0 [ 23.448699] [] __vfs_write+0x34/0xe4 [ 23.454040] [] vfs_write+0x98/0x174 [ 23.459228] [] SyS_write+0x4c/0xa8 [ 23.464355] [] ret_fast_syscall+0x0/0x1c [ 23.470031] [ 23.470031] other info that might help us debug this: [ 23.470031] [ 23.478393] Possible unsafe locking scenario: [ 23.478393] [ 23.484619] CPU0 CPU1 [ 23.489349] ---- ---- [ 23.494079] lock(s_active#52); [ 23.497497] lock(coresight_mutex); [ 23.503906] lock(s_active#52); [ 23.509918] lock(coresight_mutex); [ 23.513702] [ 23.513702] *** DEADLOCK *** [ 23.513702] [ 23.519897] 3 locks held by sh/858: [ 23.523529] #0: (sb_writers#7){.+.+.+}, at: [] __sb_start_write+0xa8/0xd4 [ 23.531799] #1: (&of->mutex){+.+...}, at: [] kernfs_fop_write+0x54/0x1c0 [ 23.539916] #2: (s_active#52){++++.+}, at: [] kernfs_fop_write+0x5c/0x1c0 [ 23.548156] [ 23.548156] stack backtrace: [ 23.552734] CPU: 0 PID: 858 Comm: sh Not tainted 4.4.0-rc8-00025-gbbf360b #172 [ 23.560302] Hardware name: Generic OMAP4 (Flattened Device Tree) [ 23.566589] Backtrace: [ 23.569152] [] (dump_backtrace) from [] (show_stack+0x18/0x1c) [ 23.577087] r7:ed4b8570 r6:c0936400 r5:c07ae71c r4:00000000 [ 23.583038] [] (show_stack) from [] (dump_stack+0x98/0xc0) [ 23.590606] [] (dump_stack) from [] (print_circular_bug+0x21c/0x33c) [ 23.599090] r5:c0939d60 r4:c0936400 [ 23.602874] [] (print_circular_bug) from [] (__lock_acquire+0x1c98/0x1d88) [ 23.611877] r10:00000003 r9:c0fd7a5c r8:ed4b8550 r7:ed4b8570 r6:ed4b8000 r5:c0ff69e4 [ 23.620117] r4:c0936400 r3:ed4b8550 [ 23.623901] [] (__lock_acquire) from [] (lock_acquire+0xe4/0x210) [ 23.632080] r10:00000000 r9:00000000 r8:60000013 r7:c07cb7b4 r6:00000001 r5:00000000 [ 23.640350] r4:00000000 [ 23.643005] [] (lock_acquire) from [] (mutex_lock_nested+0x74/0x450) [ 23.651458] r10:ecc0bf80 r9:edbe7dcc r8:ed4b8000 r7:c0fd7a5c r6:c0415d40 r5:00000000 [ 23.659729] r4:c07cb780 [ 23.662384] [] (mutex_lock_nested) from [] (coresight_enable+0x1c/0x1b4) [ 23.671234] r10:ecc0bf80 r9:edbe7dcc r8:ed733c00 r7:00000000 r6:ed733c00 r5:00000002 [ 23.679473] r4:ed762140 [ 23.682128] [] (coresight_enable) from [] (enable_source_store+0x58/0x68) [ 23.691070] r7:00000000 r6:ed733c00 r5:00000002 r4:ed762160 [ 23.697052] [] (enable_source_store) from [] (dev_attr_store+0x20/0x2c) [ 23.705780] r5:edbe7dc0 r4:c0415fd8 [ 23.709533] [] (dev_attr_store) from [] (sysfs_kf_write+0x50/0x54) [ 23.717834] r5:edbe7dc0 r4:c030b338 [ 23.721618] [] (sysfs_kf_write) from [] (kernfs_fop_write+0xc4/0x1c0) [ 23.730163] r7:00000000 r6:00000000 r5:00000002 r4:edbe7dc0 [ 23.736145] [] (kernfs_fop_write) from [] (__vfs_write+0x34/0xe4) [ 23.744323] r10:00000000 r9:ecc0a000 r8:c0010964 r7:ecc0bf80 r6:00000002 r5:c01d4ae4 [ 23.752593] r4:ee385a40 [ 23.755249] [] (__vfs_write) from [] (vfs_write+0x98/0x174) [ 23.762908] r9:ecc0a000 r8:c0010964 r7:ecc0bf80 r6:000ab0d8 r5:00000002 r4:ee385a40 [ 23.771057] [] (vfs_write) from [] (SyS_write+0x4c/0xa8) [ 23.778442] r8:c0010964 r7:00000002 r6:000ab0d8 r5:ee385a40 r4:ee385a40 [ 23.785522] [] (SyS_write) from [] (ret_fast_syscall+0x0/0x1c) [ 23.793457] r7:00000004 r6:00000001 r5:000ab0d8 r4:00000002 [ 23.799652] coresight-etb10 54162000.etb: ETB enabled [ 23.805084] coresight-funnel 54164000.funnel: FUNNEL inport 0 enabled [ 23.811859] coresight-replicator 44000000.ocp:replicator: REPLICATOR enabled [ 23.819335] coresight-funnel 54158000.funnel: FUNNEL inport 0 enabled [ 23.826110] coresight-etm3x 5414c000.ptm: ETM tracing enabled # # # # # # # # # # # echo 0 > /sys/bus/coresight/devices/54162000.etb/enable_sink # # # # # # # echo 0 > /sys/bus/coresight/devices/5414c000.ptm/enable_source [ 38.481628] ============================================================================= [ 38.490203] BUG kmalloc-512 (Not tainted): Invalid object pointer 0xed6b34a4 [ 38.497589] ----------------------------------------------------------------------------- [ 38.497589] [ 38.507690] INFO: Slab 0xeebad600 objects=23 used=14 fp=0xed6b2c00 flags=0x4081 [ 38.515350] CPU: 0 PID: 858 Comm: sh Tainted: G B 4.4.0-rc8-00025-gbbf360b #172 [ 38.524200] Hardware name: Generic OMAP4 (Flattened Device Tree) [ 38.530487] Backtrace: [ 38.533050] [] (dump_backtrace) from [] (show_stack+0x18/0x1c) [ 38.540985] r7:00000001 r6:eebad600 r5:c07ae71c r4:00000000 [ 38.546966] [] (show_stack) from [] (dump_stack+0x98/0xc0) [ 38.554534] [] (dump_stack) from [] (slab_err+0x78/0x80) [ 38.561920] r5:ee0013c0 r4:eebad600 [ 38.565704] [] (slab_err) from [] (free_debug_processing+0x234/0x34c) [ 38.574249] r3:ed6b34a4 r2:c068c380 [ 38.578002] r5:ee0013c0 r4:ed6b34a4 [ 38.581787] [] (free_debug_processing) from [] (__slab_free+0x29c/0x428) [ 38.590606] r10:ee0013c0 r9:00000000 r8:20000013 r7:c0418fb4 r6:ed6b34a4 r5:00010d00 [ 38.598846] r4:eebad600 [ 38.601501] [] (__slab_free) from [] (kfree+0x2dc/0x2f4) [ 38.608886] r10:ecc0bf80 r9:00000000 r8:20000013 r7:c0418fb4 r6:ed6b34a4 r5:eebad600 [ 38.617126] r4:ee0013c0 [ 38.619812] [] (kfree) from [] (etm_disable+0xf8/0x148) [ 38.627105] r10:ecc0bf80 r9:00000000 r8:ed733700 r7:00000000 r6:ed6b3460 r5:00000001 [ 38.635345] r4:ed6b3450 [ 38.638000] [] (etm_disable) from [] (coresight_disable+0xbc/0x100) [ 38.646392] r7:00000000 r6:c0771150 r5:c076b900 r4:ed762140 [ 38.652343] [] (coresight_disable) from [] (enable_source_store+0x48/0x68) [ 38.661376] r9:edbe7dcc r8:ed733c00 r7:00000000 r6:ed733c00 r5:00000002 r4:ed762160 [ 38.669525] [] (enable_source_store) from [] (dev_attr_store+0x20/0x2c) [ 38.678283] r5:edbe7dc0 r4:c0415fd8 [ 38.682067] [] (dev_attr_store) from [] (sysfs_kf_write+0x50/0x54) [ 38.690338] r5:edbe7dc0 r4:c030b338 [ 38.694122] [] (sysfs_kf_write) from [] (kernfs_fop_write+0xc4/0x1c0) [ 38.702697] r7:00000000 r6:00000000 r5:00000002 r4:edbe7dc0 [ 38.708648] [] (kernfs_fop_write) from [] (__vfs_write+0x34/0xe4) [ 38.716857] r10:00000000 r9:ecc0a000 r8:c0010964 r7:ecc0bf80 r6:00000002 r5:c01d4ae4 [ 38.725128] r4:ee384e00 [ 38.727783] [] (__vfs_write) from [] (vfs_write+0x98/0x174) [ 38.735412] r9:ecc0a000 r8:c0010964 r7:ecc0bf80 r6:000a9e00 r5:00000002 r4:ee384e00 [ 38.743591] [] (vfs_write) from [] (SyS_write+0x4c/0xa8) [ 38.750946] r8:c0010964 r7:00000002 r6:000a9e00 r5:ee384e00 r4:ee384e00 [ 38.758026] [] (SyS_write) from [] (ret_fast_syscall+0x0/0x1c) [ 38.765960] r7:00000004 r6:00000001 r5:000a9e00 r4:00000002 [ 38.771972] FIX kmalloc-512: Object at 0xed6b34a4 not freed [ 38.777893] coresight-etm3x 5414c000.ptm: ETM tracing disabled [ 38.784027] coresight-funnel 54158000.funnel: FUNNEL inport 0 disabled [ 38.790924] coresight-replicator 44000000.ocp:replicator: REPLICATOR disabled [ 38.798431] coresight-funnel 54164000.funnel: FUNNEL inport 0 disabled [ 38.805786] coresight-etb10 54162000.etb: ETB disabled # # # #