uClinux-dist:
http://www.uclinux.org/pub/uClinux/dist/uClinux-dist-20060803.tar.gz
Kernel:
Linux-2.6.22
Patch:
http://www.uclinux.org/pub/uClinux/uClinux-2.6.x/linux-2.6.22-uc0.patch.gz

When the kernel is configured with cramfs support and MTD support, the
system always reports the following message:
do_mmap: 
Process blocks 1: 00175538: 00000000 -> 00175d00: 00175d10 (4096 @750000
#1).
Unable to allocate RAM for process text/data, errno 12
Failed to execute /linuxrc.  Attempting defaults...

I found a surprised code after I hacking the kernel with several weeks:
In linux-2.6.x/fs/binfmt_flat.c: Line 603:  
textpos = do_mremap(textpos, len, reallen, 
                MREMAP_FIXED, textpos);

But, in linux-2.6.x/mm/nommu.c, the code didn't support MREMAP_FIXED flag.
So, I always get this error.

Is this a kernel bug? Or how to fixed it?

Darwin Chen.([EMAIL PROTECTED])


_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to