[OpenAFS-devel] openafs: afs global lock not held

Miles Davis miles@CS.Stanford.EDU
Fri, 9 Mar 2007 10:30:18 -0800


openafs-1.4.2, fedora core 6, kernel 2.6.19-1.2895.fc6 (SMP machine)

Always my favorite machine, heavily used with lots of IMAP/pop 
sessions. After a few hours of uptime, I get 

openafs: afs global lock not held at /var/tmp/openafs-1.4.2/src/libafs/MODLOAD-2.6.19-1.2895.fc6-SP/afs_lock.c:133
------------[ cut here ]------------
kernel BUG at /var/tmp/openafs-1.4.2/src/libafs/MODLOAD-2.6.19-1.2895.fc6-SP/afs_lock.c:133!
invalid opcode: 0000 [#1]
SMP 
last sysfs file: /block/ram0/range
Modules linked in: nfsd exportfs lockd nfs_acl openafs(P)(U) autofs4 
sunrpc ipv6 xt_state ip_conntrack nfnetlink ipt_REJECT xt_tcpudp 
iptable_filter ip_tables x_tables dm_mirror dm_mod video sbs i2c_ec 
i2c_core button battery asus_acpi ac parport_pc lp parport ata_piix 
libata sg floppy ide_cd e752x_edac edac_mc iTCO_wdt e1000 cdrom 
serio_raw pcspkr mptspi mptscsih mptbase scsi_transport_spi sd_mod 
scsi_mod raid456 xor raid1 ext3 jbd ehci_hcd ohci_hcd uhci_hcd
CPU:    1
EIP:    0060:[<f0cfad39>]    Tainted: P      VLI
EFLAGS: 00010292   (2.6.19-1.2895.fc6 #1)
EIP is at Afs_Lock_Obtain+0x42/0x18b [openafs]
eax: 00000076   ebx: f0d67c20   ecx: c0697ed0   edx: 00000082
esi: ffffffff   edi: 00000002   ebp: 00000282   esp: dfe21f1c
ds: 007b   es: 007b   ss: 0068
Process events/1 (pid: 15, ti=dfe21000 task=dff316b0 task.ti=dfe21000)
Stack: f0d4125f f0d41215 00000085 dfe154f8 00000086 dfe154f8 7606cc85 e41ee640 
       ffffffff 41f19175 f0d02ba6 e41ee640 e41ee648 dfe154c0 f0d2f21f c04c46db 
       c06a3e40 c06a3e44 c04368c7 00000282 dfe154c0 dfe154e0 c04c4624 00000000 
Call Trace:
 [<f0d02ba6>] afs_FindUser+0x31/0xa2 [openafs]
 [<f0d2f21f>] afs_pag_destroy+0x10/0x2d [openafs]
 [<c04c46db>] key_cleanup+0xb7/0xd0
 [<c04368c7>] run_workqueue+0x97/0xdd
 [<c0437284>] worker_thread+0xd9/0x10d
 [<c0439810>] kthread+0xc0/0xec
 [<c0404c03>] kernel_thread_helper+0x7/0x10
 =======================
Code: 8b 10 a1 d0 c3 d6 f0 3b 82 a8 00 00 00 74 24 c7 44 24 08 85 00 
00 00 c7 44 24 04 15 12 d4 f0 c7 04 24 5f 12 d4 f0 e8 98 cd 72 cf <0f> 
0b 85 00 15 12 d4 f0 8d 44 24 14 e8 78 50 73 cf 83 ff 02 74 
EIP: [<f0cfad39>] Afs_Lock_Obtain+0x42/0x18b [openafs] SS:ESP 
0068:dfe21f1c


-- 
// Miles Davis - miles@cs.stanford.edu - http://www.cs.stanford.edu/~miles
// Computer Science Department - Computer Facilities
// Stanford University