[OpenAFS-devel] kernel BUG at /scratch/openafs/src/libafs/MODLOAD-2.6.13-MP/rx_kcommon.c:131!

Martin MOKREJŠ mmokrejs@ribosome.natur.cuni.cz
Fri, 02 Sep 2005 16:52:48 +0200


Martin MOKREJŠ wrote:
> 
> chas williams - CONTRACTOR wrote:
> 
>>In message <431849B4.4020100@ribosome.natur.cuni.cz>,=?ISO-8859-2?Q?Martin_MOKR
>>EJ=A9?= writes:
>>
>>
>>>Well, yes, as you have seen, I created root.cell volume, made RO copy of it,
>>
>>
>>not really.  in your previous message i saw:
>>
>>	# /usr/vice/etc/afsd -chunk 20 -nosettime -stat 1000 -daemons 12 -dcache 1000 -volumes 100 -files 300000
>>	# 
>>	# /usr/vice/etc/afsd -shutdown
>>	afsd: Shutting down all afs processes and afs state
>>	afsd: AFS still mounted; Not shutting down
>>	# umount /afs
>>	umount: /afs: device is busy
>>	umount: /afs: device is busy
>>
>>so it looks like you started afsd and then did shutdown/umount.  no activity
>>in between the afsd startup and shutdown/umount.  make sure your version
> 
> 
> It was unfortunate that I did not paste in the commands in between, but as I've posted later, have create the root.cell
> volume and several other volumes as well, made mounpoints, checked volume mappings.
> 
> It seems to me it is the same stacktrace as with 
> https://lists.openafs.org/pipermail/openafs-devel/2005-August/012635.html
> which I've hit on another machine!
> 
> 
>>of afs doesnt have afs_umount_begin() in LINUX/osi_vfsops.c.

I have just recompiled the kernel with other .config so have in effect lost the
original System.map file, but the libafs is still same.
I don't want to fool anybody but if it is possible to interpret the oops caught on
another kernel but of same 2.6.13 version and with exactly same libafs module,
then have a look into the ksymoops output below resolved using current System.map.
It's not trusty just ignore this message. I'm still trying to reproduce that
again and again.

phylo ~ # ksymoops  -m /usr/src/linux-2.6.13/System.map ./cr
ksymoops 2.4.11 on i686 2.6.13.  Options used
     -V (default)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.6.13/ (default)
     -m /usr/src/linux-2.6.13/System.map (specified)

