-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/sbin/fwmgr to identify missing areas
[*] Emulating binary name: fwmgr 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/4325012-58052244.squashfs_v4_le_extract (1/2)
[*] Using CPU config:
--- SIGILL {si_signo=SIGILL, si_code=SI_KERNEL, si_pid=0, si_uid=0} ---
qemu: uncaught target signal 4 (Illegal instruction) - core dumped
[*] Identification of missing filesytem areas.
[*] No missing areas found.
-----------------------------------------------------------------
-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./sbin/fwmgr to identify missing areas
[*] Emulating binary name: fwmgr 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/4325012-58052244.squashfs_v4_le_extract/usr (2/2)
[*] Using CPU config: 24KEc
1 brk(NULL) = 0x40011080
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7c7000
1 uname(0x3ff1d6c0) = 0
1 readlink("/proc/self/exe",0x3ff1c798,4096) = 11
1 access("/etc/ld.so.preload",R_OK) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/sbin/src/tls/libfwmgr.so",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 stat64("/sbin/src/tls",0x3ff1d310) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/sbin/src/libfwmgr.so",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 stat64("/sbin/src",0x3ff1d310) = -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/libfwmgr.so",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 stat64("/lib/tls",0x3ff1d310) = 0
1 openat(AT_FDCWD,"/lib/libfwmgr.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d454,512) = 512
1 prctl(46,1072813448,1072813140,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d310) = 0
1 mmap2(NULL,295268,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f77e000
1 mprotect(0x3f7a7000,61440,PROT_NONE) = 0
1 mmap2(0x3f7b6000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x28) = 0x3f7b6000
1 mmap2(0x3f7b8000,57700,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f7b8000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d444,512) = 512
1 prctl(46,1072813528,1072813124,512,1065377792,0) = 0
1 _llseek(3,0,768,0x3ff1d210,SEEK_SET) = 0
1 read(3,0x3ff1d240,32) = 32
1 fstat64(3,0x3ff1d300) = 0
1 mmap2(NULL,181248,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f751000
1 mprotect(0x3f76b000,61440,PROT_NONE) = 0
1 mmap2(0x3f77a000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3f77a000
1 mmap2(0x3f77c000,5120,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f77c000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d434,512) = 512
1 prctl(46,1072813544,1072813108,512,1065377792,0) = 0
1 _llseek(3,0,760,0x3ff1d208,SEEK_SET) = 0
1 read(3,0x3ff1d238,32) = 32
1 fstat64(3,0x3ff1d2f0) = 0
1 mmap2(NULL,1593152,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f5cc000
1 mprotect(0x3f739000,61440,PROT_NONE) = 0
1 mmap2(0x3f748000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f748000
1 mmap2(0x3f74f000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f74f000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libapta.so",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/libapta.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d374,512) = 512
1 prctl(46,1072813192,1072812916,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d230) = 0
1 mmap2(NULL,83392,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f5b7000
1 mprotect(0x3f5bb000,61440,PROT_NONE) = 0
1 mmap2(0x3f5ca000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x3) = 0x3f5ca000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libbootblock.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d364,512) = 512
1 prctl(46,1072813176,1072812900,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d220) = 0
1 mmap2(NULL,78064,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f5a3000
1 mprotect(0x3f5a6000,61440,PROT_NONE) = 0
1 mmap2(0x3f5b5000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f5b5000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libcrypto.so.1.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d354,512) = 512
1 prctl(46,1072813224,1072812884,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d210) = 0
1 mmap2(NULL,2304304,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f370000
1 mprotect(0x3f576000,61440,PROT_NONE) = 0
1 mmap2(0x3f585000,106496,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x205) = 0x3f585000
1 mmap2(0x3f59f000,14640,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f59f000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libsystemd.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d344,512) = 512
1 prctl(46,1072813176,1072812868,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d200) = 0
1 mmap2(NULL,814232,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f2a9000
1 mprotect(0x3f35c000,61440,PROT_NONE) = 0
1 mmap2(0x3f36b000,20480,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xb2) = 0x3f36b000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libz.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d334,512) = 512
1 prctl(46,1072813160,1072812852,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1f0) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f2a7000
1 mmap2(NULL,155984,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f280000
1 mprotect(0x3f295000,65536,PROT_NONE) = 0
1 mmap2(0x3f2a5000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x15) = 0x3f2a5000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libubihelper.so",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/libubihelper.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d314,512) = 512
1 prctl(46,1072813096,1072812820,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1d0) = 0
1 mmap2(NULL,82704,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f26b000
1 mprotect(0x3f26f000,61440,PROT_NONE) = 0
1 mmap2(0x3f27e000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x3) = 0x3f27e000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libdl.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d304,512) = 512
1 prctl(46,1072813112,1072812804,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d0d0,SEEK_SET) = 0
1 read(3,0x3ff1d100,32) = 32
1 fstat64(3,0x3ff1d1c0) = 0
1 mmap2(NULL,73968,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f258000
1 mprotect(0x3f25a000,61440,PROT_NONE) = 0
1 mmap2(0x3f269000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f269000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/src/basic/tls/librt.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2f4,512) = 512
1 prctl(46,1072813128,1072812788,512,1065377792,0) = 0
1 _llseek(3,0,704,0x3ff1d0b8,SEEK_SET) = 0
1 read(3,0x3ff1d0e8,32) = 32
1 fstat64(3,0x3ff1d1b0) = 0
1 mmap2(NULL,94928,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f240000
1 mprotect(0x3f247000,61440,PROT_NONE) = 0
1 mmap2(0x3f256000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f256000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/src/basic/tls/libcap.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2e4,512) = 512
1 prctl(46,1072813048,1072812772,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1a0) = 0
1 mmap2(NULL,86384,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f22a000
1 mprotect(0x3f22e000,65536,PROT_NONE) = 0
1 mmap2(0x3f23e000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x4) = 0x3f23e000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f228000
1 set_thread_area(0x3f22fe90) = 0
1 mprotect(0x3f748000,16384,PROT_READ) = 0
1 mprotect(0x3f23e000,4096,PROT_READ) = 0
1 mprotect(0x3f77a000,4096,PROT_READ) = 0
1 mprotect(0x3f256000,4096,PROT_READ) = 0
1 mprotect(0x3f269000,4096,PROT_READ) = 0
1 mprotect(0x3f27e000,4096,PROT_READ) = 0
1 mprotect(0x3f2a5000,4096,PROT_READ) = 0
1 mprotect(0x3f36b000,12288,PROT_READ) = 0
1 mprotect(0x3f585000,90112,PROT_READ) = 0
1 mprotect(0x3f5b5000,4096,PROT_READ) = 0
1 mprotect(0x3f5ca000,4096,PROT_READ) = 0
1 mprotect(0x3f7b6000,4096,PROT_READ) = 0
1 mprotect(0x40010000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 set_tid_address(0x3f228a68) = 1
1 set_robust_list(0x3f228a70,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x3ff1dd10,NULL) = 0
1 rt_sigaction(33,0x3ff1dd10,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x3ff1dd58,NULL,16) = 0
1 getrlimit(3,0x3ff1dde0) = 0
1 openat(AT_FDCWD,"/usr/etc/fwmgr.conf",O_RDONLY|O_LARGEFILE) = -1 errno=2 (No such file or directory)
1 write(2,0x3f7a3de8,7)Error: = 7
1 fstat64(2,0x3ff1d540) = 0
1 brk(NULL) = 0x40011080
1 brk(0x40033080) = 0x40033080
1 brk(0x40034000) = 0x40034000
1 _llseek(2,0,0,0x3ff1d608,SEEK_CUR) = 0
1 write(2,0x40011088,63)Could not open '/usr/etc/fwmgr.conf': No such file or directory = 63
1 brk(0x40032000) = 0x40032000
1 write(2,0x3f7a3e0c,2)
= 2
1 time(0,1072814244,1,0,0,0) = 1689943289
1 openat(AT_FDCWD,"/etc/localtime",O_RDONLY|O_CLOEXEC) = 3
1 fstat64(3,0x3ff1d670) = 0
1 fstat64(3,0x3ff1d510) = 0
1 read(3,0x40013388,4096) = 148
1 _llseek(3,4294967295,4294967290,0x3ff1d520,SEEK_CUR) = 0
1 read(3,0x40013388,4096) = 6
1 close(3) = 0
1 socket(PF_UNIX,SOCK_DGRAM|SOCK_CLOEXEC,IPPROTO_IP) = 3
1 connect(3,0x3f74f4e0,110) = -1 errno=2 (No such file or directory)
1 close(3) = 0
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/4325012-58052244.squashfs_v4_le_extract/usr/etc/ld.so.cache
[*] Found missing area: /lib/tls/libapta.so
[*] Trying to identify this missing file: libapta.so
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libapta.so
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libapta.so to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/tls/
[*] Found missing area: /lib/tls/libfwmgr.so
[*] Trying to identify this missing file: libfwmgr.so
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libfwmgr.so
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libfwmgr.so to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/tls/
[*] Found missing area: /lib/tls/libubihelper.so
[*] Trying to identify this missing file: libubihelper.so
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libubihelper.so
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libubihelper.so to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/tls/
[*] Found missing area: /sbin/src/libfwmgr.so
[*] Trying to identify this missing file: libfwmgr.so
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libfwmgr.so
[*] Creating directory /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/src
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libfwmgr.so to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/src/
[*] Found missing area: /sbin/src/tls/libfwmgr.so
[*] Trying to identify this missing file: libfwmgr.so
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libfwmgr.so
[*] Creating directory /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/src/tls
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libfwmgr.so to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/src/tls/
[*] Found missing area: /usr/etc/fwmgr.conf
[*] Trying to identify this missing file: fwmgr.conf
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/etc/fwmgr.conf
[*] Creating directory /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/usr/etc
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/etc/fwmgr.conf to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/usr/etc/
-----------------------------------------------------------------