Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:12327 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752281Ab0LXPHT (ORCPT ); Fri, 24 Dec 2010 10:07:19 -0500 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oBOF7J7L009191 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 24 Dec 2010 10:07:19 -0500 Received: from tlielax.poochiereds.net (vpn-8-9.rdu.redhat.com [10.11.8.9]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oBOF7Iof020028 for ; Fri, 24 Dec 2010 10:07:19 -0500 Date: Fri, 24 Dec 2010 10:07:17 -0500 From: Jeff Layton To: linux-nfs@vger.kernel.org Subject: machine won't suspend with nfs4 mount mounted Message-ID: <20101224100717.79895965@tlielax.poochiereds.net> Content-Type: text/plain; charset=US-ASCII Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 I upgraded one of my machines to a very recent fedora rawhide kernel today (2.6.37-0.rc7.git0.2.fc15.x86_64). When I tried to suspend it, it failed, and I got this: [ 387.811334] Freezing user space processes ... [ 407.821049] Freezing of tasks failed after 20.00 seconds (1 tasks refusing to freeze, wq_busy=0): [ 407.821115] umount D 00000001000150d5 0 8656 8637 0x00800084 [ 407.821120] ffff8801d3657968 0000000000000082 ffff8801d36578d0 ffffffff00000000 [ 407.821125] 0000000000013780 0000000000013780 0000000000013780 ffff8801d37bdc80 [ 407.821130] 0000000000013780 ffff8801d3657fd8 0000000000013780 0000000000013780 [ 407.821134] Call Trace: [ 407.821153] [] ? rpc_wait_bit_killable+0x0/0x38 [sunrpc] [ 407.821163] [] rpc_wait_bit_killable+0x34/0x38 [sunrpc] [ 407.821168] [] __wait_on_bit+0x48/0x7b [ 407.821173] [] ? _local_bh_enable_ip.clone.6+0x25/0x8e [ 407.821177] [] out_of_line_wait_on_bit+0x6e/0x79 [ 407.821186] [] ? rpc_wait_bit_killable+0x0/0x38 [sunrpc] [ 407.821191] [] ? wake_bit_function+0x0/0x31 [ 407.821194] [] ? _local_bh_enable_ip.clone.6+0x25/0x8e [ 407.821203] [] __rpc_execute+0xff/0x1e1 [sunrpc] [ 407.821212] [] rpc_execute+0x42/0x46 [sunrpc] [ 407.821219] [] rpc_run_task+0xed/0xf8 [sunrpc] [ 407.821226] [] rpc_call_sync+0x42/0x63 [sunrpc] [ 407.821245] [] _nfs4_call_sync+0x22/0x24 [nfs] [ 407.821258] [] _nfs4_proc_access+0x104/0x161 [nfs] [ 407.821272] [] nfs4_proc_access+0x34/0x60 [nfs] [ 407.821280] [] nfs_do_access+0x15f/0x3a6 [nfs] [ 407.821289] [] ? generic_lookup_cred+0x15/0x17 [sunrpc] [ 407.821299] [] ? rpcauth_lookupcred+0x93/0xb0 [sunrpc] [ 407.821307] [] nfs_permission+0xcf/0x16b [nfs] [ 407.821312] [] exec_permission+0x26/0x78 [ 407.821316] [] link_path_walk+0x70/0x490 [ 407.821319] [] path_walk+0x4f/0x9f [ 407.821322] [] ? path_init+0x88/0x14d [ 407.821326] [] do_path_lookup+0x2f/0x7b [ 407.821329] [] user_path_at+0x54/0x91 [ 407.821333] [] ? do_brk+0x245/0x299 [ 407.821336] [] ? remove_vma+0x7f/0x87 [ 407.821339] [] sys_readlinkat+0x30/0x98 [ 407.821342] [] sys_readlink+0x1b/0x1d [ 407.821346] [] system_call_fastpath+0x16/0x1b [ 407.821350] [ 407.821351] Restarting tasks ... done. I had a nfsv4 mount mounted at the time and I seem to be able to reproduce this at will by making sure a nfs mount is mounted and trying to suspend the machine. It seems likely that the network interface had gone offline before the call could complete. Anyone have thoughts on ways to deal with this? -- Jeff Layton