All of lore.kernel.org
 help / color / mirror / Atom feed
* [SPDK] Re: spdk_tgt error
@ 2021-03-05 10:09 Yang, Ziye
  0 siblings, 0 replies; 5+ messages in thread
From: Yang, Ziye @ 2021-03-05 10:09 UTC (permalink / raw)
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 1789 bytes --]

rm this  file /var/tmp/spdk.sock or use another path by yourself, and try again.

发自我的iPad

> 在 2021年3月5日,下午4:52,omchavan6699(a)gmail.com 写道:
> 
> while running spdk_tgt it gives error
> [2021-03-05 14:17:45.748148] Starting SPDK v21.04-pre git sha1 97ef870 / DPDK 20.11.0 initialization...
> [2021-03-05 14:17:45.748380] [ DPDK EAL parameters: [2021-03-05 14:17:45.748414] spdk_tgt [2021-03-05 14:17:45.748436] --no-shconf [2021-03-05 14:17:45.748458] -c 0x1 [2021-03-05 14:17:45.748480] --log-level=lib.eal:6 [2021-03-05 14:17:45.748500] --log-level=lib.cryptodev:5 [2021-03-05 14:17:45.748522] --log-level=user1:6 [2021-03-05 14:17:45.748560] --iova-mode=pa [2021-03-05 14:17:45.748584] --base-virtaddr=0x200000000000 [2021-03-05 14:17:45.748605] --match-allocations [2021-03-05 14:17:45.748626] --file-prefix=spdk_pid8155 [2021-03-05 14:17:45.748647] ]
> EAL: No available hugepages reported in hugepages-1048576kB
> EAL: No legacy callbacks, legacy socket not created
> [2021-03-05 14:17:45.975902] app.c: 538:spdk_app_start: *NOTICE*: Total cores available: 1
> [2021-03-05 14:17:47.124421] reactor.c: 915:reactor_run: *NOTICE*: Reactor started on core 0
> [2021-03-05 14:17:47.124533] accel_engine.c: 854:spdk_accel_engine_initialize: *NOTICE*: Accel engine initialized to use software engine.
> [2021-03-05 14:17:48.035227] rpc.c: 186:spdk_rpc_listen: *ERROR*: RPC Unix domain socket path /var/tmp/spdk.sock in use. Specify another.
> [2021-03-05 14:17:48.035301] rpc.c:  71:spdk_rpc_initialize: *ERROR*: Unable to start RPC service at /var/tmp/spdk.sock
> 
> how to fix it
> _______________________________________________
> SPDK mailing list -- spdk(a)lists.01.org
> To unsubscribe send an email to spdk-leave(a)lists.01.org

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

* [SPDK] Re: spdk_tgt error
@ 2021-03-18  6:58 aniruddha080699
  0 siblings, 0 replies; 5+ messages in thread
From: aniruddha080699 @ 2021-03-18  6:58 UTC (permalink / raw)
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 37 bytes --]

Yes it is working.
Thank yo so much!

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

* [SPDK] Re: spdk_tgt error
@ 2021-03-18  6:43 Liu, Xiaodong
  0 siblings, 0 replies; 5+ messages in thread
From: Liu, Xiaodong @ 2021-03-18  6:43 UTC (permalink / raw)
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 2812 bytes --]

A full specific path is required, not just its directory, you may try:
./build/bin/spdk_tgt -r /test/Spdk.sock


-----Original Message-----
From: aniruddha080699(a)gmail.com <aniruddha080699(a)gmail.com> 
Sent: Thursday, March 18, 2021 2:40 PM
To: spdk(a)lists.01.org
Subject: [SPDK] Re: spdk_tgt error

How can we specify another path for the sock file?
I tried these steps,

mkdir /test

cd spdk
./build/bin/spdk_tgt -r /test

And I got the following error msg

