[OpenAFS] OAFS 1.2.2 on RH7.2/2.4.9-7

Andrei Maslennikov Andrei Maslennikov <andrei@caspur.it>
Tue, 30 Oct 2001 23:17:07 +0000 ( )


I ran into the following problem with a stock RH 7.2/2.4.9-7 which
indeed resembles the case mentioned today by Amy Tanner: 

   -   on i686 everything works just fine with both ext3 and ext2.

   -   on i586, whatever I try to execute off AFS ends up in a seg fault
       with kernel problems (see the cutout below). When the binary is
       first copied from AFS to local disk, and then executed from there,
       it perfectly works. Please note that it happens only on *i586*,
       with a stock 2.4.9-7 .i586 kernel from RedHat.

Any ideas? I could try the vanilla 2.4.9 from kernel.org, but it is not
what we want in the end... Amy, what was your box?

Andrei.

PS 
     If someone may wish to give it a try:

     ftp://ftp.caspur.it/pub/afs/afsclient-CASPUR-open72a.i386.rpm  or
     /afs/caspur.it/project/openafs/afsclient-CASPUR-open72a.i386.rpm

     The RPM was built for RH72/2.4.9-7 (i586 and i686). A short help is
     available with: "rpm -qip afsclient-CASPUR-open72a.i386.rpm". 
     On 686/UP, it seemingly does the job. SMP was not yet tried.  
 

CUT-OUT from the log (while executing "ntp" off AFS):
-------------------------------------------------------
Oct 30 23:27:18 limnos kernel: Unable to handle kernel NULL
pointer dereference at virtual address 00000000
Oct 30 23:27:18 limnos kernel:  printing eip:
Oct 30 23:27:18 limnos kernel: c02089bb
Oct 30 23:27:18 limnos kernel: *pde = 00000000
Oct 30 23:27:18 limnos kernel: Oops: 0002
Oct 30 23:27:18 limnos kernel: CPU:    0
Oct 30 23:27:18 limnos kernel: EIP:
0010:[__down_read+71/116]    Not tainted
Oct 30 23:27:18 limnos kernel: EIP:    0010:[<c02089bb>]
Not tainted
Oct 30 23:27:18 limnos kernel: EFLAGS: 00010286
Oct 30 23:27:18 limnos kernel: eax: c0a2bb44   ebx:
c0a2a000   ecx: 00000000   edx: c596da48
Oct 30 23:27:18 limnos kernel: esi: c4538c50   edi:
c596d9cc   ebp: c4db65b0   esp: c0a2bb44
Oct 30 23:27:18 limnos kernel: ds: 0018   es: 0018   ss:   
0018
Oct 30 23:27:18 limnos kernel: Process ntp (pid: 1352,
stackpage=c0a2b000)
Oct 30 23:27:18 limnos kernel: Stack: c596da48 00000000    
c0a2a000 00000001 0804b530 c0122b3d ffffffff 0804b530
Oct 30 23:27:18 limnos kernel:        00000001 c4db65b0    
c0122c54 c4db65b0 c4538c50 0804b530 00000001 c06e312c
Oct 30 23:27:18 limnos kernel:        c4cc0200 00000000    
c240d520 c12a6960 c583e777 c240d520 00000000 c4cc0200