From: NeilBrown <neilb@suse.de>
To: NightStrike <nightstrike@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: mdadm + intel matrix
Date: Wed, 10 Apr 2013 14:53:59 +1000 [thread overview]
Message-ID: <20130410145359.4a864dcf@notabene.brown> (raw)
In-Reply-To: <CAF1jjLtMKmvQrZqO9Uv5vW6VGSJ8OmJZ8G3QxNZ6oGXr-3kS_Q@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2443 bytes --]
On Tue, 9 Apr 2013 03:20:44 -1000 NightStrike <nightstrike@gmail.com> wrote:
> Neil,
>
> I have been talking to a lot of irc types, and ultimately, they all
> want me to just contact you directly (even people on
> oftc/#kernelnewbies).
The correct advice is to email linux-raid@vger.kernel.org (you don't need to
be subscribed) and to optionally Cc me.
I've Cc:ed this reply to linux-raid.
>
> Basically, using mdadm with the Intel Matrix fakeraid doesn't work
> right anymore. I can't tell you with what kernel it stopped, but I
> can tell you that it is broken with archlinux 3.8.5, which is a
> vanilla kernel plus a console logging patch. Here's what happens:
>
> 1) Create a new raid in the Option Rom
> 2) Boot up and see md126 and md127, respectively ArchRaid_0 and imsm0.
> 3) Run all sorts of read only things, like mdadm --detail-platform, all good
> 4) Run cfdisk /dev/md/ArchRaid_0 (which points to md126), set up my partitions
> 5) Hit "Write" to write the partition table
> 6) Everything hangs
I've had this reported on openSUSE too. I haven't yet had a chance to look
into it properly.
It sounds like "mdmon" is not running - or not working correctly.
On the first attempt to write to the array, md signals mdmon and waits for
the array to be marked "active".
mdmon should notice this, update the metadata on the array to record that the
array is active (so if a crash happens a resync will be force) and then tell
md that the array is active. md notices and allows the write.
Something in this sequence is not working.
Does everything "unhang" if you run
mdmon md127 &
??
>
> At this point, any program that tries to do anything to the raid, or
> to even mount other volumes, will hang. Here's a dmesg output of the
> blocked stack traces:
>
> http://sprunge.us/BBMM
>
> derRichard on #kernelnewbies looked at that and said that everything
> is stuck in __enqueue_entity, and that I have to contact the author of
> mdadm to find out why. :(
>
>
> Is there any way you can help? What other info do you need? And do
> you know how I can reboot gracefully? Because right now, I'll only be
> able to do a hard reset or an REISUB, because those threads are
> forever blocked.
Hard reset (or "echo b > /proc/sysrq-trigger") is fine. Nothing has been
written to those devices so on restart it will look just like it did before.
NeilBrown
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
next parent reply other threads:[~2013-04-10 4:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAF1jjLtMKmvQrZqO9Uv5vW6VGSJ8OmJZ8G3QxNZ6oGXr-3kS_Q@mail.gmail.com>
2013-04-10 4:53 ` NeilBrown [this message]
2013-04-10 11:48 ` mdadm + intel matrix NightStrike
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=20130410145359.4a864dcf@notabene.brown \
--to=neilb@suse.de \
--cc=linux-raid@vger.kernel.org \
--cc=nightstrike@gmail.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