-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./sbin/rpcd to identify missing areas
[*] Emulating binary name: rpcd in strace mode to identify missing areas (with jchroot)
[*] Emulator used: qemu-mipsel-static
[*] Chroot environment used: jchroot
[*] Using root directory: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract (1/1)
[*] Using CPU config:
1 brk(NULL) = 0x00419224
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffc8000
1 uname(0x4071e740) = 0
1 access("/etc/ld.so.preload",R_OK) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/etc/ld.so.cache",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/tls/libcrypt.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e4c4,512) = 512
1 prctl(46,9,1081205956,512,1073770496,0) = 0
1 _llseek(3,0,648,0x4071e278,SEEK_SET) = 0
1 read(3,0x4071e2a8,32) = 32
1 fstat64(3,0x4071e388) = 0
1 mmap2(NULL,262700,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff87000
1 mprotect(0x3ff90000,61440,PROT_NONE) = 0
1 mmap2(0x3ff9f000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x8) = 0x3ff9f000
1 mmap2(0x3ffa1000,156204,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3ffa1000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libubox.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e4ac,512) = 512
1 prctl(46,8,1081205932,512,1073770496,0) = 0
1 fstat64(3,0x4071e370) = 0
1 mmap2(NULL,99696,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff6e000
1 mprotect(0x3ff76000,61440,PROT_NONE) = 0
1 mmap2(0x3ff85000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x7) = 0x3ff85000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libubus.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e494,512) = 512
1 prctl(46,8,1081205908,512,1073770496,0) = 0
1 fstat64(3,0x4071e358) = 0
1 mmap2(NULL,82560,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff59000
1 mprotect(0x3ff5d000,61440,PROT_NONE) = 0
1 mmap2(0x3ff6c000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x3) = 0x3ff6c000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libuci.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e47c,512) = 512
1 prctl(46,8,1081205884,512,1073770496,0) = 0
1 fstat64(3,0x4071e340) = 0
1 mmap2(NULL,94880,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff41000
1 mprotect(0x3ff48000,61440,PROT_NONE) = 0
1 mmap2(0x3ff57000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3ff57000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libdl.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e464,512) = 512
1 prctl(46,9,1081205860,512,1073770496,0) = 0
1 _llseek(3,0,680,0x4071e220,SEEK_SET) = 0
1 read(3,0x4071e250,32) = 32
1 fstat64(3,0x4071e328) = 0
1 mmap2(NULL,73952,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff2e000
1 mprotect(0x3ff30000,61440,PROT_NONE) = 0
1 mmap2(0x3ff3f000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3ff3f000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libblobmsg_json.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e44c,512) = 512
1 prctl(46,8,1081205836,512,1073770496,0) = 0
1 fstat64(3,0x4071e310) = 0
1 mmap2(NULL,73904,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff1b000
1 mprotect(0x3ff1d000,61440,PROT_NONE) = 0
1 mmap2(0x3ff2c000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3ff2c000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libjson-c.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e434,512) = 512
1 prctl(46,8,1081205812,512,1073770496,0) = 0
1 fstat64(3,0x4071e2f8) = 0
1 mmap2(NULL,94800,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff03000
1 mprotect(0x3ff0a000,61440,PROT_NONE) = 0
1 mmap2(0x3ff19000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3ff19000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgcc_s.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e41c,512) = 512
1 prctl(46,9,1081205788,512,1073770496,0) = 0
1 fstat64(3,0x4071e2e0) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ff01000
1 mmap2(NULL,144160,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3fedd000
1 mprotect(0x3fef0000,61440,PROT_NONE) = 0
1 mmap2(0x3feff000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x12) = 0x3feff000
1 mprotect(0x4071e000,4096,PROT_EXEC|PROT_READ|PROT_WRITE|PROT_GROWSDOWN) = 0
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e404,512) = 512
1 prctl(46,13,1081205764,512,1073770496,0) = 0
1 _llseek(3,0,792,0x4071e1c0,SEEK_SET) = 0
1 read(3,0x4071e1f0,32) = 32
1 fstat64(3,0x4071e2c8) = 0
1 mmap2(NULL,1630336,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3fd4e000
1 mprotect(0x3fec4000,61440,PROT_NONE) = 0
1 mmap2(0x3fed3000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x175) = 0x3fed3000
1 mmap2(0x3feda000,8320,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3feda000
1 close(3) = 0
1 set_thread_area(0x3ff09750) = 0
1 mprotect(0x3fed3000,16384,PROT_READ) = 0
1 mprotect(0x3feff000,4096,PROT_READ) = 0
1 mprotect(0x3ff19000,4096,PROT_READ) = 0
1 mprotect(0x3ff85000,4096,PROT_READ) = 0
1 mprotect(0x3ff2c000,4096,PROT_READ) = 0
1 mprotect(0x3ff3f000,4096,PROT_READ) = 0
1 mprotect(0x3ff57000,4096,PROT_READ) = 0
1 mprotect(0x3ff6c000,4096,PROT_READ) = 0
1 mprotect(0x3ff9f000,4096,PROT_READ) = 0
1 mprotect(0x00417000,4096,PROT_READ) = 0
1 mprotect(0x3fffe000,4096,PROT_READ) = 0
1 stat("/var/run/rpcd",0x4071ed10) = -1 errno=2 (No such file or directory)
1 mkdir("/var/run/rpcd",0700) = 0
1 umask(077) = 18
1 rt_sigaction(SIGPIPE,0x4071ec40,0x4071ec20) = 0
1 rt_sigaction(SIGHUP,0x4071ec40,0x4071ec20) = 0
1 rt_sigaction(SIGUSR1,0x4071ec40,0x4071ec20) = 0
1 epoll_create(32) = 3
1 fcntl64(3,F_GETFD) = 0
1 fcntl64(3,F_SETFD,1) = 0
1 pipe(1081208200,2,1073274928,0,0,0) = 4
1 fcntl64(4,F_GETFD) = 0
1 fcntl64(4,F_SETFD,1) = 0
1 fcntl64(4,F_GETFL) = 0
1 fcntl64(4,F_SETFL,O_RDONLY|O_NONBLOCK) = 0
1 fcntl64(5,F_GETFD) = 0
1 fcntl64(5,F_SETFD,1) = 0
1 fcntl64(5,F_GETFL) = 1
1 fcntl64(5,F_SETFL,O_WRONLY|O_NONBLOCK) = 0
1 fcntl64(4,F_GETFL) = 128
1 fcntl64(4,F_SETFL,O_RDONLY|O_NONBLOCK) = 0
1 epoll_ctl(3,1,4,1081208144,0,0) = 0
1 rt_sigaction(SIGINT,NULL,0x4071eba8) = 0
1 rt_sigaction(SIGINT,0x4071ebc8,NULL) = 0
1 rt_sigaction(SIGTERM,NULL,0x4071eba8) = 0
1 rt_sigaction(SIGTERM,0x4071ebc8,NULL) = 0
1 rt_sigaction(SIGCHLD,NULL,0x4071eba8) = 0
1 rt_sigaction(SIGCHLD,0x4071ebc8,NULL) = 0
1 rt_sigaction(SIGPIPE,NULL,0x4071ec68) = 0
1 brk(NULL) = 0x00419224
1 brk(0x0043a224) = 0x0043a224
1 brk(0x0043b000) = 0x0043b000
1 rt_sigaction(SIGINT,NULL,0x4071eb50) = 0
1 rt_sigaction(SIGTERM,NULL,0x4071eb50) = 0
1 rt_sigaction(SIGCHLD,NULL,0x4071eb50) = 0
1 rt_sigaction(SIGPIPE,NULL,0x4071ec10) = 0
1 socket(PF_UNIX,SOCK_STREAM,IPPROTO_IP) = 6
1 fcntl64(6,F_GETFD) = 0
1 fcntl64(6,F_SETFD,1) = 0
1 connect(6,0x4071ec80,110) = -1 errno=2 (No such file or directory)
1 close(6) = 0
1 brk(0x0043a000) = 0x0043a000
1 write(2,0x405fa4,26)Failed to connect to ubus
= 26
1 exit_group(-1)
[*] Identification of missing filesytem areas.
[*] Found missing area: /etc/ld.so.cache
[*] Trying to identify this missing file: ld.so.cache
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/ld.so.cache
-----------------------------------------------------------------