[OpenAFS-devel] Kernel Panic with openafs

Randy Philipp randy@umbc.edu
Fri, 31 Aug 2007 09:20:46 -0400


We just upgraded some of our central login servers to RHEL 5 and we are 
using an openafs client 1.4.4 with a 2.6.18-8.1.8.el5 SMP kernel.  We 
got the following message when the machine crashed:


openafs: afs global lock not held at 
/afs/umbc.edu/users/k/h/kherna1/home/Build/rpmbuild/BUILD/openafs-1.4.3/src/libafs/MODLOAD-2.6.18-8.1.8.el5-SP/afs_lock.c:133
------------[ cut here ]------------
kernel BUG at 
/afs/umbc.edu/users/k/h/kherna1/home/Build/rpmbuild/BUILD/openafs-1.4.3/src/libafs/MODLOAD-2.6.18-8.1.8.el5-SP/afs_lock.c:133!
invalid opcode: 0000 [#1]
SMP
last sysfs file: /devices/pci0000:00/0000:00:00.0/class
Modules linked in: ipv6 openafs(U) ip_conntrack_netbios_ns xt_state 
ip_conntrack nfnetlink xt_tcpudp iptable_filter ip_tables x_tables 
dm_mirror dm_mod video sbs i2c_edCPU:    1
EIP:    0060:[<f8c012a1>]    Tainted: P      VLI
EFLAGS: 00010246   (2.6.18-8.1.8.el5 #1)
EIP is at Afs_Lock_Obtain+0x3a/0x17c [openafs]
eax: 000000a6   ebx: f8c631a0   ecx: f8c44144   edx: f7fedf28
esi: ffffffff   edi: 00000002   ebp: 00000286   esp: f7fedf24
ds: 007b   es: 007b   ss: 0068
Process events/1 (pid: 9, ti=f7fed000 task=f7feeaa0 task.ti=f7fed000)
Stack: f8c44144 f8c440ca 00000085 c04321ee 00000000 00000001 00000001 
f733dec0
        ffffffff 41d5aba2 f8c08b2e f733dec0 f733dec8 00000001 f8c32c6c 
c04b3a53
        c0671340 c0671344 f7e2bdc0 c0432148 c04b399b 00000000 f7e2bdd4 
f7e2bdc0
Call Trace:
  [<c04321ee>] __queue_work+0x36/0x43
  [<f8c08b2e>] afs_FindUser+0x31/0x9c [openafs]
  [<f8c32c6c>] afs_pag_destroy+0x10/0x2d [openafs]
  [<c04b3a53>] key_cleanup+0xb8/0xd1
  [<c0432148>] run_workqueue+0x78/0xb5
  [<c04b399b>] key_cleanup+0x0/0xd1
  [<c04329fc>] worker_thread+0xd9/0x10d
  [<c041dc4d>] default_wake_function+0x0/0xc
  [<c0432923>] worker_thread+0x0/0x10d
  [<c0434dd5>] kthread+0xc0/0xeb
  [<c0434d15>] kthread+0x0/0xeb
  [<c0404c3b>] kernel_thread_helper+0x7/0x10
  =======================
Code: ff ff ff 05 00 1e c6 f8 8b 10 a1 44 78 c6 f8 3b 82 a8 00 00 00 74 
1f 68 85 00 00 00 68 ca 40 c4 f8 68 44 41 c4 f8 e8 c3 2e 82 c7 <0f> 0b 
85 00 ca 40 c4 f8 83 c4  EIP: [<f8c012a1>] Afs_Lock_Obtain+0x3a/0x17c 
[openafs] SS:ESP 0068:f7fedf24
  <0>Kernel panic - not syncing: Fatal exception


Any idea of what is causing this and what we can do to avoid this in the 
future?  Thanks for the help.

Randy