From: NeilBrown <neilb@suse.de>
To: Karl Newman <siliconfiend@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: [BISECT] Kernel panic, RIP bitmap_create
Date: Thu, 3 May 2012 15:58:50 +1000 [thread overview]
Message-ID: <20120503155850.2900067d@notabene.brown> (raw)
In-Reply-To: <CAOOwNt+wjMU9+Dzrr3+d3dwML2_Q_CgT4X5OgiKvPA_bBoTYcg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1798 bytes --]
On Wed, 2 May 2012 22:05:44 -0700 Karl Newman <siliconfiend@gmail.com> wrote:
> Hi,
>
> I'm attempting to use kernel 3.4-rc? but keep running into a kernel panic on
> boot, with RIP pointing to bitmap_create. I tried 3.4-rc1, 3.4-rc4 and
> 3.4-rc5 and they all have the kernel panic, while 3.3.4 boots fine. I have
> my root on raid 5 with an internal bitmap, and the kernel panic occurs if I
> use the built-in kernel autodetect or during the root array assembly via
> mdadm inside a dracut-generated initramfs. I bisected it down to the
> following commit:
> 61a0d80ce4ab5b4fb9ecb38f1fb19654778b71ed
>
> md/bitmap: discard CHUNK_BLOCK_SHIFT macro
>
> Be redefining ->chunkshift as the shift from sectors to chunks rather than
> bytes to chunks, we can just use "bitmap->chunkshift" which is shorter than
> the macro call, and less indirect.
>
> Signed-off-by: NeilBrown <neilb@suse.de>
>
> My bisect testing including a scary commit where 2 of 3 drives had their
> UUIDs zeroed when I booted with it! Fortunately I found the mailing list
> archives with the solution and I was able to recover everything and keep
> bisecting (although I was tempted to quit and just give the range of
> commits...).
>
> I hope this fix can make it into the next 3.4-rc kernel.
I do too, but first I would need to know what the fix is, and I cannot see
anything in that commit what would change the behaviour of md at all.
Do you have a copy of the full stack trace provided when Linux crashed? That
could be useful.
Also what bitmap chunk size are you using? Maybe the output of
mdadm -X
and
mdadm -E
of one of the devices in the array would help.
Thanks a lot for the report and going to the trouble of bisecting, it is
really appreciated.
NeilBrown
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
next prev parent reply other threads:[~2012-05-03 5:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAOOwNtJhFa67EFTs5AdgSHzFseBr9xJGTsaEOyYnaYYNCeUMAQ@mail.gmail.com>
2012-05-03 5:05 ` [BISECT] Kernel panic, RIP bitmap_create Karl Newman
2012-05-03 5:58 ` NeilBrown [this message]
2012-05-03 6:14 ` Karl Newman
2012-05-03 6:25 ` NeilBrown
2012-05-03 6:50 ` NeilBrown
2012-05-04 6:37 ` Karl Newman
2012-05-04 6:47 ` NeilBrown
2012-05-04 13:54 ` Karl Newman
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=20120503155850.2900067d@notabene.brown \
--to=neilb@suse.de \
--cc=linux-raid@vger.kernel.org \
--cc=siliconfiend@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;
as well as URLs for NNTP newsgroup(s).