From owner-freebsd-stable Sat Oct 6 11:18:25 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mozone.net (mail.mozone.net [206.165.200.53]) by hub.freebsd.org (Postfix) with ESMTP id 8005C37B403 for ; Sat, 6 Oct 2001 11:18:21 -0700 (PDT) Received: (from mki@localhost) by mozone.net (8.11.2/8.11.2) id f96II9c22818; Sat, 6 Oct 2001 11:18:09 -0700 Date: Sat, 6 Oct 2001 11:18:09 -0700 From: mki To: David Malone Cc: stable@FreeBSD.ORG Subject: Re: panic in 4.4-stable (10/01 snap); help needed Message-ID: <20011006111809.H1671@cyclonus.mozone.net> References: <20011005192458.G1671@cyclonus.mozone.net> <20011006111623.A75883@walton.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011006111623.A75883@walton.maths.tcd.ie>; from dwmalone@maths.tcd.ie on Sat, Oct 06, 2001 at 11:16:23AM +0100 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Oct 06, 2001 at 11:16:23AM +0100, David Malone wrote: > > appreciated (on the machine below, there were no nfs mount points). > > It looks like you are using NQNFS - you'd be better avoiding it if > you can. AFAIK it has been removed from -current. Using NFSv3 would > probably be safer. Hmmm, I'm not familiar with this. Besides, why would these functions get called anyways if there were only ffs mountpoints on the system at the time of the panic? > > #6 0xc01adac6 in nqsrv_getlease (vp=0xfc106f00, duration=0xfbaa1e1c, flags=5, slp=0xffffffff, procp=0xf1884c20, nam=0x0, > > cachablep=0xfbaa1e20, frev=0xfbaa1e24, cred=0xd2ad8800) at /usr/src/sys/nfs/nfs_nqlease.c:228 > > It looks like is is dereferencing a bad pointer in this frame. You > could try saying "frame 6", "list" and "print lp" to see if you > can find out what is going on. sure, (kgdb) frame 6 #6 0xc01adac6 in nqsrv_getlease (vp=0xfc106f00, duration=0xfbaa1e1c, flags=5, slp=0xffffffff, procp=0xf1884c20, nam=0x0, cachablep=0xfbaa1e20, frev=0xfbaa1e24, cred=0xd2ad8800) at /usr/src/sys/nfs/nfs_nqlease.c:228 228 if (lp != 0) { (kgdb) list 223 tlp = lp; 224 break; 225 } 226 } else 227 lp = tlp; 228 if (lp != 0) { 229 if ((lp->lc_flag & LC_NONCACHABLE) || 230 (lp->lc_morehosts == (struct nqm *)0 && 231 nqsrv_cmpnam(slp, nam, &lp->lc_host))) 232 goto doreply; (kgdb) print lp $1 = (struct nqlease *) 0x40000000 (kgdb) print tlp $2 = (struct nqlease *) 0x0 according to that, lp is invalid, besides that it should have passed the lp != 0 test and shouldn't have died at that spot, right? -mohan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message