[LTP] LTP kernel config needs inputs ?
Rafael David Tinoco
rafael.tinoco@linaro.org
Thu Jan 24 13:55:04 CET 2019
Hello all,
Currently we have a list of "bugs", out of LKFT, that are only related
to missing kernel configuration options in boards & systems being tested
by our framework and environment. I would like to get some feedback
regarding this, if possible. Since we use multiple testing frameworks in
LKFT, we usually compare features, from one and another, and we would
like some input about possibility of having kernel config fragments in
LTP (or something better).
kselftests has config fragments in order to enable kernel config options
needed for specific tests (like showed at the end of this e-mail). I see
that, nowadays, we have a file called README.kernel_config that contains
a list of needed kernel options (for the basic framework ?), but this
file hasn't been updated since 2014.
We have a list of some bugs that we have identified missing config
options in our kernel builds. Sometimes we are lucky and the tests get
BROK reported because they test a specific feature requirement before
the real test, but, sometimes, random errors give us no clue if we are
missing kernel features or facing a kernel issue.
Any opinions on something that could relieve this burden ?
Best, Rafael
—
Rafael D. Tinoco
Linaro Kernel Validation
-------------------------------------------------------
## LTP identified config needs:
Bug #3354: (LTP) quota format not supported in kernel
https://bugs.linaro.org/show_bug.cgi?id=3354#c1
CONFIG_QFMT_V1
CONFIG_QFMT_V2
-----
Bug #3834: (LTP) netns_sysfs and kselftests rtnetlink.sh failed to add a
new (host) dummy device on Hikey and Juno
https://bugs.linaro.org/show_bug.cgi?id=3834#c0
We should enable full TC support:
CONFIG_NET_SCHED=y
CONFIG_NET_SCH_CBQ=m
CONFIG_NET_SCH_HTB=m
CONFIG_NET_SCH_CSZ=m
CONFIG_NET_SCH_PRIO=m
CONFIG_NET_SCH_RED=m
CONFIG_NET_SCH_SFQ=m
CONFIG_NET_SCH_TEQL=m
CONFIG_NET_SCH_TBF=m
CONFIG_NET_SCH_GRED=m
CONFIG_NET_SCH_DSMARK=m
CONFIG_NET_SCH_INGRESS=m
CONFIG_NET_QOS=y
CONFIG_NET_ESTIMATOR=y
CONFIG_NET_CLS=y
CONFIG_NET_CLS_TCINDEX=m
CONFIG_NET_CLS_ROUTE4=m
CONFIG_NET_CLS_ROUTE=y
CONFIG_NET_CLS_FW=m
CONFIG_NET_CLS_U32=m
CONFIG_NET_CLS_RSVP=m
CONFIG_NET_CLS_RSVP6=m
CONFIG_NET_CLS_POLICE=y
for all boards/systems. The needed for this bug is only:
CONFIG_NET_SCHED=y
CONFIG_NET_SCH_HTB=y
-----
Bug #4012: (LTP) statx04 STATX_ATTR_COMPRESSED flag is not set for ext2
We should decide if we will test EXT2 code or not:
https://bugs.linaro.org/show_bug.cgi?id=4012#c0
CONFIG_EXT4_USE_FOR_EXT2=y
or
CONFIG_EXT2_FS=y
-----
Bug #4255: (LTP) LTP: mm: mem.c:782: BROK: mount /dev/cgroup: ENOENT
https://bugs.linaro.org/show_bug.cgi?id=4255#c0
CONFIG_MEMCG=y
-------------------------------------------------------
## kselftests config fragments example:
./memfd/config
-----
CONFIG_FUSE_FS=m
-----
./cpu-hotplug/config
-----
CONFIG_NOTIFIER_ERROR_INJECTION=y
-----
./static_keys/config
-----
CONFIG_TEST_STATIC_KEYS=m
-----
./sysctl/config
-----
CONFIG_TEST_SYSCTL=y
-----
./netfilter/config
-----
CONFIG_NET_NS=y
NF_TABLES_INET=y
-----
./lib/config
-----
CONFIG_TEST_PRINTF=m
CONFIG_TEST_BITMAP=m
CONFIG_PRIME_NUMBERS=m
-----
./cpufreq/config
-----
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_STAT=y
...
-----
./tc-testing/config
-----
CONFIG_NET_SCHED=y
CONFIG_NET_SCH_PRIO=m
CONFIG_NET_SCH_INGRESS=m
CONFIG_NET_CLS=y
CONFIG_NET_CLS_FW=m
...
-----
./pstore/config
-----
CONFIG_MISC_FILESYSTEMS=y
CONFIG_PSTORE=y
...
-----
./zram/config
-----
CONFIG_ZSMALLOC=y
CONFIG_ZRAM=m
and so on...
More information about the ltp
mailing list