public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
From: Shaohua Li <shli@kernel.org>
To: linux-block@vger.kernel.org
Cc: axboe@kernel.dk, hch@infradead.org
Subject: [BUG] nvme driver crash
Date: Tue, 25 Jul 2017 15:24:08 -0700	[thread overview]
Message-ID: <20170725222408.fq2fncwtid3fhvqh@kernel.org> (raw)

Disable CONIFG_SMP, kernel crashes at boot time, here is the log.

[    9.593590] nvme 0000:00:03.0: can't allocate MSI-X affinity masks for 1 vectors
[    9.595189] ==================================================================
[    9.595834] BUG: KASAN: null-ptr-deref in blk_mq_init_queue+0x1c/0x70
[    9.596010] Read of size 4 at addr 0000000000000020 by task kworker/u2:0/5
[    9.596010]
[    9.596010] CPU: 0 PID: 5 Comm: kworker/u2:0 Not tainted 4.13.0-rc1+ #1
[    9.596010] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.1-5.el7_3.3 04/01/2014
[    9.596010] Workqueue: nvme-wq nvme_scan_work
[    9.596010] Call Trace:
[    9.596010]  dump_stack+0x19/0x24
[    9.596010]  kasan_report+0xe8/0x350
[    9.596010]  __asan_load4+0x78/0x80
[    9.596010]  blk_mq_init_queue+0x1c/0x70
[    9.596010]  nvme_validate_ns+0x17c/0x620
[    9.596010]  ? nvme_revalidate_disk+0xf0/0xf0
[    9.596010]  ? nvme_submit_sync_cmd+0x30/0x30

             reply	other threads:[~2017-07-25 22:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-25 22:24 Shaohua Li [this message]
2017-07-26 17:34 ` [BUG] nvme driver crash Christoph Hellwig
2017-07-26 19:12   ` Omar Sandoval
2017-07-26 22:29     ` Shaohua Li
2017-07-27 13:26       ` Christoph Hellwig
2017-07-27 13:52     ` Max Gurtovoy
2017-07-27 14:05       ` Sagi Grimberg

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=20170725222408.fq2fncwtid3fhvqh@kernel.org \
    --to=shli@kernel.org \
    --cc=axboe@kernel.dk \
    --cc=hch@infradead.org \
    --cc=linux-block@vger.kernel.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
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