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-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 30 Jul 2014 21:58:53 +0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	Christoph Lameter <cl@...ux-foundation.org>
Cc:	Tejun Heo <tj@...nel.org>, Jet Chen <jet.chen@...el.com>,
	Su Tao <tao.su@...el.com>, Yuanhan Liu <yuanhan.liu@...el.com>,
	LKP <lkp@...org>, linux-kernel@...r.kernel.org
Subject: [scheduler] BUG: unable to handle kernel paging request at
 000000000000d110


Hi Christoph,

The parent commit is clean in this case.

git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu.git for-3.17-consistent-ops
commit 9b0c63851edaf54e909475fe2a0946f57810e98a
Author:     Christoph Lameter <cl@...ux.com>
AuthorDate: Fri Jun 20 14:31:18 2014 -0500
Commit:     Tejun Heo <tj@...nel.org>
CommitDate: Fri Jul 18 19:21:39 2014 -0400

    scheduler: Replace __get_cpu_var with this_cpu_ptr
    
    Convert all uses of __get_cpu_var for address calculation to use
    this_cpu_ptr instead.
    
    Cc: Peter Zijlstra <peterz@...radead.org>
    Acked-by: Ingo Molnar <mingo@...nel.org>
    Signed-off-by: Christoph Lameter <cl@...ux.com>
    Signed-off-by: Tejun Heo <tj@...nel.org>

+--------------------------------------------+------------+------------+
|                                            | 9dfcba84af | 9b0c63851e |
+--------------------------------------------+------------+------------+
| boot_successes                             | 660        | 126        |
| boot_failures                              | 0          | 94         |
| BUG:unable_to_handle_kernel_paging_request | 0          | 94         |
| Oops                                       | 0          | 94         |
| RIP:load_balance                           | 0          | 94         |
| Kernel_panic-not_syncing:Fatal_exception   | 0          | 94         |
| backtrace:__alloc_workqueue_key            | 0          | 89         |
| backtrace:usermodehelper_init              | 0          | 89         |
| backtrace:kernel_init_freeable             | 0          | 89         |
| backtrace:schedule                         | 0          | 5          |
+--------------------------------------------+------------+------------+

