Bug 710463

Summary: Computer won't sleep with autofs
Product: [Fedora] Fedora Reporter: amostock
Component: autofsAssignee: Ian Kent <ikent>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: ikent, llg
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-06 20:07:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description amostock 2011-06-03 13:23:00 UTC
Description of problem: When autofs is enabled and connected to a NFS server, laptop don't sleep when I close the lid.


Version-Release number of selected component (if applicable): 
Nom        : autofs
Architecture        : x86_64
Date       : 1
Version     : 5.0.5
Révision     : 35.fc15
Taille        : 2.9 M
Dépôt         : installed
Depuis le dépôt   : fedora

How reproducible:
Steps to Reproduce:
1. Configure autofs (/etc/auto.master & /etc/auto.nfs)
2. Mount any NFS server previously configured
3. Ask computer to sleep
  
Actual results:


Expected results:


Additional info:
Here is my /var/log/message :
Jun  3 15:11:16 Portable kernel: [  647.818809] PM: Syncing filesystems ... done.
Jun  3 15:11:36 Portable kernel: [  647.894140] Freezing user space processes ... 
Jun  3 15:11:36 Portable kernel: [  667.896390] Freezing of tasks failed after 20.00 seconds (1 tasks refusing to freeze, wq_busy=0):
Jun  3 15:11:36 Portable kernel: [  667.896447] mount.nfs       D ffff8800bb2d2b98     0  2876   2875 0x00800084
Jun  3 15:11:36 Portable kernel: [  667.896457]  ffff88010358f7e8 0000000000000086 0000000000000246 ffff88012c204560
Jun  3 15:11:36 Portable kernel: [  667.896461]  ffff88010358ffd8 ffff88010358ffd8 0000000000013840 0000000000013840
Jun  3 15:11:36 Portable kernel: [  667.896464]  ffff88011e279720 ffff88012c204560 ffff88010358f7b8 ffffffff8147588c
Jun  3 15:11:36 Portable kernel: [  667.896468] Call Trace:
Jun  3 15:11:36 Portable kernel: [  667.896478]  [<ffffffff8147588c>] ? _raw_spin_unlock_irqrestore+0x17/0x19
Jun  3 15:11:36 Portable kernel: [  667.896493]  [<ffffffffa0316057>] ? rpc_wait_bit_killable+0x0/0x38 [sunrpc]
Jun  3 15:11:36 Portable kernel: [  667.896501]  [<ffffffffa031608b>] rpc_wait_bit_killable+0x34/0x38 [sunrpc]
Jun  3 15:11:36 Portable kernel: [  667.896504]  [<ffffffff81474805>] __wait_on_bit+0x48/0x7b
Jun  3 15:11:36 Portable kernel: [  667.896511]  [<ffffffff8106ac6b>] ? queue_work_on+0x37/0x45
Jun  3 15:11:36 Portable kernel: [  667.896513]  [<ffffffff814748aa>] out_of_line_wait_on_bit+0x72/0x7d
Jun  3 15:11:36 Portable kernel: [  667.896521]  [<ffffffffa0316057>] ? rpc_wait_bit_killable+0x0/0x38 [sunrpc]
Jun  3 15:11:36 Portable kernel: [  667.896524]  [<ffffffff8106f24f>] ? wake_bit_function+0x0/0x31
Jun  3 15:11:36 Portable kernel: [  667.896532]  [<ffffffffa0316c5c>] __rpc_execute+0xf2/0x295 [sunrpc]
Jun  3 15:11:36 Portable kernel: [  667.896534]  [<ffffffff8106efc5>] ? wake_up_bit+0x25/0x2a
Jun  3 15:11:36 Portable kernel: [  667.896542]  [<ffffffffa0316e6c>] rpc_execute+0x3f/0x43 [sunrpc]
Jun  3 15:11:36 Portable kernel: [  667.896548]  [<ffffffffa0310dde>] rpc_run_task+0xeb/0xf7 [sunrpc]
Jun  3 15:11:36 Portable kernel: [  667.896554]  [<ffffffffa0310ed7>] rpc_call_sync+0x45/0x66 [sunrpc]
Jun  3 15:11:36 Portable kernel: [  667.896559]  [<ffffffffa0310f3f>] rpc_ping+0x47/0x5d [sunrpc]
Jun  3 15:11:36 Portable kernel: [  667.896567]  [<ffffffffa03179cb>] ? rpcauth_create+0xc2/0x100 [sunrpc]
Jun  3 15:11:36 Portable kernel: [  667.896573]  [<ffffffffa031146e>] rpc_create+0x489/0x504 [sunrpc]
Jun  3 15:11:36 Portable kernel: [  667.896585]  [<ffffffffa039777e>] nfs_create_rpc_client+0xa8/0xee [nfs]
Jun  3 15:11:36 Portable kernel: [  667.896592]  [<ffffffffa03984bc>] nfs4_set_client+0xc6/0x267 [nfs]
Jun  3 15:11:36 Portable kernel: [  667.896599]  [<ffffffffa0398e4e>] nfs4_create_server+0xef/0x210 [nfs]
Jun  3 15:11:36 Portable kernel: [  667.896607]  [<ffffffffa03a1977>] nfs4_remote_mount+0x75/0x1f1 [nfs]
Jun  3 15:11:36 Portable kernel: [  667.896612]  [<ffffffff81123560>] vfs_kern_mount+0xaa/0x1f6
Jun  3 15:11:36 Portable kernel: [  667.896620]  [<ffffffffa03a1d65>] nfs_do_root_mount+0x7b/0x9a [nfs]
Jun  3 15:11:36 Portable kernel: [  667.896629]  [<ffffffffa03a2126>] nfs4_try_mount+0x5b/0xb2 [nfs]
Jun  3 15:11:36 Portable kernel: [  667.896637]  [<ffffffffa03a30b1>] nfs_get_sb+0x4e5/0x742 [nfs]
Jun  3 15:11:36 Portable kernel: [  667.896640]  [<ffffffff8112358b>] vfs_kern_mount+0xd5/0x1f6
Jun  3 15:11:36 Portable kernel: [  667.896643]  [<ffffffff81123714>] do_kern_mount+0x4d/0xdf
Jun  3 15:11:36 Portable kernel: [  667.896646]  [<ffffffff81139d9a>] do_mount+0x6a2/0x6f6
Jun  3 15:11:36 Portable kernel: [  667.896649]  [<ffffffff8113965d>] ? copy_mount_options+0xcb/0x12e
Jun  3 15:11:36 Portable kernel: [  667.896651]  [<ffffffff8113a070>] sys_mount+0x88/0xc2
Jun  3 15:11:36 Portable kernel: [  667.896655]  [<ffffffff81009bc2>] system_call_fastpath+0x16/0x1b
Jun  3 15:11:36 Portable kernel: [  667.896657]

Comment 1 Laurent Le Grandois 2011-06-03 13:52:22 UTC
Hi, 

  same pb with cifs mounts.

Llg

Comment 2 Ian Kent 2011-06-07 03:09:56 UTC
So you are saying this doesn't happen if you manually mount
the NFS mount and then try and put the computer to sleep?

Comment 3 Fedora End Of Life 2012-08-06 20:07:44 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 15. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 15 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Fedora End Of Life 2012-08-06 20:07:44 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 15. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 15 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping