[OpenAFS-devel] AFS 1.3.82 failing in kernel, tracing back to link_path_walk/dput/iput.

C. Alex. North-Keys erlkonig@isgenesis.com
Tue, 31 May 2005 13:40:10 -0500


Problem seen under SuSE SLES9, kernel version 2.6.5-7.145-smp with
default configuration (no preempt), compiled from openafs-1.3.82
(configure options appended after call trace), caused reliably by
running a compile in an AFS directory (although at somewhat variable
points therein), seems to poison access to local (non-AFS) files as well
afterwards.

Same configuration works fine on the same OS on a uniprocessor box, but
further data points (other SMP or uniproc hosts) not available here yet.

Any suggestions?

May 30 23:38:08 decker kernel: ------------[ cut here ]------------
May 30 23:38:08 decker kernel: kernel BUG at fs/inode.c:1023!
May 30 23:38:08 decker kernel: invalid operand: 0000 [#1]
May 30 23:38:08 decker kernel: SMP
May 30 23:38:08 decker kernel: CPU:    1
May 30 23:38:08 decker kernel: EIP:    0060:[<c018e908>]    Tainted: PF U
May 30 23:38:08 decker kernel: EFLAGS: 00010202   (2.6.5-7.145-smp
SLES9_SP1_BRANCH-200501270919290000)
May 30 23:38:08 decker kernel: EIP is at generic_delete_inode+0xe8/0x160
May 30 23:38:08 decker kernel: eax: c04a3284   ebx: f3bde000   ecx:
f9a997a0   edx: 00000000
May 30 23:38:08 decker kernel: esi: f9a73be0   edi: deb03018   ebp:
00000000   esp: deb87e88
May 30 23:38:08 decker kernel: ds: 007b   es: 007b   ss: 0068
May 30 23:38:08 decker kernel: Process cut (pid: 6290,
threadinfo=deb86000 task=f2177980)
May 30 23:38:08 decker kernel: Stack: f3bde000 f3bde000 c018dc64
debf5f58 c018c2d1 deb87f18 00000000 c0182682
May 30 23:38:08 decker kernel:        c0180b52 debf5f58 00000001
deb87f18 cde48ec0 debf5f58 deb03013 00000004
May 30 23:38:08 decker kernel:        010f1175 c0183be3 deb03000
deb87f18 deb87f10 00000001 c01848d9 deb03000
May 30 23:38:08 decker kernel: Call Trace:
May 30 23:38:08 decker kernel:  [<c018dc64>] iput+0x54/0x70
May 30 23:38:08 decker kernel:  [<c018c2d1>] dput+0x51/0x1b0
May 30 23:38:08 decker kernel:  [<c0182682>] link_path_walk+0x282/0xac0
May 30 23:38:08 decker kernel:  [<c0180b52>] path_release+0x12/0x30
May 30 23:38:08 decker kernel:  [<c0183be3>] getname+0x83/0xb0
May 30 23:38:08 decker kernel:  [<c01848d9>] __user_walk_it+0x59/0x70
May 30 23:38:08 decker kernel:  [<c017c813>] vfs_stat+0x63/0x140
May 30 23:38:08 decker kernel:  [<c017c8ff>] sys_stat64+0xf/0x30
May 30 23:38:08 decker kernel:  [<c016e795>] sys_open+0xb5/0xf0
May 30 23:38:08 decker kernel:  [<c0109237>] syscall_call+0x7/0xb
May 30 23:38:08 decker kernel:
May 30 23:38:08 decker kernel: Code: 0f 0b ff 03 7d 68 36 c0 89 d8 5b 5e
e9 87 f5 ff ff 8d b4 26

Configure line:

./configure \
   --prefix= \
   --exec-prefix= \
   --bindir=/usr/bin \
   --sbindir=/usr/sbin \
   --libdir=/usr/lib \
   --libexecdir=/usr/libexec \
   --datadir=/usr/share \
   --sysconfdir=/etc \
   --sharedstatedir=/var \
   --localstatedir=/var \
   --includedir=/usr/include \
   --infodir=/usr/share/info \
   --mandir=/usr/share/man \
   --enable-bos-new-config \
   --enable-largefile-fileserver \
   --enable-supergroups \
   --with-afs-sysname=i386_linux26 \
   --with-linux-kernel-headers=/usr/src/linux \
   --enable-namei-fileserver

Fails either with or without the "--enable-namei-fileserver".

-- 
C. Alex. North-Keys
CatalisHealth, Inc.
erlkonig@TheCatalis.com
512.874.7666