Search This Blog

12 December 2006

unionfs-- panic: lockmgr: locking against myself

Error looks like this:
panic: lockmgr: locking against myself
cpuid = 0
KBD: enter: panic
[thread pid 74167 tid 100077]
Stopped at kdb_enter+02f: nop
db>

I found this problem related to kern/84107: unionfs related panic.
Solution:
# patch < /anywhere/unionfs-p8.diff
# cp /usr/src/sys/fs/unionfs/union.h /usr/include/fs/unionfs
# cd /usr/src/sbin/mount_unionfs/
# make obj
# make depend
# make all
# make install
# make clean
# cd /usr/src
# make buildkernel KERNCONF=CUSTOM
# make installkernel KERNCONF=CUSTOM
# shutdown -r now
* Note: SERVERIS: /root/patches/unionfs/unionfs-p8.diff

* Note: SERVERIS: /root/patches/unionfs/unionfs-p8.diff

No comments:

Post a Comment