LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Rick Lindsley <ricklind@us.ibm.com>
To: Max Kellermann <max@duempel.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.23.1: oops in diskstats_show()
Date: Tue, 29 Jan 2008 14:22:55 -0800	[thread overview]
Message-ID: <200801292222.m0TMMtEi024184@owlet.beaverton.ibm.com> (raw)
In-Reply-To: Your message of "Fri, 25 Jan 2008 14:32:50 +0100." <20080125133250.GA12677@swift.blarg.de>

    my kernel 2.6.23.1 oopsed today in diskstats_show(), leaving the
    block_subsys_lock mutex locked.  I have an Athlon 64 X2 (dual-core),
    architecture x86_64.  I have not tried with 2.6.24 yet, but it looks
    like there was no relevant change in 2.6.24.

Hmm. Yes, this should not happen. Having grabbed the block_subsys_lock
mutex should have been sufficient to keep the disk list stable.  And the
evidence you sent along suggests that yes, the gendisk structure may have
gotten cleared after you got a reference to it but before you could get
the data from it.

    Right before the crash, I was torturing cryptsetup to experiment with
    encryption - I created and deleted device mapper objects in a loop.

Creating and deleting block devices ... yeah, this is probably key to
the problem. Can you provide the command or, more likely, script you
were using to do this?

Rick

  reply	other threads:[~2008-01-29 22:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-25 13:32 Max Kellermann
2008-01-29 22:22 ` Rick Lindsley [this message]
2008-01-29 22:32   ` Max Kellermann

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=200801292222.m0TMMtEi024184@owlet.beaverton.ibm.com \
    --to=ricklind@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=max@duempel.org \
    --subject='Re: 2.6.23.1: oops in diskstats_show()' \
    /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

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).