Wind River Support Network

HomeDefectsLINCD-1363
Not to be fixed

LINCD-1363 : marvell-cn96xx: mount: /mnt/f2fs: unknown filesystem type 'f2fs

Created: Sep 29, 2019    Updated: Apr 15, 2020
Resolved Date: Apr 15, 2020
Previous ID: LIN1019-2741
Found In Version: 10.20.12.0
Severity: Standard
Applicable for: Wind River Linux LTS 19
Component/s: BSP

Description

Build:
$ ${yourProductPath}/setup.sh --machines=marvell-cn96xx --templates feature/docker --distro wrlinux --dl-layers
$ source oe-init-build-env
$ bitbake-layers add-layer ${yourLayerPath}/wr-testing/kts-dev
$ echo require templates/feature/wr-kts/template.conf >> conf/local.conf

Run case.
$ /opt/wr-test/main_test.py -s f2fs_io

root@marvell-cn96xx:/opt/wr-test/testcases/kts/f2fs_io# dd if=/dev/zero of=/root/disktest.image bs=4M count=32
32+0 records in
32+0 records out
134217728 bytes (134 MB, 128 MiB) copied, 11.8689 s, 11.3 MB/s
root@marvell-cn96xx:/opt/wr-test/testcases/kts/f2fs_io# mkfs.f2fs -l f2fs /root/disktest.image

F2FS-tools: mkfs.f2fs Ver: 1.11.0 (2018-07-10)

Info: Disable heap-based policy
Info: Debug level = 0
Info: Label = f2fs
Info: Trim is enabled
Info: Segments per section = 1
Info: Sections per zone = 1
Info: sector size = 512
Info: total sectors = 262144 (128 MB)
Info: zone aligned segment0 blkaddr: 512
Info: format version with
"Linux version 5.2.17-yocto-standard (oe-user@oe-host) (gcc version 9.2.0 (GCC)) #1 SMP PREEMPT Sun Sep 29 07:10:43 UTC 2019"
Info: [/root/disktest.image] Discarding device
Info: fallocate(PUNCH_HOLE|KEEP_SIZE) is failed
Info: Overprovision ratio = 20.000%
Info: Overprovision segments = 25 (GC reserved = 18)
Info: format successful
root@marvell-cn96xx:/opt/wr-test/testcases/kts/f2fs_io# mkdir /mnt/$FS_TYPE

root@marvell-cn96xx:/opt/wr-test/testcases/kts/f2fs_io# mount -t f2fs -o loop /root/disktest.image /mnt/f2fs
mount: /mnt/f2fs: unknown filesystem type 'f2fs'.

root@marvell-cn96xx:/opt/wr-test# zgrep -i f2fs /proc/config.gz
CONFIG_F2FS_FS=y
CONFIG_F2FS_STAT_FS=y
CONFIG_F2FS_FS_XATTR=y
CONFIG_F2FS_FS_POSIX_ACL=y

CONFIG_F2FS_FS_SECURITY is not set
CONFIG_F2FS_CHECK_FS is not set
CONFIG_F2FS_IO_TRACE is not set
CONFIG_F2FS_FAULT_INJECTION is not set
root@marvell-cn96xx:/opt/wr-test#

Steps to Reproduce

Build:
$ ${yourProductPath}/setup.sh --machines=marvell-cn96xx --templates feature/docker --distro wrlinux --dl-layers
$ source oe-init-build-env
$ bitbake-layers add-layer ${yourLayerPath}/wr-testing/kts-dev
$ echo require templates/feature/wr-kts/template.conf >> conf/local.conf

Run case.
$ /opt/wr-test/main_test.py -s f2fs_io
Live chat
Online