FSTests Archive on lore.kernel.org
 help / color / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: Amir Goldstein <amir73il@gmail.com>
Cc: Theodore Tso <tytso@mit.edu>, fstests <fstests@vger.kernel.org>,
	Matthew Wilcox <willy@infradead.org>,
	Michal Hocko <mhocko@kernel.org>, Qian Cai <cai@lca.pw>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Linux MM <linux-mm@kvack.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>
Subject: Re: 5.4-rc1 boot regression with kmemleak enabled
Date: Tue, 5 Nov 2019 18:22:13 +0000
Message-ID: <20191105182212.GF22987@arrakis.emea.arm.com> (raw)
In-Reply-To: <CAOQ4uxjDnu-1eUwAkYW+dRPYAeQsc07on1kk+_emBhZBvj+bAg@mail.gmail.com>

On Tue, Nov 05, 2019 at 08:17:11PM +0200, Amir Goldstein wrote:
> On Tue, Nov 5, 2019 at 5:31 PM Catalin Marinas <catalin.marinas@arm.com> wrote:
> >
> > On Tue, Nov 05, 2019 at 02:33:48PM +0200, Amir Goldstein wrote:
> > > On Tue, Nov 5, 2019 at 1:54 PM Catalin Marinas <catalin.marinas@arm.com> wrote:
> > > > (sorry if you got this message twice; our SMTP server went bust)
> > > >
> > > > On Tue, Nov 05, 2019 at 09:14:06AM +0200, Amir Goldstein wrote:
> > > > > My kvm-xfstests [1] VM doesn't boot with kmemleak enabled since commit
> > > > > c5665868183f ("mm: kmemleak: use the memory pool for early allocations").
> > > > >
> > > > > There is no console output when running:
> > > > >
> > > > > $ kvm -boot order=c -net none -machine type=pc,accel=kvm:tcg -cpu host \
> > > > >     -drive file=$ROOTFS,if=virtio,snapshot=on -vga none -nographic \
> > > > >     -smp 2 -m 2048 -serial mon:stdio --kernel $KERNEL \
> > > > >     --append 'root=/dev/vda console=ttyS0,115200'
> > > >
> > > > This was fixed in 5.4-rc4, see commit 2abd839aa7e6 ("kmemleak: Do not
> > > > corrupt the object_list during clean-up").
> > >
> > > Did not fix my issue.
> > > Still not booting with 5.4-rc6.
> > > Any other suggestions?
> >
> > Can you pass an earlyprintk=ttyS0,115200 (if that's the correct x86
> > syntax) on the kernel command line? It may print some early messages
> > that would help with debugging.
[...]
> [    0.022796] BUG: unable to handle page fault for address: 0000000000001ff0
> [    0.023682] #PF: supervisor read access in kernel mode
> [    0.024341] #PF: error_code(0x0000) - not-present page
> [    0.025000] PGD 0 P4D 0 
> [    0.025326] Oops: 0000 [#1] SMP PTI
> [    0.025775] CPU: 0 PID: 0 Comm: swapper Not tainted 5.4.0-rc6-xfstests #4302
> [    0.026683] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1ubuntu1 04/01/2014
> [    0.027836] RIP: 0010:get_stack_info+0xa7/0x146

Ah, it looks very similar to this report:

http://lkml.kernel.org/r/20191019114421.GK9698@uranus.lan

Thomas had a patch here:

https://lore.kernel.org/linux-mm/alpine.DEB.2.21.1910231950590.1852@nanos.tec.linutronix.de/

but not sure whether it has hit mainline yet.

-- 
Catalin

  reply index

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-05  7:14 Amir Goldstein
2019-11-05  9:02 ` Catalin Marinas
2019-11-05  9:23 ` Qian Cai
2019-11-05 11:54 ` Catalin Marinas
2019-11-05 12:33   ` Amir Goldstein
2019-11-05 15:30     ` Catalin Marinas
2019-11-05 18:17       ` Amir Goldstein
2019-11-05 18:22         ` Catalin Marinas [this message]
2019-11-05 18:49           ` Thomas Gleixner
2019-11-05 19:26             ` Amir Goldstein

Reply instructions:

You may reply publically 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=20191105182212.GF22987@arrakis.emea.arm.com \
    --to=catalin.marinas@arm.com \
    --cc=akpm@linux-foundation.org \
    --cc=amir73il@gmail.com \
    --cc=cai@lca.pw \
    --cc=fstests@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mhocko@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    --cc=tytso@mit.edu \
    --cc=willy@infradead.org \
    /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

FSTests Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/fstests/0 fstests/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 fstests fstests/ https://lore.kernel.org/fstests \
		fstests@vger.kernel.org
	public-inbox-index fstests

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.fstests


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git