Date: Wed, 21 Oct 1998 09:56:04 +0100 (BST) From: Doug Rabson <dfr@nlsystems.com> To: Eric Haug <ejh@eas.slu.edu> Cc: current@FreeBSD.ORG Subject: Re: nfs panic in free() Message-ID: <Pine.BSF.4.01.9810210954330.366-100000@herring.nlsystems.com> In-Reply-To: <199810201633.LAA06373@mnw.eas.slu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 20 Oct 1998, Eric Haug wrote: > Hi all, > I am having a repeatable panic in the nfs server code. > I have a -g compile kernel and a vmcore file. > dmesg output included > Should this be sent via send-pr? > Anyone else seeing this sort of nfs bug? > > Another problem that this system has: > The Promise card has the prom removed, cause the system will not > recognize the disks connected to it when the prom is in there. > I believe that this results in the disk access timing being off > so that transfers are about half of what they could be. > > The MBoard is a Matsonic MS6260S running at system clock of 100MHz. > The CPU is rated for more than 300 MHz. i.e. the system > is not overclocked. Could you test this fix (thanks for the stacktrace it made it pretty easy to see what was going on): Index: nfs_socket.c =================================================================== RCS file: /home/ncvs/src/sys/nfs/nfs_socket.c,v retrieving revision 1.46 diff -u -r1.46 nfs_socket.c --- nfs_socket.c 1998/09/29 22:33:05 1.46 +++ nfs_socket.c 1998/10/21 08:55:41 @@ -2232,7 +2232,9 @@ nd->nd_dpos = mtod(m, caddr_t); error = nfs_getreq(nd, nfsd, TRUE); if (error) { - FREE(nam, M_SONAME); + if (nam) { + FREE(nam, M_SONAME); + } free((caddr_t)nd, M_NFSRVDESC); return (error); } -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.01.9810210954330.366-100000>