Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 1997 17:12:23 -0400 (EDT)
From:      Thomas David Rivers <ponds!rivers@dg-rtp.dg.com>
To:        ponds!freefall.cdrom.com!freebsd-hackers@ucbvax.Berkeley.EDU
Subject:   NFS hangups in 2.2.1 - problem in calling sowakeup()???
Message-ID:  <199704142112.RAA23661@ponds.water.net>

next in thread | raw e-mail | index | archive | help

Ok - 

 (Again, this is the readdir hangs in NFS with 2.2.1).

 I've determined that soreceive() calls sbwait() - which dutifully
waits on &sb->sb_cc.

 I've also determined that sowakeup() *never* does a wakeup()
on that address.

 So, the problem; as it appears to me, has to be that sowakeup()
is never called with the socket buffer associated with the socket
from the original readdir(); and so, the "ls -l" is hung forever
in sbwait().

 It's not at all obvious to me how sowakeup() is supposed to be
called, (I imagine from some interrupt routine, somewhere...) and 
from where it gets it's second parm (the socket buffer in question) - 
but I'd bet that's where the problem lies...  Can someone "in the know" 
investigate, or point me to where this might be...  Since I have
a reliable reproduction of the problem; I'm likely the only "tester"
around...

	- Dave Rivers -



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704142112.RAA23661>