[    0.152998] Good, all   2 testcases passed! |
[    0.154114] ---------------------------------
[    0.155167] smpboot: Total of 2 processors activated (10773.94 BogoMIPS)
[    0.157361] BUG: unable to handle kernel paging request at 000000000000d110
[    0.159335] IP: [<ffffffff810fd286>] load_balance+0x46/0x910
[    0.160000] PGD 0 
[    0.160000] Oops: 0000 [#1] SMP 
[    0.160000] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.16.0-rc5-00154-g9b0c638 #12
[    0.160000] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[    0.160000] task: ffff880011550000 ti: ffff88001152c000 task.ti: ffff88001152c000
[    0.160000] RIP: 0010:[<ffffffff810fd286>]  [<ffffffff810fd286>] load_balance+0x46/0x910
[    0.160000] RSP: 0000:ffff88001152f9b0  EFLAGS: 00010082
[    0.160000] RAX: 0000000000000000 RBX: ffff88001144e800 RCX: 0000000000000002
[    0.160000] RDX: ffff88001144e800 RSI: ffff8800125d3980 RDI: 0000000000000000
[    0.160000] RBP: ffff88001152fa88 R08: ffff88001152facc R09: 0000000000000001
[    0.160000] R10: 0000000000000000 R11: 0000000000000002 R12: 00000000fffedc29
[    0.160000] R13: 0000000000000000 R14: 0000000000000000 R15: ffff88001144e800
[    0.160000] FS:  0000000000000000(0000) GS:ffff880012400000(0000) knlGS:0000000000000000
[    0.160000] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[    0.160000] CR2: 000000000000d110 CR3: 00000000025ae000 CR4: 00000000000006b0
[    0.160000] Stack:
[    0.160000]  0000000000000092 ffff88001152facc 0000000000000000 ffff880011550b10
[    0.160000]  0000000000000002 ffff88001144e800 ffff8800125d3980 ffff88001152f9f8
[    0.160000]  ffffffff8110ce0d 0000000000000046 0000000000000000 0000000000000002
[    0.160000] Call Trace:
[    0.160000]  [<ffffffff8110ce0d>] ? trace_hardirqs_off+0xd/0x10
[    0.160000]  [<ffffffff81037f87>] ? kvm_clock_read+0x27/0x40
[    0.160000]  [<ffffffff8100bda9>] ? sched_clock+0x9/0x10
[    0.160000]  [<ffffffff810f566d>] ? sched_clock_local+0x1d/0x80
[    0.160000]  [<ffffffff810fe23a>] pick_next_task_fair+0x6ea/0xa00
[    0.160000]  [<ffffffff810fe090>] ? pick_next_task_fair+0x540/0xa00
[    0.160000]  [<ffffffff81f2035c>] __schedule+0x29c/0x680
[    0.160000]  [<ffffffff81f207a5>] schedule+0x65/0x70
[    0.160000]  [<ffffffff81f1f905>] schedule_timeout+0x35/0x430
[    0.160000]  [<ffffffff81f218ef>] ? wait_for_completion_killable+0x11f/0x170
[    0.160000]  [<ffffffff810f58a8>] ? sched_clock_cpu+0xa8/0xf0
[    0.160000]  [<ffffffff810f5a0b>] ? local_clock+0x1b/0x30
[    0.160000]  [<ffffffff81f2556c>] ? _raw_spin_unlock_irq+0x2c/0x40
[    0.160000]  [<ffffffff81f218f7>] wait_for_completion_killable+0x127/0x170
[    0.160000]  [<ffffffff810f25e0>] ? wake_up_state+0x20/0x20
[    0.160000]  [<ffffffff810d72e0>] ? put_pwq_unlocked+0x30/0x30
[    0.160000]  [<ffffffff810e02c0>] kthread_create_on_node+0x170/0x210
[    0.160000]  [<ffffffff8100bda9>] ? sched_clock+0x9/0x10
[    0.160000]  [<ffffffff81f2180d>] ? wait_for_completion_killable+0x3d/0x170
[    0.160000]  [<ffffffff810d9e36>] ? apply_workqueue_attrs+0x3a6/0x4e0
[    0.160000]  [<ffffffff811ee6ee>] ? kmem_cache_alloc_trace+0x10e/0x280
[    0.160000]  [<ffffffff810da8a0>] __alloc_workqueue_key+0x320/0x5e0
[    0.160000]  [<ffffffff81567fa5>] ? alloc_cpumask_var_node+0x65/0x80
[    0.160000]  [<ffffffff81567fcf>] ? zalloc_cpumask_var_node+0xf/0x20
[    0.160000]  [<ffffffff82a8fd13>] ? sched_init_smp+0x45a/0x47c
[    0.160000]  [<ffffffff82a8d82b>] usermodehelper_init+0x31/0x41
[    0.160000]  [<ffffffff82a77421>] kernel_init_freeable+0x17a/0x282
[    0.160000]  [<ffffffff81efe4de>] ? kernel_init+0xe/0xf0
[    0.160000]  [<ffffffff81efe4d0>] ? rest_init+0x140/0x140
[    0.160000]  [<ffffffff81efe4de>] kernel_init+0xe/0xf0
[    0.160000]  [<ffffffff81f262bc>] ret_from_fork+0x7c/0xb0
[    0.160000]  [<ffffffff81efe4d0>] ? rest_init+0x140/0x140
[    0.160000] Code: 48 81 ec b0 00 00 00 48 8b 02 89 bd 4c ff ff ff 48 89 95 50 ff ff ff 89 8d 48 ff ff ff 4c 89 85 30 ff ff ff 48 89 85 38 ff ff ff <48> 8b 05 83 fe f0 7e 65 48 03 04 25 d8 cb 00 00 4c 8d 7d 80 48 
[    0.160000] RIP  [<ffffffff810fd286>] load_balance+0x46/0x910
[    0.160000]  RSP <ffff88001152f9b0>
[    0.160000] CR2: 000000000000d110
[    0.160000] ---[ end trace eef63c02a352df85 ]---
[    0.160000] Kernel panic - not syncing: Fatal exception

git bisect start a4693a8ebdc47acbec9b5512953962a6f964d31c 1795cd9b3a91d4b5473c97f491d63892442212ab --
git bisect good 6fc9e76ef46082af4aa86b62fbc83813c221be46  # 10:45     60+      0  Merge 'tip/x86/efi' into devel-hourly-2014071908
git bisect good 2a095b2987cbbf032e188d41e1247c76c4601166  # 10:52     60+      0  Merge 'drm-intel/drm-intel-nightly' into devel-hourly-2014071908
git bisect good 9b4e260fc5c9f4918d0d0926d438e9f7a629fff3  # 10:55     60+      0  Merge 'power-supply/next' into devel-hourly-2014071908
git bisect good 7fb40bcf5b63a9d72a125490b3ff0207283d4f51  # 10:57     60+      0  Merge 'tj-libata/for-next' into devel-hourly-2014071908
git bisect  bad 15ea47b5614ea86bc1830c15070a204ced16baea  # 10:57      0-     12  Merge 'percpu/for-next' into devel-hourly-2014071908
git bisect good dd6dd4cc9157b1a55f7ca92705dd9938fbeaeae3  # 11:00     60+      0  Merge 'usb/usb-next' into devel-hourly-2014071908
git bisect  bad e4a0ff2c4554ffd904d84c7590dc8d52411955da  # 11:07     20-      1  irqchips: Replace __this_cpu_ptr uses
git bisect  bad 4414bd722dff8e66ce333dc009a7ac8e0ec69352  # 11:10      0-     43  drivers/clocksource: Replace __get_cpu_var used for address calculation
git bisect  bad 2c20d34275287784397fdeb995c9686f3208fc5e  # 11:14      1-    101  block: Replace __this_cpu_ptr with raw_cpu_ptr
git bisect  bad 9b0c63851edaf54e909475fe2a0946f57810e98a  # 11:20      0-     23  scheduler: Replace __get_cpu_var with this_cpu_ptr
git bisect good 9dfcba84af450d8685e3b7af9eea98bf1bea5b1e  # 11:24    220+      0  kernel misc: Replace __get_cpu_var uses
# first bad commit: [9b0c63851edaf54e909475fe2a0946f57810e98a] scheduler: Replace __get_cpu_var with this_cpu_ptr
git bisect good 9dfcba84af450d8685e3b7af9eea98bf1bea5b1e  # 11:29    660+      0  kernel misc: Replace __get_cpu_var uses
git bisect  bad a4693a8ebdc47acbec9b5512953962a6f964d31c  # 11:29      0-      5  0day head guard for 'devel-hourly-2014071908'
git bisect good f83971912231fe5390d2357442b6c25bb8076d9b  # 11:57    660+      0  Merge tag 'gfs2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-3.0-fixes


This script may reproduce the error.

----------------------------------------------------------------------------
#!/bin/bash

kernel=$1

kvm=(
	qemu-system-x86_64
	-cpu kvm64
	-enable-kvm
	-kernel $kernel
	-m 320
	-smp 2
	-net nic,vlan=1,model=e1000
	-net user,vlan=1
	-boot order=nc
	-no-reboot
	-watchdog i6300esb
	-rtc base=localtime
	-serial stdio
	-display none
	-monitor null 
)

append=(
	hung_task_panic=1
	earlyprintk=ttyS0,115200
	debug
	apic=debug
	sysrq_always_enabled
	rcupdate.rcu_cpu_stall_timeout=100
	panic=10
	softlockup_panic=1
	nmi_watchdog=panic
	prompt_ramdisk=0
	console=ttyS0,115200
	console=tty0
	vga=normal
	root=/dev/ram0
	rw
	drbd.minor_count=8
)

"${kvm[@]}" --append "${append[*]}"
----------------------------------------------------------------------------

Thanks,
Fengguang

View attachment "dmesg-quantal-vp-23:20140719112051:x86_64-randconfig-hsxa2-07191703:3.16.0-rc5-00154-g9b0c638:12" of type "text/plain" (32411 bytes)

Download attachment "x86_64-randconfig-hsxa2-07191703-a4693a8ebdc47acbec9b5512953962a6f964d31c-BUG:-unable-to-handle-kernel-paging-request-35447.log" of type "application/octet-stream" (124148 bytes)

View attachment "config-3.16.0-rc5-00154-g9b0c638" of type "text/plain" (96121 bytes)

_______________________________________________
LKP mailing list
LKP@...ux.intel.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