[SPDK] nvmf_tgt does not start with -L flag though SPDK configured with --enable-debug option
Wenhua Liu <liuw at vmware.com>
| Newsgroups | dev.linux.lists.spdk |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I just had my SPDK system updated to v20.07.
While testing my NVMe-oF initiator, I wanted to check target side log, so I configured the SPDK with the –enable-debug option and ran make.
1. make clean
2. ./configure –enable-debug
3. Make
I then tried to start NVMe-oF target with -L flag but nvmf_tgt could not start.
~/spdk/spdk$ sudo app/nvmf_tgt/nvmf_tgt -m 0x3f -e 0x20 -L nvme -L nvmf -L nvmf_tcp
2020-08-20 00:50:38.757781 [0x7f55b3d75980] app.c: 943:spdk_app_parse_args: *ERROR*: app/nvmf_tgt/nvmf_tgt must be configured with --enable-debug for -L flag
app/nvmf_tgt/nvmf_tgt [options]
options:
-c, --config <config> config file (default none)
--json <config> JSON config file (default none)
--json-ignore-init-errors
don't exit on invalid config entry
….
This used to work with v20.01 (or v20.04).
What could be wrong here?
Thanks,
-Wenhua Liu