xfs
[Top] [All Lists]

Re: weird kernel messages

To: Christian Guggenberger <Christian.Guggenberger@xxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: weird kernel messages
From: Steve Lord <lord@xxxxxxx>
Date: 15 Jul 2003 09:31:49 -0500
Cc: Eric Sandeen <sandeen@xxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <20030715161951.E31132@xxxxxxxxxxxxxxxxxxxxxxxx>
Organization:
References: <20030715152816.A31132@xxxxxxxxxxxxxxxxxxxxxxxx> <Pine.LNX.4.44.0307150842080.7108-100000@xxxxxxxxxxxxxxxxxxxxxx> <20030715161951.E31132@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Tue, 2003-07-15 at 09:19, Christian Guggenberger wrote:
> On 15.07.2003   15:42 Eric Sandeen wrote:
> > That looks like the new & improved verbose error reporting... minus
> > some of the actual verbosity.  :)
> > 
> > These are from /var/log/messages, or on the console?
> > 
> These are from both /var/log/kern.log and console.
> We were running 2.4.20-xfs, but this one brought some actual verbose debug 
> messages, when a nfs client still had mounted an nfs volume, which changed 
> underneath on the server. I think, these new messages are still related to 
> nfs 
> clients trying to access old nfs-exports.
> See
> http://marc.theaimsgroup.com/?l=linux-xfs&m=105747586206175&w=2
> for the 2.4.20-xfs messages.
> 
> Christian

Yes, these smell like nfs file handles being fed to the wrong
filesystem, this should shut them up:

===========================================================================
Index: linux/fs/xfs/xfs_error.c
===========================================================================

--- /usr/tmp/TmpDir.16057-0/linux/fs/xfs/xfs_error.c_1.45       Tue Jul 15 
09:31:19 2003
+++ linux/fs/xfs/xfs_error.c    Tue Jul 15 09:31:04 2003
@@ -323,6 +323,7 @@
        int             linenum,
        inst_t          *ra)
 {
-       xfs_hex_dump(p, 16);
+       if (level <= xfs_error_level)
+               xfs_hex_dump(p, 16);
        xfs_error_report(tag, level, mp, fname, linenum, ra);
 }


-- 

Steve Lord                                      voice: +1-651-683-3511
Principal Engineer, Filesystem Software         email: lord@xxxxxxx


<Prev in Thread] Current Thread [Next in Thread>