All of lore.kernel.org
 help / color / mirror / Atom feed
From: felipeapolanco@gmail.com (Felipe Arturo Polanco)
Subject: NVMe driver with kernel panic
Date: Mon, 21 Aug 2017 15:23:09 -0400	[thread overview]
Message-ID: <CADcj3=5oXJzsBO7eNPNbGM+W9qKwbVBmmokY9h7-qP8butZLTg@mail.gmail.com> (raw)

Hello,

We have been having kernel panics in our servers while using NVMe disks.
Our setup consist of two Intel P4500 in Software Raid1 with mdadm.
We are running KVM on top of them.

The message we see in ring buffer is the following:

[531622.412922] ------------[ cut here ]------------
[531622.413254] kernel BUG at drivers/nvme/host/pci.c:467!
[531622.413468] invalid opcode: 0000 [#1] SMP

Online we found a workaround to avoid using the explicit BUG_ON() and
instead we got that changed to WARN_ONCE() to not crash the server but
we are not entirely sure if this is a fix at all as it may cause other
issues.

We were told by a developer that this issue is caused by wrong block
size being reported by the hardware, 4KB expected and got 512 bytes
instead.

Has anyone seen this before or has applied a patch that fixed this?

We are running VzLinux7 based on RHEL 7.3, kernel 3.10.0-514.26.1.vz7.33.22

Thanks,

             reply	other threads:[~2017-08-21 19:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-21 19:23 Felipe Arturo Polanco [this message]
2017-08-21 20:04 ` NVMe driver with kernel panic Keith Busch
2017-08-21 21:51   ` Felipe Arturo Polanco
2017-08-28 14:36     ` Keith Busch
     [not found]       ` <CADcj3=5W68+MJDTwCGEcTqcKfRpOw5g+h3s8jFpT7hqcZoYvxw@mail.gmail.com>
     [not found]         ` <20170828150512.GA3913@localhost.localdomain>
2017-08-28 16:53           ` Felipe Arturo Polanco

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='CADcj3=5oXJzsBO7eNPNbGM+W9qKwbVBmmokY9h7-qP8butZLTg@mail.gmail.com' \
    --to=felipeapolanco@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 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.