From owner-freebsd-current Fri Dec 22 22: 3:23 2000 From owner-freebsd-current@FreeBSD.ORG Fri Dec 22 22:03:21 2000 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from assaris.sics.se (h122n4fls32o892.telia.com [213.64.47.122]) by hub.freebsd.org (Postfix) with ESMTP id F145537B400 for ; Fri, 22 Dec 2000 22:03:20 -0800 (PST) Received: (from assar@localhost) by assaris.sics.se (8.9.3/8.9.3) id HAA04149; Sat, 23 Dec 2000 07:03:11 +0100 (CET) (envelope-from assar) Sender: assar@assaris.sics.se To: mjacob@feral.com Cc: current@FreeBSD.ORG Subject: Re: is it possible to have a NULL procp for an NFS request? References: From: Assar Westerlund Date: 23 Dec 2000 07:03:10 +0100 In-Reply-To: Matthew Jacob's message of "Fri, 22 Dec 2000 21:27:08 -0800 (PST)" Message-ID: <5lelyzsmht.fsf@assaris.sics.se> Lines: 32 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Jacob writes: > I had a panic just now: > > db> t > tprintf() at tprintf+0x7c > nfs_msg() at nfs_msg+0x28 > nfs_timer() at nfs_timer+0x1fc > softclock() at softclock+0x4f4 > sithd_loop() at sithd_loop+0x18c > exception_return() at exception_return Yes, this is possible, (at least) when following symbolic links. This was discussed here on -current some time ago and I proposed the appended simple patch, but I didn't get any feedback on it. /assar Index: nfs_socket.c =================================================================== RCS file: /home/ncvs/src/sys/nfs/nfs_socket.c,v retrieving revision 1.62 diff -u -w -u -w -r1.62 nfs_socket.c --- nfs_socket.c 2000/11/26 20:35:21 1.62 +++ nfs_socket.c 2000/12/23 05:59:51 @@ -1969,6 +1969,7 @@ char *server, *msg; { + if (p != NULL) tprintf(p, LOG_INFO, "nfs server %s: %s\n", server, msg); return (0); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message