I don't think it is going to work that way. You have a different 
linker/loader and all that which has to be in specific directories from 
root. I think you'll have to do a chroot. That is what I do:

chroot /root /sbin/init

(I've moved init to the more appropriate /sbin directory).

Either that, or you'll have to mount your nfs as /.

FrancoisM wrote:
> Alright, I got some progress.
> My previous error comes from my ... "wild" patching. Later I did it
> again smoothly using Meld which is a software I recommend to all of
> you guys.
>
> So I got a kernel which boots and is supposed to work with my Android
> filesystem, I work with NFS.
>
> I could boot with a basic filesystem (I don't init Android on boot)
> and when I try to launch "init" here is what I get :
>
> my run.sh is :
> #!/bin/sh
> chmod 777 /filesys/data
> /init
>
> export PATH=sbin:/filesys/system/sbin:/filesys/system/bin:/filesys/
> system/xbin
> export LD_LIBRARY_PATH=/filesys/system/lib
> export ANDROID_BOOTLOGO=1
> export ANDROID_ROOT=/filesys/system
> export ANDROID_ASSETS=/filesys/system/app
> export ANDROID_DATA=/filesys/data
> #export EXTERNAL_STORAGE /sdcard
> export BOOTCLASSPATH=/filesys/system/framework/core.jar:/filesys/
> system/framework/ext.jar:/filesys/system/framework/framework.jar:/
> filesys/framework/android.policy.jar:/filesys/framework/services.jar
>
>
>
>
> the strace is :
>
> [EMAIL PROTECTED]:/filesys# strace -ff -F  -s 200    ./run.sh
> execve("./run.sh", ["./run.sh"], [/* 14 vars */]) = 0
> uname({sys="Linux", node="davinci-francois", ...}) = 0
> brk(0)                                  = 0xab000
> access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or
> directory)
> open("/etc/ld.so.cache", O_RDONLY)      = -1 ENOENT (No such file or
> directory)
> open("/lib/tls/v5l/fast-mult/half/libncurses.so.5", O_RDONLY) = -1
> ENOENT (No such file or directory)
> stat64("/lib/tls/v5l/fast-mult/half", 0xbeb6d1a8) = -1 ENOENT (No such
> file or directory)
> open("/lib/tls/v5l/fast-mult/libncurses.so.5", O_RDONLY) = -1 ENOENT
> (No such file or directory)
> stat64("/lib/tls/v5l/fast-mult", 0xbeb6d1a8) = -1 ENOENT (No such file
> or directory)
> open("/lib/tls/v5l/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No
> such file or directory)
> stat64("/lib/tls/v5l/half", 0xbeb6d1a8) = -1 ENOENT (No such file or
> directory)
> open("/lib/tls/v5l/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such
> file or directory)
> stat64("/lib/tls/v5l", 0xbeb6d1a8)      = -1 ENOENT (No such file or
> directory)
> open("/lib/tls/fast-mult/half/libncurses.so.5", O_RDONLY) = -1 ENOENT
> (No such file or directory)
> stat64("/lib/tls/fast-mult/half", 0xbeb6d1a8) = -1 ENOENT (No such
> file or directory)
> open("/lib/tls/fast-mult/libncurses.so.5", O_RDONLY) = -1 ENOENT (No
> such file or directory)
> stat64("/lib/tls/fast-mult", 0xbeb6d1a8) = -1 ENOENT (No such file or
> directory)
> open("/lib/tls/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such
> file or directory)
> stat64("/lib/tls/half", 0xbeb6d1a8)     = -1 ENOENT (No such file or
> directory)
> open("/lib/tls/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file
> or directory)
> stat64("/lib/tls", {st_mode=S_IFDIR|0755,
> st_size=17592186044416, ...}) = 0
> open("/lib/v5l/fast-mult/half/libncurses.so.5", O_RDONLY) = -1 ENOENT
> (No such file or directory)
> stat64("/lib/v5l/fast-mult/half", 0xbeb6d1a8) = -1 ENOENT (No such
> file or directory)
> open("/lib/v5l/fast-mult/libncurses.so.5", O_RDONLY) = -1 ENOENT (No
> such file or directory)
> stat64("/lib/v5l/fast-mult", 0xbeb6d1a8) = -1 ENOENT (No such file or
> directory)
> open("/lib/v5l/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such
> file or directory)
> stat64("/lib/v5l/half", 0xbeb6d1a8)     = -1 ENOENT (No such file or
> directory)
> open("/lib/v5l/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file
> or directory)
> stat64("/lib/v5l", 0xbeb6d1a8)          = -1 ENOENT (No such file or
> directory)
> open("/lib/fast-mult/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No
> such file or directory)
> stat64("/lib/fast-mult/half", 0xbeb6d1a8) = -1 ENOENT (No such file or
> directory)
> open("/lib/fast-mult/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such
> file or directory)
> stat64("/lib/fast-mult", 0xbeb6d1a8)    = -1 ENOENT (No such file or
> directory)
> open("/lib/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file
> or directory)
> stat64("/lib/half", 0xbeb6d1a8)         = -1 ENOENT (No such file or
> directory)
> open("/lib/libncurses.so.5", O_RDONLY)  = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0
> (\0\1\0\0\0\30\335\0\0004\0\0\0(\22\4\0\2\0\0\0044\0 \0\5\0
> (\0\34\0\33\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\200l\3\0\200l
> \3\0\5\0\0\0\0\200\0\0\1\0\0\0\0p\3\02
> fstat64(3, {st_mode=S_IFREG|0744, st_size=17592186044416, ...}) = 0
> lseek(3, 224268, SEEK_SET)              = 224268
> read(3, "\24\0\0\0T\0\0\0\25\0\0\0MontaVista Software
> \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\06
> mmap2(NULL, 292240, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
> 0) = 0x40020000
> mprotect(0x40057000, 66960, PROT_NONE)  = 0
> mmap2(0x40058000, 61440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
> MAP_DENYWRITE, 3, 0x30) = 0x40058000
> mmap2(0x40067000, 1424, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
> MAP_ANONYMOUS, -1, 0) = 0x40067000
> close(3)                                = 0
> open("/lib/tls/libdl.so.2", O_RDONLY)   = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\324\t
> \0\0004\0\0\0\374\235\0\0\2\0\0\0044\0 \0\10\0(\0)\0&
> \0\6\0\0\0004\0\0\0004\0\0\0004\0\0\0\0\1\0\0\0\1\0\0\5\0\0\0\4\0\0\0\3\0\0\0\4\23\0\2
> fstat64(3, {st_mode=S_IFREG|0644, st_size=17592186044416, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0x40017000
> lseek(3, 4892, SEEK_SET)                = 4892
> read(3, "\24\0\0\0T\0\0\0\25\0\0\0MontaVista Software
> \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\06
> mmap2(NULL, 41104, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
> 0) = 0x40068000
> mprotect(0x4006a000, 32912, PROT_NONE)  = 0
> mmap2(0x40070000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
> MAP_DENYWRITE, 3, 0) = 0x40070000
> close(3)                                = 0
> open("/lib/tls/libc.so.6", O_RDONLY)    = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0
> (\0\1\0\0\0\0107\1\0004\0\0\0\364fK\0\2\0\0\0044\0 \0\v\0(\0R\0O
> \0\1\0\0p
> \274\276\17\0\274\276\17\0\274\276\17\0\20\23\0\0\20\23\0\0\4\0\0\0\4\0\0\0\6\0\0\2
> fstat64(3, {st_mode=S_IFREG|0755, st_size=17592186044416, ...}) = 0
> lseek(3, 1039100, SEEK_SET)             = 1039100
> read(3, "\24\0\0\0T\0\0\0\25\0\0\0MontaVista Software
> \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\06
> mmap2(NULL, 1091588, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
> 3, 0) = 0x40073000
> mprotect(0x40171000, 51204, PROT_NONE)  = 0
> mmap2(0x40173000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
> MAP_DENYWRITE, 3, 0xf8) = 0x40173000
> mmap2(0x4017c000, 6148, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
> MAP_ANONYMOUS, -1, 0) = 0x4017c000
> close(3)                                = 0
> mprotect(0x40178000, 8192, PROT_READ)   = 0
> mprotect(0x40071000, 4096, PROT_READ)   = 0
> mprotect(0x4001e000, 4096, PROT_READ)   = 0
> syscall_983045(0x40017d10, 0x2, 0x1, 0x4001f050, 0, 0x4001f050,
> 0x4001f3c8, 0, 0x4001f0a0, 0x4001f050, 0x4001f000, 0xbeb6d95c, 0,
> 0xbeb6d840, 0x40002784, 0x400102e4, 0x80000010, 0x40017d10, 0xd0b0, 00
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
> close(3)                                = 0
> brk(0)                                  = 0xab000
> brk(0xac000)                            = 0xac000
> brk(0xad000)                            = 0xad000
> getuid32()                              = 0
> getgid32()                              = 0
> geteuid32()                             = 0
> getegid32()                             = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> time(NULL)                              = 16900
> brk(0xae000)                            = 0xae000
> brk(0xaf000)                            = 0xaf000
> open("/etc/mtab", O_RDONLY)             = 3
> fstat64(3, {st_mode=S_IFREG|0444, st_size=4398046511104, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0x40018000
> read(3, "rootfs / rootfs rw 0 0\n/dev/root / nfs
> rw,vers=2,rsize=4096,wsize=4096,namlen=255,hard,nointr,nolock,proto=udp,timeo=11,retrans=2,sec=sys,mountproto=udp,addr=143.248.144.148
> 0 0\nproc /proc4
> close(3)                                = 0
> munmap(0x40018000, 4096)                = 0
> open("/proc/meminfo", O_RDONLY)         = 3
> fstat64(3, {st_mode=S_IFREG|0444, st_size=4398046511104, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0x40018000
> read(3, "MemTotal:       118936 kB\nMemFree:         87544 kB
> \nBuffers:             0 kB\nCached:           9708 kB
> \nSwapCached:          0 kB\nActive:           4852 kB
> \nInactive:         6020 kB\nS4
> close(3)                                = 0
> munmap(0x40018000, 4096)                = 0
> brk(0xb0000)                            = 0xb0000
> rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
> rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
> rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
> rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
> rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
> rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
> uname({sys="Linux", node="davinci-francois", ...}) = 0
> stat64("/filesys", {st_mode=S_IFDIR|0755,
> st_size=17592186044416, ...}) = 0
> stat64(".", {st_mode=S_IFDIR|0755, st_size=17592186044416, ...}) = 0
> getpid()                                = 27368
> getppid()                               = 27367
> getpgrp()                               = 27367
> rt_sigaction(SIGCHLD, {0x35fa4, [], 0x4000000}, {SIG_DFL}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
>
> open("./run.sh", O_RDONLY|O_LARGEFILE)  = 3
> ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbeb6da30) = -1 ENOTTY
> (Inappropriate ioctl for device)
>
>
> _llseek(3, 0, [0], SEEK_CUR)            = 0
> read(3, "#!/bin/sh\nchmod 777 /filesys/data\n/init\n\nexport
> PATH=sbin:/filesys/system/sbin:/", 80) = 80
> _llseek(3, 0, [0], SEEK_SET)            = 0
> getrlimit(0x7, 0xbeb6da88)              = 0
> dup2(3, 255)                            = 255
> close(3)                                = 0
> fcntl64(0xff, 0x2, 0x1, 0)              = 0
> fcntl64(0xff, 0x3, 0, 0)                = 131072
> fstat64(255, {st_mode=S_IFREG|0755, st_size=17592186044416, ...}) = 0
> _llseek(255, 0, [0], SEEK_CUR)          = 0
> brk(0xb1000)                            = 0xb1000
> brk(0xb2000)                            = 0xb2000
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> read(255, "#!/bin/sh\nchmod 777 /filesys/data\n/init\n\nexport
> PATH=sbin:/filesys/system/sbin:/filesys/system/bin:/filesys/system/xbin
> \nexport LD_LIBRARY_PATH=/filesys/system/lib\nexport ANDROID_BOOT5
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> stat64(".", {st_mode=S_IFDIR|0755, st_size=17592186044416, ...}) = 0
> stat64("/usr/local/bin/chmod", 0xbeb6d848) = -1 ENOENT (No such file
> or directory)
> stat64("/usr/bin/chmod", 0xbeb6d848)    = -1 ENOENT (No such file or
> directory)
> stat64("/bin/chmod", {st_mode=S_IFREG|0755,
> st_size=17592186044416, ...}) = 0
> stat64("/bin/chmod", {st_mode=S_IFREG|0755,
> st_size=17592186044416, ...}) = 0
> rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
> _llseek(255, -501, [34], SEEK_CUR)      = 0
> clone(Process 27369 attached
> child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
> child_tidptr=0x1) = 27369
> [pid 27368] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> [pid 27368] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> [pid 27368] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> [pid 27368] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> [pid 27368] rt_sigaction(SIGINT, {0x34cfc, [], 0x4000000}, {SIG_DFL},
> 8) = 0
> [pid 27368] wait4(-1, Process 27368 suspended
>  <unfinished ...>
> [pid 27369] close(255)                  = 0
> [pid 27369] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> [pid 27369] rt_sigaction(SIGTSTP, {SIG_DFL}, {SIG_DFL}, 8) = 0
> [pid 27369] rt_sigaction(SIGTTIN, {SIG_DFL}, {SIG_DFL}, 8) = 0
> [pid 27369] rt_sigaction(SIGTTOU, {SIG_DFL}, {SIG_DFL}, 8) = 0
> [pid 27369] rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
> [pid 27369] rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0
> [pid 27369] rt_sigaction(SIGCHLD, {SIG_DFL}, {0x35fa4, [], 0x4000000},
> 8) = 0
> [pid 27369] execve("/bin/chmod", ["chmod", "777", "/filesys/data"], [/
> * 12 vars */]) = 0
> [pid 27369] uname({sys="Linux", node="davinci-francois", ...}) = 0
> [pid 27369] brk(0)                      = 0x19000
> [pid 27369] access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such
> file or directory)
> [pid 27369] open("/etc/ld.so.cache", O_RDONLY) = -1 ENOENT (No such
> file or directory)
> [pid 27369] open("/lib/tls/v5l/fast-mult/half/libc.so.6", O_RDONLY) =
> -1 ENOENT (No such file or directory)
> [pid 27369] stat64("/lib/tls/v5l/fast-mult/half", 0xbeb291d8) = -1
> ENOENT (No such file or directory)
> [pid 27369] open("/lib/tls/v5l/fast-mult/libc.so.6", O_RDONLY) = -1
> ENOENT (No such file or directory)
> [pid 27369] stat64("/lib/tls/v5l/fast-mult", 0xbeb291d8) = -1 ENOENT
> (No such file or directory)
> [pid 27369] open("/lib/tls/v5l/half/libc.so.6", O_RDONLY) = -1 ENOENT
> (No such file or directory)
> [pid 27369] stat64("/lib/tls/v5l/half", 0xbeb291d8) = -1 ENOENT (No
> such file or directory)
> [pid 27369] open("/lib/tls/v5l/libc.so.6", O_RDONLY) = -1 ENOENT (No
> such file or directory)
> [pid 27369] stat64("/lib/tls/v5l", 0xbeb291d8) = -1 ENOENT (No such
> file or directory)
> [pid 27369] open("/lib/tls/fast-mult/half/libc.so.6", O_RDONLY) = -1
> ENOENT (No such file or directory)
> [pid 27369] stat64("/lib/tls/fast-mult/half", 0xbeb291d8) = -1 ENOENT
> (No such file or directory)
> [pid 27369] open("/lib/tls/fast-mult/libc.so.6", O_RDONLY) = -1 ENOENT
> (No such file or directory)
> [pid 27369] stat64("/lib/tls/fast-mult", 0xbeb291d8) = -1 ENOENT (No
> such file or directory)
> [pid 27369] open("/lib/tls/half/libc.so.6", O_RDONLY) = -1 ENOENT (No
> such file or directory)
> [pid 27369] stat64("/lib/tls/half", 0xbeb291d8) = -1 ENOENT (No such
> file or directory)
> [pid 27369] open("/lib/tls/libc.so.6", O_RDONLY) = 3
> [pid 27369] read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0
> (\0\1\0\0\0\0107\1\0004\0\0\0\364fK\0\2\0\0\0044\0 \0\v\0(\0R\0O
> \0\1\0\0p
> \274\276\17\0\274\276\17\0\274\276\17\0\20\23\0\0\20\23\0\0\4\0\0\0\4\2
> [pid 27369] fstat64(3, {st_mode=S_IFREG|0755,
> st_size=17592186044416, ...}) = 0
> [pid 27369] lseek(3, 1039100, SEEK_SET) = 1039100
> [pid 27369] read(3, "\24\0\0\0T\0\0\0\25\0\0\0MontaVista Software
> \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\06
> [pid 27369] mmap2(NULL, 1091588, PROT_READ|PROT_EXEC, MAP_PRIVATE|
> MAP_DENYWRITE, 3, 0) = 0x40020000
> [pid 27369] mprotect(0x4011e000, 51204, PROT_NONE) = 0
> [pid 27369] mmap2(0x40120000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|
> MAP_FIXED|MAP_DENYWRITE, 3, 0xf8) = 0x40120000
> [pid 27369] mmap2(0x40129000, 6148, PROT_READ|PROT_WRITE, MAP_PRIVATE|
> MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40129000
> [pid 27369] close(3)                    = 0
> [pid 27369] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|
> MAP_ANONYMOUS, -1, 0) = 0x40017000
> [pid 27369] mprotect(0x40125000, 8192, PROT_READ) = 0
> [pid 27369] mprotect(0x4001e000, 4096, PROT_READ) = 0
> [pid 27369] syscall_983045(0x400176f8, 0x2, 0x1, 0x4001f050, 0,
> 0x4001f050, 0x4001f3c8, 0, 0x4001f0a0, 0x4001f050, 0x4001f000,
> 0xbeb2998c, 0, 0xbeb29870, 0x40002784, 0x400102e4, 0x80000010,
> 0x400176f0
> [pid 27369] brk(0)                      = 0x19000
> [pid 27369] brk(0x3a000)                = 0x3a000
> [pid 27369] stat64("/filesys/data", {st_mode=S_IFDIR|0777,
> st_size=17592186044416, ...}) = 0
> [pid 27369] open(".", O_RDONLY|O_LARGEFILE) = 3
> [pid 27369] fchdir(3)                   = 0
> [pid 27369] chmod("/filesys/data", 0777) = 0
> [pid 27369] fchdir(3)                   = 0
> [pid 27369] close(3)                    = 0
> [pid 27369] SYS_248(0, 0, 0xfbad2088, 0xffffffff, 0x845f0Process 27368
> resumed
> Process 27369 detached
>  <unfinished ...>
> <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL)
> = 27369
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> --- SIGCHLD (Child exited) @ 0 (0) ---
> wait4(-1, 0xbeb6d514, WNOHANG, NULL)    = -1 ECHILD (No child
> processes)
> sigreturn()                             = ? (mask now [QUIT ILL TRAP
> ABRT USR2 PIPE TERM STKFLT CONT STOP TTIN TTOU XCPU VTALRM PROF WINCH
> IO PWR RTMIN])
> rt_sigaction(SIGINT, {SIG_DFL}, {0x34cfc, [], 0x4000000}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> read(255, "/init\n\nexport PATH=sbin:/filesys/system/sbin:/filesys/
> system/bin:/filesys/system/xbin\nexport LD_LIBRARY_PATH=/filesys/
> system/lib\nexport ANDROID_BOOTLOGO=1\nexport ANDROID_ROOT=/filesys1
> rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
> _llseek(255, -495, [40], SEEK_CUR)      = 0
> clone(Process 27370 attached
> child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
> child_tidptr=0x1) = 27370
> [pid 27368] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> [pid 27368] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> [pid 27368] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> [pid 27368] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> [pid 27368] rt_sigaction(SIGINT, {0x34cfc, [], 0x4000000}, {SIG_DFL},
> 8) = 0
> [pid 27368] wait4(-1, Process 27368 suspended
>  <unfinished ...>
> [pid 27370] close(255)                  = 0
> [pid 27370] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> [pid 27370] rt_sigaction(SIGTSTP, {SIG_DFL}, {SIG_DFL}, 8) = 0
> [pid 27370] rt_sigaction(SIGTTIN, {SIG_DFL}, {SIG_DFL}, 8) = 0
> [pid 27370] rt_sigaction(SIGTTOU, {SIG_DFL}, {SIG_DFL}, 8) = 0
> [pid 27370] rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
> [pid 27370] rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0
> [pid 27370] rt_sigaction(SIGCHLD, {SIG_DFL}, {0x35fa4, [], 0x4000000},
> 8) = 0
> [pid 27370] execve("/init", ["/init"], [/* 12 vars */]) = 0
> syscall: unknown syscall trap 0xef000000
> Process 27368 resumed
> Process 27370 detached
> <3>init: cannot open '/initlogo.rle'
> init: cannot open '/initlogo.rle'
> <... wait4 resumed> [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV}], 0,
> NULL) = 27370
> write(2, "./run.sh: line 3: 27370 Segmentation fault      /init\n",
> 54./run.sh: line 3: 27370 Segmentation fault      /init
> ) = 54
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> --- SIGCHLD (Child exited) @ 0 (0) ---
> wait4(-1, 0xbeb6d514, WNOHANG, NULL)    = -1 ECHILD (No child
> processes)
> sigreturn()                             = ? (mask now [QUIT ILL TRAP
> ABRT USR2 PIPE TERM STKFLT CONT STOP TTIN TTOU XCPU VTALRM PROF WINCH
> IO PWR RTMIN])
> rt_sigaction(SIGINT, {SIG_DFL}, {0x34cfc, [], 0x4000000}, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> read(255, "\nexport PATH=sbin:/filesys/system/sbin:/filesys/system/
> bin:/filesys/system/xbin\nexport LD_LIBRARY_PATH=/filesys/system/lib
> \nexport ANDROID_BOOTLOGO=1\nexport ANDROID_ROOT=/filesys/system5
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> read(255, "", 535)                      = 0
> SYS_248(0, 0, 0xfbad2088, 0xffffffff, 0x845f0 <unfinished ... exit
> status 0>
>
>
>
>
> A few comments, I have no idea what those libraries are? I don't even
> have them on my Fedora desktop.
>
>
> open("./run.sh", O_RDONLY|O_LARGEFILE)  = 3
> ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbeb6da30) = -1 ENOTTY
> (Inappropriate ioctl for device)
> May this be the main problem?
>
> Hope I am clear enough and will get some backup soon.
>
> Kind regards,
> Francois Minaud
>
> >
>   


--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [EMAIL PROTECTED]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to