[OpenAFS] OpenAFS server on SuSE 8.2

Derrick J Brashear shadow@dementia.org
Mon, 15 Sep 2003 14:50:47 -0400 (EDT)

On Mon, 15 Sep 2003, Benjamin P Myers wrote:

> > ./configure --enable-debug-kernel will compile a module that should give
> > good frames in the backtrace.
> I don't follow.  osi_file.c line 47 is:
> afile = (struct osi_file *) osi_AllocSmallSpace(sizeof(struct osi_file));

My mind is hemorrhaging badly. You are correct. Profound apologies, I will
find the problem and fix it. The right answer is (presumably) to allocate
that from a different memory pool.

> I put printfs around all instances of osi_AllocSmallSpace in the src/afs/LINUX
> directory and came up with this one on account of not seeing the output of
> the second printf in my system log.  It seems that sizeof(struct osi_file)
> was larger than the default AFS_SMALLOCSIZ, but I don't know why not on other
> suse boxes. I didn't have very good luck with the backtrace (even with the
> --enable-debug-kernel and ksymoops).

The kernel is probably also compiled -fomit-frame-pointer.