On 11/21/2013 01:09 PM, Nicolas Pitre wrote:
I've been banging my head on this one for quite a while now. The problem is that there is very little debug out put available. Could you see if you get the same?
Mainline kernel (I'm using commit 527d151131 right now but older kernels are also affected). Most interesting config options:
Yes, I am using this kernel too. but when I try to update kernel and dtb in lava lab's mphackbox, the kernel even can not boot up.
I am using vexpress-v2p-ca15_a7.dts and vexpress_defconfig, Did I miss sth?
============ Begin: Loading essential drivers ... done. Begin: Runnimmci-pl18x 1c050000.mmci: no support for card's volts ng /scripts/initmmc0: error -22 whilst initialising SD card -premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. mmci-pl18x 1c050000.mmci: no support for card's volts mmc0: error -22 whilst initialising SD card Begin: Running /scripts/local-premount ... FATAL: Could not load /lib/modules/3.12.0+/modules.dep: No such file or directory done. FATAL: Could not load /lib/modules/3.12.0+/modules.dep: No such file or directory EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null) Begin: Running /scripts/local-bottom ... done. done. Begin: Running /scripts/init-bottom ... mmci-pl18x 1c050000.mmci: no support for card's volts mmc0: error -22 whilst initialising SD card mount: mounting /dev on /root/dev failed: No such file or directory done. mmci-pl18x 1c050000.mmci: no support for card's volts mmc0: error -22 whilst initialising SD card mount: mounting /sys on /root/sys failed: No such file or directory mount: mounting /proc on /root/proc failed: No such file or directory Target filesystem doesn't have requested /sbin/init. /init: line 35mmci-pl18x 1c050000.mmci: no support for card's volts 2: can't open /rmmc0: error -22 whilst initialising SD card oot/dev/console: no such file Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
CPU: 0 PID: 1 Comm: init Tainted: G W 3.12.0+ #147 [<8001548c>] (unwind_backtrace+0x0/0xf8) from [<80011aec>] (show_stack+0x10/0x14) [<80011aec>] (show_stack+0x10/0x14) from [<80426a44>] (dump_stack+0x70/0x8c) [<80426a44>] (dump_stack+0x70/0x8c) from [<80423f4c>] (panic+0x90/0x1e8) [<80423f4c>] (panic+0x90/0x1e8) from [<80023e74>] (do_exit+0x838/0x8d8) [<80023e74>] (do_exit+0x838/0x8d8) from [<8002401c>] (do_group_exit+0x3c/0xc4) [<8002401c>] (do_group_exit+0x3c/0xc4) from [<800240b4>] (__wake_up_parent+0x0/0x18)
CONFIG_BL_SWITCHER=n CONFIG_ARCH_VEXPRESS_TC2_PM=y CONFIG_ARM_BIG_LITTLE_CPUIDLE=y CONFIG_ARM_BIG_LITTLE_CPUFREQ=y CONFIG_ARM_VEXPRESS_SPC_CPUFREQ=y
To crash the kernel within 5 seconds:
#!/bin/bash echo 0 > /sys/kernel/bL_switcher/active sleep 1 while true; do for i in 0 1 2 3 do echo 0 > /sys/devices/system/cpu/cpu$i/online done for i in 3 2 1 0 do echo 1 > /sys/devices/system/cpu/cpu$i/online done for i in 4 3 2 1 do echo 0 > /sys/devices/system/cpu/cpu$i/online done for i in 1 2 3 4 do echo 1 > /sys/devices/system/cpu/cpu$i/online done done
What I get is:
[...] CPU1: Booted secondary processor CPU0: Booted secondary processor Unable to handle kernel NULL pointer dereference at virtual address 0000000c pgd = c0004000
[ the output stops there ]
The last CPU to be booted up is not always the same.
Are you able to reproduce?
Nicolas
linaro-kernel mailing list linaro-kernel@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-kernel