Re: ARM Paging Problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Make sure that you are using -n option while creating the JFFS2 filesystem
image.

Warm Regards,
Naveen.

On Mon, Jun 15, 2009 at 5:42 PM, Stephen Lim <lim.stephen.ryan@xxxxxxxxx>wrote:

> Hello,
> I'm experiencing a paging problem.
>
>
> I'm playing around with an ARM LH7A404 machine, using a flash memory module
> as a file system (mapped using JFFS2)
>
>
> I've recently upgraded the single RAM module at bank-0 from 32 MB to 64 MB,
> as well as the flash module from 16MB to 32MB.
>
>
> Now I'm experiencing bad page states when the busy-box /sbin/init runs.
>
>
> The following is a snippet of the last entry's before the kernel panicked.
>
>
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
> Configure Core FPGA...
> Done!
> Init LCD.
> binFileRead: Cannot open file "/.sw_ver".
> Run "/sbin/init"!!!<0>Bad page state at free_hot_cold_page (in process
> 'init', page c02192a0)
> flags:0x00000000 mapping:00000000 mapcount:-1 count:0
> Backtrace:
> Trying to fix it up, but a reboot is needed
> Inconsistency detKernel panic - not syncing: Attempted to kill init!
> ected by ld.so: d ynamic-link.h: 122: elf_get_dynamic_info: Assertion
> `info[20]->d_un.d_val == 17 || info[20]->d_un.d_val == 7' failed!
>
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
>
> I'm also loading the kernel at a different location than the default
> settings:
>
> CONFIG_ATAG=y
> CONFIG_DISABLE_MMU_AT_BOOT=y
> CONFIG_ATAG_PHYS=0xc0000100
> CONFIG_APEX_VMA=0xcd000000
> CONFIG_KERNEL_LMA=0xc1000000
> CONFIG_SDRAM_BANK0=y
>
>
>
> I've been investigating the issue and I'm at a loss. It seems like a memory
> mapping issue but I cannot say for certain. Is there something I'm
> overlooking?
>
>
> I have checked the memory modules and they are working as expected.
> -------------------------------------------------------------------
> List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
> FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
> Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php
>
-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Linux ARM]     [Linux ARM MSM]     [Linux ARM Kernel]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

Add to Google Follow linuxarm on Twitter