-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/bin/io_cgi to identify missing areas
[*] Emulating binary name: io_cgi 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 ./bin/io_cgi to identify missing areas
[*] Emulating binary name: io_cgi 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) = 0x4001d370
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7c7000
1 uname(0x3ff1d6c0) = 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/libgio-2.0.so.0",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,1990784,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f5e0000
1 mprotect(0x3f7b0000,61440,PROT_NONE) = 0
1 mmap2(0x3f7bf000,24576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1cf) = 0x3f7bf000
1 mmap2(0x3f7c5000,4224,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f7c5000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgobject-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d444,512) = 512
1 prctl(46,1072813400,1072813124,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d300) = 0
1 mmap2(NULL,446160,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f573000
1 mprotect(0x3f5ce000,65536,PROT_NONE) = 0
1 mmap2(0x3f5de000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x5b) = 0x3f5de000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libglib-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d434,512) = 512
1 prctl(46,1072813416,1072813108,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d2f0) = 0
1 mmap2(NULL,1257552,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f43f000
1 mprotect(0x3f560000,61440,PROT_NONE) = 0
1 mmap2(0x3f56f000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x120) = 0x3f56f000
1 mmap2(0x3f572000,80,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f572000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libsystemd.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d424,512) = 512
1 prctl(46,1072813400,1072813092,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d2e0) = 0
1 mmap2(NULL,814232,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f378000
1 mprotect(0x3f42b000,61440,PROT_NONE) = 0
1 mmap2(0x3f43a000,20480,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xb2) = 0x3f43a000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libfdipc.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d414,512) = 512
1 prctl(46,1072813352,1072813076,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d2d0) = 0
1 mmap2(NULL,73904,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f365000
1 mprotect(0x3f367000,61440,PROT_NONE) = 0
1 mmap2(0x3f376000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f376000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d404,512) = 512
1 prctl(46,1072813496,1072813060,512,1065377792,0) = 0
1 _llseek(3,0,760,0x3ff1d1d8,SEEK_SET) = 0
1 read(3,0x3ff1d208,32) = 32
1 fstat64(3,0x3ff1d2c0) = 0
1 mmap2(NULL,1593152,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1e0000
1 mprotect(0x3f34d000,61440,PROT_NONE) = 0
1 mmap2(0x3f35c000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f35c000
1 mmap2(0x3f363000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f363000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libgmodule-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d334,512) = 512
1 prctl(46,1072813128,1072812852,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1f0) = 0
1 mmap2(NULL,78096,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1cc000
1 mprotect(0x3f1cf000,61440,PROT_NONE) = 0
1 mmap2(0x3f1de000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f1de000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libz.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d324,512) = 512
1 prctl(46,1072813144,1072812836,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1e0) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f1ca000
1 mmap2(NULL,155984,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1a3000
1 mprotect(0x3f1b8000,65536,PROT_NONE) = 0
1 mmap2(0x3f1c8000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x15) = 0x3f1c8000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libresolv.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d314,512) = 512
1 prctl(46,1072813128,1072812820,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d0d8,SEEK_SET) = 0
1 read(3,0x3ff1d108,32) = 32
1 fstat64(3,0x3ff1d1d0) = 0
1 mmap2(NULL,149696,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f17e000
1 mprotect(0x3f190000,61440,PROT_NONE) = 0
1 mmap2(0x3f19f000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x11) = 0x3f19f000
1 mmap2(0x3f1a1000,6336,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f1a1000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d304,512) = 512
1 prctl(46,1072813208,1072812804,512,1065377792,0) = 0
1 _llseek(3,0,768,0x3ff1d0c8,SEEK_SET) = 0
1 read(3,0x3ff1d0f8,32) = 32
1 fstat64(3,0x3ff1d1c0) = 0
1 mmap2(NULL,181248,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f151000
1 mprotect(0x3f16b000,61440,PROT_NONE) = 0
1 mmap2(0x3f17a000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3f17a000
1 mmap2(0x3f17c000,5120,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f17c000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libffi.so.7",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2f4,512) = 512
1 prctl(46,1072813096,1072812788,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1b0) = 0
1 mmap2(NULL,95072,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f139000
1 mprotect(0x3f140000,61440,PROT_NONE) = 0
1 mmap2(0x3f14f000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f14f000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpcre.so.1",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,545216,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f0b3000
1 mprotect(0x3f128000,61440,PROT_NONE) = 0
1 mmap2(0x3f137000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x74) = 0x3f137000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/src/basic/tls/librt.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2d4,512) = 512
1 prctl(46,1072813096,1072812756,512,1065377792,0) = 0
1 _llseek(3,0,704,0x3ff1d098,SEEK_SET) = 0
1 read(3,0x3ff1d0c8,32) = 32
1 fstat64(3,0x3ff1d190) = 0
1 mmap2(NULL,94928,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f09b000
1 mprotect(0x3f0a2000,61440,PROT_NONE) = 0
1 mmap2(0x3f0b1000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f0b1000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/src/basic/tls/libcap.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2c4,512) = 512
1 prctl(46,1072813016,1072812740,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d180) = 0
1 mmap2(NULL,86384,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f085000
1 mprotect(0x3f089000,65536,PROT_NONE) = 0
1 mmap2(0x3f099000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x4) = 0x3f099000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/../glib/tls/libdl.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2b4,512) = 512
1 prctl(46,1072813032,1072812724,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d070,SEEK_SET) = 0
1 read(3,0x3ff1d0a0,32) = 32
1 fstat64(3,0x3ff1d170) = 0
1 mmap2(NULL,73968,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f072000
1 mprotect(0x3f074000,61440,PROT_NONE) = 0
1 mmap2(0x3f083000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f083000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f070000
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f06e000
1 set_thread_area(0x3f078840) = 0
1 mprotect(0x3f35c000,16384,PROT_READ) = 0
1 mprotect(0x3f083000,4096,PROT_READ) = 0
1 mprotect(0x3f099000,4096,PROT_READ) = 0
1 mprotect(0x3f17a000,4096,PROT_READ) = 0
1 mprotect(0x3f0b1000,4096,PROT_READ) = 0
1 mprotect(0x3f137000,4096,PROT_READ) = 0
1 mprotect(0x3f14f000,4096,PROT_READ) = 0
1 mprotect(0x3f19f000,4096,PROT_READ) = 0
1 mprotect(0x3f1c8000,4096,PROT_READ) = 0
1 mprotect(0x3f56f000,4096,PROT_READ) = 0
1 mprotect(0x3f1de000,4096,PROT_READ) = 0
1 mprotect(0x3f376000,4096,PROT_READ) = 0
1 mprotect(0x3f43a000,12288,PROT_READ) = 0
1 mprotect(0x3f5de000,4096,PROT_READ) = 0
1 mprotect(0x3f7bf000,12288,PROT_READ) = 0
1 mprotect(0x4001c000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 set_tid_address(0x3f071418) = 1
1 set_robust_list(0x3f071420,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 brk(NULL) = 0x4001d370
1 brk(0x4003e370) = 0x4003e370
1 brk(0x4003f000) = 0x4003f000
1 gettimeofday(0x3ff1dd18,NULL) = 0 ({tv_sec = 1689943130,tv_usec = 697282},NULL)
1 syscall(4238,1062674124,129,2147483647,0,0)1 futex(0x3f571ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,NULL,0) = 0
= 0
1 syscall(4238,1062674124,129,2147483647,0,1063123456)1 futex(0x3f571ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f5dfa00,1063123456) = 0
= 0
1 syscall(4238,1062674124,129,2147483647,0,1062672440)1 futex(0x3f571ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f571838,1062672440) = 0
= 0
1 eventfd2(0,524416) = 3
1 write(3,0x3ff1dd00,8) = 8
1 unlink("/run/iod/iodsocket") = -1 errno=2 (No such file or directory)
1 socket(PF_UNIX,SOCK_DGRAM,IPPROTO_IP) = 4
1 bind(4,{sun_family=AF_UNIX,sun_path="/run/iod/iodsocket"}, 110) = -1 errno=2 (No such file or directory)
1 close(4) = 0
1 getpeername(2,0x3ff1db80,0x3ff1dc00) = -1 errno=95 (Socket operation on non-socket)
1 syscall(4238,1062674124,129,2147483647,0,1062673540)1 futex(0x3f571ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f571c84,1062673540) = 0
= 0
1 ioctl(2,TCGETS,0x3ff1db58) = -1 errno=25 (Inappropriate ioctl for device)
1 getpid() = 1
1 gettimeofday(0x3ff1daa0,NULL) = 0 ({tv_sec = 1689943130,tv_usec = 819639},NULL)
1 openat(AT_FDCWD,"/etc/localtime",O_RDONLY|O_CLOEXEC) = 4
1 fstat64(4,0x3ff1d928) = 0
1 fstat64(4,0x3ff1d7c8) = 0
1 read(4,0x40024550,4096) = 148
1 _llseek(4,4294967295,4294967290,0x3ff1d7d8,SEEK_CUR) = 0
1 read(4,0x40024550,4096) = 6
1 close(4) = 0
1 openat(AT_FDCWD,"lib/charset.alias",O_RDONLY|O_LARGEFILE) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/gconv/gconv-modules.cache",O_RDONLY) = 4
1 fstat64(4,0x3ff1d688) = 0
1 mmap2(NULL,26358,PROT_READ,MAP_SHARED,4,0) = 0x3f067000
1 close(4) = 0
1 futex(0x3f362460,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f183020,1058549792) = 0
1 write(2,0x3ff1b5e0,101)
** (process:1): WARNING **: 12:38:50.819: Could not create fdipc socket /run/iod/iodsocket, errno 2
= 101
1 poll(0x400238f0,1,-1) = 1
1 read(3,0x3ff1dca8,16) = 8
1 poll(0x400238f0,1,-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/charset.alias
[*] Trying to identify this missing file: charset.alias
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usrlib/charset.alias
-----------------------------------------------------------------