-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./sbin/mount_root to identify missing areas
[*] Emulating binary name: mount_root 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) = 0x00411060
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffc8000
1 uname(0x4071e700) = 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/librt.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e484,512) = 512
1 prctl(46,10,1081205892,512,1073770496,0) = 0
1 _llseek(3,0,704,0x4071e240,SEEK_SET) = 0
1 read(3,0x4071e270,32) = 32
1 fstat64(3,0x4071e348) = 0
1 mmap2(NULL,94912,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ffb0000
1 mprotect(0x3ffb7000,61440,PROT_NONE) = 0
1 mmap2(0x3ffc6000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3ffc6000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libfstools.so",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/libfstools.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e46c,512) = 512
1 prctl(46,8,1081205868,512,1073770496,0) = 0
1 fstat64(3,0x4071e330) = 0
1 mmap2(NULL,100768,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff97000
1 mprotect(0x3ff9f000,61440,PROT_NONE) = 0
1 mmap2(0x3ffae000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x7) = 0x3ffae000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libubox.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e454,512) = 512
1 prctl(46,8,1081205844,512,1073770496,0) = 0
1 fstat64(3,0x4071e318) = 0
1 mmap2(NULL,99696,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff7e000
1 mprotect(0x3ff86000,61440,PROT_NONE) = 0
1 mmap2(0x3ff95000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x7) = 0x3ff95000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgcc_s.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e43c,512) = 512
1 prctl(46,9,1081205820,512,1073770496,0) = 0
1 fstat64(3,0x4071e300) = 0
1 mmap2(NULL,144160,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff5a000
1 mprotect(0x3ff6d000,61440,PROT_NONE) = 0
1 mmap2(0x3ff7c000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x12) = 0x3ff7c000
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,0x4071e424,512) = 512
1 prctl(46,13,1081205796,512,1073770496,0) = 0
1 _llseek(3,0,792,0x4071e1e0,SEEK_SET) = 0
1 read(3,0x4071e210,32) = 32
1 fstat64(3,0x4071e2e8) = 0
1 mmap2(NULL,1630336,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3fdcb000
1 mprotect(0x3ff41000,61440,PROT_NONE) = 0
1 mmap2(0x3ff50000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x175) = 0x3ff50000
1 mmap2(0x3ff57000,8320,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3ff57000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e374,512) = 512
1 prctl(46,12,1081205620,512,1073770496,0) = 0
1 _llseek(3,0,768,0x4071e128,SEEK_SET) = 0
1 read(3,0x4071e158,32) = 32
1 fstat64(3,0x4071e238) = 0
1 mmap2(NULL,181232,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3fd9e000
1 mprotect(0x3fdb8000,61440,PROT_NONE) = 0
1 mmap2(0x3fdc7000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3fdc7000
1 mmap2(0x3fdc9000,5104,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3fdc9000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fd9c000
1 set_thread_area(0x3fda3ac0) = 0
1 mprotect(0x3ff50000,16384,PROT_READ) = 0
1 mprotect(0x3fdc7000,4096,PROT_READ) = 0
1 mprotect(0x3ff7c000,4096,PROT_READ) = 0
1 mprotect(0x3ff95000,4096,PROT_READ) = 0
1 mprotect(0x3ffc6000,4096,PROT_READ) = 0
1 mprotect(0x3ffae000,4096,PROT_READ) = 0
1 mprotect(0x00410000,4096,PROT_READ) = 0
1 mprotect(0x3fffe000,4096,PROT_READ) = 0
1 set_tid_address(0x3fd9c698) = 1
1 set_robust_list(0x3fd9c6a0,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x4071ed48,NULL) = 0
1 rt_sigaction(33,0x4071ed48,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x4071ed90,NULL,16) = 0
1 getrlimit(3,0x4071ee18) = 0
1 stat64("/",0x4071ec18) = 0
1 openat(AT_FDCWD,"/dev",O_RDONLY|O_DIRECTORY|O_LARGEFILE|O_NONBLOCK|O_CLOEXEC) = 3
1 fstat64(3,0x4071eaa8) = 0
1 brk(NULL) = 0x00411060
1 brk(0x00432060) = 0x00432060
1 brk(0x00433000) = 0x00433000
1 getdents64(3,0x4111d0,32768) = 1640
1 lstat64("/dev/ttyS1",0x4071eb78) = 0
1 lstat64("/dev/mtd6",0x4071eb78) = 0
1 lstat64("/dev/mtdblock2",0x4071eb78) = 0
1 lstat64("/dev/mtdr2",0x4071eb78) = 0
1 lstat64("/dev/mtdr0",0x4071eb78) = 0
1 lstat64("/dev/.",0x4071eb78) = 0
1 lstat64("/dev/mtdr4",0x4071eb78) = 0
1 lstat64("/dev/mem",0x4071eb78) = 0
1 lstat64("/dev/mtd0",0x4071eb78) = 0
1 lstat64("/dev/mtdr8",0x4071eb78) = 0
1 lstat64("/dev/null",0x4071eb78) = 0
1 lstat64("/dev/hidraw0",0x4071eb78) = 0
1 lstat64("/dev/armem",0x4071eb78) = 0
1 lstat64("/dev/mtdr5",0x4071eb78) = 0
1 lstat64("/dev/mtdblock3",0x4071eb78) = 0
1 lstat64("/dev/kmem",0x4071eb78) = 0
1 lstat64("/dev/console",0x4071eb78) = 0
1 lstat64("/dev/random",0x4071eb78) = 0
1 lstat64("/dev/mtdr10",0x4071eb78) = 0
1 lstat64("/dev/mtd7",0x4071eb78) = 0
1 lstat64("/dev/mtd2",0x4071eb78) = 0
1 lstat64("/dev/mtdr9",0x4071eb78) = 0
1 lstat64("/dev/mtdr3",0x4071eb78) = 0
1 lstat64("/dev/mtd",0x4071eb78) = 0
1 lstat64("/dev/log",0x4071eb78) = 0
1 lstat64("/dev/mtd5",0x4071eb78) = 0
1 lstat64("/dev/ttyS3",0x4071eb78) = 0
1 lstat64("/dev/..",0x4071eb78) = 0
1 lstat64("/dev/mtdr1",0x4071eb78) = 0
1 lstat64("/dev/mtdblock7",0x4071eb78) = 0
1 lstat64("/dev/tty",0x4071eb78) = 0
1 lstat64("/dev/mtdblock6",0x4071eb78) = 0
1 lstat64("/dev/mtd8",0x4071eb78) = 0
1 lstat64("/dev/mtd3",0x4071eb78) = 0
1 lstat64("/dev/mtdblock",0x4071eb78) = 0
1 lstat64("/dev/mtdblock10",0x4071eb78) = 0
1 lstat64("/dev/mtdblock8",0x4071eb78) = 0
1 lstat64("/dev/mtdr7",0x4071eb78) = 0
1 lstat64("/dev/ppp",0x4071eb78) = 0
1 lstat64("/dev/mtdblock1",0x4071eb78) = 0
1 lstat64("/dev/mtd1",0x4071eb78) = 0
1 lstat64("/dev/tts",0x4071eb78) = 0
1 lstat64("/dev/mtdblock5",0x4071eb78) = 0
1 lstat64("/dev/mtdr6",0x4071eb78) = 0
1 lstat64("/dev/mtd10",0x4071eb78) = 0
1 lstat64("/dev/mtdblock9",0x4071eb78) = 0
1 lstat64("/dev/zero",0x4071eb78) = 0
1 lstat64("/dev/mtdblock4",0x4071eb78) = 0
1 lstat64("/dev/adsl0",0x4071eb78) = 0
1 lstat64("/dev/tty0",0x4071eb78) = 0
1 lstat64("/dev/ttyS0",0x4071eb78) = 0
1 lstat64("/dev/mtd9",0x4071eb78) = 0
1 lstat64("/dev/urandom",0x4071eb78) = 0
1 lstat64("/dev/ptmx",0x4071eb78) = 0
1 lstat64("/dev/mtd4",0x4071eb78) = 0
1 lstat64("/dev/mtdblock0",0x4071eb78) = 0
1 lstat64("/dev/ttyS2",0x4071eb78) = 0
1 getdents64(3,0x4111d0,32768) = 0
1 brk(0x00432000) = 0x00432000
1 close(3) = 0
1 stat64("/rom",0x4071ec18) = 0
1 openat(AT_FDCWD,"/dev",O_RDONLY|O_DIRECTORY|O_LARGEFILE|O_NONBLOCK|O_CLOEXEC) = 3
1 fstat64(3,0x4071eaa8) = 0
1 getdents64(3,0x4111d0,32768) = 1640
1 lstat64("/dev/ttyS1",0x4071eb78) = 0
1 lstat64("/dev/mtd6",0x4071eb78) = 0
1 lstat64("/dev/mtdblock2",0x4071eb78) = 0
1 lstat64("/dev/mtdr2",0x4071eb78) = 0
1 lstat64("/dev/mtdr0",0x4071eb78) = 0
1 lstat64("/dev/.",0x4071eb78) = 0
1 lstat64("/dev/mtdr4",0x4071eb78) = 0
1 lstat64("/dev/mem",0x4071eb78) = 0
1 lstat64("/dev/mtd0",0x4071eb78) = 0
1 lstat64("/dev/mtdr8",0x4071eb78) = 0
1 lstat64("/dev/null",0x4071eb78) = 0
1 lstat64("/dev/hidraw0",0x4071eb78) = 0
1 lstat64("/dev/armem",0x4071eb78) = 0
1 lstat64("/dev/mtdr5",0x4071eb78) = 0
1 lstat64("/dev/mtdblock3",0x4071eb78) = 0
1 lstat64("/dev/kmem",0x4071eb78) = 0
1 lstat64("/dev/console",0x4071eb78) = 0
1 lstat64("/dev/random",0x4071eb78) = 0
1 lstat64("/dev/mtdr10",0x4071eb78) = 0
1 lstat64("/dev/mtd7",0x4071eb78) = 0
1 lstat64("/dev/mtd2",0x4071eb78) = 0
1 lstat64("/dev/mtdr9",0x4071eb78) = 0
1 lstat64("/dev/mtdr3",0x4071eb78) = 0
1 lstat64("/dev/mtd",0x4071eb78) = 0
1 lstat64("/dev/log",0x4071eb78) = 0
1 lstat64("/dev/mtd5",0x4071eb78) = 0
1 lstat64("/dev/ttyS3",0x4071eb78) = 0
1 lstat64("/dev/..",0x4071eb78) = 0
1 lstat64("/dev/mtdr1",0x4071eb78) = 0
1 lstat64("/dev/mtdblock7",0x4071eb78) = 0
1 lstat64("/dev/tty",0x4071eb78) = 0
1 lstat64("/dev/mtdblock6",0x4071eb78) = 0
1 lstat64("/dev/mtd8",0x4071eb78) = 0
1 lstat64("/dev/mtd3",0x4071eb78) = 0
1 lstat64("/dev/mtdblock",0x4071eb78) = 0
1 lstat64("/dev/mtdblock10",0x4071eb78) = 0
1 lstat64("/dev/mtdblock8",0x4071eb78) = 0
1 lstat64("/dev/mtdr7",0x4071eb78) = 0
1 lstat64("/dev/ppp",0x4071eb78) = 0
1 lstat64("/dev/mtdblock1",0x4071eb78) = 0
1 lstat64("/dev/mtd1",0x4071eb78) = 0
1 lstat64("/dev/tts",0x4071eb78) = 0
1 lstat64("/dev/mtdblock5",0x4071eb78) = 0
1 lstat64("/dev/mtdr6",0x4071eb78) = 0
1 lstat64("/dev/mtd10",0x4071eb78) = 0
1 lstat64("/dev/mtdblock9",0x4071eb78) = 0
1 lstat64("/dev/zero",0x4071eb78) = 0
1 lstat64("/dev/mtdblock4",0x4071eb78) = 0
1 lstat64("/dev/adsl0",0x4071eb78) = 0
1 lstat64("/dev/tty0",0x4071eb78) = 0
1 lstat64("/dev/ttyS0",0x4071eb78) = 0
1 lstat64("/dev/mtd9",0x4071eb78) = 0
1 lstat64("/dev/urandom",0x4071eb78) = 0
1 lstat64("/dev/ptmx",0x4071eb78) = 0
1 lstat64("/dev/mtd4",0x4071eb78) = 0
1 lstat64("/dev/mtdblock0",0x4071eb78) = 0
1 lstat64("/dev/ttyS2",0x4071eb78) = 0
1 getdents64(3,0x4111d0,32768) = 0
1 close(3) = 0
1 openat(AT_FDCWD,"/proc/filesystems",O_RDONLY) = 3
1 fstat64(3,0x4071e948) = 0
1 read(3,0x411318,1024) = 407
1 read(3,0x411318,1024) = 0
1 close(3) = 0
1 openat(AT_FDCWD,"/proc/mtd",O_RDONLY) = 3
1 fstat64(3,0x4071eb08) = 0
1 read(3,0x411318,1024) = 62
1 read(3,0x411318,1024) = 0
1 close(3) = 0
1 stat("/tmp/.preinit",0x4071ecc8) = -1 errno=2 (No such file or directory)
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
[*] Found missing area: /lib/tls/libfstools.so
[*] Trying to identify this missing file: libfstools.so
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/libfstools.so
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/libfstools.so to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/tls/
-----------------------------------------------------------------