[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160530022106.GH1689@yexl-desktop>
Date: Mon, 30 May 2016 10:21:07 +0800
From: kernel test robot <xiaolong.ye@...el.com>
To: Mark Rutland <mark.rutland@....com>
Cc: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
Dennis Chen <dennis.chen@....com>,
Catalin Marinas <catalin.marinas@....com>,
Josh Triplett <josh@...htriplett.org>,
Lai Jiangshan <jiangshanlai@...il.com>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Steve Capper <steve.capper@....com>,
Steven Rostedt <rostedt@...dmis.org>,
Will Deacon <will.deacon@....com>,
LKML <linux-kernel@...r.kernel.org>, lkp@...org
Subject: [lkp] [rcu] ac3c30e891:
kmsg.shift_exponent#is_too_large_for#-bit_type'long_unsigned_int'
FYI, we noticed the following commit:
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2016.05.17a
commit ac3c30e8911d244986e3bb2c56f7d3ca84405d98 ("rcu: Correctly handle sparse possible CPUs")
on test machine: vm-kbuild-yocto-ia32: 1 threads qemu-system-x86_64 -enable-kvm -cpu Westmere with 320M memory
caused below changes:
[ 18.665139] ================================================================================
[ 18.665163] UBSAN: Undefined behaviour in kernel/rcu/tree_exp.h:379:3
[ 18.665185] shift exponent 64 is too large for 64-bit type 'long unsigned int'
[ 18.665211] CPU: 0 PID: 61 Comm: rcu_torture_fak Not tainted 4.6.0-rc2-00099-gac3c30e #1
[ 18.665251] ffffffff813e0831 0000000000000096 00000000ffffffff 0000000000000001
[ 18.665288] 0000000000000000 0000000000000000 ffff88000fb7bbb8 ffffffff820d7b86
[ 18.665326] ffffffff81478309 000000007a61dc58 000000007a61dc30 ffffffff00000020
[ 18.665333] Call Trace:
[ 18.665369] [<ffffffff813e0831>] ? trace_hardirqs_off+0xcb/0xd6
[ 18.665402] [<ffffffff820d7b86>] dump_stack+0x286/0x3f0
[ 18.665434] [<ffffffff81478309>] ? printk+0x5d/0x65
[ 18.665469] [<ffffffff821c69ec>] ubsan_epilogue+0x12/0x3f
[ 18.665510] [<ffffffff821c742e>] __ubsan_handle_shift_out_of_bounds+0x19c/0x1d1
[ 18.665543] [<ffffffff8212f10d>] ? find_next_bit+0x2c/0x2e
[ 18.665575] [<ffffffff812e22ef>] sync_rcu_exp_select_cpus+0xc87/0xd7f
[ 18.665605] [<ffffffff812e22ef>] ? sync_rcu_exp_select_cpus+0xc87/0xd7f
[ 18.665633] [<ffffffff812df6e7>] ? exp_funnel_lock+0x6a0/0x6b1
[ 18.665665] [<ffffffff812e2a8d>] ? rcu_report_exp_rdp+0x3f/0x3f
[ 18.665706] [<ffffffff812f0cea>] synchronize_rcu_expedited+0x18b/0x1a9
[ 18.665740] [<ffffffff812fa6df>] ? stub_timer+0x28/0x28
[ 18.665773] [<ffffffff81472fc0>] ? torture_random+0xf3/0x112
[ 18.665801] [<ffffffff812d415f>] rcu_torture_fakewriter+0x50c/0x542
[ 18.665827] [<ffffffff812d3c53>] ? rcu_torture_fqs+0x1c5/0x1c5
[ 18.665854] [<ffffffff811ef386>] kthread+0x2b0/0x2c0
[ 18.665881] [<ffffffff83035052>] ret_from_fork+0x22/0x50
[ 18.665909] [<ffffffff811ef0d6>] ? __kthread_unpark+0x1ed/0x1ed
[ 18.665922] ================================================================================
FYI, raw QEMU command line is:
qemu-system-x86_64 -enable-kvm -cpu Westmere -kernel /pkg/linux/x86_64-randconfig-s4-05262217/gcc-6/ac3c30e8911d244986e3bb2c56f7d3ca84405d98/vmlinuz-4.6.0-rc2-00099-gac3c30e -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-kbuild-yocto-ia32-15/bisect_boot-1-yocto-minimal-i386.cgz-x86_64-randconfig-s4-05262217-ac3c30e8911d244986e3bb2c56f7d3ca84405d98-20160528-4983-ppi8s9-1.yaml ARCH=x86_64 kconfig=x86_64-randconfig-s4-05262217 branch=linux-devel/devel-hourly-2016052620 commit=ac3c30e8911d244986e3bb2c56f7d3ca84405d98 BOOT_IMAGE=/pkg/linux/x86_64-randconfig-s4-05262217/gcc-6/ac3c30e8911d244986e3bb2c56f7d3ca84405d98/vmlinuz-4.6.0-rc2-00099-gac3c30e max_uptime=600 RESULT_ROOT=/result/boot/1/vm-kbuild-yocto-ia32/yocto-minimal-i386.cgz/x86_64-randconfig-s4-05262217/gcc-6/ac3c30e8911d244986e3bb2c56f7d3ca84405d98/0 LKP_SERVER=inn earlyprintk=ttyS0,115200 systemd.log_level=err debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 console=ttyS0,115200 console=tty0 vga=normal rw ip=::::vm-kbuild-yocto-ia32-15::dhcp drbd.minor_count=8' -initrd /fs/sdh1/initrd-vm-kbuild-yocto-ia32-15 -m 320 -smp 1 -device e1000,netdev=net0 -netdev user,id=net0 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -drive file=/fs/sdh1/disk0-vm-kbuild-yocto-ia32-15,media=disk,if=virtio -pidfile /dev/shm/kboot/pid-vm-kbuild-yocto-ia32-15 -serial file:/dev/shm/kboot/serial-vm-kbuild-yocto-ia32-15 -daemonize -display none -monitor null
Thanks,
Xiaolong
View attachment "config-4.6.0-rc2-00099-gac3c30e" of type "text/plain" (79366 bytes)
Download attachment "dmesg.xz" of type "application/octet-stream" (18628 bytes)
Powered by blists - more mailing lists