Bug #8494

NVMe driver should handle Firmware Reset status code

Added by Moinak Ghosh 6 months ago.

Status:NewStart date:2017-07-14
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Difficulty:Medium Tags:needs-triage

Description

While testing with a Micron NVMe card I started getting errors from nvmeadm when changing the LBA format even though the format got changed successfully. Turned out that the Micron card is returning a Firmware Reset status code for this operation.

The attached patch handles that code and ignores it and it is functioning okay. Details of the Micron card:

  1. nvmeadm list
    nvme1: model: MTFDHAX2T4MCF-1AN1ZABYY, serial: P60727043123, FW rev: 0091634, NVMe v1.1
    nvme1/cfe000030e791300 (c1tCFE000030E791300d0): Size = 2289272 MB, Capacity = 2289272 MB, Used = 2289272 MB

nvme_fw_status.diff Magnifier (921 Bytes) Moinak Ghosh, 2017-07-14 04:09 PM

Also available in: Atom