All of lore.kernel.org
 help / color / mirror / Atom feed
* nvmetcli FC transport problem
@ 2024-03-26 13:44 Łukasz Kojło
  2024-03-28  8:51 ` Daniel Wagner
  0 siblings, 1 reply; 5+ messages in thread
From: Łukasz Kojło @ 2024-03-26 13:44 UTC (permalink / raw)
  To: linux-nvme

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

Hello

I'm using nvmetcli version 0.7 on OpenSUSE  LEAP 15.5

I have problem with FC transport. When i'm trying to add subsystem in fc 
port configuration I get error

Could not symlink testnqn in configFS: [Errno 6] No such device or 
address: '/sys/kernel/config/nvmet/subsystems/testnqn' -> 
'/sys/kernel/config/nvmet/ports/2/subsystems/testnqn'

In attachment there is json with my configuration.

Can you please help me ?

-- 

Pozdrawiam / Best regards

*Łukasz Kojło *
Administrator Systemów i Sieci

	
Logo SiberSoft 	

*SiberSoft Sp. j.*
Praw Kobiet 4,
15-535 Białystok,
Poland

*website:* https://sibersoft.pl
*e-mail office:* poczta@sibersoft.pl
*personal e-mail:* l.kojlo@sibersoft.pl <mailto:kn@sibersoft.pl>
*mobile phone:* +48 791 320 220

	

*NIP:* 9662125863
*REGON:* 381937585
*KRS:* 0000760681

SiberSoft 	

Nie drukuj tego e-maila, chyba że naprawdę potrzebujesz.
Please don’t print this e-mail unless you really need to.

SiberSoft 	

Chroń własność intelektualną za pomocą legalnego oprogramowania.
Protect intellectual property by using legal software.

SiberSoft 	

*UWAGA*
Chronimy twoje dane osobowe i informacje poufne - przechowując je w 
bezpiecznych bazach i stosując szyfrowanie danych.
/Proszę, sprawdź więcej informacji... 
<https://sibersoft.pl/klauzula-informacyjna/>/

*ATTENTION*
We protect your personal data and confidential information - by storing 
it in secure bases and using data encryption.
/Please, check more information... 
<https://sibersoft.pl/klauzula-informacyjna/>/

*OCHRONA PRYWATNOŚCI I POUFNOŚCI:*
Poufne informacje zawarte w tej wiadomości są przeznaczone tylko do 
użytku przez adresatów wskazanych przez oryginalnego autora tej 
wiadomości e-mail. Jeśli nie jesteś adresatem wskazanym w tej wiadomości 
lub nie jesteś odpowiedzialny za dostarczanie tej wiadomości e-mail do 
tej osoby, proszę poinformować o tym nadawcę i natychmiast usunąć 
wszystkie kopie tej wiadomości  z serwera komputerowego i sieciowego. 
Dziękujemy za współpracę. Informujemy, że jakiekolwiek nieautoryzowane 
wykorzystanie poufnych informacji przekazanych przez /*SiberSoft Sp. 
j.*/ jest surowo zabronione.

*PRIVACY AND CONFIDENTIALITY NOTICE*
The privileged confidential information contained in this email is 
intended for use only by the addressees as indicated by the original 
author of this email. If you are not the addressee indicated in this 
email or are not responsible for delivery of the email to such person, 
please kindly reply the sender indicating accordingly and delete all 
copies of it from your computer and network server immediately. We thank 
you for your cooperation. It is advisable that any unauthorized use of 
confidential information of /*SiberSoft Sp.j.*/. is strictly prohibited 
and any information in this email that does not relate to the official 
business of/*SiberSoft Sp. j.*/ shall be deemed as neither given nor 
endorsed by /*SiberSoft Sp. j.*/

[-- Attachment #2: test.json --]
[-- Type: application/json, Size: 1603 bytes --]

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

* Re: nvmetcli FC transport problem
  2024-03-26 13:44 nvmetcli FC transport problem Łukasz Kojło
@ 2024-03-28  8:51 ` Daniel Wagner
  2024-03-29  9:23   ` Łukasz Kojło
       [not found]   ` <a6ca5502-d25d-4add-9a55-65c0f5baa78a@sibersoft.pl>
  0 siblings, 2 replies; 5+ messages in thread
From: Daniel Wagner @ 2024-03-28  8:51 UTC (permalink / raw)
  To: Łukasz Kojło; +Cc: linux-nvme

Hi,

On Tue, Mar 26, 2024 at 02:44:41PM +0100, Łukasz Kojło wrote:
> I'm using nvmetcli version 0.7 on OpenSUSE  LEAP 15.5
[...]
> Can you please help me ?

You are using downstream version of nvmetcli and the kernel, maintained
by your distro vendor. In this case you should report the problem there
(bugzilla.opensuse.org).

Here on this mailing list, we ask you to try with current upstream
version to reproduce the problem, e.g. nvmetcli 0.8 and the latest
release upstream kernel v6.8.x. If you still observe your problem, feel
free to post your results.

Thanks,
Daniel


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

* Re: nvmetcli FC transport problem
  2024-03-28  8:51 ` Daniel Wagner
@ 2024-03-29  9:23   ` Łukasz Kojło
       [not found]   ` <a6ca5502-d25d-4add-9a55-65c0f5baa78a@sibersoft.pl>
  1 sibling, 0 replies; 5+ messages in thread
From: Łukasz Kojło @ 2024-03-29  9:23 UTC (permalink / raw)
  To: Daniel Wagner; +Cc: linux-nvme

Hello

I'v tried nvmetcli v0.8 with ubuntu kernel 6.8.0 but still have same problem

*/ports/1/subsystems> create test
Could not symlink test in configFS: [Errno 6] No such device or address: 
'/sys/kernel/config/nvmet/subsystems/test' -> 
'/sys/kernel/config/nvmet/ports/1/subsystems/test'*

Nothing in dmesg

FC card I'm using it's QLogic QLE2740

  Class Device path = 
"/sys/devices/pci0000:00/0000:00:03.0/0000:04:00.0/host11/fc_host/host11"
     dev_loss_tmo        = "30"
     fabric_name         = "0xffffffffffffffff"
     issue_lip           = <store method only>
     max_npiv_vports     = "254"
     node_name           = "0x20000024ff1491be"
     npiv_vports_inuse   = "0"
     port_id             = "0x000001"
     port_name           = "0x21000024ff1491be"
     port_state          = "Online"
     port_type           = "Point-To-Point (direct nport connection)"
     speed               = "32 Gbit"
     supported_classes   = "Class 3"
     supported_speeds    = "8 Gbit, 16 Gbit, 32 Gbit"
     symbolic_name       = "QLE2740 FW:v9.08.02 DVR:v10.02.07.900-k"
     system_hostname     = ""
     tgtid_bind_type     = "wwpn (World Wide Port Name)"
     uevent              =
     vport_create        = <store method only>
     vport_delete        = <store method only>/
/

NVME modules I have loaded in kernel

    lsmod | grep nvme
    nvmet_fc               45056  0
    nvmet                 196608  7 nvmet_fc
    nvme_keyring           20480  1 nvmet
    nvme_fc                57344  1 qla2xxx
    nvme                   61440  8
    nvme_fabrics           36864  1 nvme_fc
    nvme_core             212992  12 nvmet,nvme,nvme_fc,nvme_fabrics
    nvme_auth              28672  2 nvmet,nvme_core

Configuration file in attachment.

What am I missing ?

W dniu 28.03.2024 o 09:51, Daniel Wagner pisze:
> Hi,
>
> On Tue, Mar 26, 2024 at 02:44:41PM +0100, Łukasz Kojło wrote:
>> I'm using nvmetcli version 0.7 on OpenSUSE  LEAP 15.5
> [...]
>> Can you please help me ?
> You are using downstream version of nvmetcli and the kernel, maintained
> by your distro vendor. In this case you should report the problem there
> (bugzilla.opensuse.org).
>
> Here on this mailing list, we ask you to try with current upstream
> version to reproduce the problem, e.g. nvmetcli 0.8 and the latest
> release upstream kernel v6.8.x. If you still observe your problem, feel
> free to post your results.
>
> Thanks,
> Daniel
-- 

Pozdrawiam / Best regards

*Łukasz Kojło *
Administrator Systemów i Sieci

	
Logo SiberSoft 	

*SiberSoft Sp. j.*
Praw Kobiet 4,
15-535 Białystok,
Poland

*website:* https://sibersoft.pl
*e-mail office:* poczta@sibersoft.pl
*personal e-mail:* l.kojlo@sibersoft.pl <mailto:kn@sibersoft.pl>
*mobile phone:* +48 791 320 220

	

*NIP:* 9662125863
*REGON:* 381937585
*KRS:* 0000760681

SiberSoft 	

Nie drukuj tego e-maila, chyba że naprawdę potrzebujesz.
Please don’t print this e-mail unless you really need to.

SiberSoft 	

Chroń własność intelektualną za pomocą legalnego oprogramowania.
Protect intellectual property by using legal software.

SiberSoft 	

*UWAGA*
Chronimy twoje dane osobowe i informacje poufne - przechowując je w 
bezpiecznych bazach i stosując szyfrowanie danych.
/Proszę, sprawdź więcej informacji... 
<https://sibersoft.pl/klauzula-informacyjna/>/

*ATTENTION*
We protect your personal data and confidential information - by storing 
it in secure bases and using data encryption.
/Please, check more information... 
<https://sibersoft.pl/klauzula-informacyjna/>/

*OCHRONA PRYWATNOŚCI I POUFNOŚCI:*
Poufne informacje zawarte w tej wiadomości są przeznaczone tylko do 
użytku przez adresatów wskazanych przez oryginalnego autora tej 
wiadomości e-mail. Jeśli nie jesteś adresatem wskazanym w tej wiadomości 
lub nie jesteś odpowiedzialny za dostarczanie tej wiadomości e-mail do 
tej osoby, proszę poinformować o tym nadawcę i natychmiast usunąć 
wszystkie kopie tej wiadomości  z serwera komputerowego i sieciowego. 
Dziękujemy za współpracę. Informujemy, że jakiekolwiek nieautoryzowane 
wykorzystanie poufnych informacji przekazanych przez /*SiberSoft Sp. 
j.*/ jest surowo zabronione.

*PRIVACY AND CONFIDENTIALITY NOTICE*
The privileged confidential information contained in this email is 
intended for use only by the addressees as indicated by the original 
author of this email. If you are not the addressee indicated in this 
email or are not responsible for delivery of the email to such person, 
please kindly reply the sender indicating accordingly and delete all 
copies of it from your computer and network server immediately. We thank 
you for your cooperation. It is advisable that any unauthorized use of 
confidential information of /*SiberSoft Sp.j.*/. is strictly prohibited 
and any information in this email that does not relate to the official 
business of/*SiberSoft Sp. j.*/ shall be deemed as neither given nor 
endorsed by /*SiberSoft Sp. j.*/



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

* Re: nvmetcli FC transport problem
       [not found]   ` <a6ca5502-d25d-4add-9a55-65c0f5baa78a@sibersoft.pl>
