Comment 40 for bug 1097213

Revision history for this message
Naresh Kamboju (naresh-kamboju) wrote :

Here is one more scenario, kernel crashed just after the boot.

This test was performed with 13.11 release build and LAVA vexpress-tc2-02. This means that LAVA TC2 devices are configured to enable IKS switcher by default on tc2 by using kernel cmd argument "no_bL_switcher=0". one can see the boot log which is initializing. ( big.LITTLE switcher initializing)

1. boot successful
2. dmesg shows at 58 Second time stamp
  - CPU PMU: unable to set irq affinity (irq=100, cpu=0)
  - CPU PMU: unable to set irq affinity (irq=101, cpu=1)
I have seen this kernel messages while running perf test cases on LSK kernel. But I am not sure why these messages are popped up without running perf test cases.

3. Kernel crashed at 63 Second time stamp.
Please find attached kernel-crash-log-after-boot

[ 0.000000] Booting Linux on physical CPU 0x100
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.10.20-00297-g6144a4a (jenkins-build@ip-10-164-52-202) (gcc version 4.8.3 20131111 (prerelease) (Linaro GCC 4.8-2013.11) ) #1 SMP Sun Nov 24 06:47:43 UTC 2013

...
[ 63.153049] Unable to handle kernel paging request at virtual address 1e000002
[ 63.174371] pgd = c0004000
[ 63.182337] [1e000002] *pgd=00000000
[ 63.192876] Internal error: Oops: 5 [#1] SMP THUMB2
[ 63.207238] Modules linked in: gator
[ 63.217778] CPU: 1 PID: 2360 Comm: iptables Not tainted 3.10.20-00297-g6144a4a #1
[ 63.239829] task: eeb01080 ti: ee55a000 task.ti: ee55a000
[ 63.255733] PC is at check_tty_count+0x28/0x94
[ 63.268816] LR is at check_tty_count+0x1d/0x94
[ 63.281898] pc : [<c0273d6c>] lr : [<c0273d61>] psr: 00070033
[ 63.281898] sp : ee55be70 ip : 010cc000 fp : eebbfd88
[ 63.315736] r10: 00000000 r9 : 00000008 r8 : ef029690
[ 63.331123] r7 : eef4f2b0 r6 : c0435604 r5 : ef218400 r4 : 00000002
[ 63.350354] r3 : ef21857c r2 : 1e000002 r1 : 00000000 r0 : c06a7958
[ 63.369587] Flags: nzcv IRQs on FIQs on Mode SVC_32 ISA Thumb Segment user
[ 63.391123] Control: 50c5387d Table: ae73806a DAC: 00000015
[ 63.408048]
[ 63.408048] PC: 0xc0273cec:
...
[ 65.836271] [<c0273d6c>] (check_tty_count+0x28/0x94) from [<c0275b15>] (tty_release+0x39/0x420)
[ 65.861915] [<c0275b15>] (tty_release+0x39/0x420) from [<c00b41d1>] (__fput+0x65/0x164)
[ 65.885509] [<c00b41d1>] (__fput+0x65/0x164) from [<c00327bd>] (task_work_run+0x89/0xac)
[ 65.909358] [<c00327bd>] (task_work_run+0x89/0xac) from [<c00203df>] (do_exit+0x243/0x72c)
[ 65.933718] [<c00203df>] (do_exit+0x243/0x72c) from [<c002137f>] (do_group_exit+0x2f/0x80)
[ 65.958077] [<c002137f>] (do_group_exit+0x2f/0x80) from [<c00213e3>] (SyS_exit_group+0x13/0x14)
[ 65.983720] [<c00213e3>] (SyS_exit_group+0x13/0x14) from [<c000cc01>] (ret_fast_syscall+0x1/0x46)
[ 66.009872] Code: f505 73be 429a d003 (6812) 3401
[ 66.023997] ---[ end trace da84db0ff0b4fd92 ]---
[ 66.037600] Kernel panic - not syncing: Fatal exception
[ 67.077989] SMP: failed to stop secondary CPUs