[OpenAFS] linux kernel options ?

EC wingman@waika9.com
Thu, 25 Nov 2004 16:34:34 +0100


>> '/var/openafs/cache/CacheItems'
>> /etc/rc.d/init.d/afs: line 144:   374 Segmentation fault
>> $AFSDSERVER_PATH ${AFSD_OPTIONS}
>>
>> If I try to ksymoops but I get hundreds of warnings...
>
>That's some sort of error from your start script. Not important right
>now.
>
>Try to reboot the machine, do an insmod of the afs kernel module and
>start afsd by hand (just "afsd" in the shell).
>When that's working you can go after your script.

[ECI] So there won't be any servers up.

29# /usr/sbin/afsd -stat 2800 -dcache 2400 -daemons 5 -volumes 128
-nosettime -verbose -debug              afsd: My home cell is
'localdomain.com'
ParseCacheInfoFile: Opening cache info file '/etc/openafs/cacheinfo'...
ParseCacheInfoFile: Cache info file successfully parsed:
        cacheMountDir: '/afs'
        cacheBaseDir: '/var/openafs/cache'
        cacheBlocks: 100000
afsd: 10000 inode_for_V entries at 0x8074728, 40000 bytes
SScall(137, 28, 17)=0 afsd: Forking rx listener daemon.
afsd: Forking rx callback listener.
afsd: Forking rxevent daemon.
SScall(137, 28, 48)=0

Machine oopses.

I get this : 

sock_release(rx_socket) FIXME
AFS: RX failed to initialize.
Unable to handle kernel paging request at virtual address 696c5f73
printing eip:
c0110806
*pde = 00000000
Oops: 0002
CPU:    0
EIP:    0010:[<c0110806>]    Tainted: P
EFLAGS: 00010086
eax: d5744000   ebx: d5745c14   ecx: 696c5f73   edx: d5745c14
esi: d5745c64   edi: 00000001   ebp: d5745c1c   esp: d5745bf4
ds: 0018   es: 0018   ss: 0018
Process afsd (pid: 477, stackpage=d5745000)
Stack: d5745c64 00000000 00000000 d5744000 00000000 00000000 00000001
d5744000
d5745c6c 696c5f73 d5745f84 d88cd03b d5745c44 65525346 61006461 695f7366
4c5f6c63 6f48676f 00000000 d5745c64 c02192c8 c02192c8 00000001 d88ccf90
Call Trace:    [<d88cd03b>] [<d88ccf90>] [<d88cdb99>] [<c011f72b>]
[<c011fe53>]
[<c010f6e4>] [<d88cdddf>] [<c0106b27>]
Nov 25 16:23:54 poke_test
Code: 89 11 89 c3 8d b6 00 00 00 00 c7 03 02 00 00 00 fb e8 a0 fa

Ksymoops : 

>>EIP; c0110806 <wait_for_completion+66/ac>   <=====

>>eax; d5744000 <_end+154b7a08/185eca68>
>>ebx; d5745c14 <_end+154b961c/185eca68>
>>edx; d5745c14 <_end+154b961c/185eca68>
>>esi; d5745c64 <_end+154b966c/185eca68>
>>ebp; d5745c1c <_end+154b9624/185eca68>
>>esp; d5745bf4 <_end+154b95fc/185eca68>

Trace; d88cd03b <[libafs-2.4.28.4es]afs_DaemonOp+6b/e0>
Trace; d88ccf90 <[libafs-2.4.28.4es]afsd_launcher+0/40>
Trace; d88cdb99 <[libafs-2.4.28.4es]afs_syscall_call+ae9/b10>
Trace; c011f72b <do_wp_page+47/1f0>
Trace; c011fe53 <handle_mm_fault+7b/b4>
Trace; c010f6e4 <do_page_fault+160/4a0>
Trace; d88cdddf <[libafs-2.4.28.4es]afs_syscall+1bf/210>
Trace; c0106b27 <system_call+33/38>

Code;  c0110806 <wait_for_completion+66/ac>
00000000 <_EIP>:
Code;  c0110806 <wait_for_completion+66/ac>   <=====
   0:   89 11                     mov    %edx,(%ecx)   <=====
Code;  c0110808 <wait_for_completion+68/ac>
   2:   89 c3                     mov    %eax,%ebx
Code;  c011080a <wait_for_completion+6a/ac>
   4:   8d b6 00 00 00 00         lea    0x0(%esi),%esi
Code;  c0110810 <wait_for_completion+70/ac>
   a:   c7 03 02 00 00 00         movl   $0x2,(%ebx)
Code;  c0110816 <wait_for_completion+76/ac>
  10:   fb                        sti
Code;  c0110817 <wait_for_completion+77/ac>
  11:   e8 a0 fa 00 00            call   fab6 <_EIP+0xfab6>