lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 8 Aug 2016 16:30:27 +0800
From:	kernel test robot <xiaolong.ye@...el.com>
To:	David Carrillo-Cisneros <davidcc@...gle.com>
Cc:	0day robot <fengguang.wu@...el.com>,
	Stephane Eranian <eranian@...gle.com>,
	LKML <linux-kernel@...r.kernel.org>, lkp@...org
Subject: [lkp] [perf/core]  34ab11270a: BUG: using smp_processor_id() in
 preemptible [00000000] code: trinity-c0/632


FYI, we noticed the following commit:

https://github.com/0day-ci/linux David-Carrillo-Cisneros/remove-unnecessary-IPI-reading-uncore-events/20160802-124051
commit 34ab11270a27536c1d4ff3d5bb7ae9d58daa016c ("perf/core: introduce pmu_event_flags and PMUEF_READ_CPU_PKG")

in testcase: boot

on test machine: 2 threads qemu-system-i386 -enable-kvm with 320M memory

caused below changes:


[   33.189504] mmap: trinity-c0 (630) uses deprecated remap_file_pages() syscall. See Documentation/vm/remap_file_pages.txt.
[   33.193811] vm86_32: Denied a call to vm86(old) from trinity-c0[630] (uid: 0).  Set the vm.mmap_min_addr sysctl to 0 and/or adjust LSM mmap_min_addr policy to enable vm86 if you are using a vm86-based DOS emulator.
[   33.193811] vm86_32: Denied a call to vm86(old) from trinity-c0[630] (uid: 0).  Set the vm.mmap_min_addr sysctl to 0 and/or adjust LSM mmap_min_addr policy to enable vm86 if you are using a vm86-based DOS emulator.
[   33.211822] BUG: using smp_processor_id() in preemptible [00000000] code: trinity-c0/632
[   33.211822] BUG: using smp_processor_id() in preemptible [00000000] code: trinity-c0/632
[   33.213901] caller is debug_smp_processor_id+0x12/0x14
[   33.213901] caller is debug_smp_processor_id+0x12/0x14
[   33.215215] CPU: 1 PID: 632 Comm: trinity-c0 Not tainted 4.7.0-rc5-00693-g34ab112 #1
[   33.215215] CPU: 1 PID: 632 Comm: trinity-c0 Not tainted 4.7.0-rc5-00693-g34ab112 #1
[   33.217265]  00000000
[   33.217265]  00000000 00000246 00000246 83985e18 83985e18 79183cd3 79183cd3 00000001 00000001 794d67bf 794d67bf 83985e48 83985e48 791a555c 791a555c

[   33.219400]  794d677a
[   33.219400]  794d677a 794d67bf 794d67bf 794c70ca 794c70ca 00000000 00000000 82c14de4 82c14de4 00000278 00000278 82c149c0 82c149c0 ffffffff ffffffff

[   33.221632]  867a6c00
[   33.221632]  867a6c00 867a6c00 867a6c00 83985e50 83985e50 791a5582 791a5582 83985e78 83985e78 790aa918 790aa918 00000246 00000246 00000001 00000001

[   33.223757] Call Trace:
[   33.223757] Call Trace:
[   33.224505]  [<79183cd3>] dump_stack+0x74/0xa7
[   33.224505]  [<79183cd3>] dump_stack+0x74/0xa7
[   33.225671]  [<791a555c>] check_preemption_disabled+0xb9/0xcd
[   33.225671]  [<791a555c>] check_preemption_disabled+0xb9/0xcd
[   33.227186]  [<791a5582>] debug_smp_processor_id+0x12/0x14
[   33.227186]  [<791a5582>] debug_smp_processor_id+0x12/0x14
[   33.228569]  [<790aa918>] perf_event_read+0x27/0xdd
[   33.228569]  [<790aa918>] perf_event_read+0x27/0xdd
[   33.229781]  [<790e7c1b>] ? __kmalloc+0x101/0x124
[   33.229781]  [<790e7c1b>] ? __kmalloc+0x101/0x124
[   33.231214]  [<790abd9b>] ? perf_read+0xc8/0x275
[   33.231214]  [<790abd9b>] ? perf_read+0xc8/0x275
[   33.232827]  [<790abdd4>] perf_read+0x101/0x275
[   33.232827]  [<790abdd4>] perf_read+0x101/0x275
[   33.234324]  [<791a5b9f>] ? debug_object_activate+0xd3/0x133
[   33.234324]  [<791a5b9f>] ? debug_object_activate+0xd3/0x133
[   33.236182]  [<790672e8>] ? trace_hardirqs_off+0xb/0xd


FYI, raw QEMU command line is:

	qemu-system-i386 -enable-kvm -kernel /pkg/linux/i386-randconfig-c0-08022242/gcc-4.9/34ab11270a27536c1d4ff3d5bb7ae9d58daa016c/vmlinuz-4.7.0-rc5-00693-g34ab112 -append 'ip=::::vm-kbuild-yocto-i386-43::dhcp root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-kbuild-yocto-i386-43/boot-1-yocto-minimal-i386.cgz-34ab11270a27536c1d4ff3d5bb7ae9d58daa016c-20160804-2258-1mpxl51-26.yaml ARCH=i386 kconfig=i386-randconfig-c0-08022242 branch=linux-devel/devel-spot-201608022112 commit=34ab11270a27536c1d4ff3d5bb7ae9d58daa016c BOOT_IMAGE=/pkg/linux/i386-randconfig-c0-08022242/gcc-4.9/34ab11270a27536c1d4ff3d5bb7ae9d58daa016c/vmlinuz-4.7.0-rc5-00693-g34ab112 max_uptime=600 RESULT_ROOT=/result/boot/1/vm-kbuild-yocto-i386/yocto-minimal-i386.cgz/i386-randconfig-c0-08022242/gcc-4.9/34ab11270a27536c1d4ff3d5bb7ae9d58daa016c/25 LKP_SERVER=inn 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 systemd.log_level=err ignore_loglevel earlyprintk=ttyS0,115200 console=ttyS0,115200 console=tty0 vga=normal rw drbd.minor_count=8'  -initrd /fs/sdg1/initrd-vm-kbuild-yocto-i386-43 -m 320 -smp 2 -device e1000,netdev=net0 -netdev user,id=net0 -boot order=nc -no-reboot -watchdog i6300esb -watchdog-action debug -rtc base=localtime -drive file=/fs/sdg1/disk0-vm-kbuild-yocto-i386-43,media=disk,if=virtio -pidfile /dev/shm/kboot/pid-vm-kbuild-yocto-i386-43 -serial file:/dev/shm/kboot/serial-vm-kbuild-yocto-i386-43 -daemonize -display none -monitor null 





Thanks,
Xiaolong

View attachment "config-4.7.0-rc5-00693-g34ab112" of type "text/plain" (99221 bytes)

Download attachment "dmesg.xz" of type "application/octet-stream" (11596 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