[OpenAFS] afsd gets unhappy when ThisCell has no root.afs and -dynroot not specified

Adam Megacz megacz@cs.berkeley.edu
Thu, 31 May 2007 02:22:38 -0700

In case this leaves anybody else scratching their head...

I discovered that with OpenAFS 1.4.4 and linux, if ThisCell
refers to a cell which has no volume called root.afs, and you forget
to specify -dynroot, afsd will hang on startup, and attempts to shut
it down will cause this:

  slab error in kmem_cache_destroy(): cache `afs_inode_cache': Can't free all objects
   [<c0159294>] kmem_cache_destroy+0x7c/0xbf
   [<f898a656>] cleanup_module+0x1e/0x53 [openafs]
   [<c0131986>] sys_delete_module+0x130/0x194
   [<c014b8a8>] remove_vma+0x31/0x36
   [<c014c256>] do_munmap+0x16e/0x1c1
   [<c0102e30>] syscall_call+0x7/0xb
   [<c0400033>] rpc_timeout_upcall_queue+0x35/0xc4

I wouldn't call this a bug; it's a gross user configuration error --
but the failure mode is wierd enough that I thought I should mention
it so that it turns up when people google the error message.

  - a

PGP/GPG: 5C9F F366 C9CF 2145 E770 B1B8 EFB1 462D A146 C380