All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Kicinski <kubakici@wp.pl>
To: Andy Lutomirski <luto@kernel.org>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@kernel.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: linux/master crashes on boot with KASAN=y
Date: Sat, 23 Dec 2017 00:19:45 -0800	[thread overview]
Message-ID: <20171223001945.1e8f6bd3@cakuba.netronome.com> (raw)
In-Reply-To: <20171223000143.0af3366d@cakuba.netronome.com>

On Sat, 23 Dec 2017 00:01:43 -0800, Jakub Kicinski wrote:
> commit 21506525fb8ddb0342f2a2370812d47f6a1f3833 (HEAD, refs/bisect/bad)
> Author: Andy Lutomirski <luto@kernel.org>
> Date:   Mon Dec 4 15:07:16 2017 +0100
> 
>     x86/kasan/64: Teach KASAN about the cpu_entry_area
>     
>     The cpu_entry_area will contain stacks.  Make sure that KASAN has
>     appropriate shadow mappings for them.

> [   22.562224] BUG: unable to handle kernel paging request at fffffbffffe8ee04
> [   22.562234] IP: check_memory_region+0x5c/0x190
> [   22.562235] PGD 87ffd9067 P4D 87ffd9067 PUD 87ffd8067 PMD 87ffd7067 PTE 0

Reverting this doesn't get me far, though.  Boot stops after:

[    0.216037] Performance Events: PEBS fmt2+, Broadwell events, 16-deep LBR, full-width counters, Intel PMU driver.
[    0.220029] ... version:                3
[    0.224007] ... bit width:              48
[    0.228002] ... generic registers:      8
[    0.232002] ... value mask:             0000ffffffffffff
[    0.236002] ... max period:             00007fffffffffff
[    0.240002] ... fixed-purpose events:   3
[    0.244002] ... event mask:             00000007000000ff
[    0.256006] Hierarchical SRCU implementation.
[    0.277436] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[    0.288005] smp: Bringing up secondary CPUs ...
[    0.324086] x86: Booting SMP configuration:
[    0.328009] .... node  #1, CPUs:        #1
[    0.448004] .... node  #0, CPUs:    #2
[    0.484005] .... node  #1, CPUs:    #3
[    0.520004] .... node  #0, CPUs:    #4
[    0.556005] .... node  #1, CPUs:    #5
[    0.592004] .... node  #0, CPUs:    #6
[    0.628005] .... node  #1, CPUs:    #7
[    0.664004] .... node  #0, CPUs:    #8
[    0.700006] .... node  #1, CPUs:    #9
[    0.736004] .... node  #0, CPUs:   #10
[    0.772006] .... node  #1, CPUs:   #11
[    0.808004] .... node  #0, CPUs:   #12
[    0.844005] .... node  #1, CPUs:   #13
[    0.880004] .... node  #0, CPUs:   #14
[    0.916005] .... node  #1, CPUs:   #15
[    0.952004] .... node  #0, CPUs:   #16
[    0.988006] .... node  #1, CPUs:   #17
[    1.024004] .... node  #0, CPUs:   #18

Without producing any splat.

  reply	other threads:[~2017-12-23  8:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-23  8:01 linux/master crashes on boot with KASAN=y Jakub Kicinski
2017-12-23  8:19 ` Jakub Kicinski [this message]
2017-12-23 12:41 ` Andrey Ryabinin
2017-12-24  1:22   ` Jakub Kicinski
2017-12-24  1:48   ` Andy Lutomirski
2017-12-26 11:47     ` Andrey Ryabinin
2017-12-27 18:09       ` Thomas Gleixner
2017-12-28 16:06 ` [PATCH] x86/mm: Set MODULES_END to 0xffffffffff000000 Andrey Ryabinin
2018-01-04 22:09   ` [tip:x86/pti] " tip-bot for Andrey Ryabinin

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=20171223001945.1e8f6bd3@cakuba.netronome.com \
    --to=kubakici@wp.pl \
    --cc=aryabinin@virtuozzo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@kernel.org \
    --cc=mingo@kernel.org \
    --cc=tglx@linutronix.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.