[2021-03-18 11:59:01.902671] Starting SPDK v21.04-pre git sha1 97ef870 / DPDK 20.11.0 initialization...
[2021-03-18 11:59:01.902784] [ DPDK EAL parameters: [2021-03-18 11:59:01.902795] spdk_tgt [2021-03-18 11:59:01.902805] --no-shconf [2021-03-18 11:59:01.902813] -c 0x1 [2021-03-18 11:59:01.902820] --log-level=lib.eal:6 [2021-03-18 11:59:01.9 02828] --log-level=lib.cryptodev:5 [2021-03-18 11:59:01.902832] --log-level=user 1:6 [2021-03-18 11:59:01.902837] --iova-mode=pa [2021-03-18 11:59:01.902841] --b ase-virtaddr=0x200000000000 [2021-03-18 11:59:01.902846] --match-allocations [20 21-03-18 11:59:01.902851] --file-prefix=spdk_pid1733 [2021-03-18 11:59:01.902855 ] ]
EAL: No available hugepages reported in hugepages-1048576kB
EAL: No legacy callbacks, legacy socket not created
[2021-03-18 11:59:02.043720] app.c: 538:spdk_app_start: NOTICE: Total cores av ailable: 1
[2021-03-18 11:59:02.111497] trace_flags.c: 296:spdk_trace_register_description: ERROR: name (FC_REQ_READ_SUBMIT_TO_BDEV) too long
[2021-03-18 11:59:02.111596] trace_flags.c: 296:spdk_trace_register_description: ERROR: name (FC_REQ_WRITE_NEED_BUFFER) too long
[2021-03-18 11:59:02.111607] trace_flags.c: 296:spdk_trace_register_description: ERROR: name (FC_REQ_WRITE_SUBMIT_TO_BDEV) too long
[2021-03-18 11:59:02.111613] trace_flags.c: 296:spdk_trace_register_description: ERROR: name (FC_REQ_NONE_SUBMIT_TO_BDEV) too long
[2021-03-18 11:59:02.111620] trace_flags.c: 296:spdk_trace_register_description: ERROR: name (FC_REQ_ABORTED_SUBMIT_TO_BDEV) too long
[2021-03-18 11:59:02.111634] reactor.c: 915:reactor_run: NOTICE: Reactor start ed on core 0
[2021-03-18 11:59:02.111654] accel_engine.c: 854:spdk_accel_engine_initialize: * NOTICE*: Accel engine initialized to use software engine.
[2021-03-18 11:59:02.188572] jsonrpc_server_tcp.c: 81:spdk_jsonrpc_server_liste n: ERROR: could not bind JSON-RPC server: Address already in use
[2021-03-18 11:59:02.188767] rpc.c: 203:spdk_rpc_listen: ERROR: spdk_jsonrpc_s erver_listen() failed
[2021-03-18 11:59:02.188809] rpc.c: 71:spdk_rpc_initialize: ERROR: Unable to start RPC service at /test

Is it the correct way to do it?
Please guide me
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org

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

* [SPDK] Re: spdk_tgt error
@ 2021-03-18  6:39 aniruddha080699
  0 siblings, 0 replies; 5+ messages in thread
From: aniruddha080699 @ 2021-03-18  6:39 UTC (permalink / raw)
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 2348 bytes --]

How can we specify another path for the sock file?
I tried these steps,

mkdir /test

cd spdk
./build/bin/spdk_tgt -r /test

And I got the following error msg

[2021-03-18 11:59:01.902671] Starting SPDK v21.04-pre git sha1 97ef870 / DPDK 20.11.0 initialization...
[2021-03-18 11:59:01.902784] [ DPDK EAL parameters: [2021-03-18 11:59:01.902795] spdk_tgt [2021-03-18 11:59:01.902805] --no-shconf [2021-03-18 11:59:01.902813] -c 0x1 [2021-03-18 11:59:01.902820] --log-level=lib.eal:6 [2021-03-18 11:59:01.9 02828] --log-level=lib.cryptodev:5 [2021-03-18 11:59:01.902832] --log-level=user 1:6 [2021-03-18 11:59:01.902837] --iova-mode=pa [2021-03-18 11:59:01.902841] --b ase-virtaddr=0x200000000000 [2021-03-18 11:59:01.902846] --match-allocations [20 21-03-18 11:59:01.902851] --file-prefix=spdk_pid1733 [2021-03-18 11:59:01.902855 ] ]
EAL: No available hugepages reported in hugepages-1048576kB
EAL: No legacy callbacks, legacy socket not created
[2021-03-18 11:59:02.043720] app.c: 538:spdk_app_start: NOTICE: Total cores av ailable: 1
[2021-03-18 11:59:02.111497] trace_flags.c: 296:spdk_trace_register_description: ERROR: name (FC_REQ_READ_SUBMIT_TO_BDEV) too long
[2021-03-18 11:59:02.111596] trace_flags.c: 296:spdk_trace_register_description: ERROR: name (FC_REQ_WRITE_NEED_BUFFER) too long
[2021-03-18 11:59:02.111607] trace_flags.c: 296:spdk_trace_register_description: ERROR: name (FC_REQ_WRITE_SUBMIT_TO_BDEV) too long
[2021-03-18 11:59:02.111613] trace_flags.c: 296:spdk_trace_register_description: ERROR: name (FC_REQ_NONE_SUBMIT_TO_BDEV) too long
[2021-03-18 11:59:02.111620] trace_flags.c: 296:spdk_trace_register_description: ERROR: name (FC_REQ_ABORTED_SUBMIT_TO_BDEV) too long
[2021-03-18 11:59:02.111634] reactor.c: 915:reactor_run: NOTICE: Reactor start ed on core 0
[2021-03-18 11:59:02.111654] accel_engine.c: 854:spdk_accel_engine_initialize: * NOTICE*: Accel engine initialized to use software engine.
[2021-03-18 11:59:02.188572] jsonrpc_server_tcp.c: 81:spdk_jsonrpc_server_liste n: ERROR: could not bind JSON-RPC server: Address already in use
[2021-03-18 11:59:02.188767] rpc.c: 203:spdk_rpc_listen: ERROR: spdk_jsonrpc_s erver_listen() failed
[2021-03-18 11:59:02.188809] rpc.c: 71:spdk_rpc_initialize: ERROR: Unable to start RPC service at /test

