[OpenAFS-devel] OpenAFS on RH Linux 2.2.19-6.2.7enterprise kernel (again)

Alf Wachsmann alfw@SLAC.Stanford.EDU
Tue, 04 Sep 2001 14:41:40 -0700 (PDT)


Hi,

I now get OpenAFS-snap-2001-08-28 compiled, loaded and started on
RedHat's Linux kernel 2.2.19-6.2.7enterprise.

But as soon as I "stat" a file in AFS I get an OOPS:

Unable to handle kernel NULL pointer dereference at virtual address 00000061
current->tss.cr3 = 10d1f000, %%cr3 = 10d1f000
*pde = 00000000
Oops: 0002
CPU:    3
EIP:    0010:[e100:__insmod_e100_O/lib/modules/2.2.19-6.2.7enterprise/net/e100+-641435860/96]
EFLAGS: 00010206
eax: d2bf2720   ebx: d0d06000   ecx: 0000000b   edx: f8a47000
esi: d2562720   edi: f77863e0   ebp: 0000000b   esp: d0d07f50
ds: 0018   es: 0018   ss: 0018
Process ls (pid: 919, process nr: 60, stackpage=d0d07000)
Stack: f77863e0 0000000b d2562720 d7537860 d0cee005 c0134b03 f77863e0 d2562720
       0000000b d0cee000 d0cee000 d0d06000 bffff9ec d0cee001 00000003 00006713
       c0134bb4 d0cee000 f77863e0 00000000 d0d06000 bffffc13 c0132b6a bffffc13
Call Trace: [<0000000b>] [lookup_dentry+351/488] [<0000000b>] [<00000003>] [<00006713>] [__namei+40/88] [<00000000>]
       [sys_lstat64+42/140] [<00000000>] [system_call+52/56] [<000000c4>] [<0000002b>] [<0000002b>] [<000000c4>] [<00000023>]
       [<00000206>] [<0000002b>]
Code: 20 71 56 d2 20 27 56 d2 60 78 53 d7 38 27 56 d2 38 27 56 d2


"strace" also shows that the last thing happening is an "lstat64()".

Any ideas what's wrong?

Does it matter that in src/afs/LINUX/osi_vnodeops.c the
"struct inode_operations afs_iops" has two fewer intries than my
system's <linux/fs.h>?


Thanks,
          Alf.

-----------------------------------------------------------------------
  Alf Wachsmann                       | e-mail: alfw@slac.stanford.edu
  SLAC Computing Service              | Phone:  +1-650-926-4802
  2575 Sand Hill Road, M/S 97         | FAX:    +1-650-926-3329
  Menlo Park, CA 94025, USA           | Office: Bldg. 50/323
-----------------------------------------------------------------------
                http://www.slac.stanford.edu/~alfw (PGP)
-----------------------------------------------------------------------