[OpenAFS-devel] Kernel Panic with openafs

Chaskiel M Grundman cg2v@andrew.cmu.edu
Fri, 31 Aug 2007 17:52:28 -0400


--On Friday, August 31, 2007 03:07:52 PM -0400 Marcus Watts 
<mdw@spam.ifs.umich.edu> wrote:

> o you have a way to repeat this on demand?
> Does it happen often?
>
> This probably happened because in afs_pag_destroy at
> src/afs/LINUX/osi_groups.c:596 the macro ISAFS_GLOCK
> returned true, but when afs_FindUser invoked ObtainWriteLock
> and then Afs_Lock_Obtain, the macro AFS_ASSERT_GLOCK failed
> (which means ISAFS_GLOCK returned false there).

The ISAFS_GLOCK chunk was added to openafs after 1.4.4 was released. plain 
1.4.4 does not have any glock management code in afs_pag_destroy.

patch from cvs is here:
<http://www.openafs.org/cgi-bin/cvsweb.cgi/openafs/src/afs/LINUX/osi_groups.c.diff?r1=1.25.2.8&r2=1.25.2.9>