Hi All,

I am facing the below issue while run chroot command -

root@ti-omap3-beagle:~#strace chroot /srv/lxc/mylxcfs/rootfs/android
/system/bin/sh

execve("/usr/sbin/chroot", ["chroot", "/srv/lxc/mylxcfs/rootfs/android",
"/system/bin/sh"], [/* 9 vars */]) = 0
brk(0) = 0x14000
uname({sys="Linux", node="ti-omap3-beagle", ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2aaca000
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/v7l/fast-mult/half/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/lib/tls/v7l/fast-mult/half", 0x7ea07480) = -1 ENOENT (No such file
or directory)
open("/lib/tls/v7l/fast-mult/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/lib/tls/v7l/fast-mult", 0x7ea07480) = -1 ENOENT (No such file or
directory)
open("/lib/tls/v7l/half/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64("/lib/tls/v7l/half", 0x7ea07480) = -1 ENOENT (No such file or
directory)
open("/lib/tls/v7l/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib/tls/v7l", 0x7ea07480) = -1 ENOENT (No such file or directory)
open("/lib/tls/fast-mult/half/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/lib/tls/fast-mult/half", 0x7ea07480) = -1 ENOENT (No such file or
directory)
open("/lib/tls/fast-mult/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64("/lib/tls/fast-mult", 0x7ea07480) = -1 ENOENT (No such file or
directory)
open("/lib/tls/half/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib/tls/half", 0x7ea07480) = -1 ENOENT (No such file or directory)
open("/lib/tls/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib/tls", 0x7ea07480) = -1 ENOENT (No such file or directory)
open("/lib/v7l/fast-mult/half/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/lib/v7l/fast-mult/half", 0x7ea07480) = -1 ENOENT (No such file or
directory)
open("/lib/v7l/fast-mult/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64("/lib/v7l/fast-mult", 0x7ea07480) = -1 ENOENT (No such file or
directory)
open("/lib/v7l/half/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib/v7l/half", 0x7ea07480) = -1 ENOENT (No such file or directory)
open("/lib/v7l/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib/v7l", 0x7ea07480) = -1 ENOENT (No such file or directory)
open("/lib/fast-mult/half/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/lib/fast-mult/half", 0x7ea07480) = -1 ENOENT (No such file or
directory)
open("/lib/fast-mult/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib/fast-mult", 0x7ea07480) = -1 ENOENT (No such file or directory)
open("/lib/half/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib/half", 0x7ea07480) = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0H&\0\000"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=43260, ...}) = 0
mmap2(NULL, 74748, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x2aad3000
mprotect(0x2aade000, 28672, PROT_NONE) = 0
mmap2(0x2aae5000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa) = 0x2aae5000
close(3) = 0
open("/lib/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\300W\1\000"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1303884, ...}) = 0
mmap2(NULL, 1340692, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x2aae6000
mprotect(0x2ac21000, 28672, PROT_NONE) = 0
mmap2(0x2ac28000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13a) = 0x2ac28000
mmap2(0x2ac2b000, 9492, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ac2b000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2aacb000
syscall_983045(0x2aacb4d0, 0x2aacbba8, 0xd5534460, 0x2aacb4d0, 0x2aad2000,
0x2aad2058, 0x2aad2058, 0xf0005, 0xfffde468, 0x2aad2564, 0x1, 0x7ea07b14, 0,
0x7ea07a08, 0x20
mprotect(0x2ac28000, 8192, PROT_READ) = 0
mprotect(0x2aad1000, 4096, PROT_READ) = 0
brk(0) = 0x14000
brk(0x35000) = 0x35000
chroot("/srv/lxc/mylxcfs/rootfs/android") = 0
chdir("/") = 0
*execve("/system/bin/sh", ["/system/bin/sh"], [/* 9 vars */]) = -1 ENOMEM
(Cannot allocate memory)*
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 1462 detached
root@ti-omap3-beagle:~#


Thanks & Regards
Deepak

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to