Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: keith.busch@intel.com (Keith Busch)
Subject: NVMe pci driver unable to create queues
Date: Tue, 23 Aug 2016 10:46:53 -0400	[thread overview]
Message-ID: <20160823144652.GG28276@localhost.localdomain> (raw)
In-Reply-To: <20160823092641.hczs3ya7niztlwxl@c203.arch.suse.de>

On Tue, Aug 23, 2016@11:26:41AM +0200, Johannes Thumshirn wrote:
> Hi,
> 
> I have the follwing errors on a ARM 64 device:
> 
> $ dmesg  | grep nvme
> [   14.490744] nvme nvme0: pci function 0005:90:00.0
> [   15.913973] nvme 0005:90:00.0: Could not set queue count (6)
> [   15.913986] nvme nvme0: IO queues not created
> 
> but cannot really debug why the driver isn't able to create it's IO
> queues.
> 
> Has anybody seen a similar error? All I've found was
> https://lkml.org/lkml/2016/4/26/1557 and that wasn't really helpfull.

The return code "6" means "internal device error" and indicates the
device is in a bad state incapable of IO.

The driver should have provided a character device handle at /dev/nvme0
that you can issue admin commands to query and potentially fix the
device. You may need to check with the device vendor for those steps.

  reply	other threads:[~2016-08-23 14:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-23  9:26 NVMe pci driver unable to create queues Johannes Thumshirn
2016-08-23 14:46 ` Keith Busch [this message]
2016-08-23 14:59   ` Johannes Thumshirn

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=20160823144652.GG28276@localhost.localdomain \
    --to=keith.busch@intel.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