cvs commit: src/sys/tools vnode_if.awk

Tim Robbins tjr at FreeBSD.ORG
Sun Jun 22 02:05:05 PDT 2003


On Fri, Jun 20, 2003 at 05:15:37AM -0700, Stefan Esser wrote:

> se          2003/06/20 05:15:37 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/tools            vnode_if.awk 
>   Log:
>   The assertions generated to test VFS locking never included checks
>   for vnodes reached through double indirection (i.e. **vpp). This
>   is worked-around by special-casing the identifier "vpp" (adding one
>   level of indirection).

Since this commit, I've been getting a kernel panic when the kernel tries
to start init. Reverting vnode_if.awk to the previous revision makes the
problem go away.

kernel: type 12 trap, code=0
Stopped at    assert_vi_unlocked+0x12:        movl     0x1c(%ecx),%eax
db> tr
assert_vi_unlocked(0, ...) at assert_vi_unlocked+0x12
VOP_CACHEDLOOKUP(...)
vfs_cache_lookup(...)
ufs_vnoperate(...)
lookup(...)
namei(...)
kern_mkdir(...)
start_init(...)
fork_exit(...)
fork_trampoline()


Tim


More information about the cvs-all mailing list