[OpenAFS] OpenAFS client and 2.4.18-26SGI_XFS_1.2.0smp - oops during insmod

Alexander Bergolth leo@strike.wu-wien.ac.at
Tue, 18 Mar 2003 16:05:58 +0100


Hi!

I'm experiencing some problems getting openafs-client-1.2.8 to work with
the SGI version of Redhats 2.4.18-26 kernel.

The openafs-kernel-module compiles without problems but loading the 
kernel-module fails with a kernel-oops. (see below)
The cache filesystem is ext3, not XFS.

Any hints?
tia,
--leo

P.S.: I had to add iget4_locked to afsmodname's list of symbols to look 
for, since in this kernel iget4 is an inline function that calls 
iget4_locked.

# ksymoops
ksymoops 2.4.5 on i686 2.4.18-26SGI_XFS_1.2.0smp.  Options used
      -V (default)
      -k /proc/ksyms (default)
      -l /proc/modules (default)
      -o /lib/modules/2.4.18-26SGI_XFS_1.2.0smp/ (default)
      -m /boot/System.map-2.4.18-26SGI_XFS_1.2.0smp (default)

Warning: You did not tell me where to find symbol information.  I will
assume that the log matches the kernel and modules that are running
right now and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc.  ksymoops -h explains the options.

Error (expand_objects): cannot stat(/lib/ext3.o) for ext3
ksymoops: No such file or directory
Error (expand_objects): cannot stat(/lib/jbd.o) for jbd
ksymoops: No such file or directory
Error (expand_objects): cannot stat(/lib/lvm-mod.o) for lvm-mod
ksymoops: No such file or directory
Error (expand_objects): cannot stat(/lib/cciss.o) for cciss
ksymoops: No such file or directory
Error (expand_objects): cannot stat(/lib/sd_mod.o) for sd_mod
ksymoops: No such file or directory
Error (expand_objects): cannot stat(/lib/scsi_mod.o) for scsi_mod
ksymoops: No such file or directory
Warning (map_ksym_to_module): cannot match loaded module ext3 to a 
unique module object.  Trace may not be reliable.
Warning (map_ksym_to_module): cannot match loaded module cciss to a 
unique module object.  Trace may not be reliable.
Reading Oops report from the terminal
Unable to handle kernel paging request at virtual address f8000000
  printing eip:
f8a724a0
*pde = 00000000
Oops: 0000
libafs-2.4.18-26SGI_XFS_1.2.0smp.mp autofs tg3 iptable_filter ip_tables 
loop mousedev keybdev hid input usb-ohci usbcore ext3
  jbd lvm-mod cciss sd_mod scsi_mo
CPU:    0
EIP:    0010:[<f8a724a0>]    Tainted: PF
EFLAGS: 00010287

EIP is at afs_init [libafs-2.4.18-26SGI_XFS_1.2.0smp.mp] 0x90 
(2.4.18-26SGI_XFS_1.2.0smp)
eax: f8000000   ebx: f7033ef0   ecx: 3fce1a64   edx: 0dbf1ff4
esi: f7033ee8   edi: f7033eec   ebp: f7033ef4   esp: f7033ee0
ds: 0018   es: 0018   ss: 0018
Process insmod (pid: 596, stackpage=f7033000)
Stack: 00000282 c03bd980 00000002 f8a9e234 f8a1f000 c03bd980 c1038030 
c03be9c0
        00000282 ffffffff 0001afea ffffffea 00000000 00000000 f8a1f000 
c01225ca
        f8a1f060 400a6068 00087d10 00000000 401120c4 0006c0bc 00000060 
00000060
Call Trace: [<f8a9e234>] afs_xbrs [libafs-2.4.18-26SGI_XFS_1.2.0smp.mp] 
0x14 (0xf7033eec))
[<c01225ca>] inter_module_put_Rsmp_6b99f7d8 [] 0x79a (0xf7033f1c))
[<f8a1f060>] afs_atomlist_create [libafs-2.4.18-26SGI_XFS_1.2.0smp.mp] 
0x0 (0xf7033f20))
[<f8a1f060>] afs_atomlist_create [libafs-2.4.18-26SGI_XFS_1.2.0smp.mp] 
0x0 (0xf7033f58))
[<c010946f>] sys_sigaltstack_Rsmp_ab65536b [] 0x100f (0xf7033fc0))


