-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
Hardware: Renesas R-Car M2 (Porter), SD card 8GB ext3, touch panel eChic
Software revisions:
git://git.yoctoproject.org/poky dizzy df87cb27efeaea1455f20692f9f1397c6fcab254,
git://git.openembedded.org/meta-openembedded dizzy 9efaed99125b1c4324663d9a1b2d3319c74e7278,
https://gerrit.automotivelinux.org/gerrit/AGL/meta-renesas agl-1.0-bsp-1.8.0 616068396063ee1802799905b527a6464f0adf93,
https://git.automotivelinux.org/gerrit/p/AGL/meta-agl.git master 8fc3dc485d876f7e98b7ecc25650d7f011960e97,
https://gerrit.automotivelinux.org/gerrit/AGL/meta-agl-demo master 19240aa96251048ca49a26a80f9b67d3b2130392,
https://github.com/meta-qt5/meta-qt5.git jethro 0454fb083c38f2155a8be3b61930ad1ddf995695
Hardware: Renesas R-Car M2 (Porter), SD card 8GB ext3, touch panel eChic Software revisions: git://git.yoctoproject.org/poky dizzy df87cb27efeaea1455f20692f9f1397c6fcab254, git://git.openembedded.org/meta-openembedded dizzy 9efaed99125b1c4324663d9a1b2d3319c74e7278, https://gerrit.automotivelinux.org/gerrit/AGL/meta-renesas agl-1.0-bsp-1.8.0 616068396063ee1802799905b527a6464f0adf93, https://git.automotivelinux.org/gerrit/p/AGL/meta-agl.git master 8fc3dc485d876f7e98b7ecc25650d7f011960e97, https://gerrit.automotivelinux.org/gerrit/AGL/meta-agl-demo master 19240aa96251048ca49a26a80f9b67d3b2130392, https://github.com/meta-qt5/meta-qt5.git jethro 0454fb083c38f2155a8be3b61930ad1ddf995695
LTP tests dma_thread_diotest1, dma_thread_diotest2, dma_thread_diotest3, dma_thread_diotest4, dma_thread_diotest5, dma_thread_diotest6 and dma_thread_diotest7 fail detecting data corruption.
root@porter:~# LTP_BIG_DEV=/dev/mmcblk1p1 ./dma_thread_diotest -a 512
dma_thread_diotest 0 TINFO : using alignment 512
dma_thread_diotest 0 TINFO : using 2 workers.
dma_thread_diotest 0 TINFO : O_DIRECT flag is not supported on TMPFS filesystem
dma_thread_diotest 0 TINFO : Formatting /dev/mmcblk1p1 with ext3 extra opts=''
mke2fs 1.42.9 (28-Dec-2013)
kjournald starting. Commit interval 5 seconds
EXT3-fs (mmcblk1p1): using internal journal
EXT3-fs (mmcblk1p1): mounted filesystem with ordered data mode
dma_thread_diotest 0 TINFO : Reading file 1.
Bad data at 0x000000: 0xb6d6e200,
Data dump starting at 0xfffffff8:
Expect 0x1 followed by 0xfa:
01 01 01 01 01 01 01 01
fa fa fa fa fa fa fa fa
dma_thread_diotest 1 TFAIL : dma_thread_diotest.c:336: data corruption is detected
root@porter:~#
This problem is known as corruption with O_DIRECT and unaligned user buffers:
http://www.spinics.net/lists/linux-mm/msg75367.html
http://thread.gmane.org/gmane.linux.file-systems/27358