Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: i386 panic in nfs_vnops: assertion "dvp != *vpp" failed



On Mon, Aug 08, 2011 at 07:14:46PM +0200, Hubert Feyrer wrote:
 > I'm seeing repeated panics on i386/current with src on nfs when
 > building a release. according to savecore, the panic message is:
 > 
 >      panic: kernel diagnostic assertion "dvp != *vpp" failed: file 
 > ".../src-current/sys/nfs/nfs_vnops.c", line 817
 > 
 > the source code at line 817 is:
 > 
 >         error = cache_lookup_raw(dvp, vpp, cnp);
 > -->     KASSERT(dvp != *vpp);
 >         KASSERT((cnp->cn_flags & ISWHITEOUT) == 0);

(in nfs_lookup)

There's code about 20 lines up that handles the "." case, so it
shouldn't be coming here and that really shouldn't happen...

Perhaps the name is ""? That probably shouldn't be allowed here (and
probably shouldn't be appearing) but I'm not sure there's no possible
way without wading into the guts of namei.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index