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:	Sun, 3 Jun 2012 14:32:36 +0300
From:	Gleb Natapov <gleb@...hat.com>
To:	paulmck@...ibm.com
Cc:	linux-kernel@...r.kernel.org
Subject: automount hangs during boot somewhere in rcu_barrier.

Hello Paul,

I see something strange with 3.5.0-rc1 kernel. During boot automount
process hangs for a couple of minutes and when boot finally completes
I find this in dmesg:

[  240.676287] INFO: task automount:3000 blocked for more than 120 seconds.
[  240.676393] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  240.676495] automount       D ffff88027fc12040     0  3000   2994 0x00000000
[  240.676581]  ffff880273e7dcb8 0000000000000046 ffff880273e7dc70 ffff880273e7dfd8
[  240.676681]  0000000000004000 0000000000012040 ffffffff814e3410 ffff8802732a4100
[  240.676781]  ffff880272470a20 ffff8802732f5001 0000000000000009 ffff880273e7de18
[  240.676880] Call Trace:
[  240.676962]  [<ffffffff81186bae>] ? security_inode_permission+0x1e/0x20
[  240.677072]  [<ffffffff8114ad90>] ? fsnotify_clear_marks_by_inode+0x93/0xd4
[  240.677169]  [<ffffffff8105ae20>] ? sub_preempt_count+0x38/0x4b
[  240.677260]  [<ffffffff8137e738>] schedule+0x64/0x66
[  240.677348]  [<ffffffff8137cad4>] schedule_timeout+0x2b/0x28b
[  240.677435]  [<ffffffff8137dcdd>] ? wait_for_common+0xc0/0x146
[  240.677523]  [<ffffffff8105ae20>] ? sub_preempt_count+0x38/0x4b
[  240.677610]  [<ffffffff8137dce5>] wait_for_common+0xc8/0x146
[  240.677699]  [<ffffffff8109a1cd>] ? synchronize_sched_expedited_cpu_stop+0x10/0x10
[  240.677804]  [<ffffffff8105c963>] ? try_to_wake_up+0x24f/0x24f
[  240.677892]  [<ffffffff8137dd80>] wait_for_completion+0x1d/0x1f
[  240.677979]  [<ffffffff8109a6b4>] _rcu_barrier+0x204/0x21f
[  240.678085]  [<ffffffff8109c560>] ? kfree_call_rcu+0x1c/0x1c
[  240.678178]  [<ffffffff8109a48b>] ? rcu_implicit_dynticks_qs+0x191/0x191
[  240.678272]  [<ffffffff8109a6eb>] rcu_barrier+0x1c/0x1e
[  240.678359]  [<ffffffff81119060>] deactivate_locked_super+0x37/0x57
[  240.678447]  [<ffffffff81119cae>] deactivate_super+0x3f/0x43
[  240.678535]  [<ffffffff8112fdd9>] mntput_no_expire+0x132/0x13a
[  240.678622]  [<ffffffff81130c15>] sys_umount+0x308/0x33a
[  240.678708]  [<ffffffff81380092>] system_call_fastpath+0x16/0x1b

When I am actually trying to access automounted NFS directory nfs mount
also hangs in D state in rcu_barrier (I see this behaviour in 3.4 and it
looks like 3.3 kernel too).

My kernel config is attached.

--
			Gleb.

View attachment "config-3.5.0-rc1" of type "text/plain" (101238 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