mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sami Liedes <sami.liedes@iki.fi>
To: Vegard Nossum <vegard.nossum@gmail.com>
Cc: Pekka Enberg <penberg@kernel.org>, linux-kernel@vger.kernel.org
Subject: Re: kmemcheck: Fatal error; system fails to boot when kmemcheck enabled
Date: Sun, 15 Jul 2012 01:19:13 +0300	[thread overview]
Message-ID: <20120714221913.GA8653@sli.dy.fi> (raw)
In-Reply-To: <20120714010902.GA8741@sli.dy.fi>

[-- Attachment #1: Type: text/plain, Size: 1736 bytes --]

On Sat, Jul 14, 2012 at 04:09:02AM +0300, Sami Liedes wrote:
> > Another thing you can try is try to figure out when things went wrong.
> > If you test an old kernel like 3.0 or so -- and find that kmemcheck
> > works, that's great, it means we have a way to narrow it down further.
> > I may also try your config here to see if I can reproduce it.
> 
> I'll probably test 3.0 and could even try to git bisect within a few
> days.

I tested with 3.0.36. It does not boot either.

Also, I tested with both 3.0.36 and 3.4.4 with kmemcheck=2. With that
parameter, both boot fine. Curiously, when booting with kmemcheck=2, I
can see absolutely no messages about kmemcheck, just as with
kmemcheck=0, and the machine boots fine. The crashes happen only with
kmemcheck=1. The speed suggests to me that with kmemcheck=2, kmemcheck
is actually possibly not enabled at all for some reason.

One curious result with 3.0.36: With nosmp, it panics so early that
I'm unable to capture the dmesg (I may experiment with getting some
other video mode than 80x25; not sure if it's possible...). *Without*
nosmp, it boots much further, and I can actually get the dmesg via
netconsole. I tried this a couple of times, with always the same
result.

Dmesg from 3.0.36 without nosmp:

   http://www.niksula.hut.fi/~sliedes/kmemcheck/nc.log.3.0.36

A photo of the (final portion of the) backtrace for 3.0.36 with nosmp:

   http://www.niksula.hut.fi/~sliedes/3.0.36.kmemcheck.nosmp.bt.jpg

Dmesg from 3.4.4 with kmemcheck=2:

   http://www.niksula.hut.fi/~sliedes/kmemcheck/nc.log.3.4.4.kmemcheck-2

Dmesg from 3.0.36 with kmemcheck=2:

   http://www.niksula.hut.fi/~sliedes/kmemcheck/nc.log.3.0.36.kmemcheck-2

	Sami

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2012-07-14 22:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-12 21:33 Sami Liedes
2012-07-13 10:04 ` Vegard Nossum
2012-07-14  1:09   ` Sami Liedes
2012-07-14 22:19     ` Sami Liedes [this message]
2012-09-14 19:15 ` Marcin Slusarz
2012-10-13  6:54   ` Pekka Enberg

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=20120714221913.GA8653@sli.dy.fi \
    --to=sami.liedes@iki.fi \
    --cc=linux-kernel@vger.kernel.org \
    --cc=penberg@kernel.org \
    --cc=vegard.nossum@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

Powered by JetHome