From mboxrd@z Thu Jan 1 00:00:00 1970 From: keith.busch@intel.com (Keith Busch) Date: Tue, 23 Aug 2016 10:46:53 -0400 Subject: NVMe pci driver unable to create queues In-Reply-To: <20160823092641.hczs3ya7niztlwxl@c203.arch.suse.de> References: <20160823092641.hczs3ya7niztlwxl@c203.arch.suse.de> Message-ID: <20160823144652.GG28276@localhost.localdomain> 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.