@ 2024-04-02  7:26     ` Daniel Wagner
  2024-04-02  9:24       ` Hannes Reinecke
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Wagner @ 2024-04-02  7:26 UTC (permalink / raw)
  To: Łukasz Kojło; +Cc: linux-nvme

Hi,

On Fri, Mar 29, 2024 at 10:22:42AM +0100, Łukasz Kojło wrote:
> */ports/1/subsystems> create test
> Could not symlink test in configFS: [Errno 6] No such device or address:
> '/sys/kernel/config/nvmet/subsystems/test' ->
> '/sys/kernel/config/nvmet/ports/1/subsystems/test'*
> 
> Nothing in dmesg
>
> FC card I'm using it's QLogic QLE2740

I've tried once to get a P2P setup with QLogic cards but failed. IIRC,
I run into troubles with the QLogic firmware not be able to act as
target. I'd suggest you enable the debug logs of the qla2xxx driver.
There might be a hint what's going wrong.

HTH,
Daniel


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

* Re: nvmetcli FC transport problem
  2024-04-02  7:26     ` Daniel Wagner
@ 2024-04-02  9:24       ` Hannes Reinecke
  0 siblings, 0 replies; 5+ messages in thread
From: Hannes Reinecke @ 2024-04-02  9:24 UTC (permalink / raw)
  To: Daniel Wagner, Łukasz Kojło; +Cc: linux-nvme

On 4/2/24 09:26, Daniel Wagner wrote:
> Hi,
> 
> On Fri, Mar 29, 2024 at 10:22:42AM +0100, Łukasz Kojło wrote:
>> */ports/1/subsystems> create test
>> Could not symlink test in configFS: [Errno 6] No such device or address:
>> '/sys/kernel/config/nvmet/subsystems/test' ->
>> '/sys/kernel/config/nvmet/ports/1/subsystems/test'*
>>
>> Nothing in dmesg
>>
>> FC card I'm using it's QLogic QLE2740
> 
> I've tried once to get a P2P setup with QLogic cards but failed. IIRC,
> I run into troubles with the QLogic firmware not be able to act as
> target. I'd suggest you enable the debug logs of the qla2xxx driver.
> There might be a hint what's going wrong.
> 
Quite simple: the qla2xxx driver doesn't support nvme-target.

There was a patch once, but never made it upstream. Blame Marvell.

Cheers,

Hannes



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

end of thread, other threads:[~2024-04-02  9:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-26 13:44 nvmetcli FC transport problem Łukasz Kojło
2024-03-28  8:51 ` Daniel Wagner
2024-03-29  9:23   ` Łukasz Kojło
     [not found]   ` <a6ca5502-d25d-4add-9a55-65c0f5baa78a@sibersoft.pl>
2024-04-02  7:26     ` Daniel Wagner
2024-04-02  9:24       ` Hannes Reinecke

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.