From owner-freebsd-current Thu Nov 6 21:00:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA09697 for current-outgoing; Thu, 6 Nov 1997 21:00:04 -0800 (PST) (envelope-from owner-freebsd-current) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA09665 for ; Thu, 6 Nov 1997 21:00:00 -0800 (PST) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.7/8.8.5) id XAA00517; Thu, 6 Nov 1997 23:59:55 -0500 (EST) From: "John S. Dyson" Message-Id: <199711070459.XAA00517@dyson.iquest.net> Subject: Re: Latest kernel: panics with NFS LKM In-Reply-To: <199711070354.TAA07772@mordred.cs.ucla.edu> from Scott Michel at "Nov 6, 97 07:54:14 pm" To: scottm@cs.ucla.edu (Scott Michel) Date: Thu, 6 Nov 1997 23:59:55 -0500 (EST) Cc: freebsd-current@FreeBSD.ORG Reply-To: dyson@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Scott Michel said: > Given the latest kernel snapshot (from a cvsup this afternoon), > the NFS LKM causes the kernel to panic - trap 12, page fault in > kernel. > > Yes, I remembered to config the kernel before I rebuilt it. Configuring > the kernel with NFS compiled in makes the panic go away. I doing a > build world to see if there's some leftover spooge from some of the > kernel source changes today. > Remember to rebuild all of the LKM's. We should probably come up with a published list of things (worst case) that need to be rebuit when upgrading a kernel. People can usually get by with simply recompiling/relinking the kernel, and are suprised when that doesn't work correctly. I am usually prepared to (not necessarily in this order): compile, relink and install libkvm. compile, relink and install ps, w, and other utilities dependent on libkvm. compile, relink and install config. compile, relink and install the /usr/src/lkm's. When doing lots of kernel development, I don't use any LKM's so that I don't run into troubles because of those. Even dealing with the items above, there is still the (not-so-often) possibility of other trouble when upgrading a kernel (esp. a -current kernel.) -- John dyson@freebsd.org jdyson@nc.com