[meta-freescale] [meta-fsl-ppc] Kernel crashes in boot on p2041rdb / p3041ds (master)

Martin Borg martin.borg at enea.com
Thu Mar 24 04:31:09 PDT 2016


Hi,
 
I built core-image-minimal on master branch for p2041rdb and p3041ds and encounter kernel crashes early in boot on both boards. Yocto has recently upgraded to binutils version 2.26, I tested to revert back to the previous version (2.25.1) and then the build produced a working image.

Any help or suggestions would be greatly appreciated.
 
Thanks,
Martin


============================================================

Build Configuration:
BB_VERSION        = "1.29.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "powerpc-poky-linux"
MACHINE           = "p2041rdb"
DISTRO            = "poky"
DISTRO_VERSION    = "2.0+snapshot-20160324"
TUNE_FEATURES     = "m32 fpu-hard ppce500mc"
TARGET_FPU        = "hard"
meta              
meta-poky         
meta-yocto-bsp    = "master:2df514bfe4a911c0dca8828038dd94e6265f50ca"
meta-fsl-ppc      = "master:2642cf5e8a6f8d11603acf016b8c075ebce00ec0"

============================================================

...
Kernel virtual memory layout:
  * 0xfff5f000..0xfffff000  : fixmap
  * 0xffc00000..0xffe00000  : highmem PTEs
  * 0xffbfb000..0xffc00000  : early ioremap
  * 0xf1000000..0xffbfb000  : vmalloc & ioremap
Hierarchical RCU implementation.
        RCU debugfs-based tracing is enabled.
        RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
NR_IRQS:512 nr_irqs:512 16
mpic: Setting up MPIC " OpenPIC  " version 1.2 at ffe040000, max 4 CPUs
mpic: ISU size: 512, shift: 9, mask: 1ff
mpic: Initializing for 512 sources
clocksource: timebase mult[2aaaaaab] shift[24] registered
Console: colour dummy device 80x25
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
mpic: requesting IPIs...
e500 family performance monitor hardware support registered
Oops: Exception in kernel mode, sig: 4 [#1]
Brought up 4 CPUs
SMP NR_CPUS=8 CoreNet Generic
Modules linked in:
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 3.12.37-rt51 #1
task: e9098530 ti: e90ba000 task.ti: e90ba000
NIP: c0007ad4 LR: c0007ad4 CTR: c000edcc
REGS: e90bbee0 TRAP: 0700   Not tainted  (3.12.37-rt51)
MSR: 00029002 <CE,EE,ME>  CR: 22000808  XER: 00000000

GPR00: c0076e08 e90bbf90 e9098530 e90ba000 00000001 00000000 01000000 01000000 
GPR08: 020e4000 c000edcc 00000000 00000000 ffffffff 00000000 00000001 20232f90 
GPR16: 11375d0d 014359a0 51f45c41 01cd826a 70548892 908a5c1d e90ba000 00000001 
GPR24: c08e6ebc c08e6d36 c08f3cd0 c08f3c5c 00040000 e90ba000 e90ba080 e90ba000 
NIP [c0007ad4] arch_cpu_idle+0x24/0x70
LR [c0007ad4] arch_cpu_idle+0x24/0x70
Call Trace:
[e90bbf90] [c00a1338] rcu_idle_enter+0xa8/0xf0 (unreliable)
[e90bbfa0] [c0076e08] cpu_startup_entry+0x118/0x170
[e90bbfd0] [c0011df0] start_secondary+0x240/0x250
[e90bbff0] [c0001d38] __secondary_start+0x30/0x84
Instruction dump:
60000000 60000000 60000000 3d20c08f 812976d0 2f890000 419e0044 9421fff0 
7c0802a6 7d2903a6 90010014 4e800421 <7d2000a6> 712a8000 40820008 7c008146 
---[ end trace 31fd0ba7d8756001 ]---

Oops: Exception in kernel mode, sig: 4 [#2]
SMP NR_CPUS=8 CoreNet Generic
Modules linked in:
CPU: 2 PID: 0 Comm: swapper/2 Tainted: G      D      3.12.37-rt51 #1
task: e9098030 ti: e90bc000 task.ti: e90bc000
NIP: c0007ad4 LR: c0007ad4 CTR: c000edcc
REGS: e90bdee0 TRAP: 0700   Tainted: G      D       (3.12.37-rt51)
MSR: 00029002 <CE,EE,ME>  CR: 22000808  XER: 00000000

GPR00: c0076e08 e90bdf90 e9098030 e90bc000 00000001 00000000 01000000 01000000 
GPR08: 020ec000 c000edcc 00000000 00000000 ffffffff 00000000 00000001 014a4003 
GPR16: 4b3bbd86 0195a27a 5818d055 93801113 d238ba4b 41a01d10 e90bc000 00000001 
GPR24: c08e6ebc c08e6d36 c08f3cd0 c08f3c5c 00040000 e90bc000 e90bc080 e90bc000 
NIP [c0007ad4] arch_cpu_idle+0x24/0x70
LR [c0007ad4] arch_cpu_idle+0x24/0x70
Call Trace:
[e90bdf90] [c00a1338] rcu_idle_enter+0xa8/0xf0 (unreliable)
[e90bdfa0] [c0076e08] cpu_startup_entry+0x118/0x170
[e90bdfd0] [c0011df0] start_secondary+0x240/0x250
[e90bdff0] [c0001d38] __secondary_start+0x30/0x84
Instruction dump:
60000000 60000000 60000000 3d20c08f 812976d0 2f890000 419e0044 9421fff0 
7c0802a6 7d2903a6 90010014 4e800421 <7d2000a6> 712a8000 40820008 7c008146 
---[ end trace 31fd0ba7d8756002 ]---

Oops: Exception in kernel mode, sig: 4 [#3]
SMP NR_CPUS=8 CoreNet Generic
Modules linked in:
CPU: 3 PID: 0 Comm: swapper/3 Tainted: G      D      3.12.37-rt51 #1
task: e909ba70 ti: e90be000 task.ti: e90be000
NIP: c0007ad4 LR: c0007ad4 CTR: c000edcc
REGS: e90bfee0 TRAP: 0700   Tainted: G      D       (3.12.37-rt51)
MSR: 00029002 <CE,EE,ME>  CR: 22000808  XER: 00000000

GPR00: c0076e08 e90bff90 e909ba70 e90be000 00000001 00000000 01000000 01000000 
GPR08: 020f4000 c000edcc 00000000 00000000 ffffffff 00000000 00000001 c3085908 
GPR16: c0190a00 444e2780 9940d400 802ac855 12381f68 120080fd e90be000 00000001 
GPR24: c08e6ebc c08e6d36 c08f3cd0 c08f3c5c 00040000 e90be000 e90be080 e90be000 
NIP [c0007ad4] arch_cpu_idle+0x24/0x70
LR [c0007ad4] arch_cpu_idle+0x24/0x70
Call Trace:
[e90bff90] [c00a1338] rcu_idle_enter+0xa8/0xf0 (unreliable)
[e90bffa0] [c0076e08] cpu_startup_entry+0x118/0x170
[e90bffd0] [c0011df0] start_secondary+0x240/0x250
[e90bfff0] [c0001d38] __secondary_start+0x30/0x84
Instruction dump:
60000000 60000000 60000000 3d20c08f 812976d0 2f890000 419e0044 9421fff0 
7c0802a6 7d2903a6 90010014 4e800421 <7d2000a6> 712a8000 40820008 7c008146 
---[ end trace 31fd0ba7d8756003 ]---

Kernel panic - not syncing: Attempted to kill the idle task!



More information about the meta-freescale mailing list