[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200613141933.GO12456@shao2-debian>
Date: Sat, 13 Jun 2020 22:19:33 +0800
From: kernel test robot <rong.a.chen@...el.com>
To: Mike Kravetz <mike.kravetz@...cle.com>
Cc: linux-mm@...ck.org, linux-fsdevel@...r.kernel.org,
overlayfs <linux-unionfs@...r.kernel.org>,
linux-kernel@...r.kernel.org, Al Viro <viro@...iv.linux.org.uk>,
Miklos Szeredi <miklos@...redi.hu>,
Matthew Wilcox <willy@...radead.org>,
Colin Walters <walters@...bum.org>,
Andrew Morton <akpm@...ux-foundation.org>,
syzbot <syzbot+d6ec23007e951dadf3de@...kaller.appspotmail.com>,
syzkaller-bugs <syzkaller-bugs@...glegroups.com>,
Mike Kravetz <mike.kravetz@...cle.com>, lkp@...ts.01.org
Subject: [hugetlb] 5156c6c1b9: INFO:trying_to_register_non-static_key
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 5156c6c1b9313a42d1b0c50d287b083c326d1c3d ("[PATCH v4 1/2] hugetlb: use f_mode & FMODE_HUGETLBFS to identify hugetlbfs files")
url: https://github.com/0day-ci/linux/commits/Mike-Kravetz/hugetlb-use-f_mode-FMODE_HUGETLBFS-to-identify-hugetlbfs-files/20200612-092931
base: https://git.kernel.org/cgit/linux/kernel/git/mszeredi/vfs.git overlayfs-next
in testcase: trinity
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 SandyBridge -smp 2 -m 16G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+----------------------------------------------------------------------------+------------+------------+
| | 2068cf7dfb | 5156c6c1b9 |
+----------------------------------------------------------------------------+------------+------------+
| boot_successes | 2 | 4 |
| boot_failures | 0 | 6 |
| INFO:trying_to_register_non-static_key | 0 | 4 |
| BUG:kernel_hang_in_test_stage | 0 | 3 |
| INFO:rcu_preempt_detected_stalls_on_CPUs/tasks | 0 | 1 |
| RIP:native_queued_spin_lock_slowpath | 0 | 1 |
| RIP:mem_cgroup_throttle_swaprate | 0 | 1 |
| BUG:soft_lockup-CPU##stuck_for#s![kworker/u4:#:#] | 0 | 1 |
| RIP:smp_call_function_single | 0 | 1 |
| Kernel_panic-not_syncing:softlockup:hung_tasks | 0 | 1 |
| Kernel_panic-not_syncing:VFS:Unable_to_mount_root_fs_on_unknown-block(#,#) | 0 | 2 |
+----------------------------------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <rong.a.chen@...el.com>
[ 89.031987] INFO: trying to register non-static key.
[ 89.036779] the code is fine but needs lockdep annotation.
[ 89.038943] turning off the locking correctness validator.
[ 89.041071] CPU: 0 PID: 761 Comm: trinity-c4 Not tainted 5.7.0-rc2-00031-g5156c6c1b9313 #1
[ 89.045916] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
[ 89.048728] Call Trace:
[ 89.050420] dump_stack+0x8f/0xd0
[ 89.052122] register_lock_class+0x6fd/0x710
[ 89.053975] ? lock_acquire+0xad/0x390
[ 89.055680] ? __might_fault+0x36/0x80
[ 89.057371] __lock_acquire+0x56/0xa90
[ 89.059064] lock_acquire+0xad/0x390
[ 89.060704] ? shm_add_rss_swap+0x2e/0x90
[ 89.062562] ? shmctl_shm_info+0x85/0x160
[ 89.064436] _raw_spin_lock_irq+0x3b/0x50
[ 89.066211] ? shm_add_rss_swap+0x2e/0x90
[ 89.068084] shm_add_rss_swap+0x2e/0x90
[ 89.069967] shmctl_shm_info+0xdf/0x160
[ 89.071535] ksys_shmctl+0x12f/0x1a0
[ 89.073473] ? rcu_read_lock_sched_held+0x52/0x90
[ 89.075356] ? syscall_trace_enter+0x31c/0x350
[ 89.077151] ? trace_hardirqs_off_caller+0x3f/0x100
[ 89.079011] ? do_syscall_64+0x1c/0xa0
[ 89.080676] do_syscall_64+0x5c/0xa0
[ 89.082304] entry_SYSCALL_64_after_hwframe+0x49/0xb3
[ 89.086332] RIP: 0033:0x463519
[ 89.087853] Code: 00 f3 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db 59 00 00 c3 66 2e 0f 1f 84 00 00 00 00
[ 89.093621] RSP: 002b:00007ffd415ce978 EFLAGS: 00000246 ORIG_RAX: 000000000000001f
[ 89.096196] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 0000000000463519
[ 89.098789] RDX: 0000000000000000 RSI: 000000000000000e RDI: 0000000000000800
[ 89.101316] RBP: 00007fe46da60000 R08: 00000000000000fa R09: 00000000afafafaf
[ 89.103974] R10: 0000000000080000 R11: 0000000000000246 R12: 0000000000000002
[ 89.106517] R13: 00007fe46da60058 R14: 00000000013d0850 R15: 00007fe46da60000
[ 1040.151411] hrtimer: interrupt took 57997825 ns
BUG: kernel hang in test stage
Elapsed time: 3480
qemu-img create -f qcow2 disk-vm-snb-165-0 256G
qemu-img create -f qcow2 disk-vm-snb-165-1 256G
qemu-img create -f qcow2 disk-vm-snb-165-2 256G
qemu-img create -f qcow2 disk-vm-snb-165-3 256G
qemu-img create -f qcow2 disk-vm-snb-165-4 256G
qemu-img create -f qcow2 disk-vm-snb-165-5 256G
qemu-img create -f qcow2 disk-vm-snb-165-6 256G
kvm=(
qemu-system-x86_64
-enable-kvm
-cpu SandyBridge
-kernel $kernel
-initrd initrd-vm-snb-165.cgz
-m 8192
-smp 2
-device e1000,netdev=net0
-netdev user,id=net0,hostfwd=tcp::32032-:22
-boot order=nc
-no-reboot
-watchdog i6300esb
-watchdog-action debug
-rtc base=localtime
-drive file=disk-vm-snb-165-0,media=disk,if=virtio
-drive file=disk-vm-snb-165-1,media=disk,if=virtio
-drive file=disk-vm-snb-165-2,media=disk,if=virtio
-drive file=disk-vm-snb-165-3,media=disk,if=virtio
-drive file=disk-vm-snb-165-4,media=disk,if=virtio
-drive file=disk-vm-snb-165-5,media=disk,if=virtio
-drive file=disk-vm-snb-165-6,media=disk,if=virtio
-serial stdio
-display none
-monitor null
)
append=(
ip=::::vm-snb-165::dhcp
root=/dev/ram0
user=lkp
job=/job-script
ARCH=x86_64
kconfig=x86_64-rhel-7.6-kselftests
branch=linux-devel/devel-catchup-202006120942
commit=5156c6c1b9313a42d1b0c50d287b083c326d1c3d
BOOT_IMAGE=/pkg/linux/x86_64-rhel-7.6-kselftests/gcc-9/5156c6c1b9313a42d1b0c50d287b083c326d1c3d/vmlinuz-5.7.0-rc2-00031-g5156c6c1b9313
max_uptime=1500
RESULT_ROOT=/result/trinity/300s/vm-snb/yocto-x86_64-minimal-20190520.cgz/x86_64-rhel-7.6-kselftests/gcc-9/5156c6c1b9313a42d1b0c50d287b083c326d1c3d/3
result_service=tmpfs
selinux=0
debug
apic=debug
sysrq_always_enabled
rcupdate.rcu_cpu_stall_timeout=100
net.ifnames=0
printk.devkmsg=on
panic=-1
softlockup_panic=1
nmi_watchdog=panic
oops=panic
load_ramdisk=2
prompt_ramdisk=0
drbd.minor_count=8
systemd.log_level=err
To reproduce:
# build kernel
cd linux
cp config-5.7.0-rc2-00031-g5156c6c1b9313 .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
Thanks,
Rong Chen
View attachment "config-5.7.0-rc2-00031-g5156c6c1b9313" of type "text/plain" (205175 bytes)
View attachment "job-script" of type "text/plain" (4421 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (15264 bytes)
Powered by blists - more mailing lists