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

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

[*] Emulating binary name: fsck.ext3 in strace mode to identify missing areas (with jchroot)
[*] Emulator used: qemu-arm-static
[*] Chroot environment used: jchroot
[*] Using root directory: /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract (1/2)
[*] Using CPU config: 

1 brk(NULL) = 0x4004a21c
1 uname(0x3ff1d8f0) = 0
1 access("/etc/ld.so.preload",R_OK) = 0
1 openat(AT_FDCWD,"/etc/ld.so.preload",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1d8c0) = 0
1 mmap2(NULL,19,PROT_READ|PROT_WRITE,MAP_PRIVATE,3,0) = 0x3f7cf000
1 close(3) = 0
1 munmap(0x3f7cf000,19) = 0
1 openat(AT_FDCWD,"/etc/ld.so.cache",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libext2fs.so.2",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d200,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cf48) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7ce000
1 mmap2(NULL,370012,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f773000
1 mprotect(0x3f7bd000,61440,PROT_NONE) = 0
1 mmap2(0x3f7cc000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x49) = 0x3f7cc000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libcom_err.so.2",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d1f0,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cf38) = 0
1 mmap2(NULL,73768,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f760000
1 mprotect(0x3f762000,61440,PROT_NONE) = 0
1 mmap2(0x3f771000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f771000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libblkid.so.1",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d1e0,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cf28) = 0
1 mmap2(NULL,279776,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f71b000
1 mprotect(0x3f74d000,61440,PROT_NONE) = 0
1 mmap2(0x3f75c000,16384,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x31) = 0x3f75c000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libuuid.so.1",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d1d0,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cf18) = 0
1 mmap2(NULL,86036,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f705000
1 mprotect(0x3f70a000,61440,PROT_NONE) = 0
1 mmap2(0x3f719000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x4) = 0x3f719000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libe2p.so.2",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d1c0,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cf08) = 0
1 mmap2(NULL,91800,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f6ee000
1 mprotect(0x3f6f4000,61440,PROT_NONE) = 0
1 mmap2(0x3f703000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x5) = 0x3f703000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libc.so.6",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d1b0,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cef8) = 0
1 mmap2(NULL,1148532,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f5d5000
1 mprotect(0x3f6d2000,61440,PROT_NONE) = 0
1 mmap2(0x3f6e1000,16384,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xfc) = 0x3f6e1000
1 mmap2(0x3f6e5000,34420,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f6e5000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f5d3000
1 set_tid_address(0x3f5d3078) = 1
1 set_robust_list(0x3f5d3080,12) = -1 errno=38 (Function not implemented)
1 mprotect(0x3f6e1000,8192,PROT_READ) = 0
1 mprotect(0x3f703000,4096,PROT_READ) = 0
1 mprotect(0x3f719000,4096,PROT_READ) = 0
1 mprotect(0x3f75c000,12288,PROT_READ) = 0
1 mprotect(0x3f771000,4096,PROT_READ) = 0
1 mprotect(0x3f7cc000,4096,PROT_READ) = 0
1 mprotect(0x40046000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 ugetrlimit(3,1072814728,1064203572,1064228274,1,1064185444) = 0
1 rt_sigaction(SIGFPE,0x3ff1d820,NULL) = 0
1 rt_sigaction(SIGILL,0x3ff1d820,NULL) = 0
1 rt_sigaction(SIGBUS,0x3ff1d820,NULL) = 0
1 rt_sigaction(SIGSEGV,0x3ff1d820,NULL) = 0
1 rt_sigaction(SIGIOT,0x3ff1d820,NULL) = 0
1 brk(NULL) = 0x4004a21c
1 brk(0x4006b21c) = 0x4006b21c
1 brk(0x4006c000) = 0x4006c000
1 clock_gettime64(CLOCK_REALTIME_COARSE,0x3ff1d9c8) = 0 ({tv_sec=1690035758,tv_nsec=938718112})
1 ioctl(0,TCGETS,0x3ff1d97c) = -1 errno=25 (Inappropriate ioctl for device)
1 getuid32(1064595472,0,1064692752,0,0,1064595472) = 0
1 geteuid32(0,0,1064692752,0,0,1064595472) = 0
1 getgid32(0,0,1064692752,0,0,1064595472) = 0
1 getegid32(0,0,1064692752,0,0,1064595472) = 0
1 prctl(3,0,0,0,0,1064595472) = 1
1 getuid32(1064595844,1064595478,8,0,0,1064595844) = 0
1 geteuid32(0,1064595478,8,0,0,1064595844) = 0
1 getgid32(0,1064595478,8,0,0,1064595844) = 0
1 getegid32(0,1064595478,8,0,0,1064595844) = 0
1 prctl(3,0,0,0,0,1064595844) = 1
1 openat(AT_FDCWD,"/etc/blkid.conf",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 brk(0x4006b000) = 0x4006b000
1 openat(AT_FDCWD,"/run/blkid/blkid.tab",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 sysinfo(0x3ff1d9a0) = 0
1 write(2,0x3ff1b9b8,179)Usage: ./usr/sbin/fsck.ext3 [-panyrcdfktvDFV] [-b superblock] [-B blocksize]
		[-l|-L bad_blocks_file] [-C fd] [-j external_journal]
		[-E extended-options] [-z undo_file] device
 = 179
1 write(2,0x4002cb90,328)
Emergency help:
 -p                   Automatic repair (no questions)
 -n                   Make no changes to the filesystem
 -y                   Assume "yes" to all questions
 -c                   Check for bad blocks and add them to the badblock list
 -f                   Force checking even if filesystem is marked clean
 = 328
1 write(2,0x4002ccdc,334) -v                   Be verbose
 -b superblock        Use alternative superblock
 -B blocksize         Force blocksize when looking for superblock
 -j external_journal  Set location of the external journal
 -l bad_blocks_file   Add to badblocks list
 -L bad_blocks_file   Set badblocks list
 -z undo_file         Create an undo file
 = 334
1 exit_group(16)

[*] Identification of missing filesytem areas.
[*] Found missing area: /etc/blkid.conf
[*] Trying to identify this missing file: blkid.conf
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/etc/blkid.conf
[*] Found missing area: /etc/ld.so.cache
[*] Trying to identify this missing file: ld.so.cache
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/etc/ld.so.cache
[*] Found missing area: /run/blkid/blkid.tab
[*] Trying to identify this missing file: blkid.tab
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/run/blkid/blkid.tab

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