FYI, we noticed the following commit (built with gcc-7):
commit: 60649d4e0af6c26b6c423dea9c57f39e823fc0c5 ("can: remove obsolete empty ioctl()
handler")
https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next.git master
in testcase: ltp
with following parameters:
test: can
test-description: The LTP testsuite contains a collection of tools for testing the Linux
kernel and related features.
test-url:
http://linux-test-project.github.io/
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 8G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <rong.a.chen(a)intel.com>
<<<test_start>>>
tag=can_rcv_own_msgs stime=1564179096
cmdline="can_run_tests.sh can_rcv_own_msgs"
contacts=""
analysis=exit
<<<test_output>>>
SIOCGIFINDEX: Operation not supported
can_rcv_own_msgs 1 TFAIL: Test can_rcv_own_msgs FAIL
incrementing stop
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=1 cstime=3
<<<test_end>>>
To reproduce:
# build kernel
cd linux
cp config-5.3.0-rc1-00114-g60649d4 .config
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage
modules
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 INSTALL_MOD_PATH=<mod-install-dir>
modules_install
cd <mod-install-dir>
find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz
git clone
https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached
in this email
Thanks,
Rong Chen