Date: Sat, 6 Oct 2001 11:18:09 -0700 From: mki <mki@mozone.net> To: David Malone <dwmalone@maths.tcd.ie> Cc: stable@FreeBSD.ORG Subject: Re: panic in 4.4-stable (10/01 snap); help needed Message-ID: <20011006111809.H1671@cyclonus.mozone.net> In-Reply-To: <20011006111623.A75883@walton.maths.tcd.ie>; from dwmalone@maths.tcd.ie on Sat, Oct 06, 2001 at 11:16:23AM %2B0100 References: <20011005192458.G1671@cyclonus.mozone.net> <20011006111623.A75883@walton.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011006111809.H1671>