Wind River Support Network

HomeDefectsLINCD-739
Fixed

LINCD-739 : marvell-cn96xx: mmc fio test caught issue'err=5/file:io_u.c:1787, func=io_u error, error=Input/output error'

Created: Dec 25, 2019    Updated: Feb 24, 2020
Resolved Date: Feb 9, 2020
Found In Version: 10.20.3.0
Fix Version: 10.20.12.0, 10.20.6.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: BSP

Description

root@marvell-cn96xx:/opt/wr-test/testcases/bts/storage_fio_write# fio -filename=/dev/mmcblk0 -direct=1 -iodepth 1 -thread -rw=write -ioengine=psync -bs=16k -size=64M -numjobs=15 -runtime=150 -group_reporting -name=mytest
mytest: (g=0): rw=write, bs=(R) 16.0KiB-16.0KiB, (W) 16.0KiB-16.0KiB, (T) 16.0KiB-16.0KiB, ioengine=psync, iodepth=1
...
fio-3.16-dirty
Starting 15 threads
fio: io_u error on file /dev/mmcblk0: Input/output error: write offset=16384, buflen=16384
fio: io_u error on file /dev/mmcblk0: Input/output error: write offset=0, buflen=16384
fio: first I/O failed. If /dev/mmcblk0 is a zoned block device, consider --zonemode=zbd
fio: pid=12663, err=5/file:io_u.c:1787, func=io_u error, error=Input/output error
fio: pid=12650, err=5/file:io_u.c:1787, func=io_u error, error=Input/output error
fio: io_u error on file /dev/mmcblk0: Input/output error: write offset=81920, buflen=16384
fio: io_u error on file /dev/mmcblk0: Input/output error: write offset=65536, buflen=16384
fio: io_u error on file /dev/mmcblk0: Input/output error: write offset=98304, buflen=16384
fio: pid=12658, err=5/file:io_u.c:1787, func=io_u error, error=Input/output error
fio: pid=12653, err=5/file:io_u.c:1787, func=io_u error, error=Input/output error
fio: pid=12655, err=5/file:io_u.c:1787, func=io_u error, error=Input/output error
fio: io_u error on file /dev/mmcblk0: Input/output error: write offset=16384, buflen=16384
fio: io_u error on file /dev/mmcblk0: Input/output error: write offset=0, buflen=16384
fio: first I/O failed. If /dev/mmcblk0 is a zoned block device, consider --zonemode=zbd
fio: pid=12652, err=5/file:io_u.c:1787, func=io_u error, error=Input/output error
fio: pid=12661, err=5/file:io_u.c:1787, func=io_u error, error=Input/output error
fio: io_u error on file /dev/mmcblk0: Input/output error: write offset=409600, buflen=16384
fio: io_u error on file /dev/mmcblk0: Input/output error: write offset=393216, buflen=16384
fio: io_u error on file /dev/mmcblk0: Input/output error: write offset=425984, buflen=16384
fio: pid=12657, err=5/file:io_u.c:1787, func=io_u error, error=Input/output error
fio: pid=12649, err=5/file:io_u.c:1787, func=io_u error, error=Input/output error
fio: pid=12659, err=5/file:io_u.c:1787, func=io_u error, error=Input/output error
fio: io_u error on file /dev/mmcblk0: Input/output error: write offset=49152, buflen=16384
fio: io_u error on file /dev/mmcblk0: Input/output error: write offset=32768, buflen=16384
fio: io_u error on file /dev/mmcblk0: Input/output error: write offset=65536, buflen=16384
fio: pid=12660, err=5/file:io_u.c:1787, func=io_u error, error=Input/output error
fio: pid=12651, err=5/file:io_u.c:1787, func=io_u error, error=Input/output error
fio: pid=12656, err=5/file:io_u.c:1787, func=io_u error, error=Input/output error
fio: io_u error on file /dev/mmcblk0: Input/output error: write offset=3162112, buflen=16384
fio: io_u error on file /dev/mmcblk0: Input/output error: write offset=3178496, buflen=16384
fio: pid=12662, err=5/file:io_u.c:1787, func=io_u error, error=Input/output error
fio: pid=12654, err=5/file:io_u.c:1787, func=io_u error, error=Input/output error

mytest: (groupid=0, jobs=15): err= 5 (file:io_u.c:1787, func=io_u error, error=Input/output error): pid=12649: Thu Dec 12 11:56:13 2019
 write: IOPS=210, BW=3271KiB/s (3350kB/s)(7808KiB/2387msec); 0 zone resets
 clat (msec): min=2, max=116, avg=14.90, stdev=13.97
 lat (msec): min=2, max=116, avg=14.91, stdev=13.97
 clat percentiles (msec):
 | 1.00th=[ 4], 5.00th=[ 5], 10.00th=[ 5], 20.00th=[ 5],
 | 30.00th=[ 5], 40.00th=[ 5], 50.00th=[ 10], 60.00th=[ 14],
 | 70.00th=[ 18], 80.00th=[ 27], 90.00th=[ 32], 95.00th=[ 40],
 | 99.00th=[ 67], 99.50th=[ 74], 99.90th=[ 117], 99.95th=[ 117],
 | 99.99th=[ 117]
 bw ( KiB/s): min= 3776, max= 6535, per=100.00%, avg=5171.25, stdev=429.05, samples=19
 iops : min= 236, max= 408, avg=323.00, stdev=26.75, samples=19
 lat (msec) : 4=3.38%, 10=48.11%, 20=20.68%, 50=22.86%, 100=1.59%
 lat (msec) : 250=0.40%
 cpu : usr=0.02%, sys=0.04%, ctx=863, majf=0, minf=0
 IO depths : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
 submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
 complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
 issued rwts: total=0,503,0,0 short=0,0,0,0 dropped=0,0,0,0
 latency : target=0, window=0, percentile=100.00%, depth=1

Run status group 0 (all jobs):
 WRITE: bw=3271KiB/s (3350kB/s), 3271KiB/s-3271KiB/s (3350kB/s-3350kB/s), io=7808KiB (7995kB), run=2387-2387msec

Disk stats (read/write):
 mmcblk0: ios=109/382, merge=0/62, ticks=1885/8728, in_queue=9988, util=57.61%
<<end fio Sequential write with psync>>

Steps to Reproduce


$ /lpg-build/cdc/fast_prod/WRLINUX_MASTER_WR/MASTER_WR_GIT/wrlinux-10/setup.sh --machines marvell-cn96xx --template feature/docker --distros wrlinux --templates feature/linux-yocto-dev feature/toolchain-next feature/userspace-next --dl-layers --accept-eula=yes && source oe-init-build-env build
$ echo KERNEL_FEATURES_append = \\" features/usb/serial-all.scc\\" >> conf/local.conf && echo KERNEL_VERSION_SANITY_SKIP=\\"1\\" >> conf/local.conf && echo IMAGE_FSTYPES += \\" tar.bz2\\"  >> conf/local.conf && echo BB_NUMBER_THREADS ?= \\"24\\" >> conf/local.conf && echo PARALLEL_MAKE ?= \\"-j 24\\" >> conf/local.conf
$ bitbake-layers add-layer /net/128.224.162.235/buildarea1/test_env/wrlinux/wr-testing/bts-dev 
$ echo require templates/feature/bts/template.conf >> conf/local.conf 
$ bitbake wrlinux-image-glibc-std 

Deploy images and boot target.
Live chat
Online