[txhash] d7fa06e1ae: WARNING:at_net/sysctl_net.c:#register_net_sysctl
by kernel test robot
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-has...
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(a)intel.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_fil... -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
6 months, 2 weeks
[x86, mm] 32e6645b0f: WARNING:kernel_stack
by kernel test robot
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 32e6645b0f3c84ee6e8d9a5566dffa5003821e37 ("x86, mm: Protect page tables with PKS")
https://git.kernel.org/cgit/linux/kernel/git/rppt/linux.git pks/v0.0
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+----------------------+------------+------------+
| | ee47e14ab6 | 32e6645b0f |
+----------------------+------------+------------+
| boot_failures | 0 | 19 |
| WARNING:kernel_stack | 0 | 19 |
+----------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang(a)intel.com>
[ 22.121883][ T120] WARNING: kernel stack frame pointer at (____ptrval____) in modprobe:120 has bad value 0000000000000000
[ 22.121894][ T120] unwind stack type:0 next_sp:0000000000000000 mask:0x2 graph_idx:0
[ 22.121900][ T120] (____ptrval____): ffff88812c95fb00 (0xffff88812c95fb00)
[ 22.121910][ T120] (____ptrval____): ffffffff81020fbd arch_stack_walk (arch/x86/kernel/stacktrace.c:24)
[ 22.121923][ T120] (____ptrval____): 0000000000000000 ...
[ 22.121927][ T120] (____ptrval____): ffff88812c95c000 (0xffff88812c95c000)
[ 22.121933][ T120] (____ptrval____): ffff88812c960000 (0xffff88812c960000)
[ 22.121940][ T120] (____ptrval____): 0000000000000000 ...
[ 22.121944][ T120] (____ptrval____): 0000000000000002 (0x2)
[ 22.121950][ T120] (____ptrval____): ffff88812c958000 (0xffff88812c958000)
[ 22.121958][ T120] (____ptrval____): 0000000100000000 (0x100000000)
[ 22.121964][ T120] (____ptrval____): ffff88812c95ff40 (0xffff88812c95ff40)
[ 22.121970][ T120] (____ptrval____): ffff88812c95fa68 (0xffff88812c95fa68)
[ 22.121977][ T120] (____ptrval____): ffffffff81e011d1 entry_INT80_compat (arch/x86/entry/entry_64_compat.S:413)
[ 22.121993][ T120] (____ptrval____): 0000000000000000 ...
[ 22.121997][ T120] (____ptrval____): b836effaed6f3900 (0xb836effaed6f3900)
[ 22.122004][ T120] (____ptrval____): 0000000000000003 (0x3)
[ 22.122009][ T120] (____ptrval____): ffffffff8319c290 stack_trace+0x32ed0/0x400000
[ 22.122022][ T120] (____ptrval____): ffff88812c958788 (0xffff88812c958788)
[ 22.122030][ T120] (____ptrval____): ffffffff8319c2a8 stack_trace+0x32ee8/0x400000
[ 22.122040][ T120] (____ptrval____): ffff88812c95fb30 (0xffff88812c95fb30)
[ 22.122048][ T120] (____ptrval____): ffffffff81133006 stack_trace_save (kernel/stacktrace.c:122)
[ 22.122060][ T120] (____ptrval____): ffffffff8319c2a8 stack_trace+0x32ee8/0x400000
[ 22.122071][ T120] (____ptrval____): 0000000000079a23 (0x79a23)
[ 22.122077][ T120] (____ptrval____): 0000000000000006 (0x6)
[ 22.122083][ T120] (____ptrval____): b836effaed6f3900 (0xb836effaed6f3900)
[ 22.122091][ T120] (____ptrval____): ffff88812c95fb90 (0xffff88812c95fb90)
[ 22.122101][ T120] (____ptrval____): ffffffff81107805 save_trace (include/linux/jhash.h:73 kernel/locking/lockdep.c:555)
[ 22.122101][ T120] (____ptrval____): ffff88812c95fb50 (0xffff88812c95fb50)
[ 22.122101][ T120] (____ptrval____): ffffffff8286c988 uts_sem+0x68/0x90
[ 22.122101][ T120] (____ptrval____): ffff88812c95fbc8 (0xffff88812c95fbc8)
[ 22.122101][ T120] (____ptrval____): 00000000000065da (0x65da)
[ 22.122101][ T120] (____ptrval____): ffffffff835b1080 classhash_table+0x7cc0/0x8000
[ 22.122101][ T120] (____ptrval____): 0000000000000003 (0x3)
[ 22.122101][ T120] (____ptrval____): ffffffff835c8700 lock_classes+0x12f00/0x180000
[ 22.122101][ T120] (____ptrval____): ffff88812c958788 (0xffff88812c958788)
[ 22.122101][ T120] (____ptrval____): ffff88812c958000 (0xffff88812c958000)
[ 22.122101][ T120] (____ptrval____): 0000000000000000 ...
[ 22.122101][ T120] (____ptrval____): ffff88812c95fbc8 (0xffff88812c95fbc8)
[ 22.122101][ T120] (____ptrval____): ffffffff8110c17b mark_lock+0x17b/0x680
[ 22.122101][ T120] (____ptrval____): 0000000300000000 (0x300000000)
[ 22.122101][ T120] (____ptrval____): 0000000000000194 (0x194)
[ 22.122101][ T120] (____ptrval____): ffff88812c958788 (0xffff88812c958788)
[ 22.122101][ T120] (____ptrval____): ffff88812c958000 (0xffff88812c958000)
[ 22.122101][ T120] (____ptrval____): 0000000000000000 ...
[ 22.122101][ T120] (____ptrval____): ffff88812c95fc38 (0xffff88812c95fc38)
[ 22.122101][ T120] (____ptrval____): ffffffff8110d0ab __lock_acquire (kernel/locking/lockdep.c:4494 kernel/locking/lockdep.c:4969)
[ 22.122101][ T120] (____ptrval____): ffff888100000000 (0xffff888100000000)
[ 22.122101][ T120] (____ptrval____): 0000000000000000 ...
[ 22.122101][ T120] (____ptrval____): 0000000000000002 (0x2)
[ 22.122101][ T120] (____ptrval____): ffffffff00000000 (0xffffffff00000000)
[ 22.122101][ T120] (____ptrval____): 0000000082bf93c0 (0x82bf93c0)
[ 22.122101][ T120] (____ptrval____): ffff888100000001 (0xffff888100000001)
[ 22.122101][ T120] (____ptrval____): ffff88812c958788 (0xffff88812c958788)
[ 22.122101][ T120] (____ptrval____): 0000000000000001 (0x1)
[ 22.122101][ T120] (____ptrval____): ffffffff8286c988 uts_sem+0x68/0x90
[ 22.122101][ T120] (____ptrval____): 0000000000000000 ...
[ 22.122101][ T120] (____ptrval____): ffff88812c95fcd0 (0xffff88812c95fcd0)
[ 22.122101][ T120] (____ptrval____): ffffffff8110db07 lock_acquire (kernel/locking/lockdep.c:438 kernel/locking/lockdep.c:5627 kernel/locking/lockdep.c:5590)
[ 22.122101][ T120] (____ptrval____): 0000000000000000 ...
[ 22.122101][ T120] (____ptrval____): ffffffff810c0db9 __do_sys_newuname (include/linux/utsname.h:81 kernel/sys.c:1277)
[ 22.122101][ T120] (____ptrval____): 0000000000000000 ...
[ 22.122101][ T120] (____ptrval____): 0000000000000200 (0x200)
[ 22.122101][ T120] (____ptrval____): 0000000000000000 ...
[ 22.122101][ T120] (____ptrval____): ffff88812c95fcb0 (0xffff88812c95fcb0)
[ 22.122101][ T120] (____ptrval____): 0000000000000246 (0x246)
[ 22.122101][ T120] (____ptrval____): ffffffff8286c920 __SCK__tp_func_signal_generate+0x380/0x380
[ 22.122101][ T120] (____ptrval____): b836effaed6f3900 (0xb836effaed6f3900)
[ 22.122101][ T120] (____ptrval____): ffffffff8286c920 __SCK__tp_func_signal_generate+0x380/0x380
[ 22.122101][ T120] (____ptrval____): ffff88812c958000 (0xffff88812c958000)
[ 22.122101][ T120] (____ptrval____): 0000000000000000 ...
[ 22.122101][ T120] (____ptrval____): ffff88812c95fcf0 (0xffff88812c95fcf0)
[ 22.122101][ T120] (____ptrval____): ffffffff81c454b9 down_read (arch/x86/include/asm/atomic64_64.h:160 include/linux/atomic/atomic-long.h:65 include/linux/atomic/atomic-instrumented.h:1226 kernel/locking/rwsem.c:238 kernel/locking/rwsem.c:1213 kernel/locking/rwsem.c:1223 kernel/locking/rwsem.c:1466)
[ 22.122101][ T120] (____ptrval____): ffffffff810c0db9 __do_sys_newuname (include/linux/utsname.h:81 kernel/sys.c:1277)
[ 22.122101][ T120] (____ptrval____): 00000000ff87586a (0xff87586a)
[ 22.122101][ T120] (____ptrval____): ffff88812c95fea0 (0xffff88812c95fea0)
[ 22.122101][ T120] (____ptrval____): ffffffff810c0db9 __do_sys_newuname (include/linux/utsname.h:81 kernel/sys.c:1277)
[ 22.122101][ T120] (____ptrval____): ffff88812c95fd68 (0xffff88812c95fd68)
[ 22.122101][ T120] (____ptrval____): ffffffff81231d66 wp_page_copy (mm/memory.c:3133)
[ 22.122101][ T120] (____ptrval____): 0000000000000000 ...
[ 22.122101][ T120] (____ptrval____): 0000000100000001 (0x100000001)
[ 22.122101][ T120] (____ptrval____): ffff88812cf81578 (0xffff88812cf81578)
[ 22.122101][ T120] (____ptrval____): 000000012cf85067 (0x12cf85067)
[ 22.122101][ T120] (____ptrval____): 0000000000000001 (0x1)
[ 22.122101][ T120] (____ptrval____): 000000043ff13000 (0x43ff13000)
[ 22.122101][ T120] (____ptrval____): ffffea00047f57c8 (0xffffea00047f57c8)
[ 22.122101][ T120] (____ptrval____): ffffea00047f5800 (0xffffea00047f5800)
[ 22.122101][ T120] (____ptrval____): ffff88812c95fdc8 (0xffff88812c95fdc8)
[ 22.122101][ T120] (____ptrval____): ffffea00047f5800 (0xffffea00047f5800)
[ 22.122101][ T120] (____ptrval____): ffff88812cf804c0 (0xffff88812cf804c0)
[ 22.122101][ T120] (____ptrval____): ffff88812c95fda0 (0xffff88812c95fda0)
[ 22.122101][ T120] (____ptrval____): ffffffff81236136 do_wp_page (mm/memory.c:3314)
[ 22.122101][ T120] (____ptrval____): 800000011fd60025 (0x800000011fd60025)
[ 22.122101][ T120] (____ptrval____): ffff88812cf85d90 (0xffff88812cf85d90)
[ 22.122101][ T120] (____ptrval____): 0000000000000255 (0x255)
[ 22.122101][ T120] (____ptrval____): 0000000000000d90 (0xd90)
[ 22.122101][ T120] (____ptrval____): ffff88812cf804c0 (0xffff88812cf804c0)
[ 22.122101][ T120] (____ptrval____): ffff88812c95fe60 (0xffff88812c95fe60)
[ 22.122101][ T120] (____ptrval____): ffffffff812384a6 __handle_mm_fault (mm/memory.c:4695)
[ 22.122101][ T120] (____ptrval____): ffffffff82bf93c0 rcu_callback_map+0x40/0x40
[ 22.122101][ T120] (____ptrval____): ffff88812c95fe00 (0xffff88812c95fe00)
To reproduce:
# build kernel
cd linux
cp config-5.15.0-rc5-00018-g32e6645b0f3c .config
make HOSTCC=gcc-9 CC=gcc-9 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
# 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
6 months, 2 weeks
[mm/page_alloc] 5541e53659: BUG:spinlock_bad_magic_on_CPU
by kernel test robot
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 5541e5365954069e4c7b649831c0e41bc9e5e081 ("[PATCH v2 2/3] mm/page_alloc: Convert per-cpu lists' local locks to per-cpu spin locks")
url: https://github.com/0day-ci/linux/commits/Nicolas-Saenz-Julienne/mm-page_a...
base: https://github.com/hnaz/linux-mm master
patch link: https://lore.kernel.org/lkml/20211103170512.2745765-3-nsaenzju@redhat.com
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+--------------------------------------------+------------+------------+
| | 69c421f2b4 | 5541e53659 |
+--------------------------------------------+------------+------------+
| boot_successes | 11 | 0 |
| boot_failures | 0 | 11 |
| BUG:spinlock_bad_magic_on_CPU | 0 | 11 |
| BUG:using_smp_processor_id()in_preemptible | 0 | 11 |
+--------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang(a)intel.com>
[ 0.161872][ T0] BUG: spinlock bad magic on CPU#0, swapper/0
[ 0.162248][ T0] lock: 0xeb24bef0, .magic: 00000000, .owner: swapper/0, .owner_cpu: 0
[ 0.162767][ T0] CPU: 0 PID: 0 Comm: swapper Not tainted 5.15.0-rc7-mm1-00437-g5541e5365954 #1
[ 0.163325][ T0] Call Trace:
[ 0.163524][ T0] dump_stack_lvl (lib/dump_stack.c:107 (discriminator 4))
[ 0.163802][ T0] dump_stack (lib/dump_stack.c:114)
[ 0.164050][ T0] spin_bug (kernel/locking/spinlock_debug.c:70 kernel/locking/spinlock_debug.c:77)
[ 0.164296][ T0] do_raw_spin_unlock (arch/x86/include/asm/atomic.h:29 include/linux/atomic/atomic-instrumented.h:28 include/asm-generic/qspinlock.h:28 kernel/locking/spinlock_debug.c:100 kernel/locking/spinlock_debug.c:140)
[ 0.164624][ T0] _raw_spin_unlock_irqrestore (include/linux/spinlock_api_smp.h:160 kernel/locking/spinlock.c:194)
[ 0.164971][ T0] free_unref_page (include/linux/spinlock.h:423 mm/page_alloc.c:3400)
[ 0.165253][ T0] free_the_page (mm/page_alloc.c:699)
[ 0.165521][ T0] __free_pages (mm/page_alloc.c:5453)
[ 0.165785][ T0] add_highpages_with_active_regions (include/linux/mm.h:2511 arch/x86/mm/init_32.c:416)
[ 0.166179][ T0] set_highmem_pages_init (arch/x86/mm/highmem_32.c:30)
[ 0.166501][ T0] mem_init (arch/x86/mm/init_32.c:749 (discriminator 2))
[ 0.166749][ T0] start_kernel (init/main.c:842 init/main.c:988)
[ 0.167026][ T0] ? early_idt_handler_common (arch/x86/kernel/head_32.S:417)
[ 0.167369][ T0] i386_start_kernel (arch/x86/kernel/head32.c:57)
[ 0.167662][ T0] startup_32_smp (arch/x86/kernel/head_32.S:328)
[ 1.272601][ T0] Initializing Movable for node 0 (00000000:00000000)
[ 1.563704][ T0] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[ 1.564312][ T0] Memory: 2895940K/3145208K available (8028K kernel code, 4874K rwdata, 4088K rodata, 2016K init, 8452K bss, 249268K reserved, 0K cma-reserved, 2252680K highmem)
[ 1.565333][ T0] random: get_random_u32 called from __kmem_cache_create+0x13/0x3b8 with crng_init=0
[ 1.565532][ T0] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 1.566585][ T0] Stack Depot allocating hash table with kvmalloc
[ 1.567566][ T0] Node 0, zone DMA: page owner found early allocated 0 pages
[ 1.569258][ T0] Node 0, zone Normal: page owner found early allocated 1057 pages
[ 1.574666][ T0] Node 0, zone HighMem: page owner found early allocated 0 pages
[ 1.575421][ T0] ODEBUG: selftest passed
[ 1.575737][ T0] trace event string verifier disabled
[ 1.576126][ T0] Dynamic Preempt: none
[ 1.576450][ T0] Running RCU self tests
[ 1.576727][ T0] rcu: Preemptible hierarchical RCU implementation.
[ 1.577149][ T0] rcu: RCU event tracing is enabled.
[ 1.577483][ T0] rcu: RCU lockdep checking is enabled.
[ 1.577833][ T0] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[ 1.578294][ T0] rcu: RCU callback double-/use-after-free debug enabled.
[ 1.578744][ T0] rcu: RCU debug extended QS entry/exit.
[ 1.579100][ T0] RCU CPU stall warnings timeout set to 100 (rcu_cpu_stall_timeout).
[ 1.579611][ T0] Trampoline variant of Tasks RCU enabled.
[ 1.579978][ T0] Rude variant of Tasks RCU enabled.
[ 1.580311][ T0] Tracing variant of Tasks RCU enabled.
[ 1.580666][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 1.581199][ T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 1.583788][ T0] NR_IRQS: 2304, nr_irqs: 56, preallocated irqs: 16
[ 1.584542][ T0] kfence: initialized - using 2097152 bytes for 255 objects at 0x(ptrval)-0x(ptrval)
[ 1.585258][ T0] printk: console [ttyS0] enabled
[ 1.585891][ T0] printk: bootconsole [earlyser0] disabled
[ 1.586621][ T0] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[ 1.587173][ T0] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 1.587491][ T0] ... MAX_LOCK_DEPTH: 48
[ 1.587814][ T0] ... MAX_LOCKDEP_KEYS: 8192
[ 1.588146][ T0] ... CLASSHASH_SIZE: 4096
[ 1.588477][ T0] ... MAX_LOCKDEP_ENTRIES: 32768
[ 1.588821][ T0] ... MAX_LOCKDEP_CHAINS: 65536
[ 1.589167][ T0] ... CHAINHASH_SIZE: 32768
[ 1.589504][ T0] memory used by lock dependency info: 4061 kB
[ 1.589904][ T0] memory used for stack traces: 2112 kB
[ 1.590264][ T0] per task-struct memory footprint: 2112 bytes
[ 1.590671][ T0] ACPI: Core revision 20210930
[ 1.591135][ T0] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[ 1.591886][ T0] APIC: Switch to symmetric I/O mode setup
[ 1.592284][ T0] Enabling APIC mode: Flat. Using 1 I/O APICs
[ 1.592710][ T0] masked ExtINT on CPU#0
[ 1.593593][ T0] ENABLING IO-APIC IRQs
[ 1.593859][ T0] init IO_APIC IRQs
[ 1.594227][ T0] apic 0 pin 0 not connected
[ 1.594688][ T0] IOAPIC[0]: Preconfigured routing entry (0-1 -> IRQ 1 Level:0 ActiveLow:0)
[ 1.595534][ T0] IOAPIC[0]: Preconfigured routing entry (0-2 -> IRQ 0 Level:0 ActiveLow:0)
[ 1.596221][ T0] IOAPIC[0]: Preconfigured routing entry (0-3 -> IRQ 3 Level:0 ActiveLow:0)
[ 1.596774][ T0] IOAPIC[0]: Preconfigured routing entry (0-4 -> IRQ 4 Level:0 ActiveLow:0)
[ 1.597320][ T0] IOAPIC[0]: Preconfigured routing entry (0-5 -> IRQ 5 Level:1 ActiveLow:0)
[ 1.597865][ T0] IOAPIC[0]: Preconfigured routing entry (0-6 -> IRQ 6 Level:0 ActiveLow:0)
[ 1.598409][ T0] IOAPIC[0]: Preconfigured routing entry (0-7 -> IRQ 7 Level:0 ActiveLow:0)
[ 1.598954][ T0] IOAPIC[0]: Preconfigured routing entry (0-8 -> IRQ 8 Level:0 ActiveLow:0)
[ 1.599498][ T0] IOAPIC[0]: Preconfigured routing entry (0-9 -> IRQ 9 Level:1 ActiveLow:0)
[ 1.600052][ T0] IOAPIC[0]: Preconfigured routing entry (0-10 -> IRQ 10 Level:1 ActiveLow:0)
[ 1.600618][ T0] IOAPIC[0]: Preconfigured routing entry (0-11 -> IRQ 11 Level:1 ActiveLow:0)
[ 1.601195][ T0] IOAPIC[0]: Preconfigured routing entry (0-12 -> IRQ 12 Level:0 ActiveLow:0)
[ 1.601760][ T0] IOAPIC[0]: Preconfigured routing entry (0-13 -> IRQ 13 Level:0 ActiveLow:0)
[ 1.602312][ T0] IOAPIC[0]: Preconfigured routing entry (0-14 -> IRQ 14 Level:0 ActiveLow:0)
[ 1.602865][ T0] IOAPIC[0]: Preconfigured routing entry (0-15 -> IRQ 15 Level:0 ActiveLow:0)
[ 1.603415][ T0] apic 0 pin 16 not connected
[ 1.603712][ T0] apic 0 pin 17 not connected
[ 1.604020][ T0] apic 0 pin 18 not connected
[ 1.604316][ T0] apic 0 pin 19 not connected
[ 1.604617][ T0] apic 0 pin 20 not connected
[ 1.604922][ T0] apic 0 pin 21 not connected
[ 1.605219][ T0] apic 0 pin 22 not connected
[ 1.605516][ T0] apic 0 pin 23 not connected
[ 1.605913][ T0] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 1.606361][ T0] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x1fa3704c1a9, max_idle_ns: 440795296692 ns
[ 1.607077][ T0] Calibrating delay loop (skipped) preset value.. 4389.83 BogoMIPS (lpj=8779664)
[ 1.607658][ T0] pid_max: default: 4096 minimum: 301
[ 1.611130][ T0] LSM: Security Framework initializing
[ 1.611497][ T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 1.613263][ T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 1.615945][ T0] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 1.616341][ T0] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[ 1.616763][ T0] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[ 1.617348][ T0] Spectre V2 : Spectre mitigation: kernel not compiled with retpoline; no mitigation available!
[ 1.617350][ T0] Speculative Store Bypass: Vulnerable
[ 1.618335][ T0] L1TF: Kernel not compiled for PAE. No mitigation for L1TF
[ 1.618788][ T0] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[ 1.619423][ T0] Freeing SMP alternatives memory: 16K
[ 1.619943][ T1] smpboot: CPU0: Intel Xeon E312xx (Sandy Bridge) (family: 0x6, model: 0x2a, stepping: 0x1)
To reproduce:
# build kernel
cd linux
cp config-5.15.0-rc7-mm1-00437-g5541e5365954 .config
make HOSTCC=gcc-9 CC=gcc-9 ARCH=i386 olddefconfig prepare modules_prepare bzImage
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
# 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
6 months, 2 weeks
合伙股权分配,股权比例设计,控制权把控
by Andra
老板,你是否存在这些股权问题却不知道怎么更好的解决?
1、想给公司导入股权激励,但不知道怎么分?分给谁?分多少?
2、公司到达一定规模后,高管纷纷离职,另立山头怎们办?
3、工资涨了又涨,绩效变了又变,但依然没有激情与动力……
4、不懂股权设计,公司治理不当,导致股权结构混乱,股东不和
5、如何让员工动力十足,公司业绩蒸蒸日上.....
6、各部门自动化运作,解放老板...
【为什么】您苦心培养的人才总在流失,出去就成为您的竞争对手?
【为什么】车间里的跑、冒、滴、漏比利润还要多,员工却视而不见?
【为什么】开10个店赚钱,20个店保本,30个店就亏钱?
【为什么】营销费用、管理费用越来越高,层层审批也无济于事?
【为什么】薪酬涨了又涨,绩效变了又变,问题还是无所改善?
【为什么】代理商赚钱,您的直营团队却在大面积亏损?
【为什么】苦苦奋斗多年,只见年纪大,不见公司大!只见白发多,不见利润多!
两天课程为你企业解决:
✅1.团队股权激励设计
(解决员工流失率高,员工没有激情,缺少有效的激励方法和系统,薪酬系统不规范,缺少方法和执行标准。)
✅2.绩效考核流程指标
(解决团队不接受公司的战略目标,上下达不成一致,部门反应绩效考核指标不合理,绩效考核难以实施,没有业绩推动手段。)
✅3.股权、战略架构梳理优化
(解决企业定位模糊,战略缺失;股东人数多,无实际控制人,股权结构有隐患。)
✅4.股权架构设计
(解决公司想要整合上下游,不知道如何操作,估值不合理,业务流程复杂,执行效率低下。)
✅5.合伙股权分配,股权比例设计,控制权把控
(解决毒品股东,设计股权结构,完善公司治理架构。)
✅6.财税,法律,商业模式
(解决税务风险,商业模式创新设计。)
✅7.上市规划
(董事高管,三年之内不能变动,否则不能上市,所以一定要做股权激励)
华一世纪——《公司控制权与股权激励》——【为企业系统解决股权激励、股权分配、股权架构、上市重组、顶层布局、绩效薪酬、章程修改】全国开课,打造公司内部合伙人,帮您在公司内部建立一套让员工为自己干的机制,为企业发展保驾护航!
【11月最新全国开课表】
11月5-6 苏州
11月6-7 东莞、深圳、洛阳、天津
11月8-9 杭州
11月9-10 上海、武汉、长沙
11月10-11 昆明、青岛、中山、柳州、昆山
11月11-12 广州、南京、重庆、郑州、成都
11月13-14 深圳、北京、德州、合肥、南通、西安、哈尔滨、福州、绵阳
11月15-16 南宁
11月16-17 佛山、临沂、石家庄、潍坊、中山
11月17-18 无锡、惠州、长沙
11月18-19 德州、东莞、杭州、临沂、泰安
11月19-20 武汉、莆田
11月20-21 泉州、上海、广州、绍兴、成都、深圳、汕头、义乌、南昌、贵阳
11月22-23 温州、沈阳
11月23-24 保定、中山、郑州、长沙
11月24-25 南京、南宁、青岛、厦门、大连、宁波
报名学习添加下方电话、Wechat
快速报名电话:13928826727 林老师(Wechat微信同步,添加请备注“报名+城市”)
课程详细点击:https://jinshuju.net/f/wdzNmw
两天一夜课程费用(980元全包)食宿自理
今日报名赠送以下华一世纪正规协议资料:
1、股东合作协议
2、股权代持协议
3、员工入股协议
4、众筹合作协议
5、资源入股协议(密级A+)
6、干股(虚拟股)分红协议(密级A+)
7、公司股东一致行动人协议(密级A+)
8、竞业限制协议(密级A+)
快速报名电话:13928826727 林老师(Wechat微信同步,添加请备注“报名+城市”)
退订回:T
6 months, 2 weeks
[sched/fair] c5c50fbea9: BUG:sleeping_function_called_from_invalid_context_at_kernel/sched/completion.c
by kernel test robot
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: c5c50fbea9049a89c51845ccaf2025fbf4d9be7b ("sched/fair: Prevent dead task groups from regaining cfs_rq's")
url: https://github.com/0day-ci/linux/commits/UPDATE-20211104-030717/Michal-Ko...
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+--------------------------------------------------------------------------------+------------+------------+
| | 7413431c62 | c5c50fbea9 |
+--------------------------------------------------------------------------------+------------+------------+
| boot_successes | 49 | 0 |
| WARNING:at_lib/debugobjects.c:#__debug_object_init | 0 | 55 |
| EIP:__debug_object_init | 0 | 55 |
| BUG:sleeping_function_called_from_invalid_context_at_kernel/sched/completion.c | 0 | 59 |
| BUG:scheduling_while_atomic | 0 | 59 |
| BUG:unable_to_handle_page_fault_for_address | 0 | 15 |
| Oops:#[##] | 0 | 36 |
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt | 0 | 36 |
| WARNING:at_kernel/softirq.c:#__local_bh_disable_ip | 0 | 31 |
| EIP:__local_bh_disable_ip | 0 | 31 |
| EIP:default_idle | 0 | 10 |
| kernel/rcu/tree.c:#Illegal_synchronize_rcu()in_RCU_read-side_critical_section | 0 | 17 |
| WARNING:at_kernel/rcu/tree_plugin.h:#rcu_note_context_switch | 0 | 16 |
| EIP:rcu_note_context_switch | 0 | 16 |
| INFO:rcu_preempt_detected_stalls_on_CPUs/tasks | 0 | 11 |
| INFO:task_blocked_for_more_than#seconds | 0 | 15 |
| BUG:kernel_hang_in_test_stage | 0 | 14 |
| BUG:kernel_NULL_pointer_dereference,address | 0 | 21 |
+--------------------------------------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang(a)intel.com>
[ 51.124861][ C0] BUG: sleeping function called from invalid context at kernel/sched/completion.c:101
[ 51.126085][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 14, name: ksoftirqd/0
[ 51.127064][ C0] preempt_count: 100, expected: 0
[ 51.127500][ C0] RCU nest depth: 0, expected: 0
[ 51.127936][ C0] 1 lock held by ksoftirqd/0/14:
[ 51.128405][ C0] #0: c2078cfc (rcu_callback){....}-{0:0}, at: rcu_lock_acquire (include/linux/rcupdate.h:266)
[ 51.129325][ C0] Preemption disabled at:
[ 51.129329][ C0] __do_softirq (kernel/softirq.c:491 kernel/softirq.c:535)
[ 51.130465][ C0] CPU: 0 PID: 14 Comm: ksoftirqd/0 Not tainted 5.15.0-rc5-00188-gc5c50fbea904 #1
[ 51.131440][ C0] Call Trace:
[ 51.131788][ C0] dump_stack_lvl (lib/dump_stack.c:107 (discriminator 4))
[ 51.132271][ C0] dump_stack (lib/dump_stack.c:114)
[ 51.132703][ C0] __might_resched (kernel/sched/core.c:9519)
[ 51.133202][ C0] ? __do_softirq (kernel/softirq.c:491 kernel/softirq.c:535)
[ 51.133687][ C0] __might_sleep (kernel/sched/core.c:9448 (discriminator 14))
[ 51.134172][ C0] __wait_for_common (include/linux/kernel.h:104 kernel/sched/completion.c:101)
[ 51.134655][ C0] ? usleep_range (kernel/time/timer.c:1843)
[ 51.135094][ C0] ? trace_hardirqs_on (kernel/trace/trace_preemptirq.c:51 (discriminator 22))
[ 51.135581][ C0] wait_for_completion (kernel/sched/completion.c:139)
[ 51.136054][ C0] __wait_rcu_gp (kernel/rcu/update.c:404)
[ 51.136477][ C0] synchronize_rcu (kernel/rcu/tree.c:3748)
[ 51.136924][ C0] ? __call_rcu (kernel/rcu/tree.c:3066)
[ 51.137347][ C0] ? rcu_tasks_pregp_step (kernel/rcu/update.c:363)
[ 51.137834][ C0] sched_offline_group (kernel/sched/core.c:9775)
[ 51.138342][ C0] autogroup_destroy (kernel/sched/autogroup.c:35)
[ 51.138778][ C0] kref_put (include/linux/kref.h:64)
[ 51.139243][ C0] sched_autogroup_exit (kernel/sched/autogroup.c:196)
[ 51.139796][ C0] free_signal_struct (kernel/fork.c:732)
[ 51.140324][ C0] __put_task_struct (kernel/fork.c:757)
[ 51.140879][ C0] put_task_struct (include/linux/sched/task.h:115)
[ 51.141370][ C0] delayed_put_task_struct (kernel/exit.c:176)
[ 51.141943][ C0] rcu_do_batch (include/linux/rcupdate.h:272 kernel/rcu/tree.c:2510)
[ 51.142435][ C0] rcu_core (kernel/rcu/tree.c:2747)
[ 51.142857][ C0] rcu_core_si (kernel/rcu/tree.c:2757)
[ 51.143262][ C0] __do_softirq (arch/x86/include/asm/atomic.h:29 include/linux/atomic/atomic-instrumented.h:28 include/linux/jump_label.h:266 include/linux/jump_label.h:276 include/trace/events/irq.h:142 kernel/softirq.c:559)
[ 51.143786][ C0] run_ksoftirqd (kernel/softirq.c:412 kernel/softirq.c:921)
[ 51.144263][ C0] smpboot_thread_fn (kernel/smpboot.c:164 (discriminator 3))
[ 51.144792][ C0] kthread (kernel/kthread.c:329)
[ 51.145187][ C0] ? smpboot_register_percpu_thread (kernel/smpboot.c:107)
[ 51.145820][ C0] ? set_kthread_struct (kernel/kthread.c:272)
[ 51.146429][ C0] ret_from_fork (arch/x86/entry/entry_32.S:775)
[ 51.146993][ C0] BUG: scheduling while atomic: ksoftirqd/0/14/0x00000101
[ 51.147709][ C0] 1 lock held by ksoftirqd/0/14:
[ 51.148193][ C0] #0: c2078cfc (rcu_callback){....}-{0:0}, at: rcu_lock_acquire (include/linux/rcupdate.h:266)
[ 51.149019][ C0] Modules linked in: serio_raw floppy
[ 51.149523][ C0] Preemption disabled at:
[ 51.149526][ C0] __do_softirq (kernel/softirq.c:491 kernel/softirq.c:535)
[ 51.150518][ C0] CPU: 0 PID: 14 Comm: ksoftirqd/0 Tainted: G W 5.15.0-rc5-00188-gc5c50fbea904 #1
[ 51.151640][ C0] Call Trace:
[ 51.151965][ C0] dump_stack_lvl (lib/dump_stack.c:107 (discriminator 4))
[ 51.152441][ C0] dump_stack (lib/dump_stack.c:114)
[ 51.152840][ C0] __schedule_bug (kernel/sched/core.c:5494)
[ 51.153288][ C0] __schedule (arch/x86/include/asm/preempt.h:35 kernel/sched/core.c:5521 kernel/sched/core.c:6122)
[ 51.153712][ C0] ? kvm_clock_read (arch/x86/include/asm/preempt.h:95 arch/x86/kernel/kvmclock.c:80)
[ 51.154208][ C0] ? sched_clock (arch/x86/kernel/tsc.c:254)
[ 51.154645][ C0] schedule (kernel/sched/core.c:6305 (discriminator 1))
[ 51.155071][ C0] schedule_timeout (kernel/time/timer.c:1858)
[ 51.155542][ C0] ? _raw_spin_unlock_irq (arch/x86/include/asm/irqflags.h:45 arch/x86/include/asm/irqflags.h:80 include/linux/spinlock_api_smp.h:168 kernel/locking/spinlock.c:202)
[ 51.156065][ C0] ? __this_cpu_preempt_check (lib/smp_processor_id.c:67)
[ 51.156599][ C0] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4344)
[ 51.157093][ C0] ? trace_hardirqs_on (kernel/trace/trace_preemptirq.c:51 (discriminator 22))
[ 51.157566][ C0] __wait_for_common (kernel/sched/completion.c:85 kernel/sched/completion.c:106)
[ 51.158031][ C0] ? usleep_range (kernel/time/timer.c:1843)
[ 51.158488][ C0] wait_for_completion (kernel/sched/completion.c:139)
[ 51.158961][ C0] __wait_rcu_gp (kernel/rcu/update.c:404)
[ 51.159397][ C0] synchronize_rcu (kernel/rcu/tree.c:3748)
[ 51.159853][ C0] ? __call_rcu (kernel/rcu/tree.c:3066)
[ 51.160294][ C0] ? rcu_tasks_pregp_step (kernel/rcu/update.c:363)
[ 51.160818][ C0] ? __wait_for_common (kernel/sched/completion.c:74 kernel/sched/completion.c:106)
[ 51.161324][ C0] sched_offline_group (kernel/sched/core.c:9775)
[ 51.161811][ C0] autogroup_destroy (kernel/sched/autogroup.c:35)
[ 51.162305][ C0] kref_put (include/linux/kref.h:64)
[ 51.162825][ C0] sched_autogroup_exit (kernel/sched/autogroup.c:196)
[ 51.163314][ C0] free_signal_struct (kernel/fork.c:732)
[ 51.163814][ C0] __put_task_struct (kernel/fork.c:757)
[ 51.164294][ C0] put_task_struct (include/linux/sched/task.h:115)
[ 51.164780][ C0] delayed_put_task_struct (kernel/exit.c:176)
[ 51.165305][ C0] rcu_do_batch (include/linux/rcupdate.h:272 kernel/rcu/tree.c:2510)
[ 51.165764][ C0] rcu_core (kernel/rcu/tree.c:2747)
[ 51.166226][ C0] rcu_core_si (kernel/rcu/tree.c:2757)
[ 51.166629][ C0] __do_softirq (arch/x86/include/asm/atomic.h:29 include/linux/atomic/atomic-instrumented.h:28 include/linux/jump_label.h:266 include/linux/jump_label.h:276 include/trace/events/irq.h:142 kernel/softirq.c:559)
[ 51.167093][ C0] run_ksoftirqd (kernel/softirq.c:412 kernel/softirq.c:921)
[ 51.167580][ C0] smpboot_thread_fn (kernel/smpboot.c:164 (discriminator 3))
[ 51.168087][ C0] kthread (kernel/kthread.c:329)
[ 51.168483][ C0] ? smpboot_register_percpu_thread (kernel/smpboot.c:107)
[ 51.169056][ C0] ? set_kthread_struct (kernel/kthread.c:272)
[ 51.169531][ C0] ret_from_fork (arch/x86/entry/entry_32.S:775)
[ 51.180917][ T14] softirq: huh, entered softirq 9 RCU (ptrval) with preempt_count 00000100, exited with 00000000?
[ 51.182068][ C0] BUG: scheduling while atomic: ksoftirqd/0/14/0x00000101
[ 51.182831][ C0] 1 lock held by ksoftirqd/0/14:
[ 51.183329][ C0] #0: c2078cfc (rcu_callback){....}-{0:0}, at: rcu_lock_acquire (include/linux/rcupdate.h:266)
[ 51.184027][ C0] Modules linked in: serio_raw floppy
[ 51.184541][ C0] Preemption disabled at:
[ 51.184546][ C0] __do_softirq (kernel/softirq.c:491 kernel/softirq.c:535)
[ 51.185291][ C0] CPU: 0 PID: 14 Comm: ksoftirqd/0 Tainted: G W 5.15.0-rc5-00188-gc5c50fbea904 #1
[ 51.186353][ C0] Call Trace:
[ 51.186705][ C0] dump_stack_lvl (lib/dump_stack.c:107 (discriminator 4))
[ 51.187145][ C0] dump_stack (lib/dump_stack.c:114)
[ 51.187408][ C0] __schedule_bug (kernel/sched/core.c:5494)
[ 51.187704][ C0] __schedule (arch/x86/include/asm/preempt.h:35 kernel/sched/core.c:5521 kernel/sched/core.c:6122)
[ 51.188165][ C0] ? kvm_clock_read (arch/x86/include/asm/preempt.h:95 arch/x86/kernel/kvmclock.c:80)
[ 51.188484][ C0] ? sched_clock (arch/x86/kernel/tsc.c:254)
[ 51.188805][ C0] schedule (kernel/sched/core.c:6305 (discriminator 1))
[ 51.189117][ C0] schedule_timeout (kernel/time/timer.c:1858)
[ 51.189498][ C0] ? _raw_spin_unlock_irq (arch/x86/include/asm/irqflags.h:45 arch/x86/include/asm/irqflags.h:80 include/linux/spinlock_api_smp.h:168 kernel/locking/spinlock.c:202)
[ 51.189846][ C0] ? __this_cpu_preempt_check (lib/smp_processor_id.c:67)
[ 51.194434][ C0] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4344)
[ 51.194990][ C0] ? trace_hardirqs_on (kernel/trace/trace_preemptirq.c:51 (discriminator 22))
[ 51.195408][ C0] __wait_for_common (kernel/sched/completion.c:85 kernel/sched/completion.c:106)
[ 51.195887][ C0] ? usleep_range (kernel/time/timer.c:1843)
[ 51.196336][ C0] wait_for_completion (kernel/sched/completion.c:139)
[ 51.196829][ C0] __wait_rcu_gp (kernel/rcu/update.c:404)
[ 51.197204][ C0] synchronize_rcu (kernel/rcu/tree.c:3748)
[ 51.197506][ C0] ? __call_rcu (kernel/rcu/tree.c:3066)
[ 51.197811][ C0] ? rcu_tasks_pregp_step (kernel/rcu/update.c:363)
[ 51.198295][ C0] ? __wait_for_common (kernel/sched/completion.c:74 kernel/sched/completion.c:106)
[ 51.198654][ C0] sched_offline_group (kernel/sched/core.c:9775)
[ 51.199016][ C0] autogroup_destroy (kernel/sched/autogroup.c:35)
[ 51.199399][ C0] kref_put (include/linux/kref.h:64)
[ 51.199837][ C0] sched_autogroup_exit (kernel/sched/autogroup.c:196)
[ 51.200206][ C0] free_signal_struct (kernel/fork.c:732)
[ 51.200622][ C0] __put_task_struct (kernel/fork.c:757)
[ 51.200979][ C0] put_task_struct (include/linux/sched/task.h:115)
[ 51.201272][ C0] delayed_put_task_struct (kernel/exit.c:176)
[ 51.201707][ C0] rcu_do_batch (include/linux/rcupdate.h:272 kernel/rcu/tree.c:2510)
[ 51.202071][ C0] rcu_core (kernel/rcu/tree.c:2747)
[ 51.202425][ C0] rcu_core_si (kernel/rcu/tree.c:2757)
[ 51.202797][ C0] __do_softirq (arch/x86/include/asm/atomic.h:29 include/linux/atomic/atomic-instrumented.h:28 include/linux/jump_label.h:266 include/linux/jump_label.h:276 include/trace/events/irq.h:142 kernel/softirq.c:559)
[ 51.203098][ C0] run_ksoftirqd (kernel/softirq.c:412 kernel/softirq.c:921)
[ 51.203378][ C0] smpboot_thread_fn (kernel/smpboot.c:164 (discriminator 3))
[ 51.203696][ C0] kthread (kernel/kthread.c:329)
[ 51.203975][ C0] ? smpboot_register_percpu_thread (kernel/smpboot.c:107)
[ 51.204359][ C0] ? set_kthread_struct (kernel/kthread.c:272)
[ 51.204735][ C0] ret_from_fork (arch/x86/entry/entry_32.S:775)
[ 51.205144][ T0] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #282!!!
[ 51.208267][ T0] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #282!!!
[ 51.224179][ C0] ------------[ cut here ]------------
[ 51.224184][ C0] WARNING: CPU: 0 PID: 14 at kernel/softirq.c:308 __local_bh_disable_ip (kernel/softirq.c:308 (discriminator 1))
[ 51.224196][ C0] Modules linked in: serio_raw floppy
[ 51.224202][ C0] CPU: 0 PID: 14 Comm: ksoftirqd/0 Tainted: G W 5.15.0-rc5-00188-gc5c50fbea904 #1
[ 51.224206][ C0] EIP: __local_bh_disable_ip (kernel/softirq.c:308 (discriminator 1))
[ 51.224211][ C0] Code: 64 ff 0d 54 48 28 c2 75 0a 55 89 e5 e8 20 f6 84 00 5d c3 c3 55 89 e5 56 53 89 d3 64 8b 15 54 48 28 c2 81 e2 00 00 0f 00 74 02 <0f> 0b 9c 5e fa 64 01 1d 54 48 28 c2 64 8b 15 54 48 28 c2 31 da 80
All code
========
0: 64 ff 0d 54 48 28 c2 decl %fs:-0x3dd7b7ac(%rip) # 0xffffffffc228485b
7: 75 0a jne 0x13
9: 55 push %rbp
a: 89 e5 mov %esp,%ebp
c: e8 20 f6 84 00 callq 0x84f631
11: 5d pop %rbp
12: c3 retq
13: c3 retq
14: 55 push %rbp
15: 89 e5 mov %esp,%ebp
17: 56 push %rsi
18: 53 push %rbx
19: 89 d3 mov %edx,%ebx
1b: 64 8b 15 54 48 28 c2 mov %fs:-0x3dd7b7ac(%rip),%edx # 0xffffffffc2284876
22: 81 e2 00 00 0f 00 and $0xf0000,%edx
28: 74 02 je 0x2c
2a:* 0f 0b ud2 <-- trapping instruction
2c: 9c pushfq
2d: 5e pop %rsi
2e: fa cli
2f: 64 01 1d 54 48 28 c2 add %ebx,%fs:-0x3dd7b7ac(%rip) # 0xffffffffc228488a
36: 64 8b 15 54 48 28 c2 mov %fs:-0x3dd7b7ac(%rip),%edx # 0xffffffffc2284891
3d: 31 da xor %ebx,%edx
3f: 80 .byte 0x80
Code starting with the faulting instruction
===========================================
0: 0f 0b ud2
2: 9c pushfq
3: 5e pop %rsi
4: fa cli
5: 64 01 1d 54 48 28 c2 add %ebx,%fs:-0x3dd7b7ac(%rip) # 0xffffffffc2284860
c: 64 8b 15 54 48 28 c2 mov %fs:-0x3dd7b7ac(%rip),%edx # 0xffffffffc2284867
13: 31 da xor %ebx,%edx
15: 80 .byte 0x80
[ 51.224214][ C0] EAX: c10c59f5 EBX: 00000200 ECX: 7ffffe00 EDX: 000f0000
[ 51.224216][ C0] ESI: f5e41070 EDI: 00000005 EBP: c30d1ec0 ESP: c30d1eb8
[ 51.224218][ C0] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 EFLAGS: 00010206
[ 51.224223][ C0] CR0: 80050033 CR2: 0056fd78 CR3: 023d5000 CR4: 000406d0
[ 51.224225][ C0] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 51.224226][ C0] DR6: fffe0ff0 DR7: 00000400
[ 51.224228][ C0] Call Trace:
[ 51.224231][ C0] rcu_do_batch (kernel/rcu/tree.c:2497)
[ 51.224242][ C0] rcu_core (kernel/rcu/tree.c:2747)
[ 51.224247][ C0] rcu_core_si (kernel/rcu/tree.c:2757)
[ 51.224250][ C0] __do_softirq (arch/x86/include/asm/atomic.h:29 include/linux/atomic/atomic-instrumented.h:28 include/linux/jump_label.h:266 include/linux/jump_label.h:276 include/trace/events/irq.h:142 kernel/softirq.c:559)
[ 51.224258][ C0] run_ksoftirqd (kernel/softirq.c:412 kernel/softirq.c:921)
[ 51.224262][ C0] smpboot_thread_fn (kernel/smpboot.c:164 (discriminator 3))
[ 51.224268][ C0] kthread (kernel/kthread.c:329)
[ 51.224274][ C0] ? smpboot_register_percpu_thread (kernel/smpboot.c:107)
[ 51.224277][ C0] ? set_kthread_struct (kernel/kthread.c:272)
[ 51.224281][ C0] ret_from_fork (arch/x86/entry/entry_32.S:775)
[ 51.224292][ C0] irq event stamp: 33620
[ 51.224293][ C0] hardirqs last enabled at (33622): vprintk_store (arch/x86/include/asm/irqflags.h:29 (discriminator 3) arch/x86/include/asm/irqflags.h:70 (discriminator 3) arch/x86/include/asm/irqflags.h:132 (discriminator 3) kernel/printk/printk.c:2205 (discriminator 3))
[ 51.224298][ C0] hardirqs last disabled at (33623): vprintk_store (arch/x86/include/asm/preempt.h:27 (discriminator 3) kernel/printk/printk.c:1961 (discriminator 3) kernel/printk/printk.c:2124 (discriminator 3))
[ 51.224301][ C0] softirqs last enabled at (33390): __do_softirq (arch/x86/include/asm/preempt.h:27 kernel/softirq.c:402 kernel/softirq.c:587)
hwclock: can't o[ 51.224303][ C0] softirqs last disabled at (33393): run_ksoftirqd (kernel/softirq.c:412 kernel/softirq.c:921)
pen '/dev/misc/r[ 51.224307][ C0] ---[ end trace 6182f73633fd09b3 ]---
tc': No such fil[ 51.224336][ T14] softirq: huh, entered softirq 9 RCU (ptrval) with preempt_count 00000100, exited with 00000000?
/lkp/lkp/src/bin/lkp-setup-rootfs: line 78: can't create /sys/devices/system/cpu/microcode/reload: nonexistent directory
To reproduce:
# build kernel
cd linux
cp config-5.15.0-rc5-00188-gc5c50fbea904 .config
make HOSTCC=gcc-9 CC=gcc-9 ARCH=i386 olddefconfig prepare modules_prepare bzImage
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
# 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
6 months, 2 weeks
Re: [mm,hugetlb] 52edddc18d: BUG:kernel_NULL_pointer_dereference,address
by zhangyiru (A)
The latest version has fixed it.
https://lore.kernel.org/linux-mm/d14533d8-eb49-9ac0-2f46-a1c452e82f0e@ora...
--------------------------------
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 52edddc18d9541ad72912b32edd74baacc94d504 ("mm,hugetlb: remove mlock ulimit for SHM_HUGETLB")
url: https://github.com/0day-ci/linux/commits/UPDATE-20211101-211012/zhangyiru...
in testcase: trinity
version: trinity-x86_64-eadc80ef-1_20211030
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-x86_64 -enable-kvm -cpu Icelake-Server -smp 4 -m 16G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+---------------------------------------------+------------+------------+
| | 5d6ab0bb40 | 52edddc18d
| |
+---------------------------------------------+------------+------------+
| boot_failures | 0 | 14 |
| BUG:kernel_NULL_pointer_dereference,address | 0 | 14 |
| Oops:#[##] | 0 | 14 |
| RIP:hugetlb_file_setup | 0 | 14 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 14 |
+---------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang(a)intel.com>
[ 34.994042][ T489] BUG: kernel NULL pointer dereference, address: 0000000000000000
[ 34.995701][ T489] #PF: supervisor write access in kernel mode
[ 34.997024][ T489] #PF: error_code(0x0002) - not-present page
[ 34.998633][ T489] PGD 0 P4D 0
[ 34.999390][ T489] Oops: 0002 [#1] SMP PTI
[ 35.000296][ T489] CPU: 3 PID: 489 Comm: trinity Not tainted 5.15.0-rc4-00272-g52edddc18d95 #1
[ 35.005614][ T489] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
[ 35.010568][ T489] RIP: 0010:hugetlb_file_setup (fs/hugetlbfs/inode.c:1467) [ 35.013084][ T489] Code: 44 89 ef e8 c0 78 c2 ff 85 c0 0f 85 79 ff ff ff 65 4c 8b 2c 25 00 6d 01 00 49 8b 85 50 0b 00 00 48 89 ef 48 8b b0 88 00 00 00 <48> 89 34 25 00 00 00 00 e8 91 72 e1 ff 85 c0 0f 84 4a ff ff ff 80 All code ========
0: 44 89 ef mov %r13d,%edi
3: e8 c0 78 c2 ff callq 0xffffffffffc278c8
8: 85 c0 test %eax,%eax
a: 0f 85 79 ff ff ff jne 0xffffffffffffff89
10: 65 4c 8b 2c 25 00 6d mov %gs:0x16d00,%r13
17: 01 00
19: 49 8b 85 50 0b 00 00 mov 0xb50(%r13),%rax
20: 48 89 ef mov %rbp,%rdi
23: 48 8b b0 88 00 00 00 mov 0x88(%rax),%rsi
2a:* 48 89 34 25 00 00 00 mov %rsi,0x0 <-- trapping instruction
31: 00
32: e8 91 72 e1 ff callq 0xffffffffffe172c8
37: 85 c0 test %eax,%eax
39: 0f 84 4a ff ff ff je 0xffffffffffffff89
3f: 80 .byte 0x80
Code starting with the faulting instruction ===========================================
0: 48 89 34 25 00 00 00 mov %rsi,0x0
7: 00
8: e8 91 72 e1 ff callq 0xffffffffffe1729e
d: 85 c0 test %eax,%eax
f: 0f 84 4a ff ff ff je 0xffffffffffffff5f
15: 80 .byte 0x80
[ 35.019745][ T489] RSP: 0018:ffffa3814090be08 EFLAGS: 00010246
[ 35.022324][ T489] RAX: ffff8fa32afcfc00 RBX: 0000000000000000 RCX: 0000000000000000
[ 35.025307][ T489] RDX: 0000000000000000 RSI: ffff8fa08e346a80 RDI: 0000000000200000
[ 35.028263][ T489] RBP: 0000000000200000 R08: 0000000000000000 R09: ffffffffbd050840
[ 35.031280][ T489] R10: 0000000000000000 R11: ffffa3814090be5f R12: ffffa3814090be53
[ 35.034266][ T489] R13: ffff8fa08e2f4f80 R14: ffffffffffffffed R15: ffff8fa32c71fa60
[ 35.037260][ T489] FS: 00007fbbcfe28740(0000) GS:ffff8fa32fd80000(0000) knlGS:0000000000000000
[ 35.040474][ T489] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 35.043137][ T489] CR2: 0000000000000000 CR3: 000000012b2b2003 CR4: 0000000000170ee0
[ 35.046127][ T489] Call Trace:
[ 35.048169][ T489] newseg (ipc/shm.c:649) [ 35.050413][ T489] ipcget (ipc/util.c:346 ipc/util.c:677) [ 35.052608][ T489] __x64_sys_shmget (ipc/shm.c:738) [ 35.054812][ T489] do_syscall_64 (arch/x86/entry/common.c:50 arch/x86/entry/common.c:80) [ 35.057080][ T489] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:113)
[ 35.059767][ T489] RIP: 0033:0x7fbbcff473aa
[ 35.062030][ T489] Code: 48 8b 15 e9 fa 0b 00 f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 45 31 d2 b8 1d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 8b 15 b1 fa 0b 00 f7 All code ========
0: 48 8b 15 e9 fa 0b 00 mov 0xbfae9(%rip),%rdx # 0xbfaf0
7: f7 d8 neg %eax
9: 64 89 02 mov %eax,%fs:(%rdx)
c: b8 ff ff ff ff mov $0xffffffff,%eax
11: c3 retq
12: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
19: 00 00 00
1c: 0f 1f 40 00 nopl 0x0(%rax)
20: 45 31 d2 xor %r10d,%r10d
23: b8 1d 00 00 00 mov $0x1d,%eax
28: 0f 05 syscall
2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction
30: 77 06 ja 0x38
32: c3 retq
33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
38: 48 8b 15 b1 fa 0b 00 mov 0xbfab1(%rip),%rdx # 0xbfaf0
3f: f7 .byte 0xf7
Code starting with the faulting instruction ===========================================
0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax
6: 77 06 ja 0xe
8: c3 retq
9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
e: 48 8b 15 b1 fa 0b 00 mov 0xbfab1(%rip),%rdx # 0xbfac6
15: f7 .byte 0xf7
[ 35.069068][ T489] RSP: 002b:00007ffefaf95d28 EFLAGS: 00000246 ORIG_RAX: 000000000000001d
[ 35.072124][ T489] RAX: ffffffffffffffda RBX: 0000000054000fb0 RCX: 00007fbbcff473aa
[ 35.075081][ T489] RDX: 0000000054000fb0 RSI: 0000000000001000 RDI: 0000000000000000
[ 35.078026][ T489] RBP: 00007ffefaf95d34 R08: 00007fbbd000722c R09: 00007fbbd0007240
[ 35.081029][ T489] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[ 35.084324][ T489] R13: 00007ffefaf95d48 R14: 0000000000008000 R15: 00005562b0ca1340
[ 35.087371][ T489] Modules linked in: ipmi_devintf ipmi_msghandler sr_mod cdrom sg ppdev intel_rapl_msr bochs ata_generic drm_vram_helper drm_ttm_helper intel_rapl_common ttm drm_kms_helper crct10dif_pclmul parport_pc crc32_pclmul syscopyarea crc32c_intel sysfillrect parport sysimgblt ghash_clmulni_intel fb_sys_fops joydev drm serio_raw ata_piix i2c_piix4 libata ip_tables
[ 35.098592][ T489] CR2: 0000000000000000
[ 35.101006][ T489] ---[ end trace 0573caf1f1c4de1d ]---
[ 35.114090][ T489] RIP: 0010:hugetlb_file_setup (fs/hugetlbfs/inode.c:1467) [ 35.156471][ T489] Code: 44 89 ef e8 c0 78 c2 ff 85 c0 0f 85 79 ff ff ff 65 4c 8b 2c 25 00 6d 01 00 49 8b 85 50 0b 00 00 48 89 ef 48 8b b0 88 00 00 00 <48> 89 34 25 00 00 00 00 e8 91 72 e1 ff 85 c0 0f 84 4a ff ff ff 80 All code ========
0: 44 89 ef mov %r13d,%edi
3: e8 c0 78 c2 ff callq 0xffffffffffc278c8
8: 85 c0 test %eax,%eax
a: 0f 85 79 ff ff ff jne 0xffffffffffffff89
10: 65 4c 8b 2c 25 00 6d mov %gs:0x16d00,%r13
17: 01 00
19: 49 8b 85 50 0b 00 00 mov 0xb50(%r13),%rax
20: 48 89 ef mov %rbp,%rdi
23: 48 8b b0 88 00 00 00 mov 0x88(%rax),%rsi
2a:* 48 89 34 25 00 00 00 mov %rsi,0x0 <-- trapping instruction
31: 00
32: e8 91 72 e1 ff callq 0xffffffffffe172c8
37: 85 c0 test %eax,%eax
39: 0f 84 4a ff ff ff je 0xffffffffffffff89
3f: 80 .byte 0x80
Code starting with the faulting instruction ===========================================
0: 48 89 34 25 00 00 00 mov %rsi,0x0
7: 00
8: e8 91 72 e1 ff callq 0xffffffffffe1729e
d: 85 c0 test %eax,%eax
f: 0f 84 4a ff ff ff je 0xffffffffffffff5f
15: 80 .byte 0x80
To reproduce:
# build kernel
cd linux
cp config-5.15.0-rc4-00272-g52edddc18d95 .config
make HOSTCC=gcc-9 CC=gcc-9 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
# 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
6 months, 2 weeks
[nvme] f9c499bbbf: nvme nvme0: Identify Controller failed (16641)
by kernel test robot
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: f9c499bbbf603389abad60d1931c16b2f96dee06 ("[PATCH 1/2] nvme: move command clear into the various setup helpers")
url: https://github.com/0day-ci/linux/commits/Jens-Axboe/nvme-move-command-cle...
base: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git 519d81956ee277b4419c723adfb154603c2565ba
patch link: https://lore.kernel.org/linux-block/20211018124934.235658-2-axboe@kernel.dk
in testcase: will-it-scale
version: will-it-scale-x86_64-a34a85c-1_20211029
with following parameters:
nr_task: 50%
mode: process
test: readseek1
cpufreq_governor: performance
ucode: 0x700001e
test-description: Will It Scale takes a testcase and runs it from 1 through to n parallel copies to see if the testcase will scale. It builds both a process and threads based test in order to see any differences between the two.
test-url: https://github.com/antonblanchard/will-it-scale
on test machine: 144 threads 4 sockets Intel(R) Xeon(R) Gold 5318H CPU @ 2.50GHz with 128G 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(a)intel.com>
[ 38.907274][ T868] nvme nvme0: pci function 0000:24:00.0
[ 38.924627][ T1103] scsi host0: ahci
0m.
[ 38.948010][ T773] nvme nvme0: Identify Controller failed (16641)
[ 38.951220][ T1103] scsi host1: ahci
[ 38.954193][ T773] nvme nvme0: Removing after probe failure status: -5
To reproduce:
# build kernel with attached config file
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
6 months, 2 weeks
[mm,hugetlb] 52edddc18d: BUG:kernel_NULL_pointer_dereference,address
by kernel test robot
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 52edddc18d9541ad72912b32edd74baacc94d504 ("mm,hugetlb: remove mlock ulimit for SHM_HUGETLB")
url: https://github.com/0day-ci/linux/commits/UPDATE-20211101-211012/zhangyiru...
in testcase: trinity
version: trinity-x86_64-eadc80ef-1_20211030
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-x86_64 -enable-kvm -cpu Icelake-Server -smp 4 -m 16G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+---------------------------------------------+------------+------------+
| | 5d6ab0bb40 | 52edddc18d |
+---------------------------------------------+------------+------------+
| boot_failures | 0 | 14 |
| BUG:kernel_NULL_pointer_dereference,address | 0 | 14 |
| Oops:#[##] | 0 | 14 |
| RIP:hugetlb_file_setup | 0 | 14 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 14 |
+---------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang(a)intel.com>
[ 34.994042][ T489] BUG: kernel NULL pointer dereference, address: 0000000000000000
[ 34.995701][ T489] #PF: supervisor write access in kernel mode
[ 34.997024][ T489] #PF: error_code(0x0002) - not-present page
[ 34.998633][ T489] PGD 0 P4D 0
[ 34.999390][ T489] Oops: 0002 [#1] SMP PTI
[ 35.000296][ T489] CPU: 3 PID: 489 Comm: trinity Not tainted 5.15.0-rc4-00272-g52edddc18d95 #1
[ 35.005614][ T489] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
[ 35.010568][ T489] RIP: 0010:hugetlb_file_setup (fs/hugetlbfs/inode.c:1467)
[ 35.013084][ T489] Code: 44 89 ef e8 c0 78 c2 ff 85 c0 0f 85 79 ff ff ff 65 4c 8b 2c 25 00 6d 01 00 49 8b 85 50 0b 00 00 48 89 ef 48 8b b0 88 00 00 00 <48> 89 34 25 00 00 00 00 e8 91 72 e1 ff 85 c0 0f 84 4a ff ff ff 80
All code
========
0: 44 89 ef mov %r13d,%edi
3: e8 c0 78 c2 ff callq 0xffffffffffc278c8
8: 85 c0 test %eax,%eax
a: 0f 85 79 ff ff ff jne 0xffffffffffffff89
10: 65 4c 8b 2c 25 00 6d mov %gs:0x16d00,%r13
17: 01 00
19: 49 8b 85 50 0b 00 00 mov 0xb50(%r13),%rax
20: 48 89 ef mov %rbp,%rdi
23: 48 8b b0 88 00 00 00 mov 0x88(%rax),%rsi
2a:* 48 89 34 25 00 00 00 mov %rsi,0x0 <-- trapping instruction
31: 00
32: e8 91 72 e1 ff callq 0xffffffffffe172c8
37: 85 c0 test %eax,%eax
39: 0f 84 4a ff ff ff je 0xffffffffffffff89
3f: 80 .byte 0x80
Code starting with the faulting instruction
===========================================
0: 48 89 34 25 00 00 00 mov %rsi,0x0
7: 00
8: e8 91 72 e1 ff callq 0xffffffffffe1729e
d: 85 c0 test %eax,%eax
f: 0f 84 4a ff ff ff je 0xffffffffffffff5f
15: 80 .byte 0x80
[ 35.019745][ T489] RSP: 0018:ffffa3814090be08 EFLAGS: 00010246
[ 35.022324][ T489] RAX: ffff8fa32afcfc00 RBX: 0000000000000000 RCX: 0000000000000000
[ 35.025307][ T489] RDX: 0000000000000000 RSI: ffff8fa08e346a80 RDI: 0000000000200000
[ 35.028263][ T489] RBP: 0000000000200000 R08: 0000000000000000 R09: ffffffffbd050840
[ 35.031280][ T489] R10: 0000000000000000 R11: ffffa3814090be5f R12: ffffa3814090be53
[ 35.034266][ T489] R13: ffff8fa08e2f4f80 R14: ffffffffffffffed R15: ffff8fa32c71fa60
[ 35.037260][ T489] FS: 00007fbbcfe28740(0000) GS:ffff8fa32fd80000(0000) knlGS:0000000000000000
[ 35.040474][ T489] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 35.043137][ T489] CR2: 0000000000000000 CR3: 000000012b2b2003 CR4: 0000000000170ee0
[ 35.046127][ T489] Call Trace:
[ 35.048169][ T489] newseg (ipc/shm.c:649)
[ 35.050413][ T489] ipcget (ipc/util.c:346 ipc/util.c:677)
[ 35.052608][ T489] __x64_sys_shmget (ipc/shm.c:738)
[ 35.054812][ T489] do_syscall_64 (arch/x86/entry/common.c:50 arch/x86/entry/common.c:80)
[ 35.057080][ T489] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:113)
[ 35.059767][ T489] RIP: 0033:0x7fbbcff473aa
[ 35.062030][ T489] Code: 48 8b 15 e9 fa 0b 00 f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 45 31 d2 b8 1d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 8b 15 b1 fa 0b 00 f7
All code
========
0: 48 8b 15 e9 fa 0b 00 mov 0xbfae9(%rip),%rdx # 0xbfaf0
7: f7 d8 neg %eax
9: 64 89 02 mov %eax,%fs:(%rdx)
c: b8 ff ff ff ff mov $0xffffffff,%eax
11: c3 retq
12: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
19: 00 00 00
1c: 0f 1f 40 00 nopl 0x0(%rax)
20: 45 31 d2 xor %r10d,%r10d
23: b8 1d 00 00 00 mov $0x1d,%eax
28: 0f 05 syscall
2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction
30: 77 06 ja 0x38
32: c3 retq
33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
38: 48 8b 15 b1 fa 0b 00 mov 0xbfab1(%rip),%rdx # 0xbfaf0
3f: f7 .byte 0xf7
Code starting with the faulting instruction
===========================================
0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax
6: 77 06 ja 0xe
8: c3 retq
9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
e: 48 8b 15 b1 fa 0b 00 mov 0xbfab1(%rip),%rdx # 0xbfac6
15: f7 .byte 0xf7
[ 35.069068][ T489] RSP: 002b:00007ffefaf95d28 EFLAGS: 00000246 ORIG_RAX: 000000000000001d
[ 35.072124][ T489] RAX: ffffffffffffffda RBX: 0000000054000fb0 RCX: 00007fbbcff473aa
[ 35.075081][ T489] RDX: 0000000054000fb0 RSI: 0000000000001000 RDI: 0000000000000000
[ 35.078026][ T489] RBP: 00007ffefaf95d34 R08: 00007fbbd000722c R09: 00007fbbd0007240
[ 35.081029][ T489] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[ 35.084324][ T489] R13: 00007ffefaf95d48 R14: 0000000000008000 R15: 00005562b0ca1340
[ 35.087371][ T489] Modules linked in: ipmi_devintf ipmi_msghandler sr_mod cdrom sg ppdev intel_rapl_msr bochs ata_generic drm_vram_helper drm_ttm_helper intel_rapl_common ttm drm_kms_helper crct10dif_pclmul parport_pc crc32_pclmul syscopyarea crc32c_intel sysfillrect parport sysimgblt ghash_clmulni_intel fb_sys_fops joydev drm serio_raw ata_piix i2c_piix4 libata ip_tables
[ 35.098592][ T489] CR2: 0000000000000000
[ 35.101006][ T489] ---[ end trace 0573caf1f1c4de1d ]---
[ 35.114090][ T489] RIP: 0010:hugetlb_file_setup (fs/hugetlbfs/inode.c:1467)
[ 35.156471][ T489] Code: 44 89 ef e8 c0 78 c2 ff 85 c0 0f 85 79 ff ff ff 65 4c 8b 2c 25 00 6d 01 00 49 8b 85 50 0b 00 00 48 89 ef 48 8b b0 88 00 00 00 <48> 89 34 25 00 00 00 00 e8 91 72 e1 ff 85 c0 0f 84 4a ff ff ff 80
All code
========
0: 44 89 ef mov %r13d,%edi
3: e8 c0 78 c2 ff callq 0xffffffffffc278c8
8: 85 c0 test %eax,%eax
a: 0f 85 79 ff ff ff jne 0xffffffffffffff89
10: 65 4c 8b 2c 25 00 6d mov %gs:0x16d00,%r13
17: 01 00
19: 49 8b 85 50 0b 00 00 mov 0xb50(%r13),%rax
20: 48 89 ef mov %rbp,%rdi
23: 48 8b b0 88 00 00 00 mov 0x88(%rax),%rsi
2a:* 48 89 34 25 00 00 00 mov %rsi,0x0 <-- trapping instruction
31: 00
32: e8 91 72 e1 ff callq 0xffffffffffe172c8
37: 85 c0 test %eax,%eax
39: 0f 84 4a ff ff ff je 0xffffffffffffff89
3f: 80 .byte 0x80
Code starting with the faulting instruction
===========================================
0: 48 89 34 25 00 00 00 mov %rsi,0x0
7: 00
8: e8 91 72 e1 ff callq 0xffffffffffe1729e
d: 85 c0 test %eax,%eax
f: 0f 84 4a ff ff ff je 0xffffffffffffff5f
15: 80 .byte 0x80
To reproduce:
# build kernel
cd linux
cp config-5.15.0-rc4-00272-g52edddc18d95 .config
make HOSTCC=gcc-9 CC=gcc-9 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
# 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
6 months, 2 weeks