public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@cfl.rr.com>
To: linux-kernel@vger.kernel.org
Subject: [bug report] NFS and uninterruptable wait states
Date: Mon, 3 Sep 2001 10:48:31 +0000	[thread overview]
Message-ID: <01090310483100.26387@faldara> (raw)

The other day I was trying to set up an NFS mount to my room mate's system, 
and ran into what I at least, call a bug.  When I tried to mount his NFS 
export, the mount command locked up, and would not die.  Not even a SIGKILL 
would do any good.  According to ps, the mount process was in the 'D' - 
uninterruptable wait state.  It also looked like the WCHAN was rpc_ 
something.  I think it was waiting for an rpc call to return in the D state, 
and it never did return.  The bug here is that it should NOT be waiting in 
the D state for something that could never happen.  For that matter, why 
should anything ever need to wait in an uninterruptable state?  Whenever you 
wait, you should expect the possibility of being interrupted, check for that 
when you wake up, and if you were, clean up and return so the signal can be 
processed.

Anyhow, about an hour later ( the mount process still stuck ) I figured out 
that the other machine was not running rpc.nfsd, though it was running 
rpc.mountd.  Once I started rpc.nfsd on the machine, the mount on my box 
finally returned ( and was terminated by the SIGKILL that I sent it an hour 
before ).

Could someone confirm that this is a bug, and explain why anything should 
ever need to wait in that state?


             reply	other threads:[~2001-09-03 14:54 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-03 10:48 Phillip Susi [this message]
2001-09-03 15:11 ` [bug report] NFS and uninterruptable wait states Peter Wächtler
2001-09-03 15:17   ` Peter Wächtler
2001-09-03 15:50 ` Doug McNaught
2001-09-03 11:55   ` Phillip Susi
2001-09-03 17:42     ` Doug McNaught
2001-09-03 16:28 ` David Woodhouse
2001-09-03 17:09   ` Peter Wächtler
2001-09-03 17:14   ` David Woodhouse
2001-09-03 17:50   ` Doug McNaught
2001-09-10 13:53   ` Jan Hudec
2001-09-03 22:11 ` Sound Blaster Live - OSS or Not? Thiago Vinhas de Moraes
2001-09-03 22:26   ` Tim Jansen
2001-09-03 22:26     ` Thiago Vinhas de Moraes
2001-09-03 22:51       ` Robert Love
2001-09-04  3:38         ` Garett Spencley
2001-09-03 23:03   ` Joel Jaeggli
2001-09-03 23:35     ` machack
2001-09-04 10:54   ` Daryl F
2001-09-04 12:09   ` rui.p.m.sousa
2001-09-04 17:08     ` Thiago Vinhas de Moraes
2001-09-04 17:36       ` rui.p.m.sousa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=01090310483100.26387@faldara \
    --to=psusi@cfl.rr.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox