Hi,<div> </div><div>   We sure that we haven&#39;t installed the xfs kmod,and the modinfo are:</div><div><br></div><div><div># modinfo xfs</div><div>filename:       /lib/modules/2.6.18-308.8.2.el5/kernel/fs/xfs/xfs.ko</div>
<div>license:        GPL</div><div>description:    SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled</div><div>author:         Silicon Graphics, Inc.</div><div>srcversion:     D37A003AFEE1A42BDD4DD56</div>
<div>depends:        </div><div>vermagic:       2.6.18-308.8.2.el5 SMP mod_unload gcc-4.1</div><div>module_sig:     883f3504fd752a1a91bf303215fc9511247a309f792a2c9d45673dbc457399198719262a50135f0a083e666c424dff9de84f1f5eff01e607decb4921e</div>
</div><div><br><div class="gmail_quote">On Fri, Jun 29, 2012 at 12:52 PM, Eric Sandeen <span dir="ltr">&lt;<a href="mailto:sandeen@sandeen.net" target="_blank">sandeen@sandeen.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF"><div class="im"><div>On Jun 29, 2012, at 12:46 AM, Changliang Chen &lt;<a href="mailto:hqucocl@gmail.com" target="_blank">hqucocl@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite">
<div>Hi Eric,<div><br></div><div>    Is this issue <font face="Verdana, Arial, Helvetica, sans-serif">resolved? We have </font>
<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">been getting the same problem,</span> though we had upgrated the kernel to 2.6.18-308.8.2.el5.<font face="Verdana, Arial, Helvetica, sans-serif"><br>

