[OpenAFS] afsd, openafs 1.1.1, linux kernel 2.4.9, Pentium problem

Derek Atkins warlord@MIT.EDU
22 Aug 2001 12:15:00 -0400


This is probably the "'struct inode' changed in 2.4.7" problem.
Make sure that src/afs/LINUX/osi_vfs.h matches the struct inode
definition.  IIRC, there was a new semaphore added; you need to
add one to the AFS code to match.

-derek

Dr A V Le Blanc <LeBlanc@mcc.ac.uk> writes:

> I have been moving my (Debian potato) machines to kernel 2.4.9,
> and I have openafs modules which have up to now worked well on
> other machines.  On one machine, however, I have a problem.
> (Linux avl1 2.2.19 #1 Fri Apr 20 13:44:29 BST 2001 i586 unknown
>  /lib/libc-2.1.3.so, vanilla kernel)  The afsd is from the
> standard .deb version 1.1.1-0.potato1.  Starting /etc/init.d/openafs
> runs fine until
> 
>      start-stop-daemon --start --quiet --exec /usr/sbin/afsd -- -stat 2000 \
>         -dcache 800 -daemons 3 -volumes 70
> 
> at which point I get this:
> 
> Unable to handle kernel paging request at virtual address c293a000
>  printing eip:
> c28d70c0
> *pde = 010b4067
> *pte = 01875163
> Oops: 000b
> CPU:    0
> EIP:    0010:[<c28d70c0>]
> EFLAGS: 00010286
> eax: c293a000   ebx: 00000004   ecx: c293b000   edx: c293a000
> esi: 000003ff   edi: 00001000   ebp: c2912798   esp: c187dbc4
> ds: 0018   es: 0018   ss: 0018
> Process afsd (pid: 140, stackpage=c187d000)
> Stack: 00000000 00000400 c2928a28 0000591b c183e3ac c187dbf4 00000010 c2912409
>        00000004 00001000 c2912798 c29123d8 591b0002 00000000 71655265 c2912541
>        00000000 00000802 c293289c c290a945 0000591b c183e3ac 6c66776f c28e51b2
> Call Trace: [<c2928a28>] [<c2912409>] [<c2912798>] [<c29123d8>] [<c2912541>]
>    [<c293289c>] [<c290a945>] [<c28e51b2>] [<c2902b8f>] [<c29322c0>] [<c2916387>]   [<c2916362>] [<c2916499>] [<c0125a23>] [<c01259b6>] [<c011c060>] [<c011c6ae>]   [<c010d3d4>] [<c010d533>] [<c010d3d4>] [<c29170ad>] [<c0106b63>]
> 
> Code: 89 1a 89 7a 04 89 6a 0c 8b 44 24 2c 89 42 10 c7 42 14 00 00
> 
> 
> Can anyone explain this?  The same afsd works on other machines with
> the same kernel and modules, and works on this machine with kernel
> 2.2.19 with appropriate modules.
> 
>      -- Owen
>      LeBlanc@mcc.ac.uk
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available