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

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

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

[*] Emulating binary name: ntpd 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) = 0x4002cc30
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7c7000
1 uname(0x3ff1d6d0) = 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/libm.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d464,512) = 512
1 prctl(46,1072813464,1072813156,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d238,SEEK_SET) = 0
1 read(3,0x3ff1d268,32) = 32
1 fstat64(3,0x3ff1d320) = 0
1 mmap2(NULL,1078320,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f6bf000
1 mprotect(0x3f7b6000,61440,PROT_NONE) = 0
1 mmap2(0x3f7c5000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xf6) = 0x3f7c5000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/librtc.so.1",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/librtc.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d454,512) = 512
1 prctl(46,1072813416,1072813140,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d310) = 0
1 mmap2(NULL,69744,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f6ad000
1 mprotect(0x3f6ae000,61440,PROT_NONE) = 0
1 mmap2(0x3f6bd000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0) = 0x3f6bd000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d444,512) = 512
1 prctl(46,1072813560,1072813124,512,1065377792,0) = 0
1 _llseek(3,0,760,0x3ff1d218,SEEK_SET) = 0
1 read(3,0x3ff1d248,32) = 32
1 fstat64(3,0x3ff1d300) = 0
1 mmap2(NULL,1593152,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f528000
1 mprotect(0x3f695000,61440,PROT_NONE) = 0
1 mmap2(0x3f6a4000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f6a4000
1 mmap2(0x3f6ab000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f6ab000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f526000
1 set_thread_area(0x3f52d4a0) = 0
1 mprotect(0x3f6a4000,16384,PROT_READ) = 0
1 mprotect(0x3f6bd000,4096,PROT_READ) = 0
1 mprotect(0x3f7c5000,4096,PROT_READ) = 0
1 mprotect(0x40029000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 brk(NULL) = 0x4002cc30
1 brk(0x4004dc30) = 0x4004dc30
1 brk(0x4004e000) = 0x4004e000
1 brk(0x4006f000) = 0x4006f000
1 brk(0x40090000) = 0x40090000
1 brk(0x400b1000) = 0x400b1000
1 brk(0x400da000) = 0x400da000
1 brk(0x400fb000) = 0x400fb000
1 brk(0x4011d000) = 0x4011d000
1 openat(AT_FDCWD,"/etc/localtime",O_RDONLY|O_CLOEXEC) = 3
1 fstat64(3,0x3ff1db10) = 0
1 fstat64(3,0x3ff1d9b0) = 0
1 read(3,0x401105e0,4096) = 148
1 _llseek(3,4294967295,4294967290,0x3ff1d9c0,SEEK_CUR) = 0
1 read(3,0x401105e0,4096) = 6
1 close(3) = 0
1 openat(AT_FDCWD,"/etc/ntpd.conf",O_RDONLY) = -1 errno=2 (No such file or directory)
1 write(2,0x3ff1b5c8,42)/etc/ntpd.conf: No such file or directory
 = 42
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: /etc/ntpd.conf
[*] Trying to identify this missing file: ntpd.conf
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/etc/ntpd.conf
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/etc/ntpd.conf to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/etc/
[*] Found missing area: /lib/tls/librtc.so.1
[*] Trying to identify this missing file: librtc.so.1
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/librtc.so.1
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/librtc.so.1 to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/tls/

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