</font><br></div></div></blockquote></div>I do not know; if it were rhel I&#39;d suggest logging a support ticket.  I&#39;ve not seen anything similar on rhel.<div><br></div><div>Did you make sure there is no xfs kmod rpm installed?  What does modinfo xfs say?</div>
<div><div class="h5"><div><br><blockquote type="cite"><div><div><div class="gmail_quote">On Tue, Apr 3, 2012 at 2:03 AM, Eric Sandeen <span dir="ltr">&lt;<a href="mailto:sandeen@sandeen.net" target="_blank">sandeen@sandeen.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On 4/2/12 8:09 AM, Mark Rechler wrote:<br>
&gt; Hi Eric,<br>
&gt;<br>
&gt; Thank you for the reply. We are running CentOS 5.8, with the<br>
&gt; 2.6.18-164.10.1.el5.centos.plus kernel as it was mentioned in a bug<br>
&gt; report that has similar behavior, but ultimately a different kernel<br>
&gt; panic (<a href="http://bugs.centos.org/view.php?id=4089" target="_blank">http://bugs.centos.org/view.php?id=4089</a>). We have tried<br>
&gt; running xfs_repair in the past and it has not proved useful. The odd<br>
&gt; part is that these are fresh systems (just installed). If it helps,<br>
&gt; we are also running glusterfs on these boxes though load does not<br>
&gt; always correlate to a kernel panic.<br>
<br>
</div>I can&#39;t say for sure what&#39;s in that respun &quot;extra&quot; centos kernel,<br>
but I can say this:  the error you hit indicates that xfs read a<br>
buffer, and wound up with a metadata buffer which had unrecognized<br>
magic - i.e. it did not look like metadata as expected.  Seeing what<br>
looks like corruption, it shut down.<br>
<br>
This reminds me a little of<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=512552" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=512552</a><br>
which I fixed for RHEL customers a while back, where cancelled<br>
readahead in MD was resulting in xfs thinking a buffer was<br>
uptodate, but in fact it was uninitialized, hence it found<br>
garbage and shut down in this way.<br>
<br>
Something similar seems to be happening in your case, if xfs_repair<br>
comes up clean; somehow xfs is getting hold of a buffer which<br>
apparently doesn&#39;t match what xfs_repair found to be a consistent<br>
filesystem.<br>
<br>
So I might suspect something in the storage stack?<br>
<br>
Also please be sure you don&#39;t have kmod-xfs or xfs-kmod installed<br>
on your centos box, which is a truly ancient and completely unsupported<br>
backport of xfs from long, long ago.<br>
<br>
-Eric<br>
<br>
&gt; Thanks,<br>
&gt; Mark<br>
<div><div>&gt;<br>
&gt; On Fri, Mar 30, 2012 at 6:44 PM, Eric Sandeen &lt;<a href="mailto:sandeen@sandeen.net" target="_blank">sandeen@sandeen.net</a> &lt;mailto:<a href="mailto:sandeen@sandeen.net" target="_blank">sandeen@sandeen.net</a>&gt;&gt; wrote:<br>

&gt;<br>
&gt;     On 3/30/12 5:02 PM, Mark Rechler wrote:<br>
&gt;     &gt; Hi Everyone,<br>
&gt;     &gt;<br>
&gt;     &gt; We&#39;ve been getting a lot of errors (across several kernels) and eventually a kernel panic. Any insight into these errors would be much appreciated.<br>
&gt;     &gt;<br>
&gt;     &gt; Errors:<br>
&gt;     &gt; Filesystem &quot;dm-3&quot;: XFS internal error xfs_da_do_buf(2) at line 2112 of file fs/xfs/xfs_da_btree.c.  Caller 0xffffffff883c1826<br>
&gt;<br>
&gt;     Saying which CentOS it is would help ;)  And, standard disclaimers about how CentOS doesn&#39;t come with upstream _or_ distro support, etc etc...<br>
&gt;<br>
&gt;     But xfs_da_do_buf(2) indicates on-disk corruption, having encountered a bad magic number when reading from the disk.  Have you tried xfs_repair?<br>
&gt;<br>
&gt;     -Eric<br>
&gt;<br>
&gt;     &gt; Call Trace:<br>
&gt;     &gt;  [&lt;ffffffff883c1725&gt;] :xfs:xfs_da_do_buf+0x503/0x5b1<br>
&gt;     &gt;  [&lt;ffffffff883c1826&gt;] :xfs:xfs_da_read_buf+0x16/0x1b<br>
&gt;     &gt;  [&lt;ffffffff883c1826&gt;] :xfs:xfs_da_read_buf+0x16/0x1b<br>
&gt;     &gt;  [&lt;ffffffff883aeb71&gt;] :xfs:xfs_attr_leaf_get+0x2e/0x99<br>
&gt;     &gt;  [&lt;ffffffff883aeb71&gt;] :xfs:xfs_attr_leaf_get+0x2e/0x99<br>
&gt;     &gt;  [&lt;ffffffff883aec7f&gt;] :xfs:xfs_attr_fetch+0xa3/0xd5<br>
&gt;     &gt;  [&lt;ffffffff883a7aa8&gt;] :xfs:xfs_acl_iaccess+0x64/0xd4<br>
&gt;     &gt;  [&lt;ffffffff883f264a&gt;] :xfs:xfs_check_acl+0x1b/0x2b<br>
&gt;     &gt;  [&lt;ffffffff8000f550&gt;] generic_permission+0x40/0xca<br>
&gt;     &gt;  [&lt;ffffffff8000d902&gt;] permission+0x81/0xc8<br>
&gt;     &gt;  [&lt;ffffffff8000999d&gt;] __link_path_walk+0x173/0xf42<br>
&gt;     &gt;  [&lt;ffffffff8000e9cc&gt;] link_path_walk+0x42/0xb2<br>
&gt;     &gt;  [&lt;ffffffff8000cc9c&gt;] do_path_lookup+0x275/0x2f1<br>
&gt;     &gt;  [&lt;ffffffff8001278e&gt;] getname+0x15b/0x1c2<br>
&gt;     &gt;  [&lt;ffffffff800236f6&gt;] __user_walk_fd+0x37/0x4c<br>
&gt;     &gt;  [&lt;ffffffff8003f1f6&gt;] vfs_lstat_fd+0x18/0x47<br>
&gt;     &gt;  [&lt;ffffffff8008c46e&gt;] default_wake_function+0x0/0xe<br>
&gt;     &gt;  [&lt;ffffffff800efddf&gt;] sys_lgetxattr+0x4e/0x5f<br>
&gt;     &gt;  [&lt;ffffffff8002a996&gt;] sys_newlstat+0x19/0x31<br>
&gt;     &gt;  [&lt;ffffffff8005d229&gt;] tracesys+0x71/0xe0<br>
&gt;     &gt;  [&lt;ffffffff8005d28d&gt;] tracesys+0xd5/0xe0<br>
&gt;     &gt;<br>
&gt;     &gt; Code: 0f b6 40 02 89 44 24 04 e9 95 00 00 00 44 0f b6 Z3 44 3b 65<br>
&gt;     &gt; RIP [&lt;ffffffffff8841bfaf&gt;] :xfs:xfs_attr_shortform_getvalue+0x24/0xe2<br>
&gt;     &gt;   RSP &lt;ffff81020752dbc8&gt;<br>
&gt;     &gt; CR2: 00000000000002<br>
&gt;     &gt;   &lt;0&gt;Kernel panic - not syncing: Fatal exception<br>
&gt;     &gt;<br>
&gt;     &gt; Thanks,<br>
&gt;     &gt; Mark<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt; _______________________________________________<br>
&gt;     &gt; xfs mailing list<br>
</div></div>&gt;     &gt; <a href="mailto:xfs@oss.sgi.com" target="_blank">xfs@oss.sgi.com</a> &lt;mailto:<a href="mailto:xfs@oss.sgi.com" target="_blank">xfs@oss.sgi.com</a>&gt;<br>
&gt;     &gt; <a href="http://oss.sgi.com/mailman/listinfo/xfs" target="_blank">http://oss.sgi.com/mailman/listinfo/xfs</a><br>
<div><div>&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
xfs mailing list<br>
<a href="mailto:xfs@oss.sgi.com" target="_blank">xfs@oss.sgi.com</a><br>
<a href="http://oss.sgi.com/mailman/listinfo/xfs" target="_blank">http://oss.sgi.com/mailman/listinfo/xfs</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><br>Regards,<br><br>Cocl<br>ops manager<br>19lou Operation &amp; Maintenance Dept<br>
</div>
</div></blockquote></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><br>Regards,<br><br>Cocl<br>ops manager<br>19lou Operation &amp; Maintenance Dept<br>
</div>