Kernel panic when trying to offline CPU1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-ti-omap4 (Ubuntu) |
Fix Released
|
Medium
|
Paolo Pisati | ||
Maverick |
Won't Fix
|
Undecided
|
Paolo Pisati | ||
Natty |
Fix Released
|
Medium
|
Paolo Pisati |
Bug Description
Running Maverick with the kernel from the TI OMAP trunk PPA (linux-ti-omap4 2.6.35-
$ echo 0 | sudo tee /sys/devices/
-->
[ 109.583618] Unable to handle kernel NULL pointer dereference at virtual address 00000008
[ 109.592071] pgd = c0004000
[ 109.594879] [00000008] *pgd=00000000
[ 109.598632] Internal error: Oops: 17 [#1] PREEMPT SMP
[ 109.603881] last sysfs file: /sys/devices/
[ 109.610137] Modules linked in: fuse omap_gpu dm_crypt bt_drv(C) st_drv(C) rfcomm tiwlan_drv l2cap sco bluetooth rfkill twl4030_pwrbutton sdio dm_mirror dm_region_hash dm_log btrfs
[ 109.626892] CPU: 0 Tainted: G C (2.6.35-980-omap4 #1release9-Ubuntu)
[ 109.634735] PC is at snd_ctl_
[ 109.639739] LR is at cpu_idle+0x4c/0xd0
[ 109.643737] pc : [<c0445288>] lr : [<c0045270>] psr: 60000113
[ 109.643737] sp : c079bfd0 ip : 00773612 fp : 00000000
[ 109.655700] r10: 00000000 r9 : 411fc092 r8 : 80034680
[ 109.661163] r7 : c07ab0cc r6 : c003702c r5 : 00000000 r4 : c079a000
[ 109.667938] r3 : 00000000 r2 : 00000000 r1 : 00000000 r0 : c0037030
[ 109.674743] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 109.682373] Control: 10c53c7d Table: a6fc804a DAC: 00000015
[ 109.688354] Process swapper (pid: 0, stack limit = 0xc079a2f8)
[ 109.694427] Stack: (0xc079bfd0 to 0xc079c000)
[ 109.698974] bfc0: c0853844 c0008c98 c0008f00 00000000
[ 109.707489] bfe0: 271beb3f c0037030 00000000 10c53c7d c07f5ae0 80008080 00000000 00000000
[ 109.716033] [<c0445288>] (snd_ctl_
[ 109.725921] [<c009b740>] (run_timer_
[ 109.733459] Code: e3c13d7f e3c3303f e59d0014 e1a02302 (e5933008)
[ 109.740478] ---[ end trace 3ab1d51f9e4c3baa ]---
[ 109.745300] Kernel panic - not syncing: Attempted to kill the idle task!
[ 109.752319] [<c004a7ac>] (unwind_
[ 109.760803] [<c05829e4>] (panic+0x58/0xe4) from [<c0090e30>] (do_exit+
[ 109.768615] [<c0090e30>] (do_exit+
[ 109.776245] [<c0047b94>] (die+0xe8/0xfc) from [<c004dd2c>] (__do_kernel_
[ 109.784729] [<c004dd2c>] (__do_kernel_
[ 109.794250] [<c0587d50>] (do_page_
[ 109.803344] [<c00433e8>] (do_DataAbort+
[ 109.811950] Exception stack(0xc079bf88 to 0xc079bfd0)
[ 109.817230] bf80: c0037030 00000000 00000000 00000000 c079a000 00000000
[ 109.825775] bfa0: c003702c c07ab0cc 80034680 411fc092 00000000 00000000 00773612 c079bfd0
[ 109.834655] bfc0: c0045270 c0445288 60000113 ffffffff
[ 109.839904] [<c0585aec>] (__dabt_
[ 109.849182] [<c0445288>] (snd_ctl_
[ 109.859069] [<c009b740>] (run_timer_
Changed in linux-ti-omap4 (Ubuntu Maverick): | |
assignee: | nobody → Paolo Pisati (p-pisati) |
status: | New → In Progress |
Changed in linux-ti-omap4 (Ubuntu Natty): | |
status: | In Progress → Fix Released |
Just tested and this bug doesn't happen with current Natty's kernel.
linux-image- 2.6.35- 1101-omap4 2.6.35-1101.4
root@panda-natty:~# echo 0 | sudo tee /sys/devices/ system/ cpu/cpu1/ online system/ cpu/cpu1/ online
0
root@panda-natty:~# dmesg
[ 1926.179595] CPU1: shutdown
root@panda-natty:~# echo 1 | sudo tee /sys/devices/
1
root@panda-natty:~# dmesg
[ 1926.179595] CPU1: shutdown
[ 1931.928710] CPU1: Booted secondary processor