[bug report] nvme removing after probe failed with pci rescan after nvme sysfs removal

Chaitanya Kulkarni chaitanyak at nvidia.com
Wed Sep 22 23:52:18 PDT 2021


On 9/22/2021 4:21 AM, Yi Zhang wrote:
> External email: Use caution opening links or attachments
> 
> 
> On Wed, Sep 22, 2021 at 10:32 AM Chaitanya Kulkarni
> <chaitanyak at nvidia.com> wrote:
>>
>> On 9/21/21 6:56 PM, Yi Zhang wrote:
>>> Hello
>>>
>>> I found this issue during the nvme removal test, I did some debug code
>>> found it was failed during nvme "CSTS – Controller Status" read, could
>>> anyone help check if this is one HW or SW issue?
>>>
>>>
>>
>> One easiest way to isolate this issue is to test the steps on the QEMU
>> NVMe ctrl and update everyone here...
> 
> Hi Chaitanya
> I tried another NVMe SSD[1], and it works well, seems this is special
> for "Samsung SSD 983 DCT 960GB".
> And the kernel I used was upstream 5.15.0-rc2.
> 

Thanks for the update.

You can also setup a NVMeOF Block device backend controller with the
nvme-loop transport and see if the problem exists.


> [1]
> # nvme list
> Node             SN                   Model
>          Namespace Usage                      Format           FW Rev
> ---------------- --------------------
> ---------------------------------------- ---------
> -------------------------- ---------------- --------
> /dev/nvme2n1     3080A09HTAFR         Dell Express Flash CD5 960G SFF
>          1         469.18  MB / 960.20  GB    512   B +  0 B   1.2.0
> 
> --
> Best Regards,
>    Yi Zhang
> 


More information about the Linux-nvme mailing list