Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 25d95d0623751d029c3177527d44563040ae828b ("sched: Make
migrate_disable/enable() independent of RT")
https://git.kernel.org/cgit/linux/kernel/git/tglx/devel.git highmem
in testcase: boot
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):
+-------------------------------------------------------+------------+------------+
| | c321556668 | 25d95d0623 |
+-------------------------------------------------------+------------+------------+
| boot_successes | 4 | 0 |
| boot_failures | 0 | 4 |
| BUG:assuming_atomic_context_at_include/linux/filter.h | 0 | 4 |
+-------------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp(a)intel.com>
[ 9.819373] BUG: assuming atomic context at include/linux/filter.h:597
[ 9.820843] in_atomic(): 0, irqs_disabled(): 0, pid: 156, name: (journald)
[ 9.822369] CPU: 1 PID: 156 Comm: (journald) Not tainted 5.9.0-rc6-00010-g25d95d0623751
#1
[ 9.824286] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1
04/01/2014
[ 9.826275] Call Trace:
[ 9.826998] dump_stack+0x57/0x80
[ 9.827909] __cant_sleep.cold+0x68/0x75
[ 9.828932] __seccomp_filter+0x7e/0x680
[ 9.829876] syscall_trace_enter+0x83/0x1e0
[ 9.830892] do_syscall_64+0xf/0x40
[ 9.831719] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 9.832868] RIP: 0033:0x7fc1402c6f59
[ 9.833730] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 73 01
c3 48 8b 0d 07 6f 0c 00 f7 d8 64 89 01 48
[ 9.837478] RSP: 002b:00007ffd5ecb9488 EFLAGS: 00000246 ORIG_RAX: 000000000000013d
[ 9.839240] RAX: ffffffffffffffda RBX: 0000561bf42ee750 RCX: 00007fc1402c6f59
[ 9.840827] RDX: 0000561bf42ee750 RSI: 0000000000000000 RDI: 0000000000000001
[ 9.842247] RBP: 0000561bf434d700 R08: 0000561bf42f5970 R09: 00000000c000003e
[ 9.843799] R10: 0000561bf42f59d0 R11: 0000000000000246 R12: 00007ffd5ecb94e0
[ 9.845242] R13: 00007ffd5ecb94d8 R14: 00007fc1400f7818 R15: 000000000000002c
[ OK ] Started Load Kernel Modules.
Mounting Kernel Configuration File System...
Starting Apply Kernel Variables...
[ OK ] Started Apply Kernel Variables.
[ OK ] Mounted Kernel Configuration File System.
[ OK ] Started Remount Root and Kernel File Systems.
Starting Create System Users...
Starting Load/Save Random Seed...
[ OK ] Started Create System Users.
Starting Create Static Device Nodes in /dev...
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Create Static Device Nodes in /dev.
Starting udev Kernel Device Manager...
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Reached target Local File Systems.
Starting Preprocess NFS configuration...
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started Preprocess NFS configuration.
[ OK ] Reached target NFS client services.
[ OK ] Started Journal Service.
Starting Flush Journal to Persistent Storage...
[ OK ] Started udev Coldplug all Devices.
Starting Helper to synchronize boot up for ifupdown...
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started Helper to synchronize boot up for ifupdown.
Starting Raise network interfaces...
Starting Create Volatile Files and Directories...
[ OK ] Started Raise network interfaces.
[ OK ] Reached target Network.
[ OK ] Started Create Volatile Files and Directories.
Starting Update UTMP about System Boot/Shutdown...
Starting Network Time Synchronization...
Starting RPC bind portmap service...
[ OK ] Started RPC bind portmap service.
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Reached target Remote File Systems (Pre).
[ OK ] Reached target Remote File Systems.
[ OK ] Reached target RPC Port Mapper.
[ 10.337714] piix4_smbus 0000:00:01.3: SMBus Host Controller at 0x700, revision 0
[ 10.450838] libata version 3.00 loaded.
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Initialization.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting LKP bootstrap...
Starting Permit User Sessions...
[ OK ] Started D-Bus System Message Bus.
Starting System Logging Service...
Starting Login Service...
[ 10.531472] parport_pc 00:04: reported by Plug and Play ACPI
Starting /etc/rc.local Compatibility...
[ 10.537909] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
Starting OpenBSD Secure Shell server...
[ OK ] Started Regular background program processing daemon.
Starting LSB: OpenIPMI Driver init script...
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target System Time Synchronized.
[ OK ] Started Daily rotation of log files.
[ OK ] Started Daily apt download activities.
[ OK ] Started Daily apt upgrade and clean activities.
[ OK ] Reached target Timers.
[ OK ] Started System Logging Service.
[ OK ] Started LKP bootstrap.
[ OK ] Started Permit User Sessions.
[ 10.757740] ata_piix 0000:00:01.1: version 2.13
[ 10.820897] BUG: assuming atomic context at include/linux/filter.h:597
[ 10.824958] in_atomic(): 0, irqs_disabled(): 0, pid: 189, name: systemd-udevd
[ 10.826545] CPU: 0 PID: 189 Comm: systemd-udevd Tainted: G W
5.9.0-rc6-00010-g25d95d0623751 #1
[ 10.828636] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1
04/01/2014
[ 10.830631] Call Trace:
[ 10.831348] dump_stack+0x57/0x80
[ 10.832253] __cant_sleep.cold+0x68/0x75
[ 10.833228] __seccomp_filter+0x7e/0x680
[ 10.834143] ? __switch_to_asm+0x42/0x70
[ 10.835154] syscall_trace_enter+0x83/0x1e0
[ 10.836505] do_syscall_64+0xf/0x40
[ 10.837349] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 10.838368] RIP: 0033:0x7f31b4f36fd7
[ 10.839137] Code: 48 83 ec 80 5b 5d 41 5c c3 66 2e 0f 1f 84 00 00 00 00 00 b8 ff ff ff
ff eb d6 e8 e4 07 02 00 0f 1f 40 00 b8 5f 00 00 00 0f 05 <c3> 0f 1f 84 00 00 00 00
00 b8 5a 00 00 00 0f 05 48 3d 01 f0 ff ff
[ 10.842410] RSP: 002b:00007fff9f8539f8 EFLAGS: 00000206 ORIG_RAX: 000000000000005f
[ 10.843757] RAX: ffffffffffffffda RBX: 0000559f0874b960 RCX: 00007f31b4f36fd7
[ 10.845012] RDX: 00000000000800c2 RSI: 0000559f0874b960 RDI: 0000000000000012
[ 10.846208] RBP: 00007fff9f853a80 R08: 0000000000000016 R09: 0000559f0874b97c
[ 10.847426] R10: 0000000000000180 R11: 0000000000000206 R12: 00007fff9f853a78
[ 10.848608] R13: 00007fff9f853a4f R14: 0000000000000012 R15: 0000000000000006
Starting LSB: Load kernel image with kexec...
[ OK ] Started LSB: Load kernel image with kexec.
[ 10.893602] scsi host0: ata_piix
[ 10.896952] IPMI message handler: version 39.2
[ 10.905583] ipmi device interface
[ OK ] Started Login Service.
LKP: HOSTNAME vm-snb-11, MAC 52:54:00:12:34:56, kernel 5.9.0-rc6-00010-g25d95d0623751 1,
serial console /dev/ttyS0
[ 10.920625] scsi host1: ata_piix
[ 10.921689] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc040 irq 14
[ 10.923123] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc048 irq 15
[ 10.985404] ipmi_si: IPMI System Interface driver
[ 10.986829] ipmi_si: Unable to find any System Interface(s)
[FAILED] Failed to start LSB: OpenIPMI Driver init script.
See 'systemctl status openipmi.service' for details.
[ 11.090976] ata2.01: NODEV after polling detection
[ 11.096434] ata2.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100
[ 11.099079] scsi 1:0:0:0: CD-ROM QEMU QEMU DVD-ROM 2.5+ PQ: 0 ANSI:
5
[ 11.120492] ppdev: user-space parallel port driver
[ 11.193498] scsi 1:0:0:0: Attached scsi generic sg0 type 5
[ 11.261908] sr 1:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray
[ 11.263319] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 11.273346] sr 1:0:0:0: Attached scsi CD-ROM sr0
[ 11.291046] bochs-drm 0000:00:02.0: vgaarb: deactivate vga console
[ 11.302594] Console: switching to colour dummy device 80x25
[ 11.304468] [drm] Found bochs VGA, ID 0xb0c0.
[ 11.305151] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @ 0xfebf0000.
[ 11.309645] [TTM] Zone kernel: Available graphics memory: 4074508 KiB
[ 11.310875] [TTM] Zone dma32: Available graphics memory: 2097152 KiB
[ 11.311998] [TTM] Initializing pool allocator
[ 11.313245] [TTM] Initializing DMA pool allocator
[ 11.314735] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on minor 0
[ 11.319970] fbcon: bochs-drmdrmfb (fb0) is primary device
[ 11.336008] Console: switching to colour frame buffer device 128x48
[ 11.345721] bochs-drm 0000:00:02.0: [drm] fb0: bochs-drmdrmfb frame buffer device
[ 12.108197] BUG: assuming atomic context at include/linux/filter.h:597
[ 12.112588] in_atomic(): 0, irqs_disabled(): 0, pid: 223, name: systemd-logind
[ 12.113809] CPU: 0 PID: 223 Comm: systemd-logind Tainted: G W
5.9.0-rc6-00010-g25d95d0623751 #1
[ 12.113810] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1
04/01/2014
[ 12.113811] Call Trace:
[ 12.113822] dump_stack+0x57/0x80
[ 12.117718] __seccomp_filter+0x7e/0x680
[ 12.118367] ? ep_poll+0x1e9/0x4e0
[ 12.118958] syscall_trace_enter+0x83/0x1e0
[ 12.119783] do_syscall_64+0xf/0x40
[ 12.120371] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 12.121214] RIP: 0033:0x7fc0b76567b4
[ 12.121807] Code: 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b1 0f 1f 80 00 00 00 00 48
8d 05 49 5f 0c 00 8b 00 85 c0 75 13 b8 2f 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 54
c3 0f 1f 00 41 54 41 89 d4 55 48 89 f5 53
[ 12.126243] RSP: 002b:00007ffe31fc6ca8 EFLAGS: 00000246 ORIG_RAX: 000000000000002f
[ 12.127517] RAX: ffffffffffffffda RBX: 000055a169cb2e30 RCX: 00007fc0b76567b4
[ 12.128510] RDX: 0000000040000040 RSI: 00007ffe31fc6ce0 RDI: 000000000000000e
[ 12.129450] RBP: 00007ffe31fc6cd0 R08: 0000000000b69f94 R09: 000000000000000b
[ 12.130617] R10: 00007ffe31fec000 R11: 0000000000000246 R12: 00007ffe31fc6cc8
[ 12.131809] R13: 000055a169cb2e30 R14: 0000000000000000 R15: 0000000000000000
9mPreprocess NFS configuration...
[ OK ] Reached target Host and Network Name Lookups.
[ OK ] Started Preprocess NFS configuration.
Starting NFS status monitor for NFSv2/3 locking....
Starting Notify NFS peers of a restart...
[ OK ] Started Notify NFS peers of a restart.
[ OK ] Started NFS status monitor for NFSv2/3 locking..
[ 12.284556] random: crng init done
[ 12.286119] random: 7 urandom warning(s) missed due to ratelimiting
[ OK ] Started OpenBSD Secure Shell server.
[ 15.538606] BUG: assuming atomic context at include/linux/filter.h:597
[ 15.541153] in_atomic(): 0, irqs_disabled(): 0, pid: 165, name: systemd-udevd
[ 15.543729] CPU: 0 PID: 165 Comm: systemd-udevd Tainted: G W
5.9.0-rc6-00010-g25d95d0623751 #1
[ 15.546685] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1
04/01/2014
[ 15.549225] Call Trace:
[ 15.550836] dump_stack+0x57/0x80
[ 15.552645] __cant_sleep.cold+0x68/0x75
[ 15.554421] __seccomp_filter+0x7e/0x680
[ 15.556343] ? ep_poll+0x1e9/0x4e0
[ 15.558116] syscall_trace_enter+0x83/0x1e0
[ 15.560069] do_syscall_64+0xf/0x40
[ 15.561873] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 15.568005] RIP: 0033:0x7f31b4f37461
[ 15.569862] Code: fe ff ff 50 48 8d 3d fe d0 09 00 e8 e9 03 02 00 66 0f 1f 84 00 00 00
00 00 48 8d 05 99 62 0d 00 8b 00 85 c0 75 13 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 57
c3 66 0f 1f 44 00 00 41 54 49 89 d4 55 48
[ 15.575428] RSP: 002b:00007fff9f853e68 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[ 15.577996] RAX: ffffffffffffffda RBX: 0000559f08744db8 RCX: 00007f31b4f37461
[ 15.580609] RDX: 0000000000000008 RSI: 00007fff9f853e70 RDI: 000000000000000d
[ 15.582964] RBP: 00007fff9f854000 R08: 0000000000eaf7a2 R09: 000000000000000f
[ 15.585537] R10: 00007fff9f9a1000 R11: 0000000000000246 R12: 00007fff9f853e90
[ 15.587966] R13: 0000559f08744da0 R14: 0000000000000001 R15: 00007fff9f853e9c
[ 20.538604] BUG: assuming atomic context at include/linux/filter.h:597
[ 20.541188] in_atomic(): 0, irqs_disabled(): 0, pid: 209, name: systemd-timesyn
[ 20.543554] CPU: 0 PID: 209 Comm: systemd-timesyn Tainted: G W
5.9.0-rc6-00010-g25d95d0623751 #1
[ 20.546364] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1
04/01/2014
[ 20.548822] Call Trace:
[ 20.550416] dump_stack+0x57/0x80
[ 20.552250] __cant_sleep.cold+0x68/0x75
[ 20.554054] __seccomp_filter+0x7e/0x680
[ 20.555920] ? ep_poll+0x1e9/0x4e0
[ 20.557705] syscall_trace_enter+0x83/0x1e0
[ 20.559641] do_syscall_64+0xf/0x40
[ 20.561222] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 20.563248] RIP: 0033:0x7fe472a8f494
[ 20.573230] Code: 66 0f 1f 44 00 00 41 54 49 89 d4 55 48 89 f5 53 89 fb 48 83 ec 10 e8
cb c2 01 00 4c 89 e2 48 89 ee 89 df 41 89 c0 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 38
44 89 c7 48 89 44 24 08 e8 07 c3 01 00 48
[ 20.578771] RSP: 002b:00007fff46f52e10 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[ 20.581396] RAX: ffffffffffffffda RBX: 0000000000000010 RCX: 00007fe472a8f494
[ 20.583703] RDX: 0000000000000008 RSI: 00007fff46f52e40 RDI: 0000000000000010
[ 20.585996] RBP: 00007fff46f52e40 R08: 0000000000000000 R09: 0000000000000014
[ 20.588598] R10: 00007fff46f6a000 R11: 0000000000000246 R12: 0000000000000008
[ 20.590957] R13: 0000000000000001 R14: 00007fff46f52e6c R15: 00007fff46f52e60
[ 23.728449] sysrq: Emergency Sync
[ 23.731860] BUG: assuming atomic context at include/linux/filter.h:597
[ 23.732416] Emergency Sync complete
[ 23.734323] in_atomic(): 0, irqs_disabled(): 0, pid: 156, name: systemd-journal
[ 23.736313] sysrq: Resetting
[
Kboot worker: lkp-worker47
Elapsed time: 60
kvm=(
qemu-system-x86_64
-enable-kvm
-cpu SandyBridge
-kernel $kernel
-initrd initrd-vm-snb-11.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
-serial stdio
-display none
-monitor null
)
append=(
ip=::::vm-snb-11::dhcp
root=/dev/ram0
user=lkp
job=/job-script
ARCH=x86_64
kconfig=x86_64-rhel-8.3
branch=tglx-devel/highmem
commit=25d95d0623751d029c3177527d44563040ae828b
BOOT_IMAGE=/pkg/linux/x86_64-rhel-8.3/gcc-9/25d95d0623751d029c3177527d44563040ae828b/vmlinuz-5.9.0-rc6-00010-g25d95d0623751
max_uptime=600
RESULT_ROOT=/result/boot/1/vm-snb/debian-10.4-x86_64-20200603.cgz/x86_64-rhel-8.3/gcc-9/25d95d0623751d029c3177527d44563040ae828b/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
ignore_loglevel
console=tty0
earlyprintk=ttyS0,115200
console=ttyS0,115200
vga=normal
rw
rcuperf.shutdown=0
watchdog_thresh=60
)
"${kvm[@]}" -append "${append[*]}"
To reproduce:
# build kernel
cd linux
cp config-5.9.0-rc6-00010-g25d95d0623751 .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,
lkp