Is it the correct way to do it?
Please guide me

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

* [SPDK] Re: spdk_tgt error
@ 2021-03-05 10:08 Szwed, Maciej
  0 siblings, 0 replies; 5+ messages in thread
From: Szwed, Maciej @ 2021-03-05 10:08 UTC (permalink / raw)
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 2078 bytes --]

Hi,
It looks like you have another instance of SPDK running in the background. Please shut it down first before running new one. If that is not a case, than probably you encountered SPDK app crash earlier and socket path wasn't cleared - in such case just remove /var/tmp/spdk.sock and try again.

Regards,
Maciek

-----Original Message-----
From: omchavan6699(a)gmail.com <omchavan6699(a)gmail.com> 
Sent: Friday, March 5, 2021 9:52 AM
To: spdk(a)lists.01.org
Subject: [SPDK] spdk_tgt error

while running spdk_tgt it gives error
[2021-03-05 14:17:45.748148] Starting SPDK v21.04-pre git sha1 97ef870 / DPDK 20.11.0 initialization...
[2021-03-05 14:17:45.748380] [ DPDK EAL parameters: [2021-03-05 14:17:45.748414] spdk_tgt [2021-03-05 14:17:45.748436] --no-shconf [2021-03-05 14:17:45.748458] -c 0x1 [2021-03-05 14:17:45.748480] --log-level=lib.eal:6 [2021-03-05 14:17:45.748500] --log-level=lib.cryptodev:5 [2021-03-05 14:17:45.748522] --log-level=user1:6 [2021-03-05 14:17:45.748560] --iova-mode=pa [2021-03-05 14:17:45.748584] --base-virtaddr=0x200000000000 [2021-03-05 14:17:45.748605] --match-allocations [2021-03-05 14:17:45.748626] --file-prefix=spdk_pid8155 [2021-03-05 14:17:45.748647] ]
EAL: No available hugepages reported in hugepages-1048576kB
EAL: No legacy callbacks, legacy socket not created
[2021-03-05 14:17:45.975902] app.c: 538:spdk_app_start: *NOTICE*: Total cores available: 1
[2021-03-05 14:17:47.124421] reactor.c: 915:reactor_run: *NOTICE*: Reactor started on core 0
[2021-03-05 14:17:47.124533] accel_engine.c: 854:spdk_accel_engine_initialize: *NOTICE*: Accel engine initialized to use software engine.
[2021-03-05 14:17:48.035227] rpc.c: 186:spdk_rpc_listen: *ERROR*: RPC Unix domain socket path /var/tmp/spdk.sock in use. Specify another.
[2021-03-05 14:17:48.035301] rpc.c:  71:spdk_rpc_initialize: *ERROR*: Unable to start RPC service at /var/tmp/spdk.sock

how to fix it
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org

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

end of thread, other threads:[~2021-03-18  6:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-05 10:09 [SPDK] Re: spdk_tgt error Yang, Ziye
  -- strict thread matches above, loose matches on Subject: below --
2021-03-18  6:58 aniruddha080699
2021-03-18  6:43 Liu, Xiaodong
2021-03-18  6:39 aniruddha080699
2021-03-05 10:08 Szwed, Maciej

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.