Re: [OOPS] nfs client in 2.1.120

Steven N. Hirsch (shirsch@adelphia.net)
Sun, 6 Sep 1998 10:15:56 -0400 (EDT)


On Sun, 6 Sep 1998, Rani Assaf wrote:

> This happened after trying to remount a previously unmounted partition:
> Unable to handle kernel NULL pointer dereference at virtual address 00000000
> current->tss.cr3 = 06530000, %cr3 = 06530000

> >>EIP: c0109b6b <checksignals+27/38>

> nfs is compiled as a module.

Bill Hawes posted a quick fix for this:

--- linux/fs/nfsd/nfssvc.c.old Tue Jan 27 09:36:34 1998
+++ linux/fs/nfsd/nfssvc.c Sat Sep 5 13:19:05 1998
@@ -36,8 +36,8 @@
#define NFSDDBG_FACILITY NFSDDBG_SVC
#define NFSD_BUFSIZE (1024 + NFSSVC_MAXBLKSIZE)

-#define ALLOWED_SIGS (sigmask(SIGKILL) | sigmask(SIGSTOP))
-#define SHUTDOWN_SIGS (sigmask(SIGKILL) | sigmask(SIGINT) | sigmask(SIGTERM))
+#define ALLOWED_SIGS (sigmask(SIGKILL))
+#define SHUTDOWN_SIGS (sigmask(SIGKILL) | sigmask(SIGINT) | sigmask(SIGQUIT))

extern struct svc_program nfsd_program;
static void nfsd(struct svc_rqst *rqstp);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/faq.html