XFS PANIC WARNING!
Tomas Olsson
tol at stacken.kth.se
Sat May 8 02:59:46 CEST 2004
Andy Malato <andym at oak.njit.edu> writes:
> I just recently installed arla-0.35.12 on Tru64 UNIX 5.1. Everything
> seems to work quite well
>
Nice. We haven't worked on the Tru64 port for a long time (no machines left
here), good to hear it still works. Please share your experiences after a
little while. We probably won't be able to help out much with any problems,
but there may be others listening.
> What causes these messages and is there a way to prevent them?
>
Well, the xfs kernel module found a cached file name where it didn't expect
one. I'm not sure how bad that is, if things seem to work anyway, maybe
it's ok. The only way to get rid of the message is to remove or comment out
the matching printf() call in the source code and recompile. Something like
the patch below.
Good luck
/Tomas
Index: xfs/bsd/xfs_node-osf.c
===================================================================
RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/xfs/bsd/Attic/xfs_node-osf.c,v
retrieving revision 1.14.2.4
diff -u -w -u -w -r1.14.2.4 xfs_node-osf.c
--- xfs/bsd/xfs_node-osf.c 2001/06/27 15:11:26 1.14.2.4
+++ xfs/bsd/xfs_node-osf.c 2004/05/08 00:34:47
@@ -436,9 +436,9 @@
ndp->ni_makeentry = 1;
if ((ret = cache_lookup(ndp)) != 0) {
- printf ("XFS PANIC WARNING! xfs_dnlc_enter: "
+ XFSDEB(XDEBDNLC, ("XFS PANIC WARNING! xfs_dnlc_enter: "
"%s already in cache, ret = %d\n",
- ndp->ni_ptr, ret);
+ ndp->ni_ptr, ret));
}
if (ndp->ni_vp == NULL && vp != NULL)
More information about the Arla-drinkers
mailing list