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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 29 Mar 2013 09:17:19 +0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Cc:	linux-kernel@...r.kernel.org
Subject: [rcu] BUG: sleeping function called from invalid context at
 kernel/cpu.c:68

Greetings,

I got the below dmesg and the first bad commit is

commit 8902eb3ab3e3f63c3f5e85734470941aecfc00e3
Author: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>
Date:   Tue Mar 19 12:27:50 2013 -0700

    rcu: Inline trivial wrapper function rcu_start_gp_per_cpu()
    
    Given the changes that introduce note_gp_change(), rcu_start_gp_per_cpu()
    is now a trivial wrapper function with only one caller.  This commit
    therefore inlines it into its sole call site.
    
    Signed-off-by: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>

[    5.438614] Testing CPA: undo 81788000-81ac2000
[    5.439319] Testing CPA: write protecting again
[    5.440085] BUG: sleeping function called from invalid context at /c/kernel-tests/src/linux/kernel/cpu.c:68
[    5.441418] in_atomic(): 1, irqs_disabled(): 1, pid: 10, name: rcu_sched
[    5.442348] Pid: 10, comm: rcu_sched Not tainted 3.9.0-rc4-00255-g7a0861d #330
[    5.443346] Call Trace:
[    5.443725]  [<810767ab>] __might_sleep+0x15b/0x170
[    5.444010]  [<81046c49>] get_online_cpus+0x19/0x50
[    5.444010]  [<810a279f>] rcu_implicit_dynticks_qs+0x5f/0xb0
[    5.444010]  [<810a363c>] force_qs_rnp+0xcc/0x150
[    5.444010]  [<810a2740>] ? force_quiescent_state+0xf0/0xf0
[    5.444010]  [<810a43fa>] rcu_gp_fqs+0x3a/0x90
[    5.444010]  [<810a487a>] rcu_gp_kthread+0x42a/0x720
[    5.444010]  [<81065c50>] ? abort_exclusive_wait+0x80/0x80
[    5.444010]  [<810a4450>] ? rcu_gp_fqs+0x90/0x90
[    5.444010]  [<81064eff>] kthread+0x8f/0xa0
[    5.444010]  [<81070000>] ? perf_trace_sched_wakeup_template+0x60/0xf0
[    5.444010]  [<817860f7>] ret_from_kernel_thread+0x1b/0x28
[    5.444010]  [<81064e70>] ? __kthread_parkme+0x70/0x70
mountall: ply-event-loop.c:497: ply_event_loop_new: Assertion `loop->epoll_fd >= 0' failed.
General error mounting filesystems.

git bisect start 7a0861da273ddc4ba4fdbe3224d5cf1624646691 v3.8 --
git bisect good 8b5628ab83b671f96ac9f174c1bd51c92589fc82  #    36  2013-03-28 20:57:33  Merge tag 'virt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
git bisect good ecc88efbe7adceb3f4bfdbbb1efb669efcaab124  #    35  2013-03-28 21:04:05  Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending
git bisect good b695188dd39162a1a6bff11fdbcc4c0b65b933ab  #    33  2013-03-28 21:09:23  Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs
git bisect good cad9d5664a74702d3df7a1bf4ab1221428c3ff87  #    37  2013-03-28 21:13:54  Merge tag 'tty-3.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
git bisect good d3c926264a92e5ea448add3e883530e1edad3ce2  #    34  2013-03-28 21:19:24  Merge tag 'ext4_for_linue' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4
git bisect good 45f66fe90604d67a32b6663189d6201dd63e43c5  #    36  2013-03-28 21:24:44  Merge remote-tracking branch 'drm-intel/drm-intel-next-queued' into devel-roam-i386-2013-03-27-04-47
git bisect good 3d597e98ceced8cb5c4c45ea339ae8af31487477  #    37  2013-03-28 21:29:51  arm64: KVM: Plug the VGIC
git bisect good 73806b1c8e9c079288acaaf3dfdf566dabd2413c  #    35  2013-03-28 21:35:26  Merge remote-tracking branch 'regmap/for-next' into devel-roam-i386-2013-03-27-04-47
git bisect good 910ee45db2f4837c8440e770474758493ab94bf7  #    32  2013-03-28 21:39:59  rcu: Make rcu_accelerate_cbs() note need for future grace periods
git bisect good a46e1ecb936cb209e236d28d7dc1396c736a6c9d  #    32  2013-03-28 21:45:26  rcu: Remove srcu_read_lock_raw() and srcu_read_unlock_raw().
git bisect good 7b48afd55f65960962593e46400e710a04ba7a6c  #    34  2013-03-28 21:50:03  rcu: Switch callers from rcu_process_gp_end() to note_gp_changes()
git bisect  bad 8902eb3ab3e3f63c3f5e85734470941aecfc00e3  #     2  2013-03-28 21:52:19  rcu: Inline trivial wrapper function rcu_start_gp_per_cpu()
git bisect good 0d5522f080c10c35625e7c4c99ced17484cb9bfc  #    31  2013-03-28 21:56:21  rcu: Eliminate check_for_new_grace_period() wrapper function
git bisect good 0d5522f080c10c35625e7c4c99ced17484cb9bfc  #    96  2013-03-28 22:01:19  rcu: Eliminate check_for_new_grace_period() wrapper function
git bisect  bad 7a0861da273ddc4ba4fdbe3224d5cf1624646691  #     1  2013-03-28 22:04:09  Merge remote-tracking branch 'rcu/dev.2013.03.26a' into devel-roam-i386-2013-03-27-04-47
git bisect  bad 0ed9dc7c1351a22c05b3fbddf766e9c1a373d40a  #     2  2013-03-28 22:05:58  Revert "rcu: Inline trivial wrapper function rcu_start_gp_per_cpu()"
git bisect good da17d7bda957ae4697b6abc0793f74fb9b50b58f  #    90  2013-03-28 22:31:54  Add linux-next specific files for 20130328

Thanks,
Fengguang

View attachment "dmesg-kvm-bay-1249-2013-03-27-12-17-25-3.9.0-rc4-00255-g7a0861d-330" of type "text/plain" (146491 bytes)

View attachment "7a0861da273ddc4ba4fdbe3224d5cf1624646691-bisect.log" of type "text/plain" (8136 bytes)

View attachment ".config-bisect" of type "text/plain" (69480 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