Code: 81 38 10 4e 12 c0 0f 84 24 01 00 00 42 83 c0 04 39 ca 72 ec
Unable to handle kernel paging request at virtual address f8000000
f8a724a0
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0010:[<f8a724a0>]    Tainted: PF
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010287
eax: f8000000   ebx: f7033ef0   ecx: 3fce1a64   edx: 0dbf1ff4
esi: f7033ee8   edi: f7033eec   ebp: f7033ef4   esp: f7033ee0
ds: 0018   es: 0018   ss: 0018
Process insmod (pid: 596, stackpage=f7033000)
Stack: 00000282 c03bd980 00000002 f8a9e234 f8a1f000 c03bd980 c1038030 
c03be9c0
        00000282 ffffffff 0001afea ffffffea 00000000 00000000 f8a1f000 
c01225ca
        f8a1f060 400a6068 00087d10 00000000 401120c4 0006c0bc 00000060 
00000060
Call Trace: [<f8a9e234>] afs_xbrs [libafs-2.4.18-26SGI_XFS_1.2.0smp.mp] 
0x14 (0xf7033eec))
[<c01225ca>] inter_module_put_Rsmp_6b99f7d8 [] 0x79a (0xf7033f1c))
[<f8a1f060>] afs_atomlist_create [libafs-2.4.18-26SGI_XFS_1.2.0smp.mp] 
0x0 (0xf7033f20))
[<f8a1f060>] afs_atomlist_create [libafs-2.4.18-26SGI_XFS_1.2.0smp.mp] 
0x0 (0xf7033f58))
[<c010946f>] sys_sigaltstack_Rsmp_ab65536b [] 0x100f (0xf7033fc0))
Code: 81 38 10 4e 12 c0 0f 84 24 01 00 00 42 83 c0 04 39 ca 72 ec


 >>EIP; f8a724a0 
<[libafs-2.4.18-26SGI_XFS_1.2.0smp.mp]init_module+90/1e0>   <=====

 >>eax; f8000000 <_end+37b0bd80/38331de0>
 >>ebx; f7033ef0 <_end+36b3fc70/38331de0>
 >>ecx; 3fce1a64 Before first symbol
 >>edx; 0dbf1ff4 Before first symbol
 >>esi; f7033ee8 <_end+36b3fc68/38331de0>
 >>edi; f7033eec <_end+36b3fc6c/38331de0>
 >>ebp; f7033ef4 <_end+36b3fc74/38331de0>
 >>esp; f7033ee0 <_end+36b3fc60/38331de0>

Trace; f8a9e234 <[libafs-2.4.18-26SGI_XFS_1.2.0smp.mp]afs_xbrs+14/1c>
Trace; c01225ca <sys_init_module+4fa/660>
Trace; f8a1f060 
<[libafs-2.4.18-26SGI_XFS_1.2.0smp.mp]afs_atomlist_create+0/0>
Trace; f8a1f060 
<[libafs-2.4.18-26SGI_XFS_1.2.0smp.mp]afs_atomlist_create+0/0>
Trace; c010946f <system_call+33/38>

Code;  f8a724a0 <[libafs-2.4.18-26SGI_XFS_1.2.0smp.mp]init_module+90/1e0>
00000000 <_EIP>:
Code;  f8a724a0 
<[libafs-2.4.18-26SGI_XFS_1.2.0smp.mp]init_module+90/1e0>   <=====
    0:   81 38 10 4e 12 c0         cmpl   $0xc0124e10,(%eax)   <=====
Code;  f8a724a6 <[libafs-2.4.18-26SGI_XFS_1.2.0smp.mp]init_module+96/1e0>
    6:   0f 84 24 01 00 00         je     130 <_EIP+0x130>
Code;  f8a724ac <[libafs-2.4.18-26SGI_XFS_1.2.0smp.mp]init_module+9c/1e0>
    c:   42                        inc    %edx
Code;  f8a724ad <[libafs-2.4.18-26SGI_XFS_1.2.0smp.mp]init_module+9d/1e0>
    d:   83 c0 04                  add    $0x4,%eax
Code;  f8a724b0 <[libafs-2.4.18-26SGI_XFS_1.2.0smp.mp]init_module+a0/1e0>
   10:   39 ca                     cmp    %ecx,%edx
Code;  f8a724b2 <[libafs-2.4.18-26SGI_XFS_1.2.0smp.mp]init_module+a2/1e0>
   12:   72 ec                     jb     0 <_EIP>

-- 
-----------------------------------------------------------------------
Alexander (Leo) Bergolth                          leo@leo.wu-wien.ac.at
WU-Wien - Zentrum fuer Informatikdienste       http://leo.wu-wien.ac.at
                  Computers are like air conditioners -
            they stop working properly when you open Windows