[OpenAFS-devel] trying to track down a cm hang/lockup...

Neulinger, Nathan nneul@umr.edu
Thu, 11 Jul 2002 09:18:04 -0500


In the process of trying to track down a repeated hang of afs client
(we've got 3 samba servers that reliably lock up after a while), I found
one definate problem, but unfortunately, appears unrelated.=20

While running with fstrace enabled, after 5-10 minutes, sometimes less,
it panics in afs_icl_AppendRecord.

Unfortunately, this doesn't solve my original problem. Back to working
on it.....


Unable to handle kernel paging request at virtual address e196d000=20
printing eip: e0a1b0db
*pde =3D 1df90067
*pte =3D 00000000
Oops: 0000
CPU:    0
EIP:    0010:[<e0a1b0db>]    Not tainted
EFLAGS: 00010246
eax: 00000000   ebx: 00000001   ecx: ffffdfff   edx: 00000002
esi: dfddd580   edi: e196d000   ebp: 00000007   esp: d7349c7c
ds: 0018   es: 0018   ss: 0018
Process smbd (pid: 1438, stackpage=3Dd7349000)
Stack: 00000004 00000002 00000002 00000007 3d2d8db7 00022c93 e0a2b600
00000001=20
       00000001 00000000 de9e74e0 e0a1a5b2 dfddd580 29c9c087 001c2084
0000031c=20
       e0ffac60 e196b000 e196b000 00000001 00000000 deb58000 c037a8e0
e0ffac60=20
Call Trace: [<e0a2b600>] [<e0a1a5b2>] [<e09d40d4>] [<e09d44c5>]
[<e09ec06f>]=20
   [<e0a1a5b2>] [<c02644c9>] [<e0a15f3b>] [<c0134c58>] [<c012cbd2>]
[<c012d1ba>]
   [<c012cf90>] [<e0a2b600>] [<e0a13447>] [<c025f2a9>] [<c013bdc8>]
[<c013ba10>]
   [<c013bc51>] [<c0107363>]=20

Code: f2 ae f7 d1 49 8d 41 04 c1 e8 02 e9 4c f9 ff ff 90 b8 02 00=20



>>EIP; e0a1b0db <[libafs-2.4.18.mp]afs_icl_AppendRecord+947/9dc>
<=3D=3D=3D=3D=3D
Trace; e0a2b600 <[libafs-2.4.18.mp]afs_global_lock+0/14>
Trace; e0a1a5b2 <[libafs-2.4.18.mp]afs_icl_Event4+d6/140>
Trace; e09d40d4 <[libafs-2.4.18.mp]afs_MemCacheOpen+54/60>
Trace; e09d44c5 <[libafs-2.4.18.mp]afs_MemReadUIO+15/154>
Trace; e09ec06f <[libafs-2.4.18.mp]afs_MemRead+3ef/110c>
Trace; e0a1a5b2 <[libafs-2.4.18.mp]afs_icl_Event4+d6/140>
Trace; c02644c9 <memcpy_toiovec+39/80>
Trace; e0a15f3b <[libafs-2.4.18.mp]afs_linux_readpage+147/2cc>
Trace; c0134c58 <__alloc_pages+38/180>
Trace; c012cbd2 <do_generic_file_read+2c2/790>
Trace; c012d1ba <generic_file_read+11a/690>
Trace; c012cf90 <do_generic_file_read+680/790>
Trace; e0a2b600 <[libafs-2.4.18.mp]afs_global_lock+0/14>
Trace; e0a13447 <[libafs-2.4.18.mp]afs_linux_read+367/3bc>
Trace; c025f2a9 <sock_recvmsg+149/820>
Trace; c013bdc8 <default_llseek+3b8/de0>
Trace; c013ba10 <default_llseek+0/de0>
Trace; c013bc51 <default_llseek+241/de0>
Trace; c0107363 <__read_lock_failed+130f/296c>
Code;  e0a1b0db <[libafs-2.4.18.mp]afs_icl_AppendRecord+947/9dc>
00000000 <_EIP>:
Code;  e0a1b0db <[libafs-2.4.18.mp]afs_icl_AppendRecord+947/9dc>
<=3D=3D=3D=3D=3D
   0:   f2 ae                     repnz scas %es:(%edi),%al   =
<=3D=3D=3D=3D=3D
Code;  e0a1b0dd <[libafs-2.4.18.mp]afs_icl_AppendRecord+949/9dc>
   2:   f7 d1                     not    %ecx
Code;  e0a1b0df <[libafs-2.4.18.mp]afs_icl_AppendRecord+94b/9dc>
   4:   49                        dec    %ecx
Code;  e0a1b0e0 <[libafs-2.4.18.mp]afs_icl_AppendRecord+94c/9dc>
   5:   8d 41 04                  lea    0x4(%ecx),%eax
Code;  e0a1b0e3 <[libafs-2.4.18.mp]afs_icl_AppendRecord+94f/9dc>
   8:   c1 e8 02                  shr    $0x2,%eax
Code;  e0a1b0e6 <[libafs-2.4.18.mp]afs_icl_AppendRecord+952/9dc>
   b:   e9 4c f9 ff ff            jmp    fffff95c <_EIP+0xfffff95c>
e0a1aa37 <[libafs-2.4.18.mp]afs_icl_AppendRecord+2a3/9dc>
Code;  e0a1b0eb <[libafs-2.4.18.mp]afs_icl_AppendRecord+957/9dc>
  10:   90                        nop   =20
Code;  e0a1b0ec <[libafs-2.4.18.mp]afs_icl_AppendRecord+958/9dc>
  11:   b8 02 00 00 00            mov    $0x2,%eax

-- Nathan

------------------------------------------------------------
Nathan Neulinger                       EMail:  nneul@umr.edu
University of Missouri - Rolla         Phone: (573) 341-4841
Computing Services                       Fax: (573) 341-4216