[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-arm
Subject: Re: virtual memory in arm linux
From: Russell King - ARM Linux <linux () arm ! linux ! org ! uk>
Date: 2002-12-16 10:10:16
[Download RAW message or body]
On Sun, Dec 15, 2002 at 11:19:07PM -0800, denz aberilla wrote:
> I am using linux-2.5.30+ARM patch rmk1 on my custom board with ARM922
> processor.
>
> I am using a one-is-to-one phys to virt memory mapping. The kernel runs quite
> ok even up to executing the first user-space application. I am using a ramdisk
> image with an ext2 filesystem.
>
> So far, here's my output as the kernel executes the user-space application:
>
> -- start of snippet --
> Running MainProc..
> running: /sbin/hello1 ...sys_fork
> memory.c:245: bad pmd 40000c12.
> -- end of snippet --
>
> ... then the kernel hangs.
> To recall, I've patched in "__create_pagetables (head.S) and set_pgd
> (proc-arm922.S)" so that it'll create an entry for 4000xxxx address range and
> also in order to pass the invalidate TLB instruction.
This is why you're seeing the above problem. You've just found the exact
reason for:
if (md->virtual != vectors_base() && md->virtual < PAGE_OFFSET) {
printk(KERN_WARNING "MM: not creating mapping for "
"0x%08lx at 0x%08lx in user region\n",
md->physical, md->virtual);
return;
}
Now, before I go any further, are you intending merging the support code
for this machine?
-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ/Etiquette: http://www.arm.linux.org.uk/armlinux/mailinglists.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic