android - fio test ends up with bus error -


i'm working on android raspberry pi 3. , i'm trying perform fio test following command:

$ fio --bs=4k --scramble_buffers=1 --direct=1 --loops=3 --numjobs=4 --filename=/dev/block/ram0 --name=rand-readwrite --rw=randrw --stonewall 

exact device i'm trying test on not important @ moment (current ram), because fio test fails on device "bus error". found out problem memory alignment. how can fixed?

here's strace log:

execve("/system/xbin/fio", ["fio", "--bs=4k", "--scramble_buffers=1", "--direct=1", "--loops=3", "--numjobs=4", "--filename=/dev/block/ram0", "--name=rand-readwrite", "--rw=randrw", "--stonewall"], [/* 20 vars */]) = 0 set_tls(0xb082d584, 0xbeb6bad4, 0xb07ca438, 0xb082a580, 0xbeb6ba24) = 0 set_tid_address(0xb082d53c)             = 1806 mmap2(null, 12288, prot_read|prot_write, map_private|map_anonymous, -1, 0) = 0xb07c5000 madvise(0xb07c5000, 12288, madv_mergeable) = 0 mprotect(0xb07c5000, 4096, prot_none)   = 0 sigaltstack({ss_sp=0xb07c6000, ss_flags=0, ss_size=8192}, null) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb07c6000, 8192, "thread signal stack") = -1 einval (invalid argument) prctl(0x53564d41 /* pr_??? */, 0, 0xb07c5000, 4096, "thread signal stack guard page") = -1 einval (invalid argument) mprotect(0xb0827000, 8192, prot_read)   = 0 mprotect(0xb082c000, 4096, prot_read)   = 0 mprotect(0xb082c000, 4096, prot_read|prot_write) = 0 mprotect(0xb082c000, 4096, prot_read)   = 0 mmap2(null, 4096, prot_read|prot_write, map_private|map_anonymous, -1, 0) = 0xb0826000 madvise(0xb0826000, 4096, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb0826000, 4096, "atexit handlers") = -1 einval (invalid argument) mprotect(0xb0826000, 4096, prot_read)   = 0 mprotect(0xb0826000, 4096, prot_read|prot_write) = 0 /* ... same here ... */ mprotect(0xb0826000, 4096, prot_read)   = 0 mprotect(0xb0826000, 4096, prot_read|prot_write) = 0 mprotect(0xb0826000, 4096, prot_read)   = 0 openat(at_fdcwd, "/dev/urandom", o_rdonly|o_largefile|o_nofollow|o_cloexec) = 3 fstat64(3, {st_mode=0, st_size=1, ...}) = 0 ioctl(3, rndgetentcnt, 0xbeb6b73c)      = 0 read(3, "\347\275r\257\220c\3\375\276\303\275^u\360\333\334qgx\321\351\231\210\r\353h`\201\v7\347j"..., 40) = 40 close(3)                                = 0 mmap2(null, 8, prot_read|prot_write, map_private|map_anonymous, -1, 0) = 0xb07c4000 madvise(0xb07c4000, 8, madv_mergeable)  = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb07c4000, 8, "arc4random _rs structure") = -1 einval (invalid argument) mmap2(null, 1088, prot_read|prot_write, map_private|map_anonymous, -1, 0) = 0xb07c3000 madvise(0xb07c3000, 1088, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb07c3000, 1088, "arc4random _rsx structure") = -1 einval (invalid argument) mmap2(null, 4096, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb07c2000 madvise(0xb07c2000, 4096, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb07c2000, 4096, "linker_alloc_small_objects") = -1 einval (invalid argument) mmap2(null, 12, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb07c1000 madvise(0xb07c1000, 12, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb07c1000, 12, "linker_alloc_vector") = -1 einval (invalid argument) mmap2(null, 4096, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb07c0000 madvise(0xb07c0000, 4096, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb07c0000, 4096, "linker_alloc_small_objects") = -1 einval (invalid argument) mmap2(null, 12, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb07bf000 madvise(0xb07bf000, 12, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb07bf000, 12, "linker_alloc_vector") = -1 einval (invalid argument) mmap2(null, 4096, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb07be000 madvise(0xb07be000, 4096, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb07be000, 4096, "linker_alloc") = -1 einval (invalid argument) personality(0xffffffff)                 = 0x800000 (per_linux|addr_limit_32bit) personality(per_linux32|addr_limit_32bit) = 0x800000 (per_linux|addr_limit_32bit) fstatat64(at_fdcwd, "/dev/__properties__", {st_mode=0, st_size=2, ...}, 0) = 0 openat(at_fdcwd, "/property_contexts", o_rdonly|o_largefile|o_cloexec) = 3 mmap2(null, 4096, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb07bd000 madvise(0xb07bd000, 4096, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb07bd000, 4096, "linker_alloc_lob") = -1 einval (invalid argument) fstat64(3, {st_mode=0, st_size=1, ...}) = 0 mmap2(null, 8192, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb07bb000 madvise(0xb07bb000, 8192, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb07bb000, 8192, "linker_alloc_lob") = -1 einval (invalid argument) read(3, "#line 1 \"system/sepolicy/propert"..., 4096) = 4096 mmap2(null, 4096, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb07ba000 madvise(0xb07ba000, 4096, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb07ba000, 4096, "linker_alloc_small_objects") = -1 einval (invalid argument) mmap2(null, 12, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb07b9000 madvise(0xb07b9000, 12, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb07b9000, 12, "linker_alloc_vector") = -1 einval (invalid argument) mmap2(null, 4096, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb07b8000 madvise(0xb07b8000, 4096, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb07b8000, 4096, "linker_alloc_small_objects") = -1 einval (invalid argument) mmap2(null, 12, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb07b7000 madvise(0xb07b7000, 12, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb07b7000, 12, "linker_alloc_vector") = -1 einval (invalid argument) read(3, ":config_prop:s0\nro.config.      "..., 4096) = 249 read(3, "", 4096)                       = 0 munmap(0xb07ba000, 4096)                = 0 close(3)                                = 0 munmap(0xb07bb000, 8192)                = 0 openat(at_fdcwd, "/dev/__properties__/properties_serial", o_rdonly|o_largefile|o_nofollow|o_cloexec) = 3 fstat64(3, {st_mode=0, st_size=1, ...}) = 0 mmap2(null, 131072, prot_read, map_shared, 3, 0) = 0xb0797000 close(3)                                = 0 sigaction(sigabrt, {0xb07ca805, [], sa_restorer|sa_restart|sa_siginfo|sa_onstack, 0xb080fa54}, null) = 0 sigaction(sigbus, {0xb07ca805, [], sa_restorer|sa_restart|sa_siginfo|sa_onstack, 0xb080fa54}, null) = 0 sigaction(sigfpe, {0xb07ca805, [], sa_restorer|sa_restart|sa_siginfo|sa_onstack, 0xb080fa54}, null) = 0 sigaction(sigill, {0xb07ca805, [], sa_restorer|sa_restart|sa_siginfo|sa_onstack, 0xb080fa54}, null) = 0 sigaction(sigsegv, {0xb07ca805, [], sa_restorer|sa_restart|sa_siginfo|sa_onstack, 0xb080fa54}, null) = 0 sigaction(sigstkflt, {0xb07ca805, [], sa_restorer|sa_restart|sa_siginfo|sa_onstack, 0xb080fa54}, null) = 0 sigaction(sigtrap, {0xb07ca805, [], sa_restorer|sa_restart|sa_siginfo|sa_onstack, 0xb080fa54}, null) = 0 fstatat64(at_fdcwd, "/proc/self/exe", {st_mode=0, st_size=1, ...}, 0) = 0 mprotect(0xb0826000, 4096, prot_read|prot_write) = 0 mprotect(0xb0826000, 4096, prot_read)   = 0 futex(0xb082a778, futex_wake_private, 2147483647) = 0 readlinkat(at_fdcwd, "/proc/self/exe", "/system/xbin/fio", 4096) = 16 mmap2(null, 4096, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb07bc000 madvise(0xb07bc000, 4096, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb07bc000, 4096, "linker_alloc") = -1 einval (invalid argument) fstatat64(at_fdcwd, "/system", {st_mode=0, st_size=16, ...}, at_symlink_nofollow) = 0 fstatat64(at_fdcwd, "/system/lib", {st_mode=0, st_size=7, ...}, at_symlink_nofollow) = 0 fstatat64(at_fdcwd, "/vendor", {st_mode=0, st_size=1, ...}, at_symlink_nofollow) = 0 readlinkat(at_fdcwd, "/vendor", "/system/vendor", 4095) = 14 fstatat64(at_fdcwd, "/system", {st_mode=0, st_size=16, ...}, at_symlink_nofollow) = 0 fstatat64(at_fdcwd, "/system/vendor", {st_mode=0, st_size=4, ...}, at_symlink_nofollow) = 0 fstatat64(at_fdcwd, "/system/vendor/lib", {st_mode=0, st_size=3, ...}, at_symlink_nofollow) = 0 mmap2(null, 4096, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb07bb000 madvise(0xb07bb000, 4096, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb07bb000, 4096, "linker_alloc") = -1 einval (invalid argument) mmap2(null, 4096, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb07ba000 madvise(0xb07ba000, 4096, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb07ba000, 4096, "linker_alloc") = -1 einval (invalid argument) openat(at_fdcwd, "/system/lib/libc++.so", o_rdonly|o_largefile|o_cloexec) = 3 mmap2(null, 8192, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb0795000 madvise(0xb0795000, 8192, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb0795000, 8192, "linker_alloc_lob") = -1 einval (invalid argument) mmap2(null, 8192, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb0793000 madvise(0xb0793000, 8192, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb0793000, 8192, "linker_alloc_lob") = -1 einval (invalid argument) readlinkat(at_fdcwd, "/proc/self/fd/3", "/system/lib/libc++.so", 4096) = 21 munmap(0xb0793000, 8192)                = 0 munmap(0xb0795000, 8192)                = 0 fstat64(3, {st_mode=0, st_size=1, ...}) = 0 mmap2(null, 4096, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb0796000 madvise(0xb0796000, 4096, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb0796000, 4096, "linker_alloc_small_objects") = -1 einval (invalid argument) mmap2(null, 12, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb0795000 madvise(0xb0795000, 12, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb0795000, 12, "linker_alloc_vector") = -1 einval (invalid argument) pread64(3, "\177elf\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\0004\0\0\0"..., 52, 0) = 52 mmap2(null, 392, prot_read, map_private, 3, 0) = 0xb0794000 mmap2(null, 2232, prot_read, map_private, 3, 0x8c000) = 0xb0793000 mmap2(null, 6432, prot_read, map_private, 3, 0x8a000) = 0xb0791000 mmap2(null, 110556, prot_read, map_private, 3, 0x9000) = 0xb0776000 openat(at_fdcwd, "/system/lib/libc.so", o_rdonly|o_largefile|o_cloexec) = 4 mmap2(null, 8192, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb0774000 madvise(0xb0774000, 8192, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb0774000, 8192, "linker_alloc_lob") = -1 einval (invalid argument) mmap2(null, 8192, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb0772000 madvise(0xb0772000, 8192, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb0772000, 8192, "linker_alloc_lob") = -1 einval (invalid argument) readlinkat(at_fdcwd, "/proc/self/fd/4", "/system/lib/libc.so", 4096) = 19 munmap(0xb0772000, 8192)                = 0 munmap(0xb0774000, 8192)                = 0 fstat64(4, {st_mode=0, st_size=1, ...}) = 0 pread64(4, "\177elf\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\0004\0\0\0"..., 52, 0) = 52 mmap2(null, 424, prot_read, map_private, 4, 0) = 0xb0775000 mmap2(null, 1768, prot_read, map_private, 4, 0xbd000) = 0xb0774000 mmap2(null, 1920, prot_read, map_private, 4, 0x86000) = 0xb0773000 mmap2(null, 25140, prot_read, map_private, 4, 0x5000) = 0xb076c000 openat(at_fdcwd, "/system/lib/libm.so", o_rdonly|o_largefile|o_cloexec) = 5 mmap2(null, 8192, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb076a000 madvise(0xb076a000, 8192, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb076a000, 8192, "linker_alloc_lob") = -1 einval (invalid argument) mmap2(null, 8192, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb0768000 madvise(0xb0768000, 8192, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb0768000, 8192, "linker_alloc_lob") = -1 einval (invalid argument) readlinkat(at_fdcwd, "/proc/self/fd/5", "/system/lib/libm.so", 4096) = 19 munmap(0xb0768000, 8192)                = 0 munmap(0xb076a000, 8192)                = 0 fstat64(5, {st_mode=0, st_size=1, ...}) = 0 pread64(5, "\177elf\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\0004\0\0\0"..., 52, 0) = 52 mmap2(null, 424, prot_read, map_private, 5, 0) = 0xb076b000 mmap2(null, 2432, prot_read, map_private, 5, 0x20000) = 0xb076a000 mmap2(null, 6600, prot_read, map_private, 5, 0x1f000) = 0xb0768000 mmap2(null, 8839, prot_read, map_private, 5, 0x1000) = 0xb0765000 mmap2(null, 139264, prot_none, map_private|map_anonymous, -1, 0) = 0xb0743000 madvise(0xb0743000, 139264, madv_mergeable) = 0 mmap2(0xb0743000, 127684, prot_read|prot_exec, map_private|map_fixed, 5, 0) = 0xb0743000 mmap2(0xb0763000, 4204, prot_read|prot_write, map_private|map_fixed, 5, 0x1f000) = 0xb0763000 mmap2(null, 598016, prot_none, map_private|map_anonymous, -1, 0) = 0xb06b1000 madvise(0xb06b1000, 598016, madv_mergeable) = 0 mmap2(0xb06b1000, 538276, prot_read|prot_exec, map_private|map_fixed, 4, 0) = 0xb06b1000 mmap2(0xb0735000, 22960, prot_read|prot_write, map_private|map_fixed, 4, 0x83000) = 0xb0735000 mmap2(0xb073b000, 32768, prot_read|prot_write, map_private|map_fixed|map_anonymous, -1, 0) = 0xb073b000 madvise(0xb073b000, 32768, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb073b000, 32768, ".bss") = -1 einval (invalid argument) mmap2(null, 585728, prot_none, map_private|map_anonymous, -1, 0) = 0xb0622000 madvise(0xb0622000, 585728, madv_mergeable) = 0 mmap2(0xb0622000, 557088, prot_read|prot_exec, map_private|map_fixed, 3, 0) = 0xb0622000 mmap2(0xb06ab000, 16409, prot_read|prot_write, map_private|map_fixed, 3, 0x88000) = 0xb06ab000 mmap2(0xb06b0000, 4096, prot_read|prot_write, map_private|map_fixed|map_anonymous, -1, 0) = 0xb06b0000 madvise(0xb06b0000, 4096, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb06b0000, 4096, ".bss") = -1 einval (invalid argument) mmap2(null, 4096, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb0621000 madvise(0xb0621000, 4096, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb0621000, 4096, "linker_alloc_small_objects") = -1 einval (invalid argument) mprotect(0x80b24000, 4096, prot_read)   = 0 munmap(0xb0621000, 4096)                = 0 mmap2(null, 4096, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb0621000 madvise(0xb0621000, 4096, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb0621000, 4096, "linker_alloc_small_objects") = -1 einval (invalid argument) mprotect(0xb06ab000, 16384, prot_read)  = 0 munmap(0xb0621000, 4096)                = 0 mmap2(null, 4096, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb0621000 madvise(0xb0621000, 4096, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb0621000, 4096, "linker_alloc_small_objects") = -1 einval (invalid argument) munmap(0xb0621000, 4096)                = 0 mprotect(0xb0735000, 16384, prot_read)  = 0 mmap2(null, 4096, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb0621000 madvise(0xb0621000, 4096, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb0621000, 4096, "linker_alloc_small_objects") = -1 einval (invalid argument) mprotect(0xb0763000, 4096, prot_read)   = 0 munmap(0xb0621000, 4096)                = 0 close(3)                                = 0 close(4)                                = 0 close(5)                                = 0 munmap(0xb0765000, 8839)                = 0 munmap(0xb0768000, 6600)                = 0 munmap(0xb076a000, 2432)                = 0 munmap(0xb076b000, 424)                 = 0 munmap(0xb076c000, 25140)               = 0 munmap(0xb0773000, 1920)                = 0 munmap(0xb0774000, 1768)                = 0 munmap(0xb0775000, 424)                 = 0 munmap(0xb0776000, 110556)              = 0 munmap(0xb0791000, 6432)                = 0 munmap(0xb0793000, 2232)                = 0 munmap(0xb0794000, 392)                 = 0 munmap(0xb0796000, 4096)                = 0 mprotect(0xb07bc000, 4096, prot_read|prot_write) = 0 mprotect(0xb07be000, 4096, prot_read|prot_write) = 0 mprotect(0xb073c000, 4096, prot_read)   = 0 mprotect(0xb073c000, 4096, prot_read|prot_write) = 0 mprotect(0xb073c000, 4096, prot_read)   = 0 fstatat64(at_fdcwd, "/dev/__properties__", {st_mode=0, st_size=2, ...}, 0) = 0 openat(at_fdcwd, "/property_contexts", o_rdonly|o_largefile|o_cloexec) = 3 brk(null)                               = 0x80fca000 mmap2(null, 524288, prot_read|prot_write, map_private|map_anonymous, -1, 0) = 0xb05a2000 madvise(0xb05a2000, 524288, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb05a2000, 524288, "libc_malloc") = -1 einval (invalid argument) munmap(0xb05a2000, 524288)              = 0 mmap2(null, 1044480, prot_read|prot_write, map_private|map_anonymous, -1, 0) = 0xb0523000 madvise(0xb0523000, 1044480, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb0523000, 1044480, "libc_malloc") = -1 einval (invalid argument) munmap(0xb0523000, 380928)              = 0 munmap(0xb0600000, 139264)              = 0 clock_gettime(clock_monotonic, {5185, 247164635}) = 0 openat(at_fdcwd, "/sys/devices/system/cpu/online", o_rdonly|o_largefile|o_cloexec) = 4 mmap2(null, 524288, prot_read|prot_write, map_private|map_anonymous, -1, 0) = 0xb0500000 madvise(0xb0500000, 524288, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb0500000, 524288, "libc_malloc") = -1 einval (invalid argument) fstat64(4, {st_mode=0, st_size=1, ...}) = 0 read(4, "0-3\n", 4096)                  = 4 close(4)                                = 0 fstat64(3, {st_mode=0, st_size=1, ...}) = 0 read(3, "#line 1 \"system/sepolicy/propert"..., 4096) = 4096 read(3, ":config_prop:s0\nro.config.      "..., 4096) = 249 read(3, "", 4096)                       = 0 close(3)                                = 0 openat(at_fdcwd, "/dev/__properties__/properties_serial", o_rdonly|o_largefile|o_nofollow|o_cloexec) = 3 fstat64(3, {st_mode=0, st_size=1, ...}) = 0 mmap2(null, 131072, prot_read, map_shared, 3, 0) = 0xb0775000 close(3)                                = 0 mprotect(0xb073c000, 4096, prot_read|prot_write) = 0 openat(at_fdcwd, "/dev/__properties__/u:object_r:default_prop:s0", o_rdonly|o_largefile|o_nofollow|o_cloexec) = 3 fstat64(3, {st_mode=0, st_size=1, ...}) = 0 mmap2(null, 131072, prot_read, map_shared, 3, 0) = 0xb0602000 close(3)                                = 0 mprotect(0xb073c000, 4096, prot_read)   = 0 openat(at_fdcwd, "/system/lib/libnetd_client.so", o_rdonly|o_largefile|o_cloexec) = 3 mmap2(null, 8192, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb0773000 madvise(0xb0773000, 8192, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb0773000, 8192, "linker_alloc_lob") = -1 einval (invalid argument) mmap2(null, 8192, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb0771000 madvise(0xb0771000, 8192, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb0771000, 8192, "linker_alloc_lob") = -1 einval (invalid argument) readlinkat(at_fdcwd, "/proc/self/fd/3", "/system/lib/libnetd_client.so", 4096) = 29 munmap(0xb0771000, 8192)                = 0 munmap(0xb0773000, 8192)                = 0 fstat64(3, {st_mode=0, st_size=1, ...}) = 0 mmap2(null, 4096, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb0796000 madvise(0xb0796000, 4096, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb0796000, 4096, "linker_alloc_small_objects") = -1 einval (invalid argument) pread64(3, "\177elf\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\0004\0\0\0"..., 52, 0) = 52 mmap2(null, 392, prot_read, map_private, 3, 0) = 0xb0774000 mmap2(null, 2144, prot_read, map_private, 3, 0x4000) = 0xb0773000 mmap2(null, 7624, prot_read, map_private, 3, 0x3000) = 0xb0771000 mmap2(null, 3829, prot_read, map_private, 3, 0) = 0xb0770000 mmap2(null, 24576, prot_none, map_private|map_anonymous, -1, 0) = 0xb076a000 madvise(0xb076a000, 24576, madv_mergeable) = 0 mmap2(0xb076a000, 14616, prot_read|prot_exec, map_private|map_fixed, 3, 0) = 0xb076a000 mmap2(0xb076e000, 4100, prot_read|prot_write, map_private|map_fixed, 3, 0x3000) = 0xb076e000 mmap2(null, 4096, prot_read|prot_write, map_private|map_anonymous, 0, 0) = 0xb0769000 madvise(0xb0769000, 4096, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb0769000, 4096, "linker_alloc_small_objects") = -1 einval (invalid argument) mprotect(0xb076e000, 4096, prot_read)   = 0 munmap(0xb0769000, 4096)                = 0 close(3)                                = 0 munmap(0xb0770000, 3829)                = 0 munmap(0xb0771000, 7624)                = 0 munmap(0xb0773000, 2144)                = 0 munmap(0xb0774000, 392)                 = 0 munmap(0xb0796000, 4096)                = 0 futex(0xb073b018, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06af234, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06b0a48, futex_wake_private, 2147483647) = 0 futex(0xb06af234, futex_wake_private, 2147483647) = 0 futex(0xb06af234, futex_wake_private, 2147483647) = 0 futex(0xb073d078, futex_wake_private, 2147483647) = 0 mmap2(null, 4096, prot_read|prot_write, map_private|map_anonymous, -1, 0) = 0xb0796000 madvise(0xb0796000, 4096, madv_mergeable) = 0 prctl(0x53564d41 /* pr_??? */, 0, 0xb0796000, 4096, "atexit handlers") = -1 einval (invalid argument) mprotect(0xb0796000, 4096, prot_read)   = 0 mmap2(null, 20, prot_read|prot_write, map_shared|map_anonymous, -1, 0) = 0xb0774000 mmap2(null, 20, prot_read|prot_write, map_shared|map_anonymous, -1, 0) = 0xb0773000 mprotect(0xb07bc000, 4096, prot_read)   = 0 mprotect(0xb07be000, 4096, prot_read)   = 0 mprotect(0xb0796000, 4096, prot_read|prot_write) = 0 mprotect(0xb0796000, 4096, prot_read)   = 0 mmap2(null, 44, prot_read|prot_write, map_shared|map_anonymous, -1, 0) = 0xb0772000 mmap2(null, 16843780, prot_read|prot_write, map_shared|map_anonymous, -1, 0) = 0xaf4ef000 mmap2(null, 20, prot_read|prot_write, map_shared|map_anonymous, -1, 0) = 0xb0771000 mmap2(null, 16843780, prot_read|prot_write, map_shared|map_anonymous, -1, 0) = 0xae4de000 mmap2(null, 20, prot_read|prot_write, map_shared|map_anonymous, -1, 0) = 0xb0770000 mmap2(null, 16843780, prot_read|prot_write, map_shared|map_anonymous, -1, 0) = 0xad4cd000 mmap2(null, 20, prot_read|prot_write, map_shared|map_anonymous, -1, 0) = 0xb0769000 mmap2(null, 16843780, prot_read|prot_write, map_shared|map_anonymous, -1, 0) = 0xac4bc000 mmap2(null, 20, prot_read|prot_write, map_shared|map_anonymous, -1, 0) = 0xb0768000 mmap2(null, 16843780, prot_read|prot_write, map_shared|map_anonymous, -1, 0) = 0xab4ab000 mmap2(null, 20, prot_read|prot_write, map_shared|map_anonymous, -1, 0) = 0xb0767000 mmap2(null, 16843780, prot_read|prot_write, map_shared|map_anonymous, -1, 0) = 0xaa49a000 mmap2(null, 20, prot_read|prot_write, map_shared|map_anonymous, -1, 0) = 0xb0766000 mmap2(null, 16843780, prot_read|prot_write, map_shared|map_anonymous, -1, 0) = 0xa9489000 mmap2(null, 20, prot_read|prot_write, map_shared|map_anonymous, -1, 0) = 0xb0765000 mmap2(null, 16843780, prot_read|prot_write, map_shared|map_anonymous, -1, 0) = 0xa8478000 mmap2(null, 20, prot_read|prot_write, map_shared|map_anonymous, -1, 0) = 0xb0601000 openat(at_fdcwd, "/proc/meminfo", o_rdonly|o_largefile|o_cloexec) = 3 fstat64(3, {st_mode=0, st_size=1, ...}) = 0 read(3, "memtotal:         763068 kb\nmemf"..., 1024) = 1008 close(3)                                = 0 openat(at_fdcwd, "/sys/devices/system/cpu/online", o_rdonly|o_largefile|o_cloexec) = 3 fstat64(3, {st_mode=0, st_size=1, ...}) = 0 read(3, "0-3\n", 4096)                  = 4 close(3)                                = 0 mprotect(0xb0796000, 4096, prot_read|prot_write) = 0 mprotect(0xb0796000, 4096, prot_read)   = 0 fstatat64(at_fdcwd, "/dev/block/ram0", {st_mode=0, st_size=1, ...}, 0) = 0 openat(at_fdcwd, "/dev/ashmem", o_rdwr|o_largefile) = 3 ioctl(3, ashmem_set_name, 0xbeb6b935)   = 0 ioctl(3, _ioc(_ioc_write, 0x77, 0x03, 0x04), 0x27e9004) = 0 ioctl(3, ashmem_get_size, 0)            = 41848836 mmap2(null, 41848840, prot_read|prot_write, map_shared, 3, 0) = 0xa5c8e000 mmap2(null, 20, prot_read|prot_write, map_shared|map_anonymous, -1, 0) = 0xb0600000 mmap2(null, 20, prot_read|prot_write, map_shared|map_anonymous, -1, 0) = 0xa5c8d000 mmap2(null, 20, prot_read|prot_write, map_shared|map_anonymous, -1, 0) = 0xa5c8c000 --- sigbus {si_signo=sigbus, si_code=bus_adraln, si_addr=0xa5c8e75c} --- sigaction(sigbus, {sig_dfl, [], sa_restorer|sa_restart, 0xb080fa48}, {0xb07ca805, [], sa_restorer|sa_restart|sa_siginfo|sa_onstack, 0xb080fa54}) = 0 sigaction(sigbus, {0xb07ca805, [], sa_restorer|sa_restart|sa_siginfo|sa_onstack, 0xb080fa54}, null) = 0 prctl(pr_get_name, "fio")               = 0 socket(pf_local, sock_dgram|sock_cloexec, 0) = 4 fcntl64(4, f_setfl, o_rdonly|o_nonblock) = 0 connect(4, {sa_family=af_local, sun_path="/dev/socket/logdw"}, 110) = 0 openat(at_fdcwd, "/dev/__properties__/u:object_r:default_prop:s0", o_rdonly|o_largefile|o_nofollow|o_cloexec) = 5 fstat64(5, {st_mode=0, st_size=1, ...}) = 0 mmap2(null, 131072, prot_read, map_shared, 5, 0) = 0xa5c6c000 close(5)                                = 0 openat(at_fdcwd, "/dev/__properties__/u:object_r:logd_prop:s0", o_rdonly|o_largefile|o_nofollow|o_cloexec) = 5 fstat64(5, {st_mode=0, st_size=1, ...}) = 0 mmap2(null, 131072, prot_read, map_shared, 5, 0) = 0xa5c4c000 close(5)                                = 0 clock_gettime(clock_realtime, {1502715827, 874523743}) = 0 writev(4, [{"\4", 1}, {"\16\7", 2}, {"\263\237\221y_, 4", 8}, {"\7", 1}, {"libc\0", 5}, {"fatal signal 7 (sigbus), code 1,"..., 73}], 6) = 90 close(4)                                = 0 socket(pf_local, sock_stream|sock_cloexec, 0) = 4 connect(4, {sa_family=af_local, sun_path=@"android:debuggerd"}, 20) = 0 write(4, "\0\0\0\0\16\7\0\0\0\0\0\0\0\0\0\0\1\0\0\0", 20) = 20 read(4, 0xb07c7c38, 1)                  = ? erestartsys (to restarted if sa_restart set) --- sigcont {si_signo=sigcont, si_code=si_user, si_pid=122, si_uid=0} --- read(4, "", 1)                          = 0 close(4)                                = 0 sigaction(sigbus, {sig_dfl, [], sa_restorer|sa_restart, 0xb080fa48}, {0xb07ca805, [], sa_restorer|sa_restart|sa_siginfo|sa_onstack, 0xb080fa54}) = 0 rt_tgsigqueueinfo(1806, 1806, sigbus, {si_signo=sigbus, si_code=bus_adraln, si_addr=0xa5c8e75c}) = 0 rt_sigreturn()                          = -1513560228 --- sigbus {si_signo=sigbus, si_code=bus_adraln, si_addr=0xa5c8e75c} --- +++ killed sigbus +++ 

you need more recent fio (see https://github.com/axboe/fio/commit/d87674757a6afddc059e5bbfae3fcf267236a44e has fix , in fio-2.21 there other fixes mean should use fio-2.99 or later) or fio dirty hack (see https://android.googlesource.com/platform/external/fio/+/365a153cfe8a3601af5d7c6c87679c20e84314e5 ).

(ps: might have been faster ask question on fio mailing list directly)


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -