[OpenAFS-devel] Creating Cell fails because libafs can't be loaded

Derrick Brashear shadow@gmail.com
Sun, 4 May 2008 21:53:01 -0400


On Sun, May 4, 2008 at 12:44 PM, Andreas <andreasmats@gmail.com> wrote:
> Hello guys.
>
>  I 've already created a Cell for testing purposes, but every time I
>  try to create a new one, I can't because when I run:
>  $ modprobe libafs
>  It fails with the error message:
>  FATAL: Error inserting libafs
>  (/lib/modules/2.6.24-16-generic/kernel/fs/libafs.ko): Cannot allocate
>  memory
>  Something that didn't happen the first time.

Well, memcache leaked memory pre 1.4.7, but...

>  When I run dmesg I get the following:
>  allocation failed: out of vmalloc space - use vmalloc=<size> to increase size
>
>  I googled for this error and tried to increase the size of vmalloc in
>  /boot/grub/menu.lst, but nothing happens.
>
>  i tried "umount /afs" before trying to load the library,

You'll note the rc script does more than that, namely, umount /afs;
afsd -shutdown; rmmod libafs