Not to be fixed
Created: Sep 29, 2015
Updated: Apr 19, 2018
Resolved Date: Apr 17, 2018
Found In Version: 8.0
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: BSP
root@128.224.162.195:/opt/wr-test/test_runner# bonnie++ -r256 -s512 -u root -d /5095
Using uid:0, gid:0.
Writing with putc()...done
Writing intelligently...done
Rewriting...done
Reading with getc()...done
Reading intelligently...done
start 'em...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version 1.03e ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
128.224.162.19 512M 23737 99 178886 53 80343 12 25912 99 +++++ +++ +++++ +++
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 26748 99 +++++ +++ 31666 98 26836 99 +++++ +++ +++++ +++
128.224.162.195,512M,23737,99,178886,53,80343,12,25912,99,+++++,+++,+++++,+++,16,26748,99,+++++,+++,31666,98,26836,99,+++++,+++,+++++,+++
root@128.224.162.195:/opt/wr-test/test_runner# sync
root@128.224.162.195:/opt/wr-test/test_runner# rm /5095/* -rf
root@128.224.162.195:/opt/wr-test/test_runner# umount /5095
<<end bonnie++ stress test>>
********************
<<clean subcase>>
********************
<<start check testcase call trace>>
********************
root@128.224.162.195:/opt/wr-test/test_runner# dmesg |grep -i -w -E -B10 -A50 'Call Trace|BUG:' ||return 0
[ 892.893128] blk_update_request: I/O error, dev mmcblk0, sector 10256
[ 892.898792] Buffer I/O error on dev mmcblk0p1, logical block 1026, lost async page write
[ 895.231358] ------------[ cut here ]------------
[ 895.235099] WARNING: CPU: 0 PID: 3656 at /buildarea2/lyang0/x86-64/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/fs/block_dev.c:56 __blkdev_put+0xc5/0x210()
[ 895.250379] Modules linked in: deflate twofish_generic twofish_common camellia_generic serpent_generic blowfish_generic blowfish_common cast5_generic cast_common xcbc sha512_ssse3 sha512_generic af_key iTCO_wdt intel_rapl iTCO_vendor_support snd_hda_codec_hdmi intel_powerclamp coretemp snd_hda_codec_realtek crct10dif_pclmul crct10dif_common snd_hda_codec_generic aesni_intel aes_x86_64 glue_helper lrw snd_hda_intel snd_hda_controller snd_hda_codec ablk_helper efivars cryptd i2c_i801 lpc_ich snd_hda_core iosf_mbi fan acpi_pad efivarfs
[ 895.302202] CPU: 0 PID: 3656 Comm: mkfs.ext4 Not tainted 4.1.6-WR8.0.0.0_standard #1
[ 895.309411] Hardware name: Intel Corporation CHERRYVIEW B1 PLATFORM/Braswell Cherry Hill, BIOS BRASWEL1.X64.0051.R03.1412310520 12/31/2014
[ 895.321868] ffffffff81edf018 ffff880170e9fdb8 ffffffff81aad7da 0000000080000000
[ 895.328746] 0000000000000000 ffff880170e9fdf8 ffffffff81053f8a 0000000000000000
[ 895.335614] ffff8800764c4340 ffff8800764c44b8 ffff8800764c4430 ffff8800764c4358
[ 895.342475] Call Trace:
[ 895.343766] [<ffffffff81aad7da>] dump_stack+0x4f/0x7b
[ 895.348068] [<ffffffff81053f8a>] warn_slowpath_common+0x8a/0xc0
[ 895.353338] [<ffffffff8105407a>] warn_slowpath_null+0x1a/0x20
[ 895.358415] [<ffffffff811dbdd5>] __blkdev_put+0xc5/0x210
[ 895.363004] [<ffffffff811dc3a0>] blkdev_put+0x50/0x170
[ 895.367403] [<ffffffff811dc4e5>] blkdev_close+0x25/0x30
[ 895.371894] [<ffffffff811a532c>] __fput+0x9c/0x200
[ 895.375900] [<ffffffff811a54de>] ____fput+0xe/0x10
[ 895.379909] [<ffffffff8106fd87>] task_work_run+0xa7/0xe0
[ 895.384574] [<ffffffff8100307d>] do_notify_resume+0x6d/0x70
[ 895.389457] [<ffffffff81ab61ca>] int_signal+0x12/0x17
[ 895.393754] ---[ end trace 177d3bebcc010c27 ]---
[ 895.490571] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[ 911.734193] EXT4-fs error (device mmcblk0p1): ext4_mb_generate_buddy:757: group 1, block bitmap and bg descriptor inconsistent: 1022 vs 31743 free clusters
<<end check testcase call trace>>
********************
<<clean subcase>>
Product update date(Spin):
------------------
spin=GIT_20150928
------------------
Project Build Path:
------------------
To Get The Testing Layer:
------------------------
# git clone git://git.wrs.com/git/projects/wassp-repos/testcases/wrlinux
# cd wrlinux;git checkout master
Project Configure Line:
----------------------
# Generated by wrlinux configure at Mon Sep 28 15:59:29 CST 2015
wrlinux-8/wrlinux/configure --enable-board=intel-x86-64 --enable-kernel=standard --enable-rootfs=glibc-std --enable-jobs=36 --enable-parallel-pkgbuilds=36 --with-layer=/buildarea2/lyang0/wrlinux-test/wr-testing/bts-dev --with-template=feature/bts --with-rcpl-version=0
Build Configuration:
----------------------------
BB_VERSION = "1.27.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
DISTRO = "wrlinux"
DISTRO_VERSION = "8.0.0.0"
MACHINE = "intel-x86-64"
DEFAULTTUNE = "corei7-64"
TARGET_SYS = "x86_64-wrs-linux"
TUNE_FEATURES = "m64 corei7"
TARGET_FPU = ""
lib32: DEFAULTTUNE = "corei7-32"
lib32: TARGET_SYS = "i686-wrsmllib32-linux"
lib32: TUNE_FEATURES = "m32 corei7"
wrlinux = "master:968ea33765bef1c52d7535f90e127a401ec79963"
wrlcompat = "master:622c1df836058220cef5edb72c6930a9def029c7"
wr-tcwrappers = "master:ccfc4f8c3dadc2f5a8e0ef7864a5f8026ddae213"
meta = "wr-8.0-20150924:e03a1d83e44ec986bb40ae4fbbc2c5094e7f0b92"
oe-core-dl-1.7 = "master:0a684be6b07559c6dfac390500f3c61d1e2310c7"
meta-downloads = "master:e0ef3343caeb7e4477ff5355fcdb468ea3e515eb"
wr-kernel = "master:0ceeda71a7864525639dde311cf9bbd9251484bf"
intel-x86 = "master:e73fde53305558301ff8d3f3ef29edc941118a37"
wr-base = "master:414b85fb5cca9067634a64c69bca67783a789e65"
wr-fixes = "master:e8850a65a0557e86c0d120ef35ff3441f793c58f"
wr-tools-profile = "master:b6af7b9cf4e6b02270421334e0a233db05f87695"
wr-tools-debug = "master:c307715e864eab1340f61e2dab49867aac01a76d"
meta-filesystems
meta-initramfs
meta-gnome
meta-multimedia
meta-networking
meta-oe
meta-python
meta-perl
meta-webserver
meta-xfce = "wr-8.0-20150924:96fe2a743125e7c5da081dfadf0c04cd51fcfa24"
wr-prebuilts = "master:152e4960d828a1daefdccb0b31b0917178161b3e"
bts-dev = "master:cee1bade24bbba198dd89524b5c9b84b6d348323"
Kernel source top 10 commits:
----------------------------
Mauro Andreolini cefe7cf block, bfq: add Early Queue Merge (EQM) to BFQ-v7r8 for 4.1.0 Wed Sep 23 16:09:19 2015 -0700
Paolo Valente 5543fd57 block: introduce the BFQ-v7r8 I/O sched for 4.1 Wed Sep 23 16:09:11 2015 -0700
Paolo Valente 8b6d71c block: cgroups, kconfig, build bits for BFQ-v7r8-4.1 Wed Sep 23 16:09:03 2015 -0700
Linhao Zhang 1b0154a FIX: lttng build error if !CONFIG_UID16 on arm Thu Sep 17 02:42:37 2015 -0700
Jianchuan Wang d3cecd2 lttng: enable the lttng driver in the build Thu Sep 17 02:42:37 2015 -0700
Jianchuan Wang 6b22fe8 lttng: added lttng Kconfig for in kernel building Thu Sep 17 02:42:37 2015 -0700
Mathieu Desnoyers bfdf254 Version 2.6.3 Thu Sep 17 02:42:37 2015 -0700
Mathieu Desnoyers c2172e0 Fix: use after free in channel release Thu Sep 17 02:42:36 2015 -0700
Michael Jeanson 415a77d Fix: build failure on 2.6.36 Thu Sep 17 02:42:36 2015 -0700
Michael Jeanson 24c00de Fix: writeback instrumentation for 4.2 kernels Thu Sep 17 02:42:36 2015 -0700
Kernel config enabled by the testing layer:
------------------------------------------
CONFIG_DEBUG_KMEMLEAK=y
CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=5000
CONFIG_INPUT_EVDEV=y
CONFIG_KVM=m
CONFIG_KVM_INTEL=m
CONFIG_DMATEST=m
CONFIG_DMA_API_DEBUG=y
CONFIG_USB_SERIAL_PL2303=y
CONFIG_PM_TEST_SUSPEND=m
CONFIG_IOMMU_STRESS=m
CONFIG_OPROFILE=y
CONFIG_ACPI_DEBUG=y
CONFIG_DEBUG_HIGHMEM=y
CONFIG_DEBUG_HOTPLUG_CPU0=y
CONFIG_DMADEVICES_DEBUG=y
CONFIG_PCI_DEBUG=y
CONFIG_USB_GADGET=m
CONFIG_USB_MASS_STORAGE=m
CONFIG_CMA_DEBUG=y
Kernel Boot Parameter:
---------------------
root@128.224.162.195:/opt/wr-test/test_runner# cat /proc/cmdline
fs0:\EFI\wrl\bzImage.efi rootwait root=/dev/sdb2 rw console=ttyS0,115200 ip=dhcp
To reproduce it:
---------------
# /opt/wr-test/testcases/bts/storage_bonnie/runtest.sh -k SSD
Test Env:
-storage device is SSD
-SSD's /dev/mmcblk0 is for testing
-----------------------------------------------