Help debugging kernel dump?
Xin LI
delphij at delphij.net
Wed Feb 20 22:03:15 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Carey Jones wrote:
> I have been getting occasional reboots on my FreeBSD 6-STABLE machine.
> I haven't figured out a pattern on it yet, but the most recent crash was
> during some pretty heavy NFS usage, and I see nfsd in the dump, so
> perhaps that has something to do with it. Could anyone assist in
> deciphering the cause of this? This is the first time it's crashed on
> me once I enabled debugging, so I can't say for sure whether or not this
> is common to all of them.
Just a glance at the code, will this work?
Index: nfs_srvsock.c
===================================================================
RCS file: /home/ncvs/src/sys/nfsserver/nfs_srvsock.c,v
retrieving revision 1.94.2.3
diff -p -u -r1.94.2.3 nfs_srvsock.c
- --- nfs_srvsock.c 2 Sep 2006 23:58:20 -0000 1.94.2.3
+++ nfs_srvsock.c 20 Feb 2008 22:02:23 -0000
@@ -721,6 +721,7 @@ nfsrv_dorec(struct nfssvc_sock *slp, str
if (nd->nd_cr != NULL)
crfree(nd->nd_cr);
free((caddr_t)nd, M_NFSRVDESC);
+ *ndp = NULL;
return (error);
}
*ndp = nd;
- --
Xin LI <delphij at delphij.net> http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
iD8DBQFHvKOYi+vbBBjt66ARAnIxAJ9MyIqcMspJLd9bI+9ikEb1WH4KvgCfSF2u
OaIOdWK+kjGcm/usa/xGzhg=
=3e+s
-----END PGP SIGNATURE-----
More information about the freebsd-hackers
mailing list