From: Thomas Chen (tchen@on-go.com)
Date: Sat Sep 07 2002 - 21:30:05 EDT
i am porting 2.47 uClinux to OKI and i am getting something very
STRANG...
basically i am failing to OPEN an initial console
i have traced the problem from
open("/dev/console")
which calls sys_open [linux/fs/open.c]
which calls getname() [linux/fs/namei.c]
which calls do_getname <--- inline [linux/fs/namei.c]
in do_getname, the first thing it does is COMPARING the address
of the filename string to something called TASK_SIZE
(this does not make sense since this open is not from userland but from
the
start up... presumably in system space)
and TASK_SIZE is defined as 0x1a00-0000.... all my code are sitting
at 0xc000-0000 and above... and of course.. that failed MISERABLY with
EFAULT (bad address error)...
anyone with idea what this mean???? especially for NON-MMU system...
we are not working with logical address space????
thanks
tom
This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/
This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:21:49 EDT