Skip to content

Instantly share code, notes, and snippets.

@shubhi1407
Created July 4, 2015 12:47
Show Gist options
  • Save shubhi1407/7c03cad11a99d5d0756b to your computer and use it in GitHub Desktop.
Save shubhi1407/7c03cad11a99d5d0756b to your computer and use it in GitHub Desktop.
rmmod fail
[ 89.448847] pruss-rproc 4a300000.pruss: remove platform devices for PRU cores
[ 89.449388] ------------[ cut here ]------------
[ 89.449451] WARNING: CPU: 0 PID: 523 at arch/arm/mach-omap2/omap_hwmod.c:2187 _idle+0x15d/0x184()
[ 89.449472] omap_hwmod: pruss: idle state can only be entered from enabled state
[ 89.449488] Modules linked in: bnep pruss_remoteproc(O-) omap_aes omap_sham remoteproc virtio_ring virtio usb_f_ecm g_ether usb_f_rndis u_ether libcomposite tda998x tilcdc bluetooth omap_rng rng_core drm_kms_helper uio_pdrv_genirq leds_gpio uio
[ 89.449654] CPU: 0 PID: 523 Comm: rmmod Tainted: G O 4.1.0-bone9.5 #1
[ 89.449674] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 89.449758] [<c0012e91>] (unwind_backtrace) from [<c0011039>] (show_stack+0x11/0x14)
[ 89.449804] [<c0011039>] (show_stack) from [<c002e4c1>] (warn_slowpath_common+0x69/0x8c)
[ 89.449841] [<c002e4c1>] (warn_slowpath_common) from [<c002e507>] (warn_slowpath_fmt+0x23/0x2c)
[ 89.449878] [<c002e507>] (warn_slowpath_fmt) from [<c0022e2d>] (_idle+0x15d/0x184)
[ 89.449915] [<c0022e2d>] (_idle) from [<c00230f1>] (omap_hwmod_idle+0x15/0x24)
[ 89.449955] [<c00230f1>] (omap_hwmod_idle) from [<c0023fd9>] (omap_device_idle+0x29/0x50)
[ 89.449995] [<c0023fd9>] (omap_device_idle) from [<c002401b>] (_od_runtime_suspend+0x1b/0x20)
[ 89.450049] [<c002401b>] (_od_runtime_suspend) from [<c03c7f49>] (rpm_callback+0x79/0x8c)
[ 89.450091] [<c03c7f49>] (rpm_callback) from [<c03c8271>] (rpm_suspend+0xa1/0x3ac)
[ 89.450129] [<c03c8271>] (rpm_suspend) from [<c03c87c5>] (__pm_runtime_idle+0x45/0x5c)
[ 89.450200] [<c03c87c5>] (__pm_runtime_idle) from [<bf94f805>] (pruss_remove+0x38/0x54 [pruss_remoteproc])
[ 89.450284] [<bf94f805>] (pruss_remove [pruss_remoteproc]) from [<c03c3e89>] (platform_drv_remove+0x15/0x24)
[ 89.450326] [<c03c3e89>] (platform_drv_remove) from [<c03c2665>] (__device_release_driver+0x41/0x80)
[ 89.450364] [<c03c2665>] (__device_release_driver) from [<c03c2d87>] (driver_detach+0x5f/0x60)
[ 89.450402] [<c03c2d87>] (driver_detach) from [<c03c243d>] (bus_remove_driver+0x41/0x94)
[ 89.450451] [<c03c243d>] (bus_remove_driver) from [<bf95007f>] (pruss_exit+0x1a/0x1b [pruss_remoteproc])
[ 89.450519] [<bf95007f>] (pruss_exit [pruss_remoteproc]) from [<c00718db>] (SyS_delete_module+0xdf/0x178)
[ 89.450564] [<c00718db>] (SyS_delete_module) from [<c000e4c1>] (ret_fast_syscall+0x1/0x4c)
[ 89.450586] ---[ end trace ab6e5247e34c4ec3 ]---
[ 89.450647] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 89.459738] pgd = de634000
[ 89.462776] [00000000] *pgd=00000000
[ 89.466807] Internal error: Oops: 5 [#1] THUMB2
[ 89.471792] Modules linked in: bnep pruss_remoteproc(O-) omap_aes omap_sham remoteproc virtio_ring virtio usb_f_ecm g_ether usb_f_rndis u_ether libcomposite tda998x tilcdc bluetooth omap_rng rng_core drm_kms_helper uio_pdrv_genirq leds_gpio uio
[ 89.496112] CPU: 0 PID: 523 Comm: rmmod Tainted: G W O 4.1.0-bone9.5 #1
[ 89.504377] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 89.511051] task: de753880 ti: de680000 task.ti: de680000
[ 89.516985] PC is at pruss_remove+0x47/0x54 [pruss_remoteproc]
[ 89.523387] LR is at __pm_runtime_disable+0x47/0xa8
[ 89.528739] pc : [<bf94f814>] lr : [<c03c8d1b>] psr: 00070033
sp : de681ef8 ip : 00000000 fp : 00000000
[ 89.541283] r10: 00000000 r9 : de680000 r8 : c000e664
[ 89.547006] r7 : 00000000 r6 : de564e10 r5 : de1b2e00 r4 : de1b2e10
[ 89.554159] r3 : 00000001 r2 : 10000000 r1 : 08000000 r0 : de1b2e00
[ 89.561309] Flags: nzcv IRQs on FIQs on Mode SVC_32 ISA Thumb Segment user
[ 89.569313] Control: 50c5387d Table: 9e634019 DAC: 00000015
[ 89.575604] Process rmmod (pid: 523, stack limit = 0xde680210)
[ 89.582021] Stack: (0xde681ef8 to 0xde682000)
[ 89.586794] 1ee0: bf94f7cd de1b2e10
[ 89.595753] 1f00: bf951288 bf951288 00000800 c03c3e89 c03c3e75 de1b2e10 bf951288 c03c2665
[ 89.604716] 1f20: bf951288 de1b2e10 de1b2e44 c03c2d87 bf951288 bf951608 8039811c c03c243d
[ 89.613671] 1f40: bf951260 bf95007f c09c100c c00718db 73757270 65725f73 65746f6d 636f7270
[ 89.622622] 1f60: 00000000 00000000 de753d2c c003f099 00000000 de753d2c de753880 c003f09d
[ 89.631584] 1f80: c0a8c238 c003f09d 0057fc40 ffb74ddd c000e664 803980e8 803980e8 bec45eb8
[ 89.640555] 1fa0: 00000081 c000e4c1 803980e8 803980e8 8039811c 00000800 0f16dd00 0f16dd00
[ 89.649525] 1fc0: 803980e8 803980e8 bec45eb8 00000081 bec45dbc 00000000 bec45bc8 00000000
[ 89.658479] 1fe0: b6f4a2e1 bec45b5c 7f580613 b6f4a2e6 80000030 8039811c 00000000 00000000
[ 89.667468] [<bf94f814>] (pruss_remove [pruss_remoteproc]) from [<c03c3e89>] (platform_drv_remove+0x15/0x24)
[ 89.678251] [<c03c3e89>] (platform_drv_remove) from [<c03c2665>] (__device_release_driver+0x41/0x80)
[ 89.688281] [<c03c2665>] (__device_release_driver) from [<c03c2d87>] (driver_detach+0x5f/0x60)
[ 89.697712] [<c03c2d87>] (driver_detach) from [<c03c243d>] (bus_remove_driver+0x41/0x94)
[ 89.706605] [<c03c243d>] (bus_remove_driver) from [<bf95007f>] (pruss_exit+0x1a/0x1b [pruss_remoteproc])
[ 89.717003] [<bf95007f>] (pruss_exit [pruss_remoteproc]) from [<c00718db>] (SyS_delete_module+0xdf/0x178)
[ 89.727577] [<c00718db>] (SyS_delete_module) from [<c000e4c1>] (ret_fast_syscall+0x1/0x4c)
[ 89.736626] Code: 6c33 7b1b b11b 4628 (e897) 000a
[ 89.741995] ---[ end trace ab6e5247e34c4ec4 ]---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment