cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Steven Whitehouse <swhiteho@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] Kernel panic on mounting gfs2: kernel 2.6.19 and 2.6.20.
Date: Fri, 09 Feb 2007 11:41:15 +0000	[thread overview]
Message-ID: <1171021275.11001.575.camel@quoit.chygwyn.com> (raw)
In-Reply-To: <f7ca4caa0702090234o28cc650cvb3b42d70320f267d@mail.gmail.com>

Hi,

Ok, that confuses me even more then, as thats not my expected location
of this problem. Looking back through the call chain it seems that there
is no obvious way in which this spinlock could become unlocked.

I'll have to think about this some more and get back to you I'm afraid,

Steve.

On Fri, 2007-02-09 at 11:34 +0100, Zbyszek ???kiewski wrote:
> well yes the line is:
> 
> static void run_queue(struct gfs2_glock *gl)
> {
>         struct gfs2_holder *gh;
>         int blocked = 1;
> 
>         BUG_ON(!spin_is_locked(&gl->gl_spin));   <
> ------------------------------ line 632 
>         for (;;) {
> .......
> 
> and i don;t use preemption (No Forced....)... i was playing with
> various options but the bug still appears, no metter how i setup gfs,
> on what distro (debian stable/eth)....
> 
> 
> 
> 
> 
> On 2/9/07, Steven Whitehouse <swhiteho@redhat.com> wrote:
>         Hi,
>         
>         On Thu, 2007-02-08 at 18:21 +0100, Zbyszek ???kiewski wrote:
>         > are you using the same glibc and distro?
>         >
>         I don't think glibc will make a difference here. I'm using
>         FC-6 but with
>         the upstream kernel. 
>         
>         > well i have patched gfs2 and here is output:
>         >
>         Thanks for the report, I presume that line 632 is, in your
>         glock.c the
>         BUG_ON which is directly after the call to rq_promote? If so
>         then we've
>         narrowed it down to that function. Having said that, even
>         after looking
>         at every case of lock & unlock of gl_spin I still can't see
>         any
>         unbalanced pairs of locks.
>         
>         rq_promote does, in one case drop that spin lock, but it does
>         also take 
>         it again before exiting the function. By adding some more
>         BUG_ON()s into
>         rq_promote, it might be possible to track it closer to the
>         source.
>         
>         Are you using preempt btw? That ought to be fine if you are,
>         but its 
>         always helpful to know when looking at locking problems,
>         
>         Steve.
>         
>         
> 
> 
> 
> -- 
> pozdrawiam,
> Zbyszek ???kiewski



  reply	other threads:[~2007-02-09 11:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-08 12:15 [Cluster-devel] Kernel panic on mounting gfs2: kernel 2.6.19 and 2.6.20 Zbyszek Żółkiewski
2007-02-08 12:57 ` Steven Whitehouse
     [not found]   ` <f7ca4caa0702080502m723d4bc3r3dbdb9302a942bff@mail.gmail.com>
2007-02-08 13:04     ` Zbyszek Żółkiewski
2007-02-08 13:26       ` Steven Whitehouse
2007-02-08 14:02         ` Zbyszek Żółkiewski
2007-02-08 16:26           ` Steven Whitehouse
2007-02-08 17:21             ` Zbyszek Żółkiewski
2007-02-09 10:32               ` Steven Whitehouse
2007-02-09 10:34                 ` Zbyszek Żółkiewski
2007-02-09 11:41                   ` Steven Whitehouse [this message]
2007-02-09 12:01                     ` Zbyszek Żółkiewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1171021275.11001.575.camel@quoit.chygwyn.com \
    --to=swhiteho@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).