public inbox for linux-nvme@lists.infradead.org
 help / color / mirror / Atom feed
* [bug report] blktests nvme/004 failed after offline cpu
@ 2022-06-30  6:02 Yi Zhang
  2022-07-04  5:42 ` [bug report] nvme/rdma: nvme connect failed after offline one cpu on host side Yi Zhang
  0 siblings, 1 reply; 10+ messages in thread
From: Yi Zhang @ 2022-06-30  6:02 UTC (permalink / raw)
  To: open list:NVM EXPRESS DRIVER, linux-block

Hello
I found this issue when I run blktests after offline cpus on
linux-block/for-next, here are the steps and dmesg log,
and from the log, the test failed with the target connect, feel free
to let me know if you need any info/test, thanks.

# echo 0 >/sys/devices/system/cpu/cpu0/online
# ./check nvme/004
nvme/004 (test nvme and nvmet UUID NS descriptors)           [failed]
    runtime    ...  0.725s
    --- tests/nvme/004.out 2022-06-30 01:50:53.637275584 -0400
    +++ /root/blktests/results/nodev/nvme/004.out.bad 2022-06-30
01:55:22.321399448 -0400
    @@ -1,5 +1,7 @@
     Running nvme/004
    -91fdba0d-f87b-4c25-b80f-db7be1418b9e
    -uuid.91fdba0d-f87b-4c25-b80f-db7be1418b9e
    -NQN:blktests-subsystem-1 disconnected 1 controller(s)
    +Failed to write to /dev/nvme-fabrics: Invalid cross-device link
    +cat: '/sys/class/nvme/nvme*/subsysnqn': No such file or directory
    +cat: /sys/block/n1/uuid: No such file or directory
    ...
    (Run 'diff -u tests/nvme/004.out
/root/blktests/results/nodev/nvme/004.out.bad' to see the entire diff)
# dmesg
[ 1526.169417] numa_remove_cpu cpu 0 node 0: mask now 1-31
[ 1526.170619] smpboot: CPU 0 is now offline
[ 1531.030430] loop: module loaded
[ 1531.115255] run blktests nvme/004 at 2022-06-30 01:55:21
[ 1531.305557] loop0: detected capacity change from 0 to 2097152
[ 1531.354299] nvmet: adding nsid 1 to subsystem blktests-subsystem-1
[ 1531.402815] nvmet: creating nvm controller 1 for subsystem
blktests-subsystem-1 for NQN
nqn.2014-08.org.nvmexpress:uuid:4c4c4544-0035-4b10-8044-b9c04f463333.
[ 1531.404124] nvme nvme0: creating 31 I/O queues.
[ 1531.448181] nvme nvme0: Connect command failed, error wo/DNR bit: -16402

--
Best Regards,
  Yi Zhang



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-07-26  8:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-30  6:02 [bug report] blktests nvme/004 failed after offline cpu Yi Zhang
2022-07-04  5:42 ` [bug report] nvme/rdma: nvme connect failed after offline one cpu on host side Yi Zhang
2022-07-04 23:04   ` Sagi Grimberg
2022-07-05  0:49     ` Ming Lei
2022-07-06 15:30       ` Sagi Grimberg
2022-07-07  1:46         ` Ming Lei
2022-07-07  7:28           ` Sagi Grimberg
2022-07-07  8:07             ` Ming Lei
2022-07-26  2:05             ` Ming Lei
2022-07-26  8:56               ` Sagi Grimberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox