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

[*] Initial strace run with jchroot on the command ./usr/lib/systemd/systemd-shutdown to identify missing areas

[*] Emulating binary name: systemd-shutdown 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 ./lib/systemd/systemd-shutdown to identify missing areas

[*] Emulating binary name: systemd-shutdown 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) = 0x4001b2c8
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7c7000
1 uname(0x3ff1d630) = 0
1 access("/etc/ld.so.preload",R_OK) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/systemd/tls/libsystemd-shared-243.so",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 stat64("/usr/lib/systemd/tls",0x3ff1d280) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/systemd/libsystemd-shared-243.so",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 stat64("/usr/lib/systemd",0x3ff1d280) = -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/libsystemd-shared-243.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3c4,512) = 512
1 prctl(46,1072813304,1072812996,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d280) = 0
1 mmap2(NULL,2429764,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f575000
1 mprotect(0x3f76d000,61440,PROT_NONE) = 0
1 mmap2(0x3f77c000,303104,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1f7) = 0x3f77c000
1 mmap2(0x3f7c6000,836,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f7c6000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libmount.so.1",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/libmount.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3b4,512) = 512
1 prctl(46,1072813320,1072812980,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d270) = 0
1 mmap2(NULL,462576,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f504000
1 mprotect(0x3f563000,65536,PROT_NONE) = 0
1 mmap2(0x3f573000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x5f) = 0x3f573000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3a4,512) = 512
1 prctl(46,1072813400,1072812964,512,1065377792,0) = 0
1 _llseek(3,0,760,0x3ff1d170,SEEK_SET) = 0
1 read(3,0x3ff1d1a0,32) = 32
1 fstat64(3,0x3ff1d260) = 0
1 mmap2(NULL,1593152,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f37f000
1 mprotect(0x3f4ec000,61440,PROT_NONE) = 0
1 mmap2(0x3f4fb000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f4fb000
1 mmap2(0x3f502000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f502000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/librt.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2c4,512) = 512
1 prctl(46,1072813080,1072812740,512,1065377792,0) = 0
1 _llseek(3,0,704,0x3ff1d090,SEEK_SET) = 0
1 read(3,0x3ff1d0c0,32) = 32
1 fstat64(3,0x3ff1d180) = 0
1 mmap2(NULL,94928,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f367000
1 mprotect(0x3f36e000,61440,PROT_NONE) = 0
1 mmap2(0x3f37d000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f37d000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libcap.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2b4,512) = 512
1 prctl(46,1072813000,1072812724,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d170) = 0
1 mmap2(NULL,86384,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f351000
1 mprotect(0x3f355000,65536,PROT_NONE) = 0
1 mmap2(0x3f365000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x4) = 0x3f365000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libkmod.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2a4,512) = 512
1 prctl(46,1072812984,1072812708,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d160) = 0
1 mmap2(NULL,152448,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f32b000
1 mprotect(0x3f340000,61440,PROT_NONE) = 0
1 mmap2(0x3f34f000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x14) = 0x3f34f000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libblkid.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d294,512) = 512
1 prctl(46,1072813032,1072812692,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d150) = 0
1 mmap2(NULL,425264,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f2c3000
1 mprotect(0x3f318000,61440,PROT_NONE) = 0
1 mmap2(0x3f327000,16384,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x54) = 0x3f327000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libm.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d284,512) = 512
1 prctl(46,1072812984,1072812676,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d050,SEEK_SET) = 0
1 read(3,0x3ff1d080,32) = 32
1 fstat64(3,0x3ff1d140) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f2c1000
1 mmap2(NULL,1078320,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1b9000
1 mprotect(0x3f2b0000,61440,PROT_NONE) = 0
1 mmap2(0x3f2bf000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xf6) = 0x3f2bf000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d274,512) = 512
1 prctl(46,1072813064,1072812660,512,1065377792,0) = 0
1 _llseek(3,0,768,0x3ff1d038,SEEK_SET) = 0
1 read(3,0x3ff1d068,32) = 32
1 fstat64(3,0x3ff1d130) = 0
1 mmap2(NULL,181248,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f18c000
1 mprotect(0x3f1a6000,61440,PROT_NONE) = 0
1 mmap2(0x3f1b5000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3f1b5000
1 mmap2(0x3f1b7000,5120,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f1b7000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libz.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d264,512) = 512
1 prctl(46,1072812952,1072812644,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d120) = 0
1 mmap2(NULL,155984,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f165000
1 mprotect(0x3f17a000,65536,PROT_NONE) = 0
1 mmap2(0x3f18a000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x15) = 0x3f18a000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f163000
1 set_thread_area(0x3f16a4a0) = 0
1 mprotect(0x3f4fb000,16384,PROT_READ) = 0
1 mprotect(0x3f18a000,4096,PROT_READ) = 0
1 mprotect(0x3f1b5000,4096,PROT_READ) = 0
1 mprotect(0x3f2bf000,4096,PROT_READ) = 0
1 mprotect(0x3f327000,12288,PROT_READ) = 0
1 mprotect(0x3f34f000,4096,PROT_READ) = 0
1 mprotect(0x3f365000,4096,PROT_READ) = 0
1 mprotect(0x3f37d000,4096,PROT_READ) = 0
1 mprotect(0x3f573000,4096,PROT_READ) = 0
1 mprotect(0x3f77c000,290816,PROT_READ) = 0
1 mprotect(0x4001a000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 set_tid_address(0x3f163078) = 1
1 set_robust_list(0x3f163080,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x3ff1dc80,NULL) = 0
1 rt_sigaction(33,0x3ff1dc80,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x3ff1dcc8,NULL,16) = 0
1 getrlimit(3,0x3ff1dd50) = 0
1 syscall(4020,1072815652,1072815660,0,1065138144,1)1 getpid() = 1
 = 1
1 access("/proc/vz",F_OK) = -1 errno=2 (No such file or directory)
1 brk(NULL) = 0x4001b2c8
1 brk(0x4003c2c8) = 0x4003c2c8
1 brk(0x4003d000) = 0x4003d000
1 openat(AT_FDCWD,"/proc/sys/kernel/osrelease",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 fstat64(3,0x3ff1d960) = 0
1 read(3,0x4001b480,1024) = 18
1 ioctl(3,TCGETS,0x3ff1da68) = -1 errno=25 (Inappropriate ioctl for device)
1 read(3,0x4001b480,1024) = 0
1 close(3) = 0
1 brk(0x4003c000) = 0x4003c000
1 openat(AT_FDCWD,"/proc/1/sched",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 fstat64(3,0x3ff1d960) = 0
1 read(3,0x4001b4c8,1024) = 1024
1 ioctl(3,TCGETS,0x3ff1da68) = -1 errno=25 (Inappropriate ioctl for device)
1 close(3) = 0
1 openat(AT_FDCWD,"/proc/cmdline",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 fstat64(3,0x3ff1d9e0) = 0
1 read(3,0x4001b480,1024) = 119
1 ioctl(3,TCGETS,0x3ff1dae8) = -1 errno=25 (Inappropriate ioctl for device)
1 read(3,0x4001b480,1024) = 0
1 close(3) = 0
1 writev(2,0x3ff1d124,0x2)Verb argument missing.
 = 23
1 writev(2,0x3ff1d124,0x2)Critical error while doing system shutdown: Invalid argument
 = 61
1 openat(AT_FDCWD,"/proc/self/fd",O_RDONLY|O_DIRECTORY|O_LARGEFILE|O_NONBLOCK|O_CLOEXEC) = 3
1 fstat64(3,0x3ff1dac8) = 0
1 getdents64(3,0x4001b2f0,32768) = 144
1 getdents64(3,0x4001b2f0,32768) = 0
1 close(3) = 0
1 sync(-1963352832,-8,0,0,0,0) = 0
1 waitid(0,0,0x3ff1dc04,0x4) = -1 errno=10 (No child processes)
1 pause(1058448544,0,1072815108,1,0,0)
[*] 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/libmount.so.1
[*] Trying to identify this missing file: libmount.so.1
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libmount.so.1
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libmount.so.1 to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/tls/
[*] Found missing area: /usr/lib/systemd/libsystemd-shared-243.so
[*] Trying to identify this missing file: libsystemd-shared-243.so
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libsystemd-shared-243.so
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libsystemd-shared-243.so to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/usr/lib/systemd/
[*] Found missing area: /usr/lib/systemd/tls/libsystemd-shared-243.so
[*] Trying to identify this missing file: libsystemd-shared-243.so
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libsystemd-shared-243.so
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libsystemd-shared-243.so to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/usr/lib/systemd/tls/

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