Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Kernel change:
- diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
- index 3ab94d1..6ec98ac 100644
- --- a/arch/arm/kernel/setup.c
- +++ b/arch/arm/kernel/setup.c
- @@ -640,6 +640,8 @@ int __init arm_add_memory(u64 start, u64 size)
- * Some buggy bootloaders rely on the old meminfo behavior of not adding
- * more than n banks since anything past that may contain invalid data.
- */
- + printk("%s:%s()-%d: max_cnt(%d) is being used here\n",
- + __FILE__, __func__, __LINE__, max_cnt);
- if (bank_cnt >= max_cnt) {
- pr_crit("Max banks too low, ignoring memory at 0x%08llx\n",
- (long long)start);
- @@ -895,6 +897,8 @@ void __init setup_arch(char **cmdline_p)
- machine_desc = mdesc;
- machine_name = mdesc->name;
- max_cnt = mdesc->bank_limit;
- + printk("%s:%s()-%d: max_cnt(%d) is being set here\n",
- + __FILE__, __func__, __LINE__, max_cnt);
- if (mdesc->reboot_mode != REBOOT_HARD)
- reboot_mode = mdesc->reboot_mode;
- Bootlog:
- [ 0.000000] Booting Linux on physical CPU 0x0
- [ 0.000000] Linux version 3.16.0-rc2-00223-gd118fde-dirty (tushar@linaro) (gcc version 4.8.2 20130805 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2013.08 - Linaro GCC
- 2013.08) ) #131 SMP PREEMPT Fri Jun 27 08:28:55 IST 2014
- [ 0.000000] CPU: ARMv7 Processor [412fc0f3] revision 3 (ARMv7), cr=10c5387d
- [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
- [ 0.000000] arch/arm/kernel/setup.c:arm_add_memory()-644: max_cnt(0) is being used here
- [ 0.000000] Max banks too low, ignoring memory at 0x20000000
- [ 0.000000] arch/arm/kernel/setup.c:arm_add_memory()-644: max_cnt(0) is being used here
- [ 0.000000] Max banks too low, ignoring memory at 0x30000000
- [ 0.000000] arch/arm/kernel/setup.c:arm_add_memory()-644: max_cnt(0) is being used here
- [ 0.000000] Max banks too low, ignoring memory at 0x40000000
- [ 0.000000] arch/arm/kernel/setup.c:arm_add_memory()-644: max_cnt(0) is being used here
- [ 0.000000] Max banks too low, ignoring memory at 0x50000000
- [ 0.000000] arch/arm/kernel/setup.c:arm_add_memory()-644: max_cnt(0) is being used here
- [ 0.000000] Max banks too low, ignoring memory at 0x60000000
- [ 0.000000] arch/arm/kernel/setup.c:arm_add_memory()-644: max_cnt(0) is being used here
- [ 0.000000] Max banks too low, ignoring memory at 0x70000000
- [ 0.000000] arch/arm/kernel/setup.c:arm_add_memory()-644: max_cnt(0) is being used here
- [ 0.000000] Max banks too low, ignoring memory at 0x80000000
- [ 0.000000] arch/arm/kernel/setup.c:arm_add_memory()-644: max_cnt(0) is being used here
- [ 0.000000] Max banks too low, ignoring memory at 0x90000000
- [ 0.000000] Machine model: Insignal Arndale Octa evaluation board based on EXYNOS5420
- [ 0.000000] arch/arm/kernel/setup.c:setup_arch()-901: max_cnt(8) is being set here
- [ 0.000000] bootconsole [earlycon0] enabled
- [ 0.000000] INITRD: 0x2fe50000+0x001af09f is not a memory region - disabling initrd
- [ 0.000000] Memory policy: Data cache writealloc
- [ 0.000000] Kernel panic - not syncing: ERROR: Failed to allocate 0x2000 bytes below 0x0.
- [ 0.000000]
- [ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 3.16.0-rc2-00223-gd118fde-dirty #131
- [ 0.000000] [<c00141e8>] (unwind_backtrace) from [<c00114c0>] (show_stack+0x10/0x14)
- [ 0.000000] [<c00114c0>] (show_stack) from [<c0398554>] (dump_stack+0x80/0xc0)
- [ 0.000000] [<c0398554>] (dump_stack) from [<c0395a3c>] (panic+0xa4/0x200)
- [ 0.000000] [<c0395a3c>] (panic) from [<c04fe1dc>] (memblock_alloc_base+0x38/0x40)
- [ 0.000000] [<c04fe1dc>] (memblock_alloc_base) from [<c04f4bf0>] (early_alloc_aligned+0xc/0x2c)
- [ 0.000000] [<c04f4bf0>] (early_alloc_aligned) from [<c04f5ab4>] (paging_init+0x740/0xa08)
- [ 0.000000] [<c04f5ab4>] (paging_init) from [<c04f2c24>] (setup_arch+0x4bc/0x8a0)
- [ 0.000000] [<c04f2c24>] (setup_arch) from [<c04ef894>] (start_kernel+0x80/0x378)
- [ 0.000000] [<c04ef894>] (start_kernel) from [<20008074>] (0x20008074)
- [ 0.000000] ---[ end Kernel panic - not syncing: ERROR: Failed to allocate 0x2000 bytes below 0x0.
- [ 0.000000]
Add Comment
Please, Sign In to add comment