[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211105061329.GA17949@xsang-OptiPlex-9020>
Date: Fri, 5 Nov 2021 14:13:29 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Akhmat Karakotov <hmukos@...dex-team.ru>
Cc: lkp@...ts.01.org, lkp@...el.com, ltp@...ts.linux.it,
netdev@...r.kernel.org, eric.dumazet@...il.com,
tom@...bertland.com, mitradir@...dex-team.ru, zeil@...dex-team.ru,
hmukos@...dex-team.ru
Subject: [txhash] d7fa06e1ae:
WARNING:at_net/sysctl_net.c:#register_net_sysctl
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: d7fa06e1aeccabc3a55332ff6c004eb17cc6b0d1 ("[RFC PATCH net-next 1/4] txhash: Make rethinking txhash behavior configurable via sysctl")
url: https://github.com/0day-ci/linux/commits/Akhmat-Karakotov/txhash-Make-hash-rethink-configurable/20211026-044233
base: https://git.kernel.org/cgit/linux/kernel/git/davem/net.git 95a359c9553342d36d408d35331ff0bfce75272f
patch link: https://lore.kernel.org/netdev/20211025203521.13507-2-hmukos@yandex-team.ru
in testcase: ltp
version: ltp-x86_64-14c1f76-1_20211101
with following parameters:
disk: 1HDD
fs: btrfs
test: syscalls-05
ucode: 0xe2
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: 4 threads Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz with 32G memory
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 <oliver.sang@...el.com>
[ 57.427758][ T2828] WARNING: CPU: 0 PID: 2828 at net/sysctl_net.c:155 register_net_sysctl (net/sysctl_net.c:155 net/sysctl_net.c:167)
[ 57.436940][ T2828] Modules linked in: dm_mod btrfs ipmi_devintf ipmi_msghandler blake2b_generic xor zstd_compress raid6_pq libcrc32c sd_mod t10_pi sg intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp i915 kvm_intel intel_gtt ttm drm_kms_helper kvm mei_wdt irqbypass syscopyarea crct10dif_pclmul sysfillrect crc32_pclmul ahci sysimgblt crc32c_intel libahci ghash_clmulni_intel wmi_bmof fb_sys_fops mei_me rapl drm libata intel_cstate intel_uncore mei intel_pch_thermal wmi video acpi_pad intel_pmc_core ip_tables
[ 57.484640][ T2828] CPU: 0 PID: 2828 Comm: clone09 Tainted: G I 5.15.0-rc6-00193-gd7fa06e1aecc #1
[ 57.494841][ T2828] Hardware name: Dell Inc. OptiPlex 7040/0Y7WYT, BIOS 1.1.1 10/07/2015
[ 57.502950][ T2828] RIP: 0010:register_net_sysctl (net/sysctl_net.c:155 net/sysctl_net.c:167)
[ 57.508626][ T2828] Code: 00 4c 89 f7 e8 51 8d 50 ff 48 c7 c1 4e b7 52 82 85 c0 74 c1 4c 8b 43 08 48 8b 13 4c 89 e6 48 c7 c7 40 2e 61 82 e8 82 8f 02 00 <0f> 0b 66 81 63 14 6d ff 48 8b 53 40 48 83 c3 40 48 85 d2 75 a3 5b
All code
========
0: 00 4c 89 f7 add %cl,-0x9(%rcx,%rcx,4)
4: e8 51 8d 50 ff callq 0xffffffffff508d5a
9: 48 c7 c1 4e b7 52 82 mov $0xffffffff8252b74e,%rcx
10: 85 c0 test %eax,%eax
12: 74 c1 je 0xffffffffffffffd5
14: 4c 8b 43 08 mov 0x8(%rbx),%r8
18: 48 8b 13 mov (%rbx),%rdx
1b: 4c 89 e6 mov %r12,%rsi
1e: 48 c7 c7 40 2e 61 82 mov $0xffffffff82612e40,%rdi
25: e8 82 8f 02 00 callq 0x28fac
2a:* 0f 0b ud2 <-- trapping instruction
2c: 66 81 63 14 6d ff andw $0xff6d,0x14(%rbx)
32: 48 8b 53 40 mov 0x40(%rbx),%rdx
36: 48 83 c3 40 add $0x40,%rbx
3a: 48 85 d2 test %rdx,%rdx
3d: 75 a3 jne 0xffffffffffffffe2
3f: 5b pop %rbx
Code starting with the faulting instruction
===========================================
0: 0f 0b ud2
2: 66 81 63 14 6d ff andw $0xff6d,0x14(%rbx)
8: 48 8b 53 40 mov 0x40(%rbx),%rdx
c: 48 83 c3 40 add $0x40,%rbx
10: 48 85 d2 test %rdx,%rdx
13: 75 a3 jne 0xffffffffffffffb8
15: 5b pop %rbx
[ 57.528140][ T2828] RSP: 0018:ffffc90001987c68 EFLAGS: 00010286
[ 57.534088][ T2828] RAX: 0000000000000000 RBX: ffff88886e2f6e80 RCX: 0000000000000000
[ 57.541938][ T2828] RDX: ffff88881ac239c0 RSI: ffff88881ac17b50 RDI: ffff88881ac17b50
[ 57.549784][ T2828] RBP: ffff88886f030000 R08: ffff88881ac17b50 R09: ffffc90001987a88
[ 57.557634][ T2828] R10: 0000000000000001 R11: 0000000000000001 R12: ffffffff826026b9
[ 57.565486][ T2828] R13: ffff88886e2f6e40 R14: ffffffff82d617ec R15: ffff88886dac5080
[ 57.573350][ T2828] FS: 00007f0944fa25c0(0000) GS:ffff88881ac00000(0000) knlGS:0000000000000000
[ 57.582155][ T2828] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 57.588628][ T2828] CR2: 00007f0944ddd008 CR3: 0000000863f22001 CR4: 00000000003706f0
[ 57.596477][ T2828] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 57.604326][ T2828] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 57.612180][ T2828] Call Trace:
[ 57.615330][ T2828] sysctl_core_net_init (net/core/sysctl_net_core.c:640)
[ 57.620310][ T2828] ops_init (net/core/net_namespace.c:140)
[ 57.624242][ T2828] setup_net (net/core/net_namespace.c:326)
[ 57.628364][ T2828] copy_net_ns (net/core/net_namespace.c:475)
[ 57.632645][ T2828] create_new_namespaces+0xfb/0x2c0
[ 57.638319][ T2828] copy_namespaces (kernel/nsproxy.c:178)
[ 57.642877][ T2828] copy_process (kernel/fork.c:2197)
[ 57.647334][ T2828] kernel_clone (kernel/fork.c:2584)
[ 57.651614][ T2828] __do_sys_clone (kernel/fork.c:2702)
[ 57.655983][ T2828] do_syscall_64 (arch/x86/entry/common.c:50 arch/x86/entry/common.c:80)
[ 57.660269][ T2828] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:113)
[ 57.666030][ T2828] RIP: 0033:0x7f0944ed94c1
[ 57.670313][ T2828] Code: 48 85 ff 74 3d 48 85 f6 74 38 48 83 ee 10 48 89 4e 08 48 89 3e 48 89 d7 4c 89 c2 4d 89 c8 4c 8b 54 24 08 b8 38 00 00 00 0f 05 <48> 85 c0 7c 13 74 01 c3 31 ed 58 5f ff d0 48 89 c7 b8 3c 00 00 00
All code
========
0: 48 85 ff test %rdi,%rdi
3: 74 3d je 0x42
5: 48 85 f6 test %rsi,%rsi
8: 74 38 je 0x42
a: 48 83 ee 10 sub $0x10,%rsi
e: 48 89 4e 08 mov %rcx,0x8(%rsi)
12: 48 89 3e mov %rdi,(%rsi)
15: 48 89 d7 mov %rdx,%rdi
18: 4c 89 c2 mov %r8,%rdx
1b: 4d 89 c8 mov %r9,%r8
1e: 4c 8b 54 24 08 mov 0x8(%rsp),%r10
23: b8 38 00 00 00 mov $0x38,%eax
28: 0f 05 syscall
2a:* 48 85 c0 test %rax,%rax <-- trapping instruction
2d: 7c 13 jl 0x42
2f: 74 01 je 0x32
31: c3 retq
32: 31 ed xor %ebp,%ebp
34: 58 pop %rax
35: 5f pop %rdi
36: ff d0 callq *%rax
38: 48 89 c7 mov %rax,%rdi
3b: b8 3c 00 00 00 mov $0x3c,%eax
Code starting with the faulting instruction
===========================================
0: 48 85 c0 test %rax,%rax
3: 7c 13 jl 0x18
5: 74 01 je 0x8
7: c3 retq
8: 31 ed xor %ebp,%ebp
a: 58 pop %rax
b: 5f pop %rdi
c: ff d0 callq *%rax
e: 48 89 c7 mov %rax,%rdi
11: b8 3c 00 00 00 mov $0x3c,%eax
[ 57.689853][ T2828] RSP: 002b:00007fff8c8ae618 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
[ 57.698178][ T2828] RAX: ffffffffffffffda RBX: 00007f0944fa2540 RCX: 00007f0944ed94c1
[ 57.706034][ T2828] RDX: 0000000000000000 RSI: 00007f0944ddd000 RDI: 0000000040000111
[ 57.713884][ T2828] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[ 57.721731][ T2828] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
[ 57.729579][ T2828] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 57.737429][ T2828] ---[ end trace e666a106f9052963 ]---
[ 57.743625][ T2800] LTP: starting clone302
[ 57.749334][ T2800] LTP: starting connect01
[ 57.754755][ T2800] LTP: starting dup06
[ 57.761002][ T2800] LTP: starting epoll01 (epoll-ltp)
[ 59.311000][ T324] result_service: raw_upload, RESULT_MNT: /internal-lkp-server/result, RESULT_ROOT: /internal-lkp-server/result/ltp/1HDD-btrfs-syscalls-05-ucode=0xe2/lkp-skl-d02/debian-10.4-x86_64-20200603.cgz/x86_64-rhel-8.3-func/gcc-9/d7fa06e1aeccabc3a55332ff6c004eb17cc6b0d1/3, TMP_RESULT_ROOT: /tmp/lkp/result
[ 59.311004][ T324]
[ 59.345615][ T324] run-job /lkp/jobs/scheduled/lkp-skl-d02/ltp-1HDD-btrfs-syscalls-05-ucode=0xe2-debian-10.4-x86_64-20200603.cgz-d7fa06e1aeccabc3a55332ff6c004eb17cc6b0d1-20211103-18496-1habfde-4.yaml
[ 59.345618][ T324]
[ 59.479207][ T2800] LTP: starting execle01
[ 59.485024][ T2800] LTP: starting execve04
[ 59.492955][ T2800] LTP: starting execveat02
[ 59.504446][ T2800] LTP: starting posix_fadvise01
[ 59.510406][ T2800] LTP: starting fchmod06
[ 59.516112][ T2800] LTP: starting fcntl05_64
[ 59.521526][ T2800] LTP: starting fcntl11_64
[ 59.527286][ T2800] LTP: starting fcntl19_64
[ 59.532875][ T2800] LTP: starting fcntl26_64
[ 59.538041][ T2800] LTP: starting fcntl32_64
[ 59.543358][ T2800] LTP: starting flistxattr02
[ 59.549169][ T2800] LTP: starting flock03
[ 59.555831][ T2800] LTP: starting fork06
[ 59.648342][ T2800] LTP: starting fork07
[ 59.658402][ T2800] LTP: starting fork10
[ 59.663752][ T2800] LTP: starting fork11
[ 59.679721][ T2800] LTP: starting fstatfs01_64
[ 59.685115][ T2800] LTP: starting fsync03
[ 59.690596][ T2800] LTP: starting ftruncate03_64
[ 59.696425][ T2800] LTP: starting futimesat01
[ 59.701877][ T2800] LTP: starting getegid01_16
[ 59.707110][ T2800] LTP: starting getgid01
[ 59.712657][ T2800] LTP: starting getgroups01
[ 59.718109][ T2800] LTP: starting getgroups03_16
[ 59.723683][ T2800] LTP: starting getpagesize01
[ 59.729058][ T2800] LTP: starting getpriority02
[ 59.734865][ T2800] LTP: starting getrlimit03
[ 59.740522][ T2800] LTP: starting getuid03_16
[ 59.745810][ T2800] LTP: starting ioctl_loop02
[ 59.754351][T17929] loop: module loaded
[ 59.758806][T17928] loop0: detected capacity change from 0 to 20
[ 59.877323][T17928] loop0: detected capacity change from 0 to 20
[ 59.999803][ T2800] LTP: starting ioctl_ns06
[ 60.005751][ T2800] LTP: starting inotify_init1_02
[ 60.011546][ T2800] LTP: starting inotify08
[ 60.016735][T17936] loop0: detected capacity change from 0 to 524288
[ 60.358357][T17936] ext2 filesystem being mounted at /fs/sda1/tmpdir/ltp-OBpFUcDTgK/inoEFEnxB/mntpoint supports timestamps until 2038 (0x7fffffff)
[ 60.440207][ T324] /usr/bin/wget -q --timeout=1800 --tries=1 --local-encoding=UTF-8 http://internal-lkp-server:80/~lkp/cgi-bin/lkp-jobfile-append-var?job_file=/lkp/jobs/scheduled/lkp-skl-d02/ltp-1HDD-btrfs-syscalls-05-ucode=0xe2-debian-10.4-x86_64-20200603.cgz-d7fa06e1aeccabc3a55332ff6c004eb17cc6b0d1-20211103-18496-1habfde-4.yaml&job_state=running -O /dev/null
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
sudo bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
sudo bin/lkp run generated-yaml-file
# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.
---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/lkp@lists.01.org Intel Corporation
Thanks,
Oliver Sang
View attachment "config-5.15.0-rc6-00193-gd7fa06e1aecc" of type "text/plain" (173988 bytes)
View attachment "job-script" of type "text/plain" (5785 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (78044 bytes)
View attachment "ltp" of type "text/plain" (148850 bytes)
View attachment "job.yaml" of type "text/plain" (4750 bytes)
View attachment "reproduce" of type "text/plain" (212 bytes)
Powered by blists - more mailing lists