Error (regular_file): read_ksyms stat /proc/ksyms failed
ksymoops: No such file or directory
No modules in ksyms, skipping objects
No ksyms, skipping lsmod
kernel BUG at /scratch/openafs/src/libafs/MODLOAD-2.6.13-MP/rx_kcommon.c:131!
invalid operand: 0000 [#1]
CPU:    0
EIP:    0060:[<fa027eca>]    Tainted: P      VLI
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010296   (2.6.13) 
eax: 0000001b   ebx: e7d3fd64   ecx: 00000001   edx: 00000286
esi: e7d3fea4   edi: e7dc26e0   ebp: e7057e98   esp: e7057e84
ds: 007b   es: 007b   ss: 0068
Stack: fa04cf74 fa034ff3 00000000 e7d3fd64 e7d3fd64 e7057ea4 fa035017 e7d3fd64 
       e7057eb8 c01745fe f6ff2d64 e7d3fd64 f6e2dae8 e7057ec8 c01754d4 e7d3fd64 
       e7d3fd64 e7057ed0 c0175506 e7057edc c017555e e7056000 e7057eec fa036ff9 
Call Trace:
 [<c01039d1>] show_stack+0x7a/0x90
 [<c0103b52>] show_registers+0x152/0x1ca
 [<c0103d60>] die+0xf4/0x183
 [<c0103e70>] do_trap+0x81/0xb8
 [<c010414a>] do_invalid_op+0xa3/0xad
 [<c010363b>] error_code+0x4f/0x54
 [<fa035017>] afs_clear_inode+0x24/0x3e [libafs]
 [<c01745fe>] clear_inode+0xc7/0xc9
 [<c01754d4>] generic_forget_inode+0x113/0x12f
 [<c0175506>] generic_drop_inode+0x16/0x18
 [<c017555e>] iput+0x56/0x69
 [<fa036ff9>] afs_dentry_iput+0x7c/0x97 [libafs]
 [<c01727b9>] dput+0x157/0x1dd
 [<c0162ba3>] generic_shutdown_super+0x39/0x140
 [<c016348d>] kill_anon_super+0xc/0x35
 [<c0162aab>] deactivate_super+0x58/0x71
 [<c0176a9d>] __mntput+0x28/0x33
 [<c01694a2>] path_release_on_umount+0x29/0x2c
 [<c0177001>] sys_umount+0x37/0x76
 [<c0177059>] sys_oldumount+0x19/0x1b
 [<c0102acb>] sysenter_past_esp+0x54/0x75
Code: ff 5d c3 55 89 e5 53 bb a4 c4 04 fa 83 ec 10 85 c0 0f 44 c3 8b 5d 08 89 4c 24 08 89 5c 24 0c 89 54 24 04 89 04 24 e8 3a 8d 0f c6 0f 0b 83 00 28 98 04 fa 83 c4 10 5b 5d c3 55 83 fa 01 89 e5 57


>>EIP; fa027eca <pg0+39a0ceca/3f9e3400>   <=====

>>ebx; e7d3fd64 <pg0+27724d64/3f9e3400>
>>esi; e7d3fea4 <pg0+27724ea4/3f9e3400>
>>edi; e7dc26e0 <pg0+277a76e0/3f9e3400>
>>ebp; e7057e98 <pg0+26a3ce98/3f9e3400>
>>esp; e7057e84 <pg0+26a3ce84/3f9e3400>

Trace; c01039d1 <show_stack+7a/90>
Trace; c0103b52 <show_registers+152/1ca>
Trace; c0103d60 <die+f4/183>
Trace; c0103e70 <do_trap+81/b8>
Trace; c010414a <do_invalid_op+a3/ad>
Trace; c010363b <error_code+4f/54>
Trace; fa035017 <pg0+39a1a017/3f9e3400>
Trace; c01745fe <get_new_inode_fast+54/117>
Trace; c01754d4 <inode_setattr+17e/1a9>
Trace; c0175506 <notify_change+7/29e>
Trace; c017555e <notify_change+5f/29e>
Trace; fa036ff9 <pg0+39a1bff9/3f9e3400>
Trace; c01727b9 <have_submounts+5c/73>
Trace; c0162ba3 <do_remount_sb+82/100>
Trace; c016348d <set_blocksize+71/84>
Trace; c0162aab <sys_ustat+6f/84>
Trace; c0176a9d <copy_tree+fa/10d>
Trace; c01694a2 <__link_path_walk+329/e6f>
Trace; c0177001 <do_new_mount+9/a3>
Trace; c0177059 <do_new_mount+61/a3>
Trace; c0102acb <sysenter_past_esp+54/75>

Code;  fa027eca <pg0+39a0ceca/3f9e3400>
00000000 <_EIP>:
Code;  fa027eca <pg0+39a0ceca/3f9e3400>   <=====
   0:   ff 5d c3                  lcall  *0xffffffc3(%ebp)   <=====
Code;  fa027ecd <pg0+39a0cecd/3f9e3400>
   3:   55                        push   %ebp
Code;  fa027ece <pg0+39a0cece/3f9e3400>
   4:   89 e5                     mov    %esp,%ebp
Code;  fa027ed0 <pg0+39a0ced0/3f9e3400>
   6:   53                        push   %ebx
Code;  fa027ed1 <pg0+39a0ced1/3f9e3400>
   7:   bb a4 c4 04 fa            mov    $0xfa04c4a4,%ebx
Code;  fa027ed6 <pg0+39a0ced6/3f9e3400>
   c:   83 ec 10                  sub    $0x10,%esp
Code;  fa027ed9 <pg0+39a0ced9/3f9e3400>
   f:   85 c0                     test   %eax,%eax
Code;  fa027edb <pg0+39a0cedb/3f9e3400>
  11:   0f 44 c3                  cmove  %ebx,%eax
Code;  fa027ede <pg0+39a0cede/3f9e3400>
  14:   8b 5d 08                  mov    0x8(%ebp),%ebx
Code;  fa027ee1 <pg0+39a0cee1/3f9e3400>
  17:   89 4c 24 08               mov    %ecx,0x8(%esp)
Code;  fa027ee5 <pg0+39a0cee5/3f9e3400>
  1b:   89 5c 24 0c               mov    %ebx,0xc(%esp)
Code;  fa027ee9 <pg0+39a0cee9/3f9e3400>
  1f:   89 54 24 04               mov    %edx,0x4(%esp)
Code;  fa027eed <pg0+39a0ceed/3f9e3400>
  23:   89 04 24                  mov    %eax,(%esp)
Code;  fa027ef0 <pg0+39a0cef0/3f9e3400>
  26:   e8 3a 8d 0f c6            call   c60f8d65 <_EIP+0xc60f8d65>
Code;  fa027ef5 <pg0+39a0cef5/3f9e3400>
  2b:   0f 0b                     ud2a   
Code;  fa027ef7 <pg0+39a0cef7/3f9e3400>
  2d:   83 00 28                  addl   $0x28,(%eax)
Code;  fa027efa <pg0+39a0cefa/3f9e3400>
  30:   98                        cwtl   
Code;  fa027efb <pg0+39a0cefb/3f9e3400>
  31:   04 fa                     add    $0xfa,%al
Code;  fa027efd <pg0+39a0cefd/3f9e3400>
  33:   83 c4 10                  add    $0x10,%esp
Code;  fa027f00 <pg0+39a0cf00/3f9e3400>
  36:   5b                        pop    %ebx
Code;  fa027f01 <pg0+39a0cf01/3f9e3400>
  37:   5d                        pop    %ebp
Code;  fa027f02 <pg0+39a0cf02/3f9e3400>
  38:   c3                        ret    
Code;  fa027f03 <pg0+39a0cf03/3f9e3400>
  39:   55                        push   %ebp
Code;  fa027f04 <pg0+39a0cf04/3f9e3400>
  3a:   83 fa 01                  cmp    $0x1,%edx
Code;  fa027f07 <pg0+39a0cf07/3f9e3400>
  3d:   89 e5                     mov    %esp,%ebp
Code;  fa027f09 <pg0+39a0cf09/3f9e3400>
  3f:   57                        push   %edi


1 error issued.  Results may not be reliable.
phylo ~ #