【发布时间】:2017-01-23 11:58:35
【问题描述】:
我在使用linux-3.0 kernel 引导 armv7 板时遇到内核恐慌问题。错误信息如下:
Memory policy: ECC disabled, Data cache writealloc
<0>Kernel panic - not syncing: ERROR: Failed to allocate 0x1000 bytes below 0x0.
我认为这个问题与 menuconfig 中的某些配置有关,但无法确定是哪个配置导致了问题。当我尝试跟踪导致此问题的函数时,我得到了以下调用跟踪。
paging_init -> early_alloc.clone.2 -> memblock_alloc -> memblock_alloc_base -> __memblock_alloc_base -> memblock_align_up -> memblock_find_base -> __memblock_alloc_base -> panic。
通过uboot引导参数:
bootargs=console=ttyS1,115200n8 root=/dev/nfs ip=1.2.3.4 nfsroot=10.22.33.27:/tftpboot/arm/ rootwait rw
【问题讨论】:
标签: linux linux-kernel arm linux-device-driver