NVMe pci driver unable to create queues

Keith Busch keith.busch at intel.com
Tue Aug 23 07:46:53 PDT 2016


On Tue, Aug 23, 2016 at 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.



More information about the Linux-nvme mailing list