[OpenAFS] kernel panic under Linux, openafs 1.4.2

Jeff Blaine jblaine@mitre.org
Tue, 13 Feb 2007 16:01:05 -0500


I can reproduce this at will.  You likely will not be able to
(or at least not how I am doing it).

Linux utopia 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 
i686 i386 GNU/Linux

Feb  6 11:00:03 rhelv4test.mitre.org kernel: audit(1170777603.533:2): 
user pid=21991 uid=0 auid=4294967295 msg='avc:  1 AV entries and 1/512 
buckets used, longest chain length 1
Feb  6 11:00:03 rhelv4test.mitre.org kernel: '
Feb  8 09:43:03 rhelv4test.mitre.org kernel: SELinux: initialized (dev 
0:1a, type nfs), uses genfs_contexts
Feb  8 09:43:03 rhelv4test.mitre.org kernel: SELinux: initialized (dev 
0:1b, type nfs), uses genfs_contexts
Feb  8 09:43:03 rhelv4test.mitre.org kernel: SELinux: initialized (dev 
0:1c, type nfs), uses genfs_contexts
Feb  8 17:40:51 rhelv4test.mitre.org kernel: SELinux: initialized (dev 
0:1d, type nfs), uses genfs_contexts
Feb 13 13:31:32 rhelv4test.mitre.org kernel: post_create:  no inode, dir 
(dev=afs, ino=1095106605)
Feb 13 13:32:27 rhelv4test.mitre.org last message repeated 2 times
Feb 13 14:22:49 rhelv4test.mitre.org kernel: post_create:  no inode, dir 
(dev=afs, ino=1095106605)
Feb 13 14:32:37 rhelv4test.mitre.org kernel: audit(1171395157.507:3): 
avc:  denied { read } for  pid=2754 comm="syslogd" name="adm" dev=sdc2 
ino=13 scontext=user_u:system_r:syslogd_t tcontext=root:object_r:var_t 
tclass=lnk_file
Feb 13 14:32:37 rhelv4test.mitre.org kernel: audit(1171395157.510:4): 
avc:  denied { read } for  pid=2754 comm="syslogd" name="adm" dev=sdc2 
ino=13 scontext=user_u:system_r:syslogd_t tcontext=root:object_r:var_t 
tclass=lnk_file
Feb 13 14:50:20 rhelv4test.mitre.org kernel: post_create:  no inode, dir 
(dev=afs, ino=1722679299)
Feb 13 14:50:20 rhelv4test.mitre.org last message repeated 1 time
Feb 13 14:54:33 rhelv4test.mitre.org kernel: post_create:  no inode, dir 
(dev=afs, ino=1722679299)
Feb 13 15:27:04 rhelv4test.mitre.org kernel: post_create:  no inode, dir 
(dev=afs, ino=1825505289)
Feb 13 15:27:04 rhelv4test.mitre.org last message repeated 1 time
Feb 13 15:38:00 rhelv4test.mitre.org kernel: ------------[ cut here 
]------------
Feb 13 15:38:00 rhelv4test.mitre.org kernel: kernel BUG at fs/locks.c:1798!
Feb 13 15:38:00 rhelv4test.mitre.org kernel: invalid operand: 0000 [#1]
Feb 13 15:38:00 rhelv4test.mitre.org kernel: SMP
Feb 13 15:38:00 rhelv4test.mitre.org kernel: Modules linked in: nfs 
lockd nfs_acl libafs(U) md5 ipv6 parport_pc lp parport autofs4 i2c_dev 
i2c_core sunrpc dm_mirror
  dm_multipath dm_mod button battery ac ohci_hcd e1000 floppy sg ext3 
jbd aic7xxx sd_mod scsi_mod
Feb 13 15:38:00 rhelv4test.mitre.org kernel: CPU:    0
Feb 13 15:38:00 rhelv4test.mitre.org kernel: EIP:    0060:[<c016e904>] 
   Tainted: PF     VLI
Feb 13 15:38:00 rhelv4test.mitre.org kernel: EFLAGS: 00010246 
(2.6.9-42.ELsmp)
Feb 13 15:38:00 rhelv4test.mitre.org kernel: EIP is at 
locks_remove_flock+0xa1/0xe1
Feb 13 15:38:00 rhelv4test.mitre.org kernel: eax: c23f49cc   ebx: 
ded68568   ecx: 00000000   edx: 00000001
Feb 13 15:38:00 rhelv4test.mitre.org kernel: esi: 00000000   edi: 
ded684c0   ebp: f582a380   esp: cfb5aeec
Feb 13 15:38:00 rhelv4test.mitre.org kernel: ds: 007b   es: 007b   ss: 0068
Feb 13 15:38:00 rhelv4test.mitre.org kernel: Process visudo (pid: 32248, 
threadinfo=cfb5a000 task=f739e2f0)
Feb 13 15:38:00 rhelv4test.mitre.org kernel: Stack: 00000000 f95405a5 
f582a380 ded68568 00000001 c016e7bb 00000246 00000000
Feb 13 15:38:00 rhelv4test.mitre.org kernel:        f95692f4 00000000 
00000246 f72aaac0 00007df8 f72dec00 cfb5af2c c02d2cb2
Feb 13 15:38:00 rhelv4test.mitre.org kernel:        f72dec00 f582a380 
ded60201 00000000 00000000 00000246 00000000 f582a380
Feb 13 15:38:00 rhelv4test.mitre.org kernel: Call Trace:
Feb 13 15:38:00 rhelv4test.mitre.org kernel:  [<f95405a5>] 
afs_linux_lock+0x0/0x2e7 [libafs]
Feb 13 15:38:00 rhelv4test.mitre.org kernel:  [<c016e7bb>] 
locks_remove_posix+0x8f/0x137
Feb 13 15:38:00 rhelv4test.mitre.org kernel:  [<c02d2cb2>] 
__cond_resched+0x14/0x39
Feb 13 15:38:00 rhelv4test.mitre.org kernel:  [<c015bbc2>] __fput+0x41/0x100
Feb 13 15:38:00 rhelv4test.mitre.org kernel:  [<c015a7f5>] 
filp_close+0x59/0x5f
Feb 13 15:38:00 rhelv4test.mitre.org kernel:  [<c0123b5b>] 
put_files_struct+0x57/0xc0
Feb 13 15:38:00 rhelv4test.mitre.org kernel:  [<c012476f>] 
do_exit+0x245/0x404
Feb 13 15:38:00 rhelv4test.mitre.org kernel:  [<c0124a19>] 
sys_exit_group+0x0/0xd
Feb 13 15:38:00 rhelv4test.mitre.org kernel:  [<c02d4703>] 
syscall_call+0x7/0xb
Feb 13 15:38:00 rhelv4test.mitre.org kernel: Code: 38 39 68 2c 75 2d 0f 
b6 50 30 f6 c2 02 74 09 89 d8 e8 9f df ff ff eb 1d f6 c2 20 74 0e ba 02 
00 00 00 89 d8 e8 ba ec ff ff eb 0a <0f> 0b 06 07 7c 97 2e c0 89 c3 8b 
03 eb c4 b8 00 f0 ff ff 21 e0
Feb 13 15:38:00 rhelv4test.mitre.org kernel:  <0>Fatal exception: panic 
in 5 seconds