<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=222212503-19032007><FONT 
color=#0000ff>Thanks Kevin! That helps.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=222212503-19032007><FONT 
color=#0000ff></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=222212503-19032007><FONT color=#0000ff>- 
Sridhar</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> linux-cluster-bounces@redhat.com 
  [mailto:linux-cluster-bounces@redhat.com] <B>On Behalf Of </B>Kevin 
  Anderson<BR><B>Sent:</B> Saturday, March 17, 2007 2:37 AM<BR><B>To:</B> linux 
  clustering<BR><B>Subject:</B> RE: [Linux-cluster] Kernel oops when GFS2 used 
  as localfs<BR></FONT><BR></DIV>
  <DIV></DIV>Just opened up bugzilla 229831, you should be able to see it 
  now.<BR><BR>Kevin<BR><BR>On Sat, 2007-03-17 at 00:11 -0600, David wrote: 
  <BLOCKQUOTE TYPE="CITE"><PRE><FONT color=#000000>Once you get it, feel free to share with all of us.</FONT>

<FONT color=#000000>David </FONT>

<FONT color=#000000>-----Original Message-----</FONT>
<FONT color=#000000>From: <A href="mailto:linux-cluster-bounces@redhat.com">linux-cluster-bounces@redhat.com</A></FONT>
<FONT color=#000000>[mailto:<A href="mailto:linux-cluster-bounces@redhat.com">linux-cluster-bounces@redhat.com</A>] On Behalf Of Sridhar Ramaswamy</FONT>
<FONT color=#000000>(srramasw)</FONT>
<FONT color=#000000>Sent: Wednesday, March 14, 2007 12:20 PM</FONT>
<FONT color=#000000>To: linux clustering</FONT>
<FONT color=#000000>Subject: RE: [Linux-cluster] Kernel oops when GFS2 used as localfs</FONT>


<FONT color=#000000>Hi folks,</FONT>

<FONT color=#000000>This bugzilla 229831 seems "restricted" :(  Can someone please forward</FONT>
<FONT color=#000000>its details? I'm interested in understanding the actual problem and its</FONT>
<FONT color=#000000>proposed fix.</FONT>

<FONT color=#000000>Meanwhile I'll try an upstream kernel. Should 2.6.21.rc1 be fine?</FONT>

<FONT color=#000000>Thanks,</FONT>
<FONT color=#000000>Sridhar</FONT>

<FONT color=#000000>> -----Original Message-----</FONT>
<FONT color=#000000>> From: <A href="mailto:linux-cluster-bounces@redhat.com">linux-cluster-bounces@redhat.com</A></FONT>
<FONT color=#000000>> [mailto:<A href="mailto:linux-cluster-bounces@redhat.com">linux-cluster-bounces@redhat.com</A>] On Behalf Of Wendy Cheng</FONT>
<FONT color=#000000>> Sent: Wednesday, March 14, 2007 6:33 AM</FONT>
<FONT color=#000000>> To: linux clustering</FONT>
<FONT color=#000000>> Subject: Re: [Linux-cluster] Kernel oops when GFS2 used as localfs</FONT>
<FONT color=#000000>> </FONT>
<FONT color=#000000>> Steven Whitehouse wrote:</FONT>
<FONT color=#000000>> > Hi,</FONT>
<FONT color=#000000>> ></FONT>
<FONT color=#000000>> > This looks like Red Hat bugzilla 229831 and if so then</FONT>
<FONT color=#000000>> there is already</FONT>
<FONT color=#000000>> > a fix in Linus' upstream kernel and in the latest kernel build for </FONT>
<FONT color=#000000>> > Fedora (both 5 and 6),</FONT>
<FONT color=#000000>> ></FONT>
<FONT color=#000000>> >   </FONT>
<FONT color=#000000>> yeah... agree. I missed the unlink part of the trace in previous post</FONT>
<FONT color=#000000>> and thought it might have something to do with my ino number </FONT>
<FONT color=#000000>> hacking in </FONT>
<FONT color=#000000>> the lookup code.</FONT>
<FONT color=#000000>> </FONT>
<FONT color=#000000>> -- Wendy</FONT>
<FONT color=#000000>> > Steve.</FONT>
<FONT color=#000000>> ></FONT>
<FONT color=#000000>> > On Wed, 2007-03-14 at 00:15 -0700, Sridhar Ramaswamy</FONT>
<FONT color=#000000>> (srramasw) wrote:</FONT>
<FONT color=#000000>> >   </FONT>
<FONT color=#000000>> >> Sure Wendy. Here it is,</FONT>
<FONT color=#000000>> >></FONT>
<FONT color=#000000>> >> "fs/gfs2/inode.c" 1256</FONT>
<FONT color=#000000>> >> struct inode *gfs2_ilookup(struct super_block *sb, struct</FONT>
<FONT color=#000000>> gfs2_inum_host</FONT>
<FONT color=#000000>> >> *inum)</FONT>
<FONT color=#000000>> >> {</FONT>
<FONT color=#000000>> >>         return ilookup5(sb, (unsigned long)inum->no_formal_ino,</FONT>
<FONT color=#000000>> >>                         iget_test, inum);</FONT>
<FONT color=#000000>> >> }</FONT>
<FONT color=#000000>> >></FONT>
<FONT color=#000000>> >> static struct inode *gfs2_iget(struct super_block *sb, struct </FONT>
<FONT color=#000000>> >> gfs2_inum_host *inum) {</FONT>
<FONT color=#000000>> >>         return iget5_locked(sb, (unsigned long)inum->no_formal_ino,</FONT>
<FONT color=#000000>> >>                      iget_test, iget_set, inum);</FONT>
<FONT color=#000000>> >> }</FONT>
<FONT color=#000000>> >></FONT>
<FONT color=#000000>> >> BTW - this code is from kernel version 2.6.20.1.</FONT>
<FONT color=#000000>> >></FONT>
<FONT color=#000000>> >> Thanks,</FONT>
<FONT color=#000000>> >> Sridhar</FONT>
<FONT color=#000000>> >></FONT>
<FONT color=#000000>> >>     </FONT>
<FONT color=#000000>> >>> -----Original Message-----</FONT>
<FONT color=#000000>> >>> From: <A href="mailto:linux-cluster-bounces@redhat.com">linux-cluster-bounces@redhat.com</A></FONT>
<FONT color=#000000>> >>> [mailto:<A href="mailto:linux-cluster-bounces@redhat.com">linux-cluster-bounces@redhat.com</A>] On Behalf Of Wendy Cheng</FONT>
<FONT color=#000000>> >>> Sent: Tuesday, March 13, 2007 10:29 PM</FONT>
<FONT color=#000000>> >>> To: linux clustering</FONT>
<FONT color=#000000>> >>> Subject: Re: [Linux-cluster] Kernel oops when GFS2 used as localfs</FONT>
<FONT color=#000000>> >>></FONT>
<FONT color=#000000>> >>> Sridhar Ramaswamy (srramasw) wrote:</FONT>
<FONT color=#000000>> >>></FONT>
<FONT color=#000000>> >>>       </FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel: ------------[ cut here ]------------</FONT>

<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel: kernel BUG at fs/gfs2/meta_io.c:474!</FONT>
<FONT color=#000000>> >>>>         </FONT>
<FONT color=#000000>> >>> I don't have time to pull kernel.org source code right</FONT>
<FONT color=#000000>> now. Could you</FONT>
<FONT color=#000000>> >>> cut-and-paste the following two routines (from fs/gfs2/inode.c):</FONT>
<FONT color=#000000>> >>> gfs2_ilookup() and gfs2_iget() so we can look into this</FONT>
<FONT color=#000000>> >>> quickly ? They </FONT>
<FONT color=#000000>> >>> are all one-liner so shouldn't be too much troubles. GFS2 </FONT>
<FONT color=#000000>> >>> currently has </FONT>
<FONT color=#000000>> >>> ino issue with its lookup code.</FONT>
<FONT color=#000000>> >>></FONT>
<FONT color=#000000>> >>> -- Wendy</FONT>
<FONT color=#000000>> >>></FONT>
<FONT color=#000000>> >>>       </FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel: invalid opcode: 0000 [#1] Mar 13 </FONT>
<FONT color=#000000>> >>>> 15:25:56 cfs1 kernel: SMP Mar 13 15:25:56 cfs1 kernel: Modules </FONT>
<FONT color=#000000>> >>>> linked in: lock_nolock gfs2 reiserfs nfsd exportfs nfs lockd </FONT>
<FONT color=#000000>> >>>> nfs_acl ipv6 parport_pc</FONT>
<FONT color=#000000>> lp parport</FONT>
<FONT color=#000000>> >>>> autofs4 sunrpc dm_mirror dm_mod button battery ac</FONT>
<FONT color=#000000>> uhci_hcd ehci_hcd</FONT>
<FONT color=#000000>> >>>> intel_rng rng_core i2c_i801 i2c_core e1000 e100 mii</FONT>
<FONT color=#000000>> floppy ext3 jbd</FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel: CPU:    1</FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel: EIP:    0060:[<e0c88da5>]    </FONT>
<FONT color=#000000>> >>>>         </FONT>
<FONT color=#000000>> >>> Not tainted VLI</FONT>
<FONT color=#000000>> >>>       </FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel: EFLAGS: 00010246   (2.6.20.1 #1)</FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel: EIP is at</FONT>
<FONT color=#000000>> >>>> gfs2_meta_indirect_buffer+0x4c/0x278 [gfs2]</FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel: eax: 00000000   ebx: </FONT>
<FONT color=#000000>> 00012bf5   ecx: </FONT>
<FONT color=#000000>> >>>> ce5a6dd4   edx: dc5eae00</FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel: esi: 00000000   edi: </FONT>
<FONT color=#000000>> 00000000   ebp: </FONT>
<FONT color=#000000>> >>>> dc5ea9a8   esp: ce5a6d58</FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel: ds: 007b   es: 007b   ss: 0068</FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel: Process bonnie++ (pid: 5509,</FONT>
<FONT color=#000000>> >>>>         </FONT>
<FONT color=#000000>> >>> ti=ce5a6000</FONT>
<FONT color=#000000>> >>>       </FONT>
<FONT color=#000000>> >>>> task=dc320570 task.ti=ce5a6000)</FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel: Stack: c156d274 ce5a6dd4 c016eb91</FONT>
<FONT color=#000000>> >>>> ce5a6dd4 00000000 dc5eae00 00000000 d6f34000</FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel:        00000000 00000000 dc5ea9a8 </FONT>
<FONT color=#000000>> >>>> d57794a8 ce5a6e08 e0c83ad3 00012bf5 00000000</FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel:        00000000 ce5a6da0 00000000 </FONT>
<FONT color=#000000>> >>>> 00000000 dc5ea9a8 d57794a8 e0c84cc9 ce5a6dd4</FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel: Call Trace:</FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel:  [<c016eb91>] iget5_locked+0x3d/0x67</FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel:  [<e0c83ad3>] </FONT>
<FONT color=#000000>> >>>> gfs2_inode_refresh+0x34/0xfe [gfs2]</FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel:  [<e0c84cc9>] </FONT>
<FONT color=#000000>> >>>>         </FONT>
<FONT color=#000000>> >>> gfs2_createi+0x12c/0x191 [gfs2]</FONT>
<FONT color=#000000>> >>>       </FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel:  [<e0c8da3c>]</FONT>
<FONT color=#000000>> >>>>         </FONT>
<FONT color=#000000>> >>> gfs2_create+0x5c/0x103 [gfs2]</FONT>
<FONT color=#000000>> >>>       </FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel:  [<e0c84be7>]</FONT>
<FONT color=#000000>> >>>>         </FONT>
<FONT color=#000000>> >>> gfs2_createi+0x4a/0x191 [gfs2]</FONT>
<FONT color=#000000>> >>>       </FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel:  [<e0c820c4>]</FONT>
<FONT color=#000000>> >>>>         </FONT>
<FONT color=#000000>> >>> gfs2_glock_nq_num+0x3f/0x64</FONT>
<FONT color=#000000>> >>>       </FONT>
<FONT color=#000000>> >>>> [gfs2]</FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel:  [<c016552e>] vfs_create+0xc3/0x126 </FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel:  [<c01657f2>]</FONT>
<FONT color=#000000>> >>>>         </FONT>
<FONT color=#000000>> >>> open_namei_create+0x47/0x88</FONT>
<FONT color=#000000>> >>>       </FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel:  [<c016597d>] open_namei+0x14a/0x539</FONT>

<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel:  [<c015d27b>] do_filp_open+0x25/0x39</FONT>

<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel:  [<c01d200a>]</FONT>
<FONT color=#000000>> >>>>         </FONT>
<FONT color=#000000>> >>> strncpy_from_user+0x3c/0x5b</FONT>
<FONT color=#000000>> >>>       </FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel:  [<c015d431>]</FONT>
<FONT color=#000000>> get_unused_fd+0xa8/0xb1</FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel:  [<c015d509>] do_sys_open+0x42/0xbe </FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel:  [<c015d59f>] sys_open+0x1a/0x1c Mar</FONT>

<FONT color=#000000>> >>>> 13 15:25:56 cfs1 kernel:  [<c015d5dd>] sys_creat+0x1f/0x23 Mar 13</FONT>

<FONT color=#000000>> >>>> 15:25:56 cfs1 kernel:  [<c0103410>]</FONT>
<FONT color=#000000>> >>>>         </FONT>
<FONT color=#000000>> >>> sysenter_past_esp+0x5d/0x81</FONT>
<FONT color=#000000>> >>>       </FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:56 cfs1 kernel:  ======================= Mar 13 </FONT>
<FONT color=#000000>> >>>> 15:25:56 cfs1 kernel: Code: 80 a8 01 00 00 89 44 24</FONT>
<FONT color=#000000>> >>>>         </FONT>
<FONT color=#000000>> >>> 1c 8b 85 f0</FONT>
<FONT color=#000000>> >>>       </FONT>
<FONT color=#000000>> >>>> 01 00 00 c7 44 24 20 00 00 00 00 89 54 24 14 85 c0 89 44 24</FONT>
<FONT color=#000000>> >>>>         </FONT>
<FONT color=#000000>> >>> 18 c7 44</FONT>
<FONT color=#000000>> >>>       </FONT>
<FONT color=#000000>> >>>> 24 10 00 00 00 00 75 04 <0f> 0b eb fe 83 7c 24 1c 00 75 04</FONT>
<FONT color=#000000>> >>>>         </FONT>
<FONT color=#000000>> >>> 0f 0b eb fe</FONT>
<FONT color=#000000>> >>>       </FONT>
<FONT color=#000000>> >>>> 8d 85 24 04 00 00</FONT>
<FONT color=#000000>> >>>> Mar 13 15:25:57 cfs1 kernel: EIP: [<e0c88da5>]</FONT>
<FONT color=#000000>> >>>> gfs2_meta_indirect_buffer+0x4c/0x278 [gfs2] SS:ESP 0068:ce5a6d58</FONT>
<FONT color=#000000>> >>>>  </FONT>
<FONT color=#000000>> >>>>  </FONT>
<FONT color=#000000>> >>>> (2)</FONT>
<FONT color=#000000>> >>>>  </FONT>
<FONT color=#000000>> >>>> Mar 13 17:00:30 cfs1 kernel: Call Trace:</FONT>
<FONT color=#000000>> >>>> Mar 13 17:00:30 cfs1 kernel:  [<e0badde1>]</FONT>
<FONT color=#000000>> >>>>         </FONT>
<FONT color=#000000>> >>> gfs2_unlink+0x53/0xe0 [gfs2]</FONT>
<FONT color=#000000>> >>>       </FONT>
<FONT color=#000000>> >>>> Mar 13 17:00:30 cfs1 kernel:  [<e0baddc8>]</FONT>
<FONT color=#000000>> >>>>         </FONT>
<FONT color=#000000>> >>> gfs2_unlink+0x3a/0xe0 [gfs2]</FONT>
<FONT color=#000000>> >>>       </FONT>
<FONT color=#000000>> >>>> Mar 13 17:00:30 cfs1 kernel:  [<e0badde1>]</FONT>
<FONT color=#000000>> >>>>         </FONT>
<FONT color=#000000>> >>> gfs2_unlink+0x53/0xe0 [gfs2]</FONT>
<FONT color=#000000>> >>>       </FONT>
<FONT color=#000000>> >>>> Mar 13 17:00:30 cfs1 kernel:  [<c0166572>] vfs_unlink+0xa1/0xc5 </FONT>
<FONT color=#000000>> >>>> Mar 13 17:00:30 cfs1 kernel:  [<c016662b>] do_unlinkat+0x95/0xf5 </FONT>
<FONT color=#000000>> >>>> Mar 13 17:00:30 cfs1 kernel:  [<c01187de>]</FONT>
<FONT color=#000000>> scheduler_tick+0x8f/0x95</FONT>
<FONT color=#000000>> >>>> Mar 13 17:00:30 cfs1 kernel:  [<c0103410>]</FONT>
<FONT color=#000000>> >>>>         </FONT>
<FONT color=#000000>> >>> sysenter_past_esp+0x5d/0x81</FONT>
<FONT color=#000000>> >>>       </FONT>
<FONT color=#000000>> >>>> Mar 13 17:00:30 cfs1 kernel:  =======================</FONT>
<FONT color=#000000>> >>>></FONT>
<FONT color=#000000>> >>>> -------------------------------------------------------------</FONT>
<FONT color=#000000>> >>>>         </FONT>
<FONT color=#000000>> >>> -----------</FONT>
<FONT color=#000000>> >>>       </FONT>
<FONT color=#000000>> >>>> --</FONT>
<FONT color=#000000>> >>>> Linux-cluster mailing list</FONT>
<FONT color=#000000>> >>>> <A href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</A> </FONT>
<FONT color=#000000>> >>>> <A href="https://www.redhat.com/mailman/listinfo/linux-cluster">https://www.redhat.com/mailman/listinfo/linux-cluster</A></FONT>
<FONT color=#000000>> >>>></FONT>
<FONT color=#000000>> >>>>         </FONT>
<FONT color=#000000>> >>> --</FONT>
<FONT color=#000000>> >>> Linux-cluster mailing list</FONT>
<FONT color=#000000>> >>> <A href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</A> </FONT>
<FONT color=#000000>> >>> <A href="https://www.redhat.com/mailman/listinfo/linux-cluster">https://www.redhat.com/mailman/listinfo/linux-cluster</A></FONT>
<FONT color=#000000>> >>></FONT>
<FONT color=#000000>> >>>       </FONT>
<FONT color=#000000>> >> --</FONT>
<FONT color=#000000>> >> Linux-cluster mailing list</FONT>
<FONT color=#000000>> >> <A href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</A> </FONT>
<FONT color=#000000>> >> <A href="https://www.redhat.com/mailman/listinfo/linux-cluster">https://www.redhat.com/mailman/listinfo/linux-cluster</A></FONT>
<FONT color=#000000>> >>     </FONT>
<FONT color=#000000>> ></FONT>
<FONT color=#000000>> >   </FONT>
<FONT color=#000000>> </FONT>
<FONT color=#000000>> --</FONT>
<FONT color=#000000>> Linux-cluster mailing list</FONT>
<FONT color=#000000>> <A href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</A> </FONT>
<FONT color=#000000>> <A href="https://www.redhat.com/mailman/listinfo/linux-cluster">https://www.redhat.com/mailman/listinfo/linux-cluster</A></FONT>
<FONT color=#000000>> </FONT>

<FONT color=#000000>--</FONT>
<FONT color=#000000>Linux-cluster mailing list</FONT>
<FONT color=#000000><A href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</A></FONT>
<FONT color=#000000><A href="https://www.redhat.com/mailman/listinfo/linux-cluster">https://www.redhat.com/mailman/listinfo/linux-cluster</A></FONT>

<FONT color=#000000>--</FONT>
<FONT color=#000000>Linux-cluster mailing list</FONT>
<FONT color=#000000><A href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</A></FONT>
<FONT color=#000000><A href="https://www.redhat.com/mailman/listinfo/linux-cluster">https://www.redhat.com/mailman/listinfo/linux-cluster</A></FONT>
</PRE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>