-----------------------------------------------------------------

[*] Initial strace run with jchroot on the command ./usr/sbin/samba_multicall to identify missing areas

[*] Emulating binary name: samba_multicall 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) = 0x00506458
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffc8000
1 uname(0x4071e6b0) = 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,0x4071e434,512) = 512
1 prctl(46,9,1081205812,512,1073770496,0) = 0
1 _llseek(3,0,648,0x4071e1e8,SEEK_SET) = 0
1 read(3,0x4071e218,32) = 32
1 fstat64(3,0x4071e2f8) = 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/libresolv.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e41c,512) = 512
1 prctl(46,9,1081205788,512,1073770496,0) = 0
1 _llseek(3,0,648,0x4071e1d0,SEEK_SET) = 0
1 read(3,0x4071e200,32) = 32
1 fstat64(3,0x4071e2e0) = 0
1 mmap2(NULL,149696,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff62000
1 mprotect(0x3ff74000,61440,PROT_NONE) = 0
1 mmap2(0x3ff83000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x11) = 0x3ff83000
1 mmap2(0x3ff85000,6336,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3ff85000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libdl.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e404,512) = 512
1 prctl(46,9,1081205764,512,1073770496,0) = 0
1 _llseek(3,0,680,0x4071e1c0,SEEK_SET) = 0
1 read(3,0x4071e1f0,32) = 32
1 fstat64(3,0x4071e2c8) = 0
1 mmap2(NULL,73952,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff4f000
1 mprotect(0x3ff51000,61440,PROT_NONE) = 0
1 mmap2(0x3ff60000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3ff60000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgcc_s.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e3ec,512) = 512
1 prctl(46,9,1081205740,512,1073770496,0) = 0
1 fstat64(3,0x4071e2b0) = 0
1 mmap2(NULL,144160,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff2b000
1 mprotect(0x3ff3e000,61440,PROT_NONE) = 0
1 mmap2(0x3ff4d000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x12) = 0x3ff4d000
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,0x4071e3d4,512) = 512
1 prctl(46,13,1081205716,512,1073770496,0) = 0
1 _llseek(3,0,792,0x4071e190,SEEK_SET) = 0
1 read(3,0x4071e1c0,32) = 32
1 fstat64(3,0x4071e298) = 0
1 mmap2(NULL,1630336,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3fd9c000
1 mprotect(0x3ff12000,61440,PROT_NONE) = 0
1 mmap2(0x3ff21000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x175) = 0x3ff21000
1 mmap2(0x3ff28000,8320,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3ff28000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fd9a000
1 set_thread_area(0x3fda16a0) = 0
1 mprotect(0x3ff21000,16384,PROT_READ) = 0
1 mprotect(0x3ff4d000,4096,PROT_READ) = 0
1 mprotect(0x3ff60000,4096,PROT_READ) = 0
1 mprotect(0x3ff83000,4096,PROT_READ) = 0
1 mprotect(0x3ff9f000,4096,PROT_READ) = 0
1 mprotect(0x00500000,4096,PROT_READ) = 0
1 mprotect(0x3fffe000,4096,PROT_READ) = 0
1 write(2,0x4e67fc,46)Invalid multicall command, available commands: = 46
1 write(2,0x4071c7a8,5) smbd = 5
1 write(2,0x4071c7a8,5) nmbd = 5
1 write(2,0x4071c7a8,10) smbpasswd = 10
1 write(2,0x3ff25c7f,1)
 = 1
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

-----------------------------------------------------------------