[OpenAFS-devel] afsd 1.3.73 crash

Martin MOKREJŠ mmokrejs@ribosome.natur.cuni.cz
Sun, 31 Oct 2004 11:09:31 +0100


This is a multi-part message in MIME format.
--------------050901030904000506020302
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: 7bit

Hi,
  I tried to start afs on an ext2 partition on Linux 2.4.28-rc1, it has 6 GB RAM
and 1 TB disk array. I would like to use the cache as large as possible.
OK, would be enough to use entire /dev/sdb1. ;)
What are your highest cache sizes? Any afsd options? The cache would typically
house files about 800MB size.


# /usr/vice/etc/afsd
Cache size (819062000) must be less than 95% of partition size (which is 114896850). Lower cache size
Segmentation fault


# cat /usr/vice/etc/cacheinfo 
/afs:/usr/vice/cache:819062000
d313base root # df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda2             35715724  16701464  19014260  47% /
none                   3104804         0   3104804   0% /dev/shm
/dev/sdb1            120944052        20 114800376   1% /usr/vice/cache
/dev/sdd1            819063168       528 819062640   1% /vicepa
/dev/sde1            325562560       324 325562236   1% /home
# 

 # vmstat 1
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id wa
 0  1      0 5361884     40 378384    0    0    31   114   50    47  0  1 98  0
 0  1      0 5361876     40 378384    0    0     0     4  117    14  0  0 100  0
 0  1      0 5361876     40 378384    0    0     0     0  112    12  0  0 100  0
 0  1      0 5361876     40 378384    0    0     0     0  112    14  0  0 100  0
 0  1      0 5361876     40 378384    0    0     0     0  111    14  0  0 100  0
 0  1      0 5361876     40 378384    0    0     0     0  124    12  0  0 100  0

--------------050901030904000506020302
Content-Type: text/plain;
 name="afsdcrash-resolved.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="afsdcrash-resolved.txt"

ksymoops 2.4.9 on i686 2.4.28-rc1.  Options used
     -V (default)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.4.28-rc1/ (default)
     -M (specified)

Unable to handle kernel NULL pointer dereference at virtual address 00000000
f887c875
*pde = 33faf001
Oops: 0002
CPU:    2
EIP:    0010:[<f887c875>]    Tainted: P 
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010297
eax: 00000000   ebx: 13872860   ecx: 00000000   edx: f26ce0a4
esi: 00000000   edi: 00000032   ebp: d7421d48   esp: d7421d30
ds: 0018   es: 0018   ss: 0018
Process afsd (pid: 16223, stackpage=d7421000)
Stack: 000278d0 00000031 d7421d58 00000000 00000000 00000032 d7421d88 f887ebd5 
       04e1ca18 30d1e4f0 000007d0 00000000 00000000 00000000 f6a50214 00000001 
       080722a8 d7421e58 d7421da8 00000000 00000000 f88d9deb d7421e78 f88c7350 
Call Trace:    [<f887ebd5>] [<f88d9deb>] [<f88c7350>] [<f88ec8c4>] [<c015b646>]
  [<c013ca4a>] [<c012e96d>] [<f88c80af>] [<c0397633>] [<f88c0733>] [<c015114a>]
  [<c0143f3a>] [<c0154e45>] [<c0155067>] [<c010728f>]
Code: c7 04 88 ff ff ff ff a1 f0 33 8e f8 c7 04 88 ff ff ff ff 41 


>>EIP; f887c875 <[libafs-2.4.28-rc1.mp]afs_dcacheInit+1c5/390>   <=====

>>edx; f26ce0a4 <_end+3217c40c/3831a3c8>
>>ebp; d7421d48 <_end+16ed00b0/3831a3c8>
>>esp; d7421d30 <_end+16ed0098/3831a3c8>

Trace; f887ebd5 <[libafs-2.4.28-rc1.mp]afs_CacheInit+145/1f0>
Trace; f88d9deb <[libafs-2.4.28-rc1.mp].rodata.end+5978/cbcd>
Trace; f88c7350 <[libafs-2.4.28-rc1.mp]afs_syscall_call+ed0/17d0>
Trace; f88ec8c4 <[libafs-2.4.28-rc1.mp]afs_iclLongTermSetp+0/4>
Trace; c015b646 <find_inode_number+346/3e0>
Trace; c013ca4a <__alloc_pages+6a/270>
Trace; c012e96d <remap_page_range+36d/620>
Trace; f88c80af <[libafs-2.4.28-rc1.mp]afs_syscall+34f/440>
Trace; c0397633 <rb_insert_color+93/2c0>
Trace; f88c0733 <[libafs-2.4.28-rc1.mp]afs_ioctl+63/90>
Trace; c015114a <path_lookup+3a/40>
Trace; c0143f3a <dentry_open+8a/1f0>
Trace; c0154e45 <kill_fasync+125/530>
Trace; c0155067 <kill_fasync+347/530>
Trace; c010728f <__read_lock_failed+131b/170c>

Code;  f887c875 <[libafs-2.4.28-rc1.mp]afs_dcacheInit+1c5/390>
00000000 <_EIP>:
Code;  f887c875 <[libafs-2.4.28-rc1.mp]afs_dcacheInit+1c5/390>   <=====
   0:   c7 04 88 ff ff ff ff      movl   $0xffffffff,(%eax,%ecx,4)   <=====
Code;  f887c87c <[libafs-2.4.28-rc1.mp]afs_dcacheInit+1cc/390>
   7:   a1 f0 33 8e f8            mov    0xf88e33f0,%eax
Code;  f887c881 <[libafs-2.4.28-rc1.mp]afs_dcacheInit+1d1/390>
   c:   c7 04 88 ff ff ff ff      movl   $0xffffffff,(%eax,%ecx,4)
Code;  f887c888 <[libafs-2.4.28-rc1.mp]afs_dcacheInit+1d8/390>
  13:   41                        inc    %ecx


--------------050901030904000506020302--