Closed
Description
Offlining a CPU via:
echo "0" > /sys/devices/system/cpu/cpu3/online
results in the following crash:
[ 203.201421] ---[ end trace 68f68af397b09efa ]---
[ 203.201432] Kernel panic - not syncing: Attempted to kill the idle task!
[ 203.201446] CPU0: stopping
[ 203.220426] CPU: 0 PID: 2441 Comm: bash Tainted: G D 3.18.7-v7+ 6
[ 203.231035] [<80016d14>] (unwind_backtrace) from [<80012c40>] (show_stack+0x)
[ 203.242031] [<80012c40>] (show_stack) from [<8052f164>] (dump_stack+0x98/0xd)
[ 203.250976] [<8052f164>] (dump_stack) from [<8001509c>] (handle_IPI+0x234/0x)
[ 203.261697] [<8001509c>] (handle_IPI) from [<80008618>] (do_IPI+0x18/0x1c)
[ 203.270370] [<80008618>] (do_IPI) from [<80534b34>] (__irq_svc+0x34/0x14c)
[ 203.279045] Exception stack(0xb85b9d58 to 0xb85b9da0)
[ 203.285891] 9d40: 80817
[ 203.297650] 9d60: 00000003 80456bfc ffffffe0 80819ca8 00000000 00000003 00000
[ 203.309552] 9d80: b856390c b85b9dc4 b85b9dc8 b85b9da0 800414a8 80456c2c 6000f
[ 203.321703] [<80534b34>] (__irq_svc) from [<80456c2c>] (dev_cpu_callback+0x3)
[ 203.333569] [<80456c2c>] (dev_cpu_callback) from [<800414a8>] (notifier_call)
[ 203.346291] [<800414a8>] (notifier_call_chain) from [<800415dc>] (__raw_noti)
[ 203.359904] [<800415dc>] (__raw_notifier_call_chain) from [<800253d8>] (cpu_)
[ 203.372737] [<800253d8>] (cpu_notify) from [<80025540>] (cpu_notify_nofail+0)
[ 203.384913] [<80025540>] (cpu_notify_nofail) from [<8052abbc>] (_cpu_down+0x)
[ 203.397231] [<8052abbc>] (_cpu_down) from [<8052ad08>] (cpu_down+0x38/0x5c)
[ 203.406488] [<8052ad08>] (cpu_down) from [<803534e0>] (cpu_subsys_offline+0x)
[ 203.418721] [<803534e0>] (cpu_subsys_offline) from [<8034ebd4>] (device_offl)
[ 203.431647] [<8034ebd4>] (device_offline) from [<8034ecf0>] (online_store+0x)
[ 203.444042] [<8034ecf0>] (online_store) from [<8034c668>] (dev_attr_store+0x)
[ 203.456432] [<8034c668>] (dev_attr_store) from [<801adeb8>] (sysfs_kf_write+)
[ 203.468994] [<801adeb8>] (sysfs_kf_write) from [<801ad30c>] (kernfs_fop_writ)
[ 203.481819] [<801ad30c>] (kernfs_fop_write) from [<80143938>] (vfs_write+0xb)
[ 203.494202] [<80143938>] (vfs_write) from [<80143f28>] (SyS_write+0x4c/0xa0)
[ 203.503629] [<80143f28>] (SyS_write) from [<8000ebc0>] (ret_fast_syscall+0x0)
[ 203.515721] CPU2: stopping
[ 203.520630] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G D 3.18.7-v76
[ 203.532537] [<80016d14>] (unwind_backtrace) from [<80012c40>] (show_stack+0x)
[ 203.544656] [<80012c40>] (show_stack) from [<8052f164>] (dump_stack+0x98/0xd)
[ 203.554129] [<8052f164>] (dump_stack) from [<8001509c>] (handle_IPI+0x234/0x)
[ 203.565794] [<8001509c>] (handle_IPI) from [<80008618>] (do_IPI+0x18/0x1c)
[ 203.574856] [<80008618>] (do_IPI) from [<80534b34>] (__irq_svc+0x34/0x14c)
[ 203.583878] Exception stack(0xb98c7f58 to 0xb98c7fa0)
[ 203.591032] 7f40: 807e0
[ 203.603241] 7f60: ffffffed 00000000 b98c6030 807e8dd4 00000000 00000000 b98c0
[ 203.615388] 7f80: 808238fc b98c7fac b98c7fa0 b98c7fa0 8000f900 8000f904 6000f
[ 203.627540] [<80534b34>] (__irq_svc) from [<8000f904>] (arch_cpu_idle+0x30/0)
[ 203.638961] [<8000f904>] (arch_cpu_idle) from [<8005c5cc>] (cpu_startup_entr)
[ 203.651375] [<8005c5cc>] (cpu_startup_entry) from [<80014bec>] (secondary_st)
[ 203.664717] [<80014bec>] (secondary_start_kernel) from [<000086a4>] (0x86a4)
[ 203.674101] ---[ end Kernel panic - not syncing: Attempted to kill the idle !
[ 203.674105] 5f60: ffffffed 00000000 b98c4030 807e8dd4 00000000 00000000 b98c0
[ 203.698487] 5f80: 808238fc b98c5fac b98c5fa0 b98c5fa0 8000f900 8000f904 6000f
[ 203.711141] [<80534b34>] (__irq_svc) from [<8000f904>] (arch_cpu_idle+0x30/0)
[ 203.723107] [<8000f904>] (arch_cpu_idle) from [<8005c5cc>] (cpu_startup_entr)
[ 203.736124] [<8005c5cc>] (cpu_startup_entry) from [<80014bec>] (secondary_st)
[ 203.749921] [<80014bec>] (secondary_start_kernel) from [<000086a4>] (0x86a4)
That is: with: 3.18.7-v7+ #756 SMP PREEMPT Wed Feb 18 16:14:51 GMT 2015 armv7l GNU/Linux
Similar with a self-built kernel based on "fe4a83540ec73dfc298f16f027277355470ea9a0"
Metadata
Metadata
Assignees
Labels
No labels