kernel module problem

Faheem Mitha faheem at email.unc.edu
Fri Sep 29 17:58:02 CEST 2000




On 29 Sep 2000, Love wrote:
 
> "Error detecting AFS" means that there isn't any afs-syscall, and if you
> kernel module fails to insert that, I have no clue what's wrong.
 
> Now for us to see what is wrong. You'll need to turn on debugging on xfs
> and arla. This is all described on
> 
> <http://www.stacken.kth.se/projekt/arla/html/arla_5.html>
> 
> Esp. the part:
> 
>   "If it crashes before you have an opportunity to set the debug level, you
>    will have to edit `xfs/your-os/xfs_deb.c' and recompile".

Ok, I am perfectly willing to do this, but unfortunately I have no idea
what I need to edit xfs/linux/xfs_deb.c to! I include xfs_deb.c below.
Anyone? My best guess is that I need to change the 0 to a 1, but this is
mere wild speculation.

This will turn on debugging for xfs, right? What about arla? (Which
actually seems OK.)

                                              Faheem.
*************************************************************************

#define __NO_VERSION__

#include <xfs/xfs_locl.h>
#include <xfs/xfs_deb.h>

RCSID("$Id: xfs_deb.c,v 1.2 1998/12/22 13:16:31 lha Exp $");

/* X is on */
#define X(y) y
/* and x is off */
#define x(y) 0

int xfsdeb = (0
              | x(XDEBDEV)
              | x(XDEBMSG)
              | x(XDEBDNLC)
              | x(XDEBNODE)
              | x(XDEBVNOPS)
              | x(XDEBVFOPS)
              | x(XDEBCACHE)
              | x(XDEBSYS)
              | x(XDEBREADDIR)
              | x(XDEBLOCK)
              | x(XDEBMEM)
              );

****************************************************************************






More information about the Arla-drinkers mailing list