page fault

2 messages, 2 authors, 2004-07-24 · open the first message on its own page

page fault

From: bharat <hidden>
Date: 2004-07-24 03:52:14

hi all,
i am a newbie,so i may be far behind the curve,but please bear with me.
i am porting hardhat linux for MPPC860T for our custome hardware and i
am not using any bootloader instead i use my custome utility to download
kernel to board,in /arch/ppc/m8xx_setup.c in function m8xx_init i give

	bd_t *binfo;

        binfo =res;

        binfo->bi_memstart=0;
        binfo->bi_memsize=10*1024*1024;
        binfo->bi_intfreq=50;

#ifdef CONFIG_BLK_DEV_INITRD
        initrd_start = 10*1024*1024 + KERNELBASE;
        initrd_end = 16*1024*1024 + KERNELBASE;
#endif
as i want to use 10 mb of my ram for execution and rest up to 16 mb
for file system currently it is nfs mounted.
problem is that it all went ok in kernel space but as soon as it enters
in user space it starts giving PAGE_FAULTS.
how can i remove this.
Thanks in anticipation
--

YOU CAN ACHIEVE ANYTHING BY PROGRAMMING YOUR MIND-SET !

with warm regards
Bharat Bhushan
coral Telecom,Noida
india


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: page fault

From: David Woodhouse <dwmw2@infradead.org>
Date: 2004-07-24 17:16:32

On Sat, 2004-07-24 at 09:22 +0530, bharat wrote:
problem is that it all went ok in kernel space but as soon as it enters
in user space it starts giving PAGE_FAULTS.
You seem to have posted this in reply to Andreas Oberritter's message in
which he offered a patch to export m8xx_cpm_hostalloc().

Please could you explain why these are related -- did you only start
seeing this problem after you applied his patch?

--
dwmw2


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help