LKML Archive on
help / color / mirror / Atom feed
From: Rick Lindsley <>
To: Max Kellermann <>
Subject: Re: oops in diskstats_show()
Date: Tue, 29 Jan 2008 14:22:55 -0800	[thread overview]
Message-ID: <> (raw)
In-Reply-To: Your message of "Fri, 25 Jan 2008 14:32:50 +0100." <>

    my kernel 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?


  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:

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

  git send-email \ \ \ \ \
    --subject='Re: oops in diskstats_show()' \

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