Bug in SUN Kernel RPC

guy at gorodish.UUCP guy at gorodish.UUCP
Thu Feb 26 20:27:13 AEST 1987


>Yet sbwakeup() takes a `struct sockbuf *', not an `int *', and does
>a wakeup on &sb->sb_cc.  How can the above be right?

It can't.  I believe the original bug report spoke of problems with
soft mounts hanging forever; there is a bug here, but it's unrelated
to the RPC code.  The problem is that when you do a mount, you do
some NFS calls to do things such as getting the attributes of the
directory you're mounting.  However, the problem is that "nfsrootvp"
doesn't set (or, more precisely, clear) the "mi_hard" entry for the
file system based on the mount options until *after* all those NFS
calls have been made.  Thus, if the mount server for a host is
responding but the NFS server isn't, the "mount" will hang.



More information about the Comp.unix.wizards mailing list