[selftests/bpf] 84da156938: kernel_selftests.bpf.test_maps.fail
by kernel test robot
FYI, we noticed the following commit (built with gcc-7):
commit: 84da156938373b0f072b4a1394f199949631a081 ("[RFC PATCH bpf-next 8/8] selftests/bpf: switch tests to BTF-defined map definitions")
url: https://github.com/0day-ci/linux/commits/Andrii-Nakryiko/BTF-defined-BPF-...
base: https://git.kernel.org/cgit/linux/kernel/git/bpf/bpf-next.git master
in testcase: kernel_selftests
with following parameters:
group: kselftests-00
test-description: The kernel contains a set of "self tests" under the tools/testing/selftests/ directory. These are intended to be small unit tests to exercise individual code paths in the kernel.
test-url: https://www.kernel.org/doc/Documentation/kselftest.txt
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 4G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <rong.a.chen(a)intel.com>
ok 1 selftests: bpf: test_verifier
# selftests: bpf: test_tag
# test_tag: OK (40945 tests)
ok 2 selftests: bpf: test_tag
# selftests: bpf: test_maps
# libbpf: BTF is required, but is missing or corrupted.
# Failed to load SK_SKB verdict prog
not ok 3 selftests: bpf: test_maps
# selftests: bpf: test_lru_map
# nr_cpus:2
#
# test_lru_sanity0 (map_type:9 map_flags:0x0): Pass
# test_lru_sanity1 (map_type:9 map_flags:0x0): Pass
# test_lru_sanity2 (map_type:9 map_flags:0x0): Pass
# test_lru_sanity3 (map_type:9 map_flags:0x0): Pass
# test_lru_sanity4 (map_type:9 map_flags:0x0): Pass
# test_lru_sanity5 (map_type:9 map_flags:0x0): Pass
# test_lru_sanity7 (map_type:9 map_flags:0x0): Pass
# test_lru_sanity8 (map_type:9 map_flags:0x0): Pass
#
# test_lru_sanity0 (map_type:10 map_flags:0x0): Pass
# test_lru_sanity1 (map_type:10 map_flags:0x0): Pass
# test_lru_sanity2 (map_type:10 map_flags:0x0): Pass
# test_lru_sanity3 (map_type:10 map_flags:0x0): Pass
# test_lru_sanity4 (map_type:10 map_flags:0x0): Pass
# test_lru_sanity5 (map_type:10 map_flags:0x0): Pass
# test_lru_sanity7 (map_type:10 map_flags:0x0): Pass
# test_lru_sanity8 (map_type:10 map_flags:0x0): Pass
#
# test_lru_sanity0 (map_type:9 map_flags:0x2): Pass
# test_lru_sanity4 (map_type:9 map_flags:0x2): Pass
# test_lru_sanity6 (map_type:9 map_flags:0x2): Pass
# test_lru_sanity7 (map_type:9 map_flags:0x2): Pass
# test_lru_sanity8 (map_type:9 map_flags:0x2): Pass
#
# test_lru_sanity0 (map_type:10 map_flags:0x2): Pass
# test_lru_sanity4 (map_type:10 map_flags:0x2): Pass
# test_lru_sanity6 (map_type:10 map_flags:0x2): Pass
# test_lru_sanity7 (map_type:10 map_flags:0x2): Pass
# test_lru_sanity8 (map_type:10 map_flags:0x2): Pass
#
ok 4 selftests: bpf: test_lru_map
# selftests: bpf: test_lpm_map
# test_lpm: OK
ok 5 selftests: bpf: test_lpm_map
# selftests: bpf: test_progs
To reproduce:
# build kernel
cd linux
cp config-5.2.0-rc2-00579-g84da156 .config
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 prepare
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 modules_prepare
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 SHELL=/bin/bash
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 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
3 years, 2 months
[cgroup] b636fd38dc: WARNING:at_kernel/fork.c:#__put_task_struct
by kernel test robot
FYI, we noticed the following commit (built with gcc-7):
commit: b636fd38dc40113f853337a7d2a6885ad23b8811 ("cgroup: Implement css_task_iter_skip()")
https://git.kernel.org/cgit/linux/kernel/git/tj/cgroup.git for-next
in testcase: xfstests
with following parameters:
disk: 4HDD
fs: ext4
test: generic-slow3
test-description: xfstests is a regression test suite for xfs and other files ystems.
test-url: git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 2G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+--------------------------------------------------+------------+------------+
| | 6b115bf58e | b636fd38dc |
+--------------------------------------------------+------------+------------+
| boot_successes | 107 | 252 |
| boot_failures | 998 | 941 |
| BUG:kernel_reboot-without-warning_in_test_stage | 943 | 862 |
| BUG:soft_lockup-CPU##stuck_for#s | 9 | 12 |
| RIP:simple_write_begin | 1 | 1 |
| Kernel_panic-not_syncing:softlockup:hung_tasks | 9 | 12 |
| RIP:__memcpy | 4 | 5 |
| BUG:kernel_hang_in_boot_stage | 44 | 55 |
| BUG:unable_to_handle_page_fault_for_address | 2 | 1 |
| Oops:#[##] | 2 | 9 |
| RIP:compaction_alloc | 2 | |
| Kernel_panic-not_syncing:Fatal_exception | 2 | 10 |
| RIP:inode_init_once | 1 | 1 |
| RIP:clear_page_rep | 2 | 4 |
| WARNING:at_net/sched/sch_generic.c:#dev_watchdog | 1 | 1 |
| RIP:dev_watchdog | 1 | 1 |
| RIP:new_slab | 1 | |
| RIP:kfree | 0 | 1 |
| WARNING:at_kernel/fork.c:#__put_task_struct | 0 | 4 |
| RIP:__put_task_struct | 0 | 4 |
| BUG:kernel_NULL_pointer_dereference,address | 0 | 8 |
| RIP:refcount_dec_not_one | 0 | 4 |
| RIP:__task_pid_nr_ns | 0 | 5 |
| RIP:copy_page | 0 | 1 |
| general_protection_fault:#[##] | 0 | 1 |
| RIP:_raw_spin_lock_irqsave | 0 | 1 |
| BUG:kernel_hang_in_test_stage | 0 | 1 |
| RIP:__add_to_page_cache_locked | 0 | 1 |
+--------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <rong.a.chen(a)intel.com>
[ 180.263004] WARNING: CPU: 0 PID: 1 at kernel/fork.c:721 __put_task_struct+0xf1/0x160
[ 180.271243] Modules linked in: ext4 mbcache jbd2 dm_mod crct10dif_pclmul crc32_pclmul sr_mod crc32c_intel cdrom sg ghash_clmulni_intel ppdev snd_pcm ata_generic pata_acpi snd_timer snd aesni_intel bochs_drm crypto_simd soundcore ttm cryptd ata_piix drm_kms_helper glue_helper libata joydev pcspkr serio_raw syscopyarea sysfillrect sysimgblt fb_sys_fops parport_pc drm i2c_piix4 parport floppy ip_tables
[ 180.290674] CPU: 0 PID: 1 Comm: systemd Not tainted 5.2.0-rc2-00012-gb636fd3 #2
[ 180.294853] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 180.299779] RIP: 0010:__put_task_struct+0xf1/0x160
[ 180.303059] Code: ff 4a 5c 74 40 48 8b 3d 85 52 ea 01 48 89 ee e8 65 70 1e 00 48 89 df e8 6d 90 08 00 85 c0 75 b0 48 89 df 5b 5d e9 bf fe ff ff <0f> 0b 8b 43 20 85 c0 0f 84 25 ff ff ff 0f 0b e9 1e ff ff ff 0f 0b
[ 180.313348] RSP: 0018:ffffafec00327d28 EFLAGS: 00010246
[ 180.317164] RAX: 0000000000000000 RBX: ffff98d0fed705b0 RCX: 0000000000000000
[ 180.321590] RDX: ffffffff8445ef60 RSI: 0000000000000001 RDI: ffff98d0fed705b0
[ 180.326024] RBP: 0000000000000000 R08: ffff98d0fed712a0 R09: ffff98d08fc03c80
[ 180.330338] R10: ffff98d08fc02c00 R11: 0000000000000000 R12: 0000000000000000
[ 180.334917] R13: ffff98d0f67d0000 R14: ffff98d0f67d0000 R15: 0000000000000001
[ 180.339418] FS: 00007f077dded500(0000) GS:ffff98d0eb000000(0000) knlGS:0000000000000000
[ 180.344717] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 180.348466] CR2: 00007fed5b19b5d8 CR3: 000000007f20c000 CR4: 00000000000006f0
[ 180.352873] Call Trace:
[ 180.357757] css_task_iter_next+0x82/0x90
[ 180.361257] pidlist_array_load+0xa9/0x2c0
[ 180.364362] cgroup_pidlist_start+0xe9/0x120
[ 180.367408] kernfs_seq_start+0x4d/0x90
[ 180.370345] seq_read+0xa9/0x3d0
[ 180.373048] vfs_read+0x9b/0x150
[ 180.375795] ksys_read+0xa1/0xe0
[ 180.377689] do_syscall_64+0x5b/0x1e0
[ 180.380360] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 180.383052] RIP: 0033:0x7f077c3b8910
[ 180.385124] Code: b6 fe ff ff 48 8d 3d 0f be 08 00 48 83 ec 08 e8 06 db 01 00 66 0f 1f 44 00 00 83 3d f9 2d 2c 00 00 75 10 b8 00 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 de 9b 01 00 48 89 04 24
[ 180.394386] RSP: 002b:00007ffc14447bf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[ 180.398745] RAX: ffffffffffffffda RBX: 00005643f2a1a090 RCX: 00007f077c3b8910
[ 180.402710] RDX: 0000000000001000 RSI: 00005643f2a482a0 RDI: 0000000000000010
[ 180.406196] RBP: 0000000000000d68 R08: 00007f077c677178 R09: 0000000000001010
[ 180.409180] R10: 00005643f29b5410 R11: 0000000000000246 R12: 00007f077c673440
[ 180.412485] R13: 00007f077c672900 R14: 00000000ffffffff R15: 0000000000000000
[ 180.415663] ---[ end trace 9cef069cafda895a ]---
To reproduce:
# build kernel
cd linux
cp config-5.2.0-rc2-00012-gb636fd3 .config
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 prepare
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 modules_prepare
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 SHELL=/bin/bash
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 bzImage
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz
bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached in this email
Thanks,
Rong Chen
3 years, 2 months
[drivers/cpuidle] be4d068f71: WARNING:suspicious_RCU_usage
by kernel test robot
FYI, we noticed the following commit (built with gcc-7):
commit: be4d068f71e6509913afa59d1174ee59108569e7 ("drivers/cpuidle: add cpuidle-haltpoll driver")
https://github.com/0day-ci/linux UPDATE-20190605-044611/Marcelo-Tosatti/cpuidle-haltpoll-driver-v2/20190604-085852
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 2G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-----------------------------------------------------------------------------------+------------+------------+
| | 94830f188a | be4d068f71 |
+-----------------------------------------------------------------------------------+------------+------------+
| boot_successes | 4 | 0 |
| boot_failures | 0 | 4 |
| WARNING:suspicious_RCU_usage | 0 | 4 |
| drivers/cpuidle/cpuidle-haltpoll-trace.h:#suspicious_rcu_dereference_check()usage | 0 | 4 |
+-----------------------------------------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp(a)intel.com>
[ 23.942552] WARNING: suspicious RCU usage
[ 23.943158] 5.2.0-rc1-00004-gbe4d068 #1 Not tainted
[ 23.943886] -----------------------------
[ 23.944519] drivers/cpuidle/cpuidle-haltpoll-trace.h:54 suspicious rcu_dereference_check() usage!
[ 23.946173]
[ 23.946173] other info that might help us debug this:
[ 23.946173]
[ 23.947451]
[ 23.947451] RCU used illegally from idle CPU!
[ 23.947451] rcu_scheduler_active = 2, debug_locks = 1
[ 23.949050] RCU used illegally from extended quiescent state!
[ 23.949971] no locks held by swapper/0/0.
[ 23.950614]
[ 23.950614] stack backtrace:
[ 23.951309] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.2.0-rc1-00004-gbe4d068 #1
[ 23.952406] Call Trace:
[ 23.952826] dump_stack+0x9a/0xde
[ 23.953342] haltpoll_enter_idle+0x479/0x498
[ 23.954000] cpuidle_enter_state+0xd0/0x31a
[ 23.954661] ? ftrace_likely_update+0x51/0x5c
[ 23.955419] ? ftrace_likely_update+0x51/0x5c
[ 23.956103] cpuidle_enter+0x2f/0x3b
[ 23.956674] do_idle+0x223/0x2e7
[ 23.957171] ? trace_event_define_fields_vector_alloc_managed+0xff/0xff
[ 23.958143] cpu_startup_entry+0x1d/0x1f
[ 23.958765] start_kernel+0x7a9/0x7e1
[ 23.959343] secondary_startup_64+0xb6/0xc0
[ 23.989616]
[ 23.989932] =============================
[ 23.990591] WARNING: suspicious RCU usage
[ 23.991240] 5.2.0-rc1-00004-gbe4d068 #1 Not tainted
[ 23.992013] -----------------------------
[ 23.992672] drivers/cpuidle/cpuidle-haltpoll-trace.h:29 suspicious rcu_dereference_check() usage!
[ 23.994357]
[ 23.994357] other info that might help us debug this:
[ 23.994357]
[ 23.995647]
[ 23.995647] RCU used illegally from idle CPU!
[ 23.995647] rcu_scheduler_active = 2, debug_locks = 1
[ 23.997355] RCU used illegally from extended quiescent state!
[ 23.998280] no locks held by swapper/0/0.
[ 23.998918]
[ 23.998918] stack backtrace:
[ 23.999613] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.2.0-rc1-00004-gbe4d068 #1
[ 24.000810] Call Trace:
[ 24.001228] dump_stack+0x9a/0xde
[ 24.001792] haltpoll_enter_idle+0x260/0x498
[ 24.002484] cpuidle_enter_state+0xd0/0x31a
[ 24.003172] ? ftrace_likely_update+0x51/0x5c
[ 24.003868] ? ftrace_likely_update+0x51/0x5c
[ 24.004581] cpuidle_enter+0x2f/0x3b
[ 24.005141] do_idle+0x223/0x2e7
[ 24.005670] ? trace_event_define_fields_vector_alloc_managed+0xff/0xff
[ 24.006736] cpu_startup_entry+0x1d/0x1f
[ 24.007378] start_kernel+0x7a9/0x7e1
[ 24.007977] secondary_startup_64+0xb6/0xc0
[ 24.135159] IP-Config: Got DHCP answer from 10.0.2.2, my address is 10.0.2.15
[ 24.136408] IP-Config: Complete:
[ 24.137974] device=eth0, hwaddr=52:54:00:12:34:56, ipaddr=10.0.2.15, mask=255.255.255.0, gw=10.0.2.2
[ 24.140083] host=vm-snb-quantal-x86_64-710, domain=, nis-domain=(none)
[ 24.141179] bootserver=10.0.2.2, rootserver=10.0.2.2, rootpath=
[ 24.141183] nameserver0=10.0.2.3
[ 24.147041] Unregister pv shared memory for cpu 0
[ 24.170916] DEBUG_HOTPLUG_CPU0: CPU 0 is now offline
[ 24.193063] Freeing unused kernel image memory: 4016K
[ 24.193972] Write protecting the kernel read-only data: 30720k
[ 24.200275] Freeing unused kernel image memory: 2036K
[ 24.201246] Freeing unused kernel image memory: 80K
[ 24.202715] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 24.203697] rodata_test: all tests were successful
[ 24.204390] Run /init as init process
[ 24.238969] random: init: uninitialized urandom read (12 bytes read)
[ 24.347624] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3
[ 24.873797] random: mountall: uninitialized urandom read (12 bytes read)
LKP: HOSTNAME vm-snb-quantal-x86_64-710, MAC 52:54:00:12:34:56, kernel 5.2.0-rc1-00004-gbe4d068 1, serial console /dev/ttyS0
[ 25.187823] Kernel tests: Boot OK!
[ 25.187833]
[ 25.200608] hostname: the specified hostname is invalid
[ 25.200616]
[ 25.474810] /lkp/lkp/src/bin/run-lkp
[ 25.474819]
[ 25.770881] udevd[363]: starting version 175
[ 25.984983] RESULT_ROOT=/result/trinity/300s/vm-snb-quantal-x86_64/quantal-core-x86_64-2019-04-26.cgz/x86_64-randconfig-a0-06050844/gcc-7/be4d068f71e6509913afa59d1174ee59108569e7/3
[ 25.984993]
[ 26.007136] job=/lkp/jobs/scheduled/vm-snb-quantal-x86_64-710/trinity-300s-quantal-core-x86_64-2019-04-26.cgz-be4d068-20190605-40165-1n2sy7-3.yaml
[ 26.007146]
[ 26.268751] result_service=raw_upload, RESULT_MNT=/inn/result, RESULT_ROOT=/inn/result/trinity/300s/vm-snb-quantal-x86_64/quantal-core-x86_64-2019-04-26.cgz/x86_64-randconfig-a0-06050844/gcc-7/be4d068f71e6509913afa59d1174ee59108569e7/3
[ 26.268761]
[ 26.454639] run-job /lkp/jobs/scheduled/vm-snb-quantal-x86_64-710/trinity-300s-quantal-core-x86_64-2019-04-26.cgz-be4d068-20190605-40165-1n2sy7-3.yaml
[ 26.454649]
[ 27.255453] /usr/bin/wget -q --timeout=1800 --tries=1 --local-encoding=UTF-8 http://inn:80/~lkp/cgi-bin/lkp-jobfile-append-var?job_file=/lkp/jobs/sche... -O /dev/null
[ 27.255463]
[ 27.362475] init: udev-fallback-graphics main process (492) terminated with status 1
[ 27.419356] target ucode:
[ 27.419365]
[ 27.778437] init: networking main process (509) terminated with status 1
[ 28.096245] init: failsafe main process (505) killed by TERM signal
[ 28.415332] random: fast init done
[ 29.325378] random: dd: uninitialized urandom read (4096 bytes read)
[ 29.491877] Seeding trinity based on x86_64-randconfig-a0-06050844
[ 29.491887]
[ 29.584973] groupadd: group 'nogroup' already exists
[ 29.584982]
[ 29.644203] 2019-06-05 15:07:59 chroot --userspec nobody:nogroup / trinity -q -q -l off -s 2862873013 -x get_robust_list -x remap_file_pages -N 999999999
[ 29.644213]
[ 29.888839] Trinity 1.8 Dave Jones <davej(a)codemonkey.org.uk>
[ 29.888849]
[ 29.891751] shm:0x7f2616b28000-0x7f2623724d00 (4 pages)
[ 29.891760]
[ 29.903899] [main] Marking syscall get_robust_list (64bit:274 32bit:312) as to be disabled.
[ 29.903908]
[ 29.916703] [main] Marking syscall remap_file_pages (64bit:216 32bit:257) as to be disabled.
[ 29.916713]
[ 29.931041] [main] Couldn't chmod tmp/ to 0777.
[ 29.931051]
[ 29.946597] [main] Using user passed random seed: 2862873013.
[ 29.946606]
[ 29.948906] Marking all syscalls as enabled.
[ 29.948914]
[ 29.962311] [main] Disabling syscalls marked as disabled by command line options
[ 29.962320]
[ 29.970484] [main] Marked 64-bit syscall remap_file_pages (216) as deactivated.
[ 29.970504]
[ 29.978376] [main] Marked 64-bit syscall get_robust_list (274) as deactivated.
[ 29.978384]
[ 29.994251] [main] Marked 32-bit syscall remap_file_pages (257) as deactivated.
[ 29.994260]
[ 30.002082] [main] Marked 32-bit syscall get_robust_list (312) as deactivated.
[ 30.002091]
[ 30.010917] [main] 32-bit syscalls: 382 enabled, 2 disabled. 64-bit syscalls: 331 enabled, 2 disabled.
To reproduce:
# build kernel
cd linux
cp config-5.2.0-rc1-00004-gbe4d068 .config
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 prepare
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 modules_prepare
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 SHELL=/bin/bash
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 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
3 years, 2 months
[mm/vmalloc.c] 728e0fbf26: kernel_BUG_at_mm/vmalloc.c
by kernel test robot
FYI, we noticed the following commit (built with gcc-7):
commit: 728e0fbf263e3ed359c10cb13623390564102881 ("mm/vmalloc.c: get rid of one single unlink_va() when merge")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 2G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-------------------------------------------------+------------+------------+
| | 1ed20f4bc2 | 728e0fbf26 |
+-------------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 6 | 14 |
| BUG:kernel_reboot-without-warning_in_test_stage | 6 | |
| kernel_BUG_at_mm/vmalloc.c | 0 | 14 |
| invalid_opcode:#[##] | 0 | 14 |
| RIP:__free_vmap_area | 0 | 14 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 14 |
+-------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp(a)intel.com>
[ 2.860248] kernel BUG at mm/vmalloc.c:470!
[ 2.863532] invalid opcode: 0000 [#1] SMP PTI
[ 2.865038] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.2.0-rc2-00418-g728e0fbf263e3 #2
[ 2.867517] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 2.869603] RIP: 0010:__free_vmap_area+0xab/0x314
[ 2.869603] Code: 4d e0 48 39 f0 73 0f 48 39 d1 72 0a 4c 8d 75 10 48 8b 4d 10 eb 16 48 39 f0 72 0f 48 39 d1 73 0a 4c 8d 75 08 48 8b 4d 08 eb 02 <0f> 0b 48 85 c9 75 c6 48 85 ed 49 89 ef 0f 84 27 02 00 00 48 8d 4d
[ 2.876280] RSP: 0000:ffffc90000327d00 EFLAGS: 00010287
[ 2.876280] RAX: ffffc900019e8000 RBX: ffff88806dbc9790 RCX: ffff88806dbc98f0
[ 2.876280] RDX: ffffc900019ed000 RSI: ffffc90001a00000 RDI: ffff88806d426d88
[ 2.876280] RBP: ffff88806dbc9a18 R08: 0000000000000001 R09: ffffffff8129d4c2
[ 2.884274] R10: ffffea0001b47880 R11: 00000000f0000080 R12: 0000000000008000
[ 2.884274] R13: ffff88806dbc9630 R14: ffff88806dbc9760 R15: 0000000000000000
[ 2.884274] FS: 0000000000000000(0000) GS:ffff88807cd00000(0000) knlGS:0000000000000000
[ 2.884274] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2.892282] CR2: ffffc900003bc000 CR3: 000000000260a000 CR4: 00000000000406e0
[ 2.892282] Call Trace:
[ 2.892282] ? kmem_cache_free+0x140/0x1f5
[ 2.892282] __purge_vmap_area_lazy+0x8f/0xdf
[ 2.892282] _vm_unmap_aliases+0x110/0x13d
[ 2.900279] change_page_attr_set_clr+0xc7/0x253
[ 2.900279] ? set_debug_rodata+0x11/0x11
[ 2.900279] set_memory_nx+0x35/0x38
[ 2.900279] free_init_pages+0x54/0x7f
[ 2.900279] ? do_name+0x2b1/0x2b1
[ 2.900279] populate_rootfs+0xe2/0x101
[ 2.908291] do_one_initcall+0x97/0x1b4
[ 2.908291] kernel_init_freeable+0x23b/0x2d4
[ 2.908291] ? rest_init+0xc6/0xc6
[ 2.908291] kernel_init+0xa/0xff
[ 2.908291] ret_from_fork+0x3a/0x50
[ 2.908291] Modules linked in:
[ 2.917205] ---[ end trace 1a2925ea0cc5d2c3 ]---
To reproduce:
# build kernel
cd linux
cp config-5.2.0-rc2-00418-g728e0fbf263e3 .config
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 prepare
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 modules_prepare
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 SHELL=/bin/bash
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 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
3 years, 2 months
[mm/vmalloc.c] 728e0fbf26: kernel_BUG_at_mm/vmalloc.c
by kernel test robot
FYI, we noticed the following commit (built with gcc-7):
commit: 728e0fbf263e3ed359c10cb13623390564102881 ("mm/vmalloc.c: get rid of one single unlink_va() when merge")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 2G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-------------------------------------------------+------------+------------+
| | 1ed20f4bc2 | 728e0fbf26 |
+-------------------------------------------------+------------+------------+
| boot_successes | 6 | 0 |
| boot_failures | 10 | 17 |
| BUG:kernel_reboot-without-warning_in_test_stage | 10 | |
| kernel_BUG_at_mm/vmalloc.c | 0 | 17 |
| invalid_opcode:#[##] | 0 | 17 |
| RIP:__free_vmap_area | 0 | 17 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 17 |
+-------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp(a)intel.com>
[ 2.860248] kernel BUG at mm/vmalloc.c:470!
[ 2.863532] invalid opcode: 0000 [#1] SMP PTI
[ 2.865038] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.2.0-rc2-00418-g728e0fbf263e3 #2
[ 2.867517] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 2.869603] RIP: 0010:__free_vmap_area+0xab/0x314
[ 2.869603] Code: 4d e0 48 39 f0 73 0f 48 39 d1 72 0a 4c 8d 75 10 48 8b 4d 10 eb 16 48 39 f0 72 0f 48 39 d1 73 0a 4c 8d 75 08 48 8b 4d 08 eb 02 <0f> 0b 48 85 c9 75 c6 48 85 ed 49 89 ef 0f 84 27 02 00 00 48 8d 4d
[ 2.876280] RSP: 0000:ffffc90000327d00 EFLAGS: 00010287
[ 2.876280] RAX: ffffc900019e8000 RBX: ffff88806dbc9790 RCX: ffff88806dbc98f0
[ 2.876280] RDX: ffffc900019ed000 RSI: ffffc90001a00000 RDI: ffff88806d426d88
[ 2.876280] RBP: ffff88806dbc9a18 R08: 0000000000000001 R09: ffffffff8129d4c2
[ 2.884274] R10: ffffea0001b47880 R11: 00000000f0000080 R12: 0000000000008000
[ 2.884274] R13: ffff88806dbc9630 R14: ffff88806dbc9760 R15: 0000000000000000
[ 2.884274] FS: 0000000000000000(0000) GS:ffff88807cd00000(0000) knlGS:0000000000000000
[ 2.884274] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2.892282] CR2: ffffc900003bc000 CR3: 000000000260a000 CR4: 00000000000406e0
[ 2.892282] Call Trace:
[ 2.892282] ? kmem_cache_free+0x140/0x1f5
[ 2.892282] __purge_vmap_area_lazy+0x8f/0xdf
[ 2.892282] _vm_unmap_aliases+0x110/0x13d
[ 2.900279] change_page_attr_set_clr+0xc7/0x253
[ 2.900279] ? set_debug_rodata+0x11/0x11
[ 2.900279] set_memory_nx+0x35/0x38
[ 2.900279] free_init_pages+0x54/0x7f
[ 2.900279] ? do_name+0x2b1/0x2b1
[ 2.900279] populate_rootfs+0xe2/0x101
[ 2.908291] do_one_initcall+0x97/0x1b4
[ 2.908291] kernel_init_freeable+0x23b/0x2d4
[ 2.908291] ? rest_init+0xc6/0xc6
[ 2.908291] kernel_init+0xa/0xff
[ 2.908291] ret_from_fork+0x3a/0x50
[ 2.908291] Modules linked in:
[ 2.917205] ---[ end trace 1a2925ea0cc5d2c3 ]---
To reproduce:
# build kernel
cd linux
cp config-5.2.0-rc2-00418-g728e0fbf263e3 .config
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 prepare
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 modules_prepare
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 SHELL=/bin/bash
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 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
3 years, 2 months
[mm/vmalloc.c] 728e0fbf26: kernel_BUG_at_mm/vmalloc.c
by kernel test robot
FYI, we noticed the following commit (built with gcc-7):
commit: 728e0fbf263e3ed359c10cb13623390564102881 ("mm/vmalloc.c: get rid of one single unlink_va() when merge")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 2G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-------------------------------------------------+------------+------------+
| | 1ed20f4bc2 | 728e0fbf26 |
+-------------------------------------------------+------------+------------+
| boot_successes | 6 | 0 |
| boot_failures | 10 | 17 |
| BUG:kernel_reboot-without-warning_in_test_stage | 10 | |
| kernel_BUG_at_mm/vmalloc.c | 0 | 17 |
| invalid_opcode:#[##] | 0 | 17 |
| RIP:__free_vmap_area | 0 | 17 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 17 |
+-------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp(a)intel.com>
[ 2.860248] kernel BUG at mm/vmalloc.c:470!
[ 2.863532] invalid opcode: 0000 [#1] SMP PTI
[ 2.865038] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.2.0-rc2-00418-g728e0fbf263e3 #2
[ 2.867517] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 2.869603] RIP: 0010:__free_vmap_area+0xab/0x314
[ 2.869603] Code: 4d e0 48 39 f0 73 0f 48 39 d1 72 0a 4c 8d 75 10 48 8b 4d 10 eb 16 48 39 f0 72 0f 48 39 d1 73 0a 4c 8d 75 08 48 8b 4d 08 eb 02 <0f> 0b 48 85 c9 75 c6 48 85 ed 49 89 ef 0f 84 27 02 00 00 48 8d 4d
[ 2.876280] RSP: 0000:ffffc90000327d00 EFLAGS: 00010287
[ 2.876280] RAX: ffffc900019e8000 RBX: ffff88806dbc9790 RCX: ffff88806dbc98f0
[ 2.876280] RDX: ffffc900019ed000 RSI: ffffc90001a00000 RDI: ffff88806d426d88
[ 2.876280] RBP: ffff88806dbc9a18 R08: 0000000000000001 R09: ffffffff8129d4c2
[ 2.884274] R10: ffffea0001b47880 R11: 00000000f0000080 R12: 0000000000008000
[ 2.884274] R13: ffff88806dbc9630 R14: ffff88806dbc9760 R15: 0000000000000000
[ 2.884274] FS: 0000000000000000(0000) GS:ffff88807cd00000(0000) knlGS:0000000000000000
[ 2.884274] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2.892282] CR2: ffffc900003bc000 CR3: 000000000260a000 CR4: 00000000000406e0
[ 2.892282] Call Trace:
[ 2.892282] ? kmem_cache_free+0x140/0x1f5
[ 2.892282] __purge_vmap_area_lazy+0x8f/0xdf
[ 2.892282] _vm_unmap_aliases+0x110/0x13d
[ 2.900279] change_page_attr_set_clr+0xc7/0x253
[ 2.900279] ? set_debug_rodata+0x11/0x11
[ 2.900279] set_memory_nx+0x35/0x38
[ 2.900279] free_init_pages+0x54/0x7f
[ 2.900279] ? do_name+0x2b1/0x2b1
[ 2.900279] populate_rootfs+0xe2/0x101
[ 2.908291] do_one_initcall+0x97/0x1b4
[ 2.908291] kernel_init_freeable+0x23b/0x2d4
[ 2.908291] ? rest_init+0xc6/0xc6
[ 2.908291] kernel_init+0xa/0xff
[ 2.908291] ret_from_fork+0x3a/0x50
[ 2.908291] Modules linked in:
[ 2.917205] ---[ end trace 1a2925ea0cc5d2c3 ]---
To reproduce:
# build kernel
cd linux
cp config-5.2.0-rc2-00418-g728e0fbf263e3 .config
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 prepare
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 modules_prepare
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 SHELL=/bin/bash
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 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
3 years, 2 months
Re: [LKP] rcu_read_lock lost its compiler barrier
by Herbert Xu
On Tue, Jun 04, 2019 at 02:14:49PM -0700, Paul E. McKenney wrote:
>
> Yeah, I know, even with the "volatile" keyword, it is not entirely clear
> how much reordering the compiler is allowed to do. I was relying on
> https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html, which says:
The volatile keyword doesn't give any guarantees of this kind.
The key to ensuring ordering between unrelated variable/register
reads/writes is the memory clobber:
6.47.2.6 Clobbers and Scratch Registers
...
"memory" The "memory" clobber tells the compiler that the assembly
code performs memory reads or writes to items other than those
listed in the input and output operands (for example, accessing
the memory pointed to by one of the input parameters). To ensure
memory contains correct values, GCC may need to flush specific
register values to memory before executing the asm. Further,
the compiler does not assume that any values read from memory
before an asm remain unchanged after that asm; it reloads them as
needed. Using the "memory" clobber effectively forms a read/write
memory barrier for the compiler.
Note that this clobber does not prevent the processor from
doing speculative reads past the asm statement. To prevent that,
you need processor-specific fence instructions.
IOW you need a barrier().
Thanks,
--
Email: Herbert Xu <herbert(a)gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
3 years, 2 months
[net] 0e27921816: kernel_BUG_at_drivers/net/phy/mdio_bus.c
by kernel test robot
FYI, we noticed the following commit (built with gcc-7):
commit: 0e27921816ad99f78140e0c61ddf2bc515cc7e22 ("net: dsa: Use PHYLINK for the CPU/DSA ports")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
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 2G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------+------------+------------+
| | 77373d49de | 0e27921816 |
+------------------------------------------+------------+------------+
| boot_successes | 14 | 0 |
| boot_failures | 1 | 16 |
| BUG:kernel_hang_in_boot_stage | 1 | |
| kernel_BUG_at_drivers/net/phy/mdio_bus.c | 0 | 16 |
| invalid_opcode:#[##] | 0 | 16 |
| RIP:mdiobus_free | 0 | 16 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 16 |
+------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <rong.a.chen(a)intel.com>
[ 30.407329] kernel BUG at drivers/net/phy/mdio_bus.c:503!
[ 30.409066] invalid opcode: 0000 [#1] SMP KASAN PTI
[ 30.410155] CPU: 1 PID: 114 Comm: kworker/1:1 Tainted: G T 5.2.0-rc1-00391-g0e27921 #1
[ 30.412336] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 30.414226] Workqueue: events deferred_probe_work_func
[ 30.415501] RIP: 0010:mdiobus_free+0x4b/0x6f
[ 30.416504] Code: 48 89 df 5b 5d 41 5c e9 ec 8b fe fe 31 f6 83 fd 03 48 c7 c7 48 4d 70 90 40 0f 95 c6 31 c9 31 d2 e8 75 bb f1 fe 83 fd 03 74 02 <0f> 0b 4c 89 e7 e8 a3 ba fe fe c7 83 98 00 00 00 04 00 00 00 48 8d
[ 30.423831] RSP: 0000:ffff88806995fb88 EFLAGS: 00010297
[ 30.425093] RAX: fffffbfff20e0900 RBX: ffff88806744a940 RCX: ffffffff8b7df4e9
[ 30.426602] RDX: 0000000000000000 RSI: 2000040000000000 RDI: ffffffff90704d68
[ 30.428104] RBP: 0000000000000002 R08: 0000000000000003 R09: 0000000000000007
[ 30.429594] R10: 0000000000000000 R11: ffffffff90501f2b R12: ffff88806744a9d8
[ 30.431080] R13: 0000000000000003 R14: ffff888050801b00 R15: ffff888050801c88
[ 30.432642] FS: 0000000000000000(0000) GS:ffff88806b300000(0000) knlGS:0000000000000000
[ 30.434525] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 30.435783] CR2: 00000000ffffffff CR3: 000000005c622000 CR4: 00000000000406a0
[ 30.437377] Call Trace:
[ 30.437976] release_nodes+0x287/0x2e6
[ 30.438856] ? _raw_spin_lock_irq+0x1c/0x1c
[ 30.439782] ? list_move_tail+0x6a/0x6a
[ 30.440655] ? __device_links_no_driver+0xad/0xc2
[ 30.441734] really_probe+0x43c/0x637
[ 30.442599] ? driver_allows_async_probing+0x3a/0x3a
[ 30.443756] bus_for_each_drv+0xff/0x13c
[ 30.444627] ? subsys_find_device_by_id+0x197/0x197
[ 30.445661] ? klist_next+0x12e/0x13e
[ 30.446594] __device_attach+0xfe/0x1b7
[ 30.447517] ? device_bind_driver+0x5e/0x5e
[ 30.448489] ? ftrace_likely_update+0x23a/0x261
[ 30.449479] bus_probe_device+0x54/0xea
[ 30.450406] deferred_probe_work_func+0xf6/0x121
[ 30.451520] process_one_work+0x35a/0x552
[ 30.452460] process_scheduled_works+0x32/0x37
[ 30.453475] worker_thread+0x396/0x4af
[ 30.454337] ? process_scheduled_works+0x37/0x37
[ 30.455492] kthread+0x1ca/0x1d9
[ 30.456249] ? __kthread_cancel_work+0xab/0xab
[ 30.457278] ret_from_fork+0x24/0x30
[ 30.458149] ---[ end trace fa7633f222494403 ]---
To reproduce:
# build kernel
cd linux
cp config-5.2.0-rc1-00391-g0e27921 .config
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 prepare
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 modules_prepare
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 SHELL=/bin/bash
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 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
3 years, 2 months
[block] 8062cba442: kernel_BUG_at_block/bio.c
by kernel test robot
FYI, we noticed the following commit (built with gcc-7):
commit: 8062cba442e4c43263c102a96cc85eda40052ca5 ("block: use get_user_bvec_fast in __bio_iov_iter_get_pages")
git://git.infradead.org/users/hch/misc.git gup-bvec
in testcase: ltp
with following parameters:
disk: 1HDD
fs: xfs
test: ltp-aiodio.part2
test-description: The LTP testsuite contains a collection of tools for testing the Linux kernel and related features.
test-url: http://linux-test-project.github.io/
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 8G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+----------------------------------------------------+------------+------------+
| | 26e0d9b1ab | 8062cba442 |
+----------------------------------------------------+------------+------------+
| boot_successes | 21 | 21 |
| boot_failures | 19 | 32 |
| BUG:kernel_reboot-without-warning_in_test_stage | 14 | 13 |
| BUG:kernel_hang_in_boot_stage | 3 | 2 |
| BUG:soft_lockup-CPU##stuck_for#s | 2 | |
| RIP:clear_page_rep | 2 | |
| Kernel_panic-not_syncing:softlockup:hung_tasks | 2 | |
| BUG:kernel_hang_in_test_stage | 0 | 2 |
| kernel_BUG_at_block/bio.c | 0 | 11 |
| invalid_opcode:#[##] | 0 | 13 |
| RIP:bio_split | 0 | 11 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 13 |
| BUG:kernel_hang_in_boot-around-mounting-root_stage | 0 | 2 |
| kernel_BUG_at_include/linux/scatterlist.h | 0 | 2 |
| RIP:blk_rq_map_sg | 0 | 2 |
+----------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <rong.a.chen(a)intel.com>
[ 83.056951] INFO: creating /lkp/benchmarks/ltp/output directory
[ 83.056959]
[ 83.086056] INFO: creating /lkp/benchmarks/ltp/results directory
[ 83.086062]
[ 83.147542] Checking for required user/group ids
[ 83.147549]
[ 83.153706]
[ 83.215645] 'nobody' user id and group found.
[ 83.215652]
[ 83.225002] 'bin' user id and group found.
[ 83.225009]
[ 83.235438] 'daemon' user id and group found.
[ 83.235443]
[ 83.241865] Users group found.
[ 83.241871]
[ 83.249315] Sys group found.
[ 83.249320]
[ 83.272006] Required users/groups exist.
[ 83.272013]
[ 83.288922] If some fields are empty or look unusual you may have an old version.
[ 83.288949]
[ 83.304050] Compare to the current minimal requirements in Documentation/Changes.
[ 83.304058]
[ 83.315464]
[ 83.320335] /etc/os-release
[ 83.320339]
[ 83.330327] PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
[ 83.330332]
[ 83.340861] NAME="Debian GNU/Linux"
[ 83.340866]
[ 83.347974] VERSION_ID="9"
[ 83.347979]
[ 83.357144] VERSION="9 (stretch)"
[ 83.357148]
[ 83.364551] ID=debian
[ 83.364556]
[ 83.376127] HOME_URL="https://www.debian.org/"
[ 83.376133]
[ 83.387803] SUPPORT_URL="https://www.debian.org/support"
[ 83.387810]
[ 83.398092] BUG_REPORT_URL="https://bugs.debian.org/"
[ 83.398097]
[ 83.402752]
[ 83.407259] uname:
[ 83.407264]
[ 83.418160] Linux vm-snb-8G-443 5.2.0-rc2-00023-g8062cba #6 SMP Thu May 30 22:08:27 CST 2019 x86_64 GNU/Linux
[ 83.418167]
[ 83.423751]
[ 83.429567] /proc/cmdline
[ 83.429573]
[ 85.396522] loop: module loaded
[ 85.452363] LTP: starting ADSP000 (aiodio_sparse)
[ 91.027884] LTP: starting ADSP001 (aiodio_sparse -s 180k)
[ 94.239724] LTP: starting ADSP002 (aiodio_sparse -dd -s 1751k -w 11k)
[ 95.379782] LTP: starting ADSP003 (aiodio_sparse -i 9 -d -s 180k -w 18k)
[ 95.828592] ip=::::vm-snb-8G-443::dhcp root=/dev/ram0 user=lkp job=/lkp/jobs/scheduled/vm-snb-8G-443/ltp-1HDD-xfs-ltp-aiodio.part2-debian-x86_64-2018-04-03.cgz-8062cba442-20190604-84365-1i0pvoo-8.yaml ARCH=x86_64 kconfig=x86_64-rhel-7.6 branch=linux-devel/devel-hourly-2019053023 commit=8062cba442e4c43263c102a96cc85eda40052ca5 BOOT_IMAGE=/pkg/linux/x86_64-rhel-7.6/gcc-7/8062cba442e4c43263c102a96cc85eda40052ca5/vmlinuz-5.2.0-rc2-00023-g8062cba max_uptime=3600 RESULT_ROOT=/result/ltp/1HDD-xfs-ltp-aiodio.part2/vm-snb-8G/debian-x86_64-2018-04-03.cgz/x86_64-rhel-7.6/gcc-7/8062cba442e4c43263c102a96cc85eda40052ca5/8 LKP_SERVER=inn 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=ttyS
[ 95.828602]
[ 95.976161]
[ 96.156873] LTP: starting ADSP004 (aiodio_sparse -i 2 -a 2k -w 2k -s 4k -n 2)
[ 96.184039] LTP: starting ADSP005 (aiodio_sparse -i 2 -a 4k -w 4k -s 8k -n 2)
[ 96.216673] LTP: starting ADSP006 (aiodio_sparse -i 2 -a 4k -w 4k -s 8k -n 2)
[ 96.245736] LTP: starting ADSP007 (aiodio_sparse -i 4 -a 8k -w 8k -s 32k -n 2)
[ 96.268575] LTP: starting ADSP008 (aiodio_sparse -i 4 -a 8k -w 16k -s 64k -n 2)
[ 96.300437] LTP: starting ADSP009 (aiodio_sparse -i 4 -a 8k -w 32k -s 128k -n 2)
[ 96.331035] LTP: starting ADSP010 (aiodio_sparse -i 4 -a 8k -w 64k -s 256k -n 2)
[ 96.395357] LTP: starting ADSP011 (aiodio_sparse -i 4 -a 8k -w 128k -s 512k -n 2)
[ 96.428703] LTP: starting ADSP012 (aiodio_sparse -i 4 -a 8k -w 256k -s 1024k -n 2)
[ 96.450766] ------------[ cut here ]------------
[ 96.457622] kernel BUG at block/bio.c:1855!
[ 96.460692] invalid opcode: 0000 [#1] SMP PTI
[ 96.464895] CPU: 0 PID: 2525 Comm: aiodio_sparse Not tainted 5.2.0-rc2-00023-g8062cba #6
[ 96.468726] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 96.472744] RIP: 0010:bio_split+0x73/0x80
[ 96.475107] Code: 89 c7 e8 c0 e7 02 00 41 8b 74 24 28 48 89 ef e8 63 e2 ff ff f6 45 15 04 74 08 66 41 81 4c 24 14 00 04 4c 89 e0 5b 5d 41 5c c3 <0f> 0b 0f 0b 66 0f 1f 84 00 00 00 00 00 66 66 66 66 90 89 d0 41 57
[ 96.483753] RSP: 0018:ffffacbb41473868 EFLAGS: 00010246
[ 96.486931] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff982072d28648
[ 96.490629] RDX: 0000000000000c00 RSI: 0000000000000000 RDI: ffff98205bd4d3c0
[ 96.494399] RBP: ffffacbb41473918 R08: 000000000000007e R09: 0000000000000002
[ 96.498216] R10: ffff98205bd4d3c0 R11: ffff982072d28000 R12: 0000000000000000
[ 96.501832] R13: 000000000000003d R14: ffff98205bd4d3c0 R15: ffffacbb41473930
[ 96.505649] FS: 00007ff79aa3b700(0000) GS:ffff9820ffc00000(0000) knlGS:0000000000000000
[ 96.509637] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 96.513108] CR2: 00007ff79aa45000 CR3: 000000019bdca000 CR4: 00000000000006f0
[ 96.516330] Call Trace:
[ 96.520716] blk_queue_split+0x297/0x500
[ 96.524021] blk_mq_make_request+0x96/0x600
[ 96.527022] generic_make_request+0x1d0/0x420
[ 96.530060] ? submit_bio+0x6c/0x140
[ 96.532921] submit_bio+0x6c/0x140
[ 96.535668] ? bio_iov_iter_get_pages+0x8c/0x200
[ 96.538759] iomap_dio_submit_bio+0x51/0x60
[ 96.541919] iomap_dio_bio_actor+0x1b9/0x3e0
[ 96.544798] ? iomap_readpage_actor+0x330/0x330
[ 96.547682] iomap_apply+0xba/0x130
[ 96.550323] iomap_dio_rw+0x2cf/0x410
[ 96.552964] ? iomap_readpage_actor+0x330/0x330
[ 96.555748] ? __x64_sys_io_cancel+0x180/0x180
[ 96.558628] ? xfs_file_aio_write_checks+0x155/0x220 [xfs]
[ 96.561722] ? xfs_file_dio_aio_write+0x19a/0x330 [xfs]
[ 96.564775] xfs_file_dio_aio_write+0x19a/0x330 [xfs]
[ 96.567708] ? selinux_file_permission+0x123/0x140
[ 96.570635] xfs_file_write_iter+0x8b/0xc0 [xfs]
[ 96.573650] aio_write+0x134/0x1b0
[ 96.576353] ? handle_mm_fault+0xdd/0x210
[ 96.578953] ? __do_page_fault+0x312/0x520
[ 96.581534] ? io_submit_one+0x5c0/0xbf0
[ 96.584120] ? __might_fault+0x2b/0x30
[ 96.586670] io_submit_one+0x5c0/0xbf0
[ 96.589138] ? async_page_fault+0x1e/0x30
[ 96.591818] ? __x64_sys_io_submit+0x9e/0x1c0
[ 96.594821] ? __might_fault+0x2b/0x30
[ 96.597725] __x64_sys_io_submit+0x9e/0x1c0
[ 96.600502] ? do_syscall_64+0x5b/0x1e0
[ 96.603047] ? __ia32_compat_sys_io_submit+0x1b0/0x1b0
[ 96.605946] do_syscall_64+0x5b/0x1e0
[ 96.608509] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 96.611456] RIP: 0033:0x7ff79a404717
[ 96.614033] Code: 00 75 08 8b 47 0c 39 47 08 74 08 e9 c3 ff ff ff 0f 1f 00 31 c0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 b8 d1 00 00 00 0f 05 <c3> 0f 1f 84 00 00 00 00 00 b8 d2 00 00 00 0f 05 c3 0f 1f 84 00 00
[ 96.622143] RSP: 002b:00007ffeab4ff018 EFLAGS: 00000206 ORIG_RAX: 00000000000000d1
[ 96.626141] RAX: ffffffffffffffda RBX: 000055f613dfd070 RCX: 00007ff79a404717
[ 96.630207] RDX: 000055f613dfd050 RSI: 0000000000000004 RDI: 00007ff79aa45000
[ 96.634345] RBP: 000055f613dfd070 R08: 0000000000000000 R09: 0000000000000000
[ 96.638160] R10: 000000000000000f R11: 0000000000000206 R12: 0000000000040000
[ 96.641921] R13: 00007ff79a930000 R14: 00007ff79aa3b698 R15: 0000000000000004
[ 96.645674] Modules linked in: loop xfs libcrc32c dm_mod sr_mod cdrom sg ppdev snd_pcm ata_generic crct10dif_pclmul pata_acpi crc32_pclmul crc32c_intel ghash_clmulni_intel bochs_drm ttm snd_timer drm_kms_helper snd aesni_intel crypto_simd ata_piix cryptd syscopyarea glue_helper sysfillrect sysimgblt fb_sys_fops joydev soundcore drm libata serio_raw pcspkr i2c_piix4 parport_pc parport floppy ip_tables
[ 96.661747] ---[ end trace b17d49fcd4bda01a ]---
To reproduce:
# build kernel
cd linux
cp config-5.2.0-rc2-00023-g8062cba .config
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 prepare
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 modules_prepare
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 SHELL=/bin/bash
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 bzImage
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz
bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached in this email
Thanks,
Rong Chen
3 years, 2 months