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

Dr A V Le Blanc Dr A V Le Blanc <LeBlanc@mcc.ac.uk>
Wed, 22 Aug 2001 18:21:37 +0100


On Wed, Aug 22, 2001 at 12:15:00PM -0400, Derek Atkins wrote:
> 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.

Hm, osi_vfs.h has a 'struct vnode' defined; I can't find the
corresponding definition in the kernel sources.

On Wed, Aug 22, 2001 at 12:11:48PM -0400, chas williams wrote:
> perhaps you could feed the crash through ksymoops so we could see where
> it died.

No modules in ksyms, skipping objects
avl1 15:19:39> Unable to handle kernel paging request at virtual address c293a000
c28d70c0
*pde = 010b4067
Oops: 000b
CPU:    0
EIP:    0010:[<c28d70c0>]
Using defaults from ksymoops -t elf32-i386 -a i386
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

>>EIP; c28d70c0 <END_OF_CODE+2678128/????>   <=====
Trace; c2928a28 <END_OF_CODE+26c9a90/????>
Trace; c2912409 <END_OF_CODE+26b3471/????>
Trace; c2912798 <END_OF_CODE+26b3800/????>
Trace; c29123d8 <END_OF_CODE+26b3440/????>
Trace; c2912541 <END_OF_CODE+26b35a9/????>
Trace; c293289c <END_OF_CODE+26d3904/????>
Trace; c290a945 <END_OF_CODE+26ab9ad/????>
Trace; c28e51b2 <END_OF_CODE+268621a/????>
Trace; c2902b8f <END_OF_CODE+26a3bf7/????>
Trace; c29322c0 <END_OF_CODE+26d3328/????>
Trace; c2916387 <END_OF_CODE+26b73ef/????>
Trace; c2916362 <END_OF_CODE+26b73ca/????>
Trace; c2916499 <END_OF_CODE+26b7501/????>
Trace; c0125a23 <__alloc_pages+6b/274>
Trace; c01259b6 <_alloc_pages+16/18>
Trace; c011c060 <do_wp_page+230/264>
Trace; c011c6ae <handle_mm_fault+86/b8>
Trace; c010d3d4 <do_page_fault+0/45c>
Trace; c010d533 <do_page_fault+15f/45c>
Trace; c010d3d4 <do_page_fault+0/45c>
Trace; c29170ad <END_OF_CODE+26b8115/????>
Trace; c0106b63 <system_call+33/40>
Code;  c28d70c0 <END_OF_CODE+2678128/????>
00000000 <_EIP>:
Code;  c28d70c0 <END_OF_CODE+2678128/????>   <=====
   0:   89 1a                     mov    %ebx,(%edx)   <=====
Code;  c28d70c2 <END_OF_CODE+267812a/????>
   2:   89 7a 04                  mov    %edi,0x4(%edx)
Code;  c28d70c5 <END_OF_CODE+267812d/????>
   5:   89 6a 0c                  mov    %ebp,0xc(%edx)
Code;  c28d70c8 <END_OF_CODE+2678130/????>
   8:   8b 44 24 2c               mov    0x2c(%esp,1),%eax
Code;  c28d70cc <END_OF_CODE+2678134/????>
   c:   89 42 10                  mov    %eax,0x10(%edx)
Code;  c28d70cf <END_OF_CODE+2678137/????>
   f:   c7 42 14 00 00 00 00      movl   $0x0,0x14(%edx)

     -- Owen
     LeBlanc@mcc.ac.uk