Error creating block device based on NVMe device
yehur.cheong at akirakan.com
Hi all,
I'm facing an error when using the command rpc.py bdev_nvme_attach_controller when creating block device based on NVMe device. But i have no problem running the examples/nvme/hello_world and examples/bdev/hello_world/hello_bdev.
Here are the output (all commands ran in the spdk root directory),
1. First, i started the spdk_tgt (I'm using a local nvme drive) ./app/spdk_tgt/spdk_tgt &
Starting SPDK v20.04-pre git sha1 2d097539d / DPDK 19.11.0 initialization...
[ DPDK EAL parameters: spdk_tgt --no-shconf -c 0x1 --log-level=lib.eal:6 --log-level=lib.cryptodev:5 --log-level=user1:6 --iova-mode=pa --base-virtaddr=0x200000000000 --match-allocations --file-prefix=spdk_pid8592 ]
EAL: No available hugepages reported in hugepages-1048576kBapp.c: 646:spdk_app_start: *NOTICE*: Total cores available: 1reactor.c: 371:_spdk_reactor_run: *NOTICE*: Reactor started on core 0accel_engine.c: 227:spdk_accel_engine_initialize: *NOTICE*: Accel engine initialized to use software engine.
2. Try to create a block device using the rpc.py command ./scripts/rpc.py bdev_nvme_attach_controller -b NVMe01 -t PCIe -a 0000:04:00.0
nvme_qpair.c: 118:nvme_admin_qpair_print_command: *NOTICE*: SECURITY RECEIVE (82) sqid:0 cid:23 nsid:0 cdw10:01000100 cdw11:00000800 nvme_qpair.c: 306:spdk_nvme_qpair_print_completion: *NOTICE*: INVALID FIELD (00/02) sqid:0 cid:23 cdw0:0 sqhd:000f p:1 m:0 dnr:1 nvme_ctrlr.c:3443:spdk_nvme_ctrlr_security_receive: *ERROR*: spdk_nvme_ctrlr_cmd_security_receive failed! bdev_nvme.c:1426:create_ctrlr: *ERROR*: Failed to initialize Opal
NVMe01n1
Here it shows error in spdk_nvme_ctrlr_cmd_security_receive and failed to initialize Opal.
3. Then when i try checking list of currently available block devices by the rpc.py command, ./scripts/rpc.py bdev_get_bdevs
Connection closed with partial response:
[3]+ Segmentation fault (core dumped) ./app/spdk_tgt/spdk_tgt
it got a segmentation fault.
I'm not sure what's the problem here, I'll appreciate any comment at all. Thank you very much.
Best,
Ye Hur
Liu
Hi Ye,
The OPAL error message showed that your drive can support Security send/receive commands but can't support OPAL, it doesn't affect anything, so the block device was created successfully.
Could you submit a github issue for the Segment Fault, it's better to include the calltrace, I can take a look. Thanks.
Quoted 62 lines
-----Original Message-----
From: yehur.cheong(a)akirakan.com <yehur.cheong(a)akirakan.com>
Sent: Wednesday, May 6, 2020 6:48 PM
To: spdk(a)lists.01.org
Subject: [SPDK] Error creating block device based on NVMe deviceHi all,
I'm facing an error when using the command
rpc.pybdev_nvme_attach_controllerwhen creating block device based on NVMe device. But i have no problem running the examples/nvme/hello_world and examples/bdev/hello_world/hello_bdev.Here are the output (all commands ran in the spdk root directory),
1. First, i started the
spdk_tgt(I'm using a local nvme drive) ./app/spdk_tgt/spdk_tgt &Starting SPDK v20.04-pre git sha1
2d097539d/ DPDK 19.11.0 initialization... [ DPDK EAL parameters:spdk_tgt--no-shconf -c0x1--log-level=lib.eal:6 --log- level=lib.cryptodev:5 --log-level=user1:6 --iova-mode=pa --base- virtaddr=0x200000000000 --match-allocations --file-prefix=spdk_pid8592 ]
EAL: No available hugepages reported in hugepages-1048576kBapp.c: 646:spdk_app_start: *NOTICE*: Total cores available: 1reactor.c: 371:_spdk_reactor_run: *NOTICE*: Reactor started on core 0accel_engine.c: 227:spdk_accel_engine_initialize: *NOTICE*: Accel engine initialized to use software engine.2. Try to create a block device using the
rpc.pycommand./scripts/rpc.pybdev_nvme_attach_controller-b NVMe01 -t PCIe -a 0000:04:00.0
nvme_qpair.c: 118:nvme_admin_qpair_print_command: *NOTICE*: SECURITY RECEIVE (82) sqid:0 cid:23 nsid:0 cdw10:01000100 cdw11:00000800nvme_qpair.c: 306:spdk_nvme_qpair_print_completion: *NOTICE*: INVALID FIELD (00/02) sqid:0 cid:23 cdw0:0 sqhd:000f p:1 m:0 dnr:1 nvme_ctrlr.c:3443:spdk_nvme_ctrlr_security_receive: *ERROR*:spdk_nvme_ctrlr_cmd_security_receivefailed! bdev_nvme.c:1426:create_ctrlr: *ERROR*: Failed to initialize Opal NVMe01n1Here it shows error in
spdk_nvme_ctrlr_cmd_security_receiveand failed to initialize Opal.3. Then when i try checking list of currently available block devices by the
rpc.pycommand,./scripts/rpc.pybdev_get_bdevsConnection closed with partial response:
[3]+ Segmentation fault (core dumped) ./app/spdk_tgt/spdk_tgt
it got a segmentation fault.
I'm not sure what's the problem here, I'll appreciate any comment at all. Thank you very much.
Best,
Ye Hur
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org
Michael Haeuptle
I think I ran into the same issue today with 20.04. My workaround was to do a NULL check in spdk_opal_supported:
https://github.com/spdk/spdk/blob/55fe098f9d0c51bc2a02e85e6b256dcb7cb03636/lib/nvme/nvme_opal.c#L2567 <https://github.com/spdk/spdk/blob/55fe098f9d0c51bc2a02e85e6b256dcb7cb03636/lib/nvme/nvme_opal.c#L2567>
boolspdk_opal_supported(struct spdk_opal_dev *dev)
{
return dev ? dev->supported : false;
// return dev->supported;
}Quoted 73 lines · Changpeng
Hi Ye,
The OPAL error message showed that your drive can support Security send/receive commands but can't support OPAL, it doesn't affect anything, so the block device was created successfully.
Could you submit a github issue for the Segment Fault, it's better to include the calltrace, I can take a look. Thanks.
Quoted 54 lines
-----Original Message-----
From: yehur.cheong(a)akirakan.com <yehur.cheong(a)akirakan.com>
Sent: Wednesday, May 6, 2020 6:48 PM
To: spdk(a)lists.01.org
Subject: [SPDK] Error creating block device based on NVMe deviceHi all,
I'm facing an error when using the command
rpc.pybdev_nvme_attach_controllerwhen creating block device based on NVMe device. But i have no problem running the examples/nvme/hello_world and examples/bdev/hello_world/hello_bdev.Here are the output (all commands ran in the spdk root directory),
1. First, i started the
spdk_tgt(I'm using a local nvme drive) ./app/spdk_tgt/spdk_tgt &Starting SPDK v20.04-pre git sha1
2d097539d/ DPDK 19.11.0 initialization... [ DPDK EAL parameters:spdk_tgt--no-shconf -c0x1--log-level=lib.eal:6 --log- level=lib.cryptodev:5 --log-level=user1:6 --iova-mode=pa --base- virtaddr=0x200000000000 --match-allocations --file-prefix=spdk_pid8592 ]
EAL: No available hugepages reported in hugepages-1048576kBapp.c: 646:spdk_app_start: *NOTICE*: Total cores available: 1reactor.c: 371:_spdk_reactor_run: *NOTICE*: Reactor started on core 0accel_engine.c: 227:spdk_accel_engine_initialize: *NOTICE*: Accel engine initialized to use software engine.2. Try to create a block device using the
rpc.pycommand./scripts/rpc.pybdev_nvme_attach_controller-b NVMe01 -t PCIe -a 0000:04:00.0
nvme_qpair.c: 118:nvme_admin_qpair_print_command: *NOTICE*: SECURITY RECEIVE (82) sqid:0 cid:23 nsid:0 cdw10:01000100 cdw11:00000800nvme_qpair.c: 306:spdk_nvme_qpair_print_completion: *NOTICE*: INVALID FIELD (00/02) sqid:0 cid:23 cdw0:0 sqhd:000f p:1 m:0 dnr:1 nvme_ctrlr.c:3443:spdk_nvme_ctrlr_security_receive: *ERROR*:spdk_nvme_ctrlr_cmd_security_receivefailed! bdev_nvme.c:1426:create_ctrlr: *ERROR*: Failed to initialize Opal NVMe01n1Here it shows error in
spdk_nvme_ctrlr_cmd_security_receiveand failed to initialize Opal.3. Then when i try checking list of currently available block devices by the
rpc.pycommand,./scripts/rpc.pybdev_get_bdevsConnection closed with partial response:
[3]+ Segmentation fault (core dumped) ./app/spdk_tgt/spdk_tgt
it got a segmentation fault.
Quoted 8 lines
I'm not sure what's the problem here, I'll appreciate any comment at all. Thank you very much.
Best,
Ye Hur
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org
Liu
I see, if your drive can's support OPAL, bdev_nvme_dump_info_json() will check the drive based on Security Send/Receive feature, could you submit a fix for that ?
Quoted 104 lines
-----Original Message-----
From: Michael Haeuptle <michaelhaeuptle(a)gmail.com>
Sent: Thursday, May 7, 2020 7:56 AM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: [SPDK] Re: Error creating block device based on NVMe deviceI think I ran into the same issue today with 20.04. My workaround was to do a NULL check in
spdk_opal_supported:
https://github.com/spdk/spdk/blob/55fe098f9d0c51bc2a02e85e6b256dcb7cb03
636/lib/nvme/nvme_opal.c#L2567
<https://github.com/spdk/spdk/blob/55fe098f9d0c51bc2a02e85e6b256dcb7cb0
3636/lib/nvme/nvme_opal.c#L2567>bool
spdk_opal_supported(struct spdk_opal_dev *dev){ return dev ? dev->supported : false; // return dev->supported; }Quoted 5 lines · Changpeng
Hi Ye,
The OPAL error message showed that your drive can support Security
send/receive commands but can't support OPAL, it doesn't affect anything, so the block device was created successfully.
Quoted 2 lines
Could you submit a github issue for the Segment Fault, it's better to include
the calltrace, I can take a look. Thanks.
Quoted 29 lines
Quoted 29 lines
-----Original Message-----
From: yehur.cheong(a)akirakan.com <yehur.cheong(a)akirakan.com>
Sent: Wednesday, May 6, 2020 6:48 PM
To: spdk(a)lists.01.org
Subject: [SPDK] Error creating block device based on NVMe deviceHi all,
I'm facing an error when using the command
rpc.pybdev_nvme_attach_controllerwhen creating block device based on NVMe device. But i have no problem running the examples/nvme/hello_world and examples/bdev/hello_world/hello_bdev.Here are the output (all commands ran in the spdk root directory),
1. First, i started the
spdk_tgt(I'm using a local nvme drive) ./app/spdk_tgt/spdk_tgt &Starting SPDK v20.04-pre git sha1
2d097539d/ DPDK 19.11.0 initialization... [ DPDK EAL parameters:spdk_tgt--no-shconf -c0x1--log-level=lib.eal:6 --log- level=lib.cryptodev:5 --log-level=user1:6 --iova-mode=pa --base- virtaddr=0x200000000000 --match-allocations --file-prefix=spdk_pid8592 ]
EAL: No available hugepages reported in hugepages-1048576kBapp.c: 646:spdk_app_start: *NOTICE*: Total cores available: 1reactor.c: 371:_spdk_reactor_run: *NOTICE*: Reactor started on core 0accel_engine.c: 227:spdk_accel_engine_initialize: *NOTICE*: Accel engine initialized to use software engine.Quoted 2 lines
Quoted 2 lines
2. Try to create a block device using the
rpc.pycommand./scripts/rpc.pybdev_nvme_attach_controller-b NVMe01 -t PCIe -a0000:04:00.0
Quoted 10 lines
Quoted 10 lines
nvme_qpair.c: 118:nvme_admin_qpair_print_command: *NOTICE*: SECURITY RECEIVE (82) sqid:0 cid:23 nsid:0 cdw10:01000100 cdw11:00000800nvme_qpair.c: 306:spdk_nvme_qpair_print_completion: *NOTICE*: INVALID FIELD (00/02) sqid:0 cid:23 cdw0:0 sqhd:000f p:1 m:0 dnr:1 nvme_ctrlr.c:3443:spdk_nvme_ctrlr_security_receive: *ERROR*:spdk_nvme_ctrlr_cmd_security_receivefailed! bdev_nvme.c:1426:create_ctrlr: *ERROR*: Failed to initialize Opal NVMe01n1Quoted 4 lines
Quoted 4 lines
Here it shows error in
spdk_nvme_ctrlr_cmd_security_receiveand failed to initialize Opal.3. Then when i try checking list of currently available block devices by the
rpc.pyQuoted 11 lines
Quoted 11 lines
command,
./scripts/rpc.pybdev_get_bdevsConnection closed with partial response:
[3]+ Segmentation fault (core dumped) ./app/spdk_tgt/spdk_tgt
it got a segmentation fault.
I'm not sure what's the problem here, I'll appreciate any comment at all.
Thank
Quoted 10 lines
Quoted 7 lines
you very much.
Best,
Ye Hur
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org
Michael Haeuptle
Not sure, I'm pretty busy at the moment and this seems somewhat urgent.
Quoted 124 lines · Changpeng
I see, if your drive can's support OPAL,
bdev_nvme_dump_info_json()will check the drive based on Security Send/Receive feature, could you submit a fix for that ?Quoted 7 lines
-----Original Message-----
From: Michael Haeuptle <michaelhaeuptle(a)gmail.com>
Sent: Thursday, May 7, 2020 7:56 AM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: [SPDK] Re: Error creating block device based on NVMe deviceI think I ran into the same issue today with 20.04. My workaround was to
do a
Quoted 15 lines
NULL check in
spdk_opal_supported:
https://github.com/spdk/spdk/blob/55fe098f9d0c51bc2a02e85e6b256dcb7cb03
636/lib/nvme/nvme_opal.c#L2567
<https://github.com/spdk/spdk/blob/55fe098f9d0c51bc2a02e85e6b256dcb7cb0
3636/lib/nvme/nvme_opal.c#L2567>bool
spdk_opal_supported(struct spdk_opal_dev *dev){ return dev ? dev->supported : false; // return dev->supported; }Quoted 1 line
On May 6, 2020, at 5:32 PM, Liu, Changpeng <changpeng.liu(a)intel.com>
Quoted 5 lines · wrote:
Quoted 4 lines
Hi Ye,
The OPAL error message showed that your drive can support Security
send/receive commands but can't support OPAL, it doesn't affect
anything, so
Quoted 3 lines
the block device was created successfully.
Quoted 2 lines
Could you submit a github issue for the Segment Fault, it's better to
include
Quoted 13 lines
the calltrace, I can take a look. Thanks.
Quoted 12 lines
Quoted 12 lines
-----Original Message-----
From: yehur.cheong(a)akirakan.com <yehur.cheong(a)akirakan.com>
Sent: Wednesday, May 6, 2020 6:48 PM
To: spdk(a)lists.01.org
Subject: [SPDK] Error creating block device based on NVMe deviceHi all,
I'm facing an error when using the command
rpc.pybdev_nvme_attach_controllerwhen creating block device based on NVMe device. But i have no problem running the examples/nvme/hello_worldand
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
examples/bdev/hello_world/hello_bdev.
Here are the output (all commands ran in the spdk root directory),
1. First, i started the
spdk_tgt(I'm using a local nvme drive) ./app/spdk_tgt/spdk_tgt &Starting SPDK v20.04-pre git sha1
2d097539d/ DPDK 19.11.0initialization...
Quoted 1 line
Quoted 1 line
Quoted 1 line
[ DPDK EAL parameters:
spdk_tgt--no-shconf -c0x1--log-level=lib.eal:6 --log-
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
level=lib.cryptodev:5 --log-level=user1:6 --iova-mode=pa --base- virtaddr=0x200000000000 --match-allocations
--file-prefix=spdk_pid8592 ]
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
EAL: No available hugepages reported in hugepages-1048576kB
app.c: 646:spdk_app_start: *NOTICE*: Total cores available: 1reactor.c: 371:_spdk_reactor_run: *NOTICE*: Reactor started on core 0accel_engine.c: 227:spdk_accel_engine_initialize: *NOTICE*: Accelengine
Quoted 16 lines
Quoted 4 lines
Quoted 4 lines
initialized to use software engine.
2. Try to create a block device using the
rpc.pycommand./scripts/rpc.pybdev_nvme_attach_controller-b NVMe01 -t PCIe -a0000:04:00.0
Quoted 11 lines
Quoted 11 lines
nvme_qpair.c: 118:nvme_admin_qpair_print_command: *NOTICE*: SECURITY RECEIVE (82) sqid:0 cid:23 nsid:0 cdw10:01000100 cdw11:00000800nvme_qpair.c: 306:spdk_nvme_qpair_print_completion: *NOTICE*: INVALID FIELD (00/02) sqid:0 cid:23 cdw0:0 sqhd:000f p:1 m:0 dnr:1 nvme_ctrlr.c:3443:spdk_nvme_ctrlr_security_receive: *ERROR*:spdk_nvme_ctrlr_cmd_security_receivefailed! bdev_nvme.c:1426:create_ctrlr: *ERROR*: Failed to initialize Opal NVMe01n1Here it shows error in
spdk_nvme_ctrlr_cmd_security_receiveandfailed to
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
initialize Opal.
3. Then when i try checking list of currently available block devices
by the
Quoted 12 lines
rpc.pyQuoted 11 lines
Quoted 11 lines
command,
./scripts/rpc.pybdev_get_bdevsConnection closed with partial response:
[3]+ Segmentation fault (core dumped) ./app/spdk_tgt/spdk_tgt
it got a segmentation fault.
I'm not sure what's the problem here, I'll appreciate any comment at
all.
Quoted 8 lines
Thank
Quoted 7 lines
Quoted 7 lines
you very much.
Best,
Ye Hur
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.orgQuoted 7 lines
Quoted 3 lines
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org
Liu
Thanks, I will fix it.
Quoted 142 lines
-----Original Message-----
From: Michael Haeuptle <michaelhaeuptle(a)gmail.com>
Sent: Thursday, May 7, 2020 8:08 AM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: [SPDK] Re: Error creating block device based on NVMe deviceNot sure, I'm pretty busy at the moment and this seems somewhat urgent.
Quoted 4 lines · Changpeng
I see, if your drive can's support OPAL,
bdev_nvme_dump_info_json()will check the drive based on Security Send/Receive feature, could you submit a fix for that ?Quoted 10 lines
Quoted 7 lines
-----Original Message-----
From: Michael Haeuptle <michaelhaeuptle(a)gmail.com>
Sent: Thursday, May 7, 2020 7:56 AM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: [SPDK] Re: Error creating block device based on NVMe deviceI think I ran into the same issue today with 20.04. My workaround was to
do a
Quoted 2 lines
NULL check in
spdk_opal_supported:https://github.com/spdk/spdk/blob/55fe098f9d0c51bc2a02e85e6b256dcb7cb03
Quoted 2 lines
Quoted 2 lines
636/lib/nvme/nvme_opal.c#L2567
<https://github.com/spdk/spdk/blob/55fe098f9d0c51bc2a02e85e6b256dcb7cb0
Quoted 47 lines
Quoted 11 lines
3636/lib/nvme/nvme_opal.c#L2567>
bool
spdk_opal_supported(struct spdk_opal_dev *dev){ return dev ? dev->supported : false; // return dev->supported; }Quoted 1 line
On May 6, 2020, at 5:32 PM, Liu, Changpeng <changpeng.liu(a)intel.com>
Quoted 5 lines · wrote:
Quoted 4 lines
Hi Ye,
The OPAL error message showed that your drive can support Security
send/receive commands but can't support OPAL, it doesn't affect
anything, so
Quoted 3 lines
the block device was created successfully.
Quoted 2 lines
Could you submit a github issue for the Segment Fault, it's better to
include
Quoted 13 lines
the calltrace, I can take a look. Thanks.
Quoted 12 lines
Quoted 12 lines
-----Original Message-----
From: yehur.cheong(a)akirakan.com <yehur.cheong(a)akirakan.com>
Sent: Wednesday, May 6, 2020 6:48 PM
To: spdk(a)lists.01.org
Subject: [SPDK] Error creating block device based on NVMe deviceHi all,
I'm facing an error when using the command
rpc.pybdev_nvme_attach_controllerwhen creating block device based on NVMe device. But i have no problem running the examples/nvme/hello_worldand
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
examples/bdev/hello_world/hello_bdev.
Here are the output (all commands ran in the spdk root directory),
1. First, i started the
spdk_tgt(I'm using a local nvme drive) ./app/spdk_tgt/spdk_tgt &Starting SPDK v20.04-pre git sha1
2d097539d/ DPDK 19.11.0initialization...
Quoted 1 line
Quoted 1 line
Quoted 1 line
[ DPDK EAL parameters:
spdk_tgt--no-shconf -c0x1--log-level=lib.eal:6 --log-
Quoted 15 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
level=lib.cryptodev:5 --log-level=user1:6 --iova-mode=pa --base- virtaddr=0x200000000000 --match-allocations
--file-prefix=spdk_pid8592 ]
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
EAL: No available hugepages reported in hugepages-1048576kB
app.c: 646:spdk_app_start: *NOTICE*: Total cores available: 1reactor.c: 371:_spdk_reactor_run: *NOTICE*: Reactor started on core 0accel_engine.c: 227:spdk_accel_engine_initialize: *NOTICE*: Accelengine
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines
initialized to use software engine.
2. Try to create a block device using the
rpc.pycommand./scripts/rpc.pybdev_nvme_attach_controller-b NVMe01 -t PCIe -a0000:04:00.0
Quoted 2 lines
Quoted 2 lines
nvme_qpair.c: 118:nvme_admin_qpair_print_command: *NOTICE*:SECURITY
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
RECEIVE (82) sqid:0 cid:23 nsid:0 cdw10:01000100 cdw11:00000800
nvme_qpair.c: 306:spdk_nvme_qpair_print_completion: *NOTICE*:INVALID
Quoted 37 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
FIELD (00/02) sqid:0 cid:23 cdw0:0 sqhd:000f p:1 m:0 dnr:1 nvme_ctrlr.c:3443:spdk_nvme_ctrlr_security_receive: *ERROR*:
spdk_nvme_ctrlr_cmd_security_receivefailed! bdev_nvme.c:1426:create_ctrlr: *ERROR*: Failed to initialize Opal NVMe01n1Here it shows error in
spdk_nvme_ctrlr_cmd_security_receiveandfailed to
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
initialize Opal.
3. Then when i try checking list of currently available block devices
by the
Quoted 12 lines
rpc.pyQuoted 11 lines
Quoted 11 lines
command,
./scripts/rpc.pybdev_get_bdevsConnection closed with partial response:
[3]+ Segmentation fault (core dumped) ./app/spdk_tgt/spdk_tgt
it got a segmentation fault.
I'm not sure what's the problem here, I'll appreciate any comment at
all.
Quoted 12 lines
Thank
Quoted 10 lines
Quoted 7 lines
you very much.
Best,
Ye Hur
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.orgQuoted 7 lines
Quoted 3 lines
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org
yehur.cheong at akirakan.com
Thank you for your comments changpeng.
Will submit as an github issue accordingly. Appreciate if you could advise on what's the better way to record the calltrace?
Best,
Ye Hur
Liu
No worries, I've submitted a fix here:
https://review.spdk.io/gerrit/c/spdk/spdk/+/2217
Quoted 16 lines
-----Original Message-----
From: yehur.cheong(a)akirakan.com <yehur.cheong(a)akirakan.com>
Sent: Thursday, May 7, 2020 11:25 AM
To: spdk(a)lists.01.org
Subject: [SPDK] Re: Error creating block device based on NVMe deviceThank you for your comments changpeng.
Will submit as an github issue accordingly. Appreciate if you could advise on what's the better way to record the calltrace?
Best,
Ye Hur
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org
yehur.cheong at akirakan.com
I see, thanks.
Is it still advisable to open a github issue for the segmentation fault?
Best,
Ye Hur
Liu
I think you don't need to submit an issue now, as the issue is clear now.
Quoted 15 lines
-----Original Message-----
From: yehur.cheong(a)akirakan.com <yehur.cheong(a)akirakan.com>
Sent: Thursday, May 7, 2020 12:32 PM
To: spdk(a)lists.01.org
Subject: [SPDK] Re: Error creating block device based on NVMe deviceI see, thanks.
Is it still advisable to open a github issue for the segmentation fault?
Best,
Ye Hur
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org
yehur.cheong at akirakan.com
Noted, thank you very much. I will try the patch to confirm everything works accordingly.
Best,
Ye Hur