[OpenAFS-devel] AFS 1.3.82 failing in kernel, tracing back to link_path_walk/dput/iput.

Sven Oehme oehmes@de.ibm.com
Fri, 3 Jun 2005 15:53:27 +0200


This is a multipart message in MIME format.
--=_alternative 004C49EFC1257015_=
Content-Type: text/plain; charset="US-ASCII"

i have the same kernel :

starting from line 955 :

void generic_delete_inode(struct inode *inode)
{
        struct super_operations *op = inode->i_sb->s_op;

        list_del_init(&inode->i_list);
        list_del_init(&inode->i_sb_list);
        inode->i_state|=I_FREEING;
        inodes_stat.nr_inodes--;
        spin_unlock(&inode_lock);

        if (inode->i_data.nrpages)
                truncate_inode_pages(&inode->i_data, 0);

        security_inode_delete(inode);

        if (op->delete_inode) {
                void (*delete)(struct inode *) = op->delete_inode;
                if (!is_bad_inode(inode))
                        DQUOT_INIT(inode);
                /* s_op->delete_inode internally recalls clear_inode() */
                delete(inode);
        } else
                clear_inode(inode);
        spin_lock(&inode_lock);
        hlist_del_init(&inode->i_hash);
        spin_unlock(&inode_lock);
        wake_up_inode(inode);
        if (inode->i_state != I_CLEAR)
line 1023 ---->>                BUG();
        destroy_inode(inode);
}


Sven



"chas williams - CONTRACTOR" <chas@cmf.nrl.navy.mil> 
Sent by: openafs-devel-admin@openafs.org
03/06/2005 15:45

To
"C. Alex. North-Keys" <erlkonig@isgenesis.com>
cc
openafs-devel@openafs.org
Subject
Re: [OpenAFS-devel] AFS 1.3.82 failing in kernel, tracing back to 
link_path_walk/dput/iput.






In message <429CAC8B.8090304@isgenesis.com>,"C. Alex. North-Keys" writes:
>Problem seen under SuSE SLES9, kernel version 2.6.5-7.145-smp with 
...
>Any suggestions?
...
>May 30 23:38:08 decker kernel: kernel BUG at fs/inode.c:1023!

is there any chance you could get the sources to this kernel and
let us know what is around line 1023 in fs/inode.c?
_______________________________________________
OpenAFS-devel mailing list
OpenAFS-devel@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-devel


--=_alternative 004C49EFC1257015_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">i have the same kernel :</font>
<br>
<br><font size=2 face="sans-serif">starting from line 955 :</font>
<br>
<br><font size=2 face="sans-serif">void generic_delete_inode(struct inode
*inode)</font>
<br><font size=2 face="sans-serif">{</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; struct super_operations
*op = inode-&gt;i_sb-&gt;s_op;</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; list_del_init(&amp;inode-&gt;i_list);</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; list_del_init(&amp;inode-&gt;i_sb_list);</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; inode-&gt;i_state|=I_FREEING;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; inodes_stat.nr_inodes--;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; spin_unlock(&amp;inode_lock);</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; if (inode-&gt;i_data.nrpages)</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; truncate_inode_pages(&amp;inode-&gt;i_data, 0);</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; security_inode_delete(inode);</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; if (op-&gt;delete_inode)
{</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; void (*delete)(struct inode *) = op-&gt;delete_inode;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; if (!is_bad_inode(inode))</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DQUOT_INIT(inode);</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; /* s_op-&gt;delete_inode internally recalls clear_inode()
*/</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; delete(inode);</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; } else</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; clear_inode(inode);</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; spin_lock(&amp;inode_lock);</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; hlist_del_init(&amp;inode-&gt;i_hash);</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; spin_unlock(&amp;inode_lock);</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; wake_up_inode(inode);</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; if (inode-&gt;i_state
!= I_CLEAR)</font>
<br><font size=2 face="sans-serif">line 1023 ----&gt;&gt; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;BUG();</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; destroy_inode(inode);</font>
<br><font size=2 face="sans-serif">}</font>
<br>
<br>
<br><font size=2 face="sans-serif">Sven</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;chas williams - CONTRACTOR&quot;
&lt;chas@cmf.nrl.navy.mil&gt;</b> </font>
<br><font size=1 face="sans-serif">Sent by: openafs-devel-admin@openafs.org</font>
<p><font size=1 face="sans-serif">03/06/2005 15:45</font>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">&quot;C. Alex. North-Keys&quot;
&lt;erlkonig@isgenesis.com&gt;</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top><font size=1 face="sans-serif">openafs-devel@openafs.org</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">Re: [OpenAFS-devel] AFS 1.3.82
failing in kernel, tracing back to link_path_walk/dput/iput.</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>In message &lt;429CAC8B.8090304@isgenesis.com&gt;,&quot;C.
Alex. North-Keys&quot; writes:<br>
&gt;Problem seen under SuSE SLES9, kernel version 2.6.5-7.145-smp with
<br>
...<br>
&gt;Any suggestions?<br>
...<br>
&gt;May 30 23:38:08 decker kernel: kernel BUG at fs/inode.c:1023!<br>
<br>
is there any chance you could get the sources to this kernel and<br>
let us know what is around line 1023 in fs/inode.c?<br>
_______________________________________________<br>
OpenAFS-devel mailing list<br>
OpenAFS-devel@openafs.org<br>
https://lists.openafs.org/mailman/listinfo/openafs-devel<br>
</tt></font>
<br>
--=_alternative 004C49EFC1257015_=--