[OpenAFS] Strange behavior from Cachemanager (RH 7.2 / openafs 1.2.2)

Mathias Feiler feiler@uni-hohenheim.de
Thu, 3 Jan 2002 19:10:58 +0100 (MET)


Hello OpenAFS-World !   

Is anybody out there able to help me with a good Idea? 
Or is there one with at least the same problem? 

I got a strange behavior with openafs on two intel-Linux boxes.
Both got RedHat 7.2 with the Kernel 2.4.9-13.
The first is a IBM-Thinkpad 560X . 
The other is a standard Hardware with SCSI.
(The Fileserver are Solaris with TransarcAFS 3.4a)
   
I can start the (openAFS) client without troble. 
Also read access to my (home)volume is fine. 
The problem apears while a subsequent write access. 
I guess it depends on the cachemanager stuff. 

It stayes the absolutly same on both machines even if I 
 * use openafs*-1.2.2-rh7.2.1.i386.rpm
 * compile a new kernel from the very start 
  (from Redhat-update-RPM  kernel-*-2.4.9-13.i386.rpm)
 * collect openafs 1.2.2, compile it against th new Kernel and try it  
 * do a rm -rf /var/vice/cache/* 
 * do a mke2fs /dev/?daN (the cachepartition WAS ext3 before)
 
A interesting thing is that I got Openafs 1.2.2a running on a DELL Poweredge
SMP Machine since weeks (but it is a very special and lean 2.4.9-13 kernel).  

For details see the following sequence :



---------8<-------------8<----------------8<----------------

######## Preambel ###########
root@lilu:root > tokens

Tokens held by the Cache Manager:

   --End of list--
root@lilu:root >


root@lilu:root > fs la ~feiler/in
Access list for /afs/uni-hohenheim.de/home/feiler/in is
Normal rights:
  system:administrators rlidwka
  system:anyuser rlidwk
  feiler rlidwka
root@lilu:root >

######## first approach #########
root@lilu:root > bash
root@lilu:root > PS1='>>> '

>>> ls  ~feiler/in/NewFile 
ls: /afs/uni-hohenheim.de/home/feiler/in/NewFile: No such file or directory
>>> touch  ~feiler/in/NewFile
>>> touch  ~feiler/in/NewFile
>>> touch  ~feiler/in/NewFile
>>> echo "NewFile" > ~feiler/in/NewFile
Segmentation fault
root@lilu:root >


######### second aproach #######

root@lilu:root > bash
root@lilu:root > PS1='>>> '

>>>  ls  ~feiler/in/NewFile2
ls: /afs/uni-hohenheim.de/home/feiler/in/NewFile2: No such file or directory

>>> echo "NewFile2_first_write" > ~feiler/in/NewFile2
>>> echo "NewFile2_second_write" > ~feiler/in/NewFile2
Segmentation fault
root@lilu:root > 


########## During the Tests I collected This from the console 

root@lilu:root > echo xxxxxx > ~feiler/in/xxxxx
root@lilu:root > echo xxxxxx > ~feiler/in/xxxxx
Unable to handle kernel NULL pointer dereference at virtual address 00000000
*pde = 00000000
Oops: 0002
CPU:    0
EIP:    0010:[<c0208e5b>]    Not tainted
EFLAGS: 00010292
eax: c26d9ebc   ebx: c26d8000   ecx: 00000000   edx: c6963e40
esi: c43ccb30   edi: c6963e38   ebp: c6963dc4   esp: c26d9ebc
ds: 0018   es: 0018   ss: 0018
Process bash (pid: 1063, stackpage=c26d9000)
Stack: c6963e40 00000000 c26d8000 00000002 c6963e24 c013049e 00000000
00000000
       00000000 c43ccc80 00000002 c30d0000 00008242 c26d9f7c c68d0f7b
c30d0000
       00000080 c30d0000 00000002 ffffffeb c6963dc4 00000000 00008242
c26d9f7c
Call Trace: [<c013049e>] do_truncate [kernel] 0x3e
[<c68d0f7b>] afs_linux_permission [libafs-2.4.9-13-i386] 0x4b
[<c013b777>] open_namei [kernel] 0x447
[<c013131a>] filp_open [kernel] 0x32
[<c01315df>] sys_open [kernel] 0x33
[<c0106e03>] system_call [kernel] 0x33

Code: 89 01 8b 44 24 0c 85 c0 74 16 8d 76 00 e8 c3 92 f0 ff c7 03

Red Hat Linux release 7.2 (Enigma)
Kernel 2.4.9-13 on an i686

lilu login: 



###### AND OF CAUSE : ############ 

.... 
fs sa ~feiler/in system:anyuser rl
.... 

---------8<-------------8<----------------8<----------------

 ---
 Hochachtungsvoll und mit freundlichen Gruessen   
   xxxxx                                               MATHIAS
  X __ \        ____/  ___/   /   /      ___/   __  
 X C  O-O      /      /      /   /      /      /  \       _\||/_
 X     _\     __/    __/    /   /      __/    _   ___/     o  o 
  X  _@      /      /      /   /      /      / \           (_)  
  |  |    __/    _____/ __/ _____/ _____/ __/   \__        ===

 --- 
 M. Feiler Roßbergstr.1 72649 Wolfschlugen 0049 (0)7022 560965 (Privat)
 feiler@uni-hohenheim.de     RZ (620)   0049 (0)711/459-3949   (Uni)   
 PGP public key &  Homepage   :  http://www.uni-hohenheim.de/~feiler
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -