-
gitomat
[illumos-gate] 17473 Update JEDEC vendors to JEP106BM -- Robert Mustacchi <rm⊙fo>
-
gitomat
[illumos-gate] 17474 June 2025 hwdata update -- Robert Mustacchi <rm⊙fo>
-
Agnar
erm, how do I initialize my iscsi initiator iqn? iscsiadm list initiator-node shows no value for "Initiator node name"
-
Agnar
and since I use host groups for the views of iscsi luns, I need the iqn of this client...
-
Agnar
I think our iscsi stack is not super solid...on the target side, I have one target with 65534 sessions (probably max) and I can't offline that target, I can't even stop the target service because the stop method hangs
-
Agnar
-
Agnar
which brings me to the conclusion that a reboot will be the only solution...correct?
-
tsoome_
probably... and yes iscsiadm list initiator-node should show the iqn, but it does not.
-
Agnar
tsoome_: oh, same for you? is there another way to get the initiator iqn?
-
tsoome_
I did pick it from target side, it did appear on unlimited lun or something
-
Agnar
tsoome_: hehe, ok
-
tsoome_
ok, we do get nice L"iqn.1986-03.com.sun:01:583fa0d80bfe.6769fa50" from ioctl(), we use vswprintf() in libSwprintf() to store this and end up having L"\x2e6e7169\x36383931\x2e33302d\x2e6d6f63\x3a6e7573\x353a3130\x61663338\x30386430\x2e656662\x39363736\x30356166" and fprintf("%ws") prints basically garbage (11 times byte 0 according to hexdump -C).
-
Agnar
oh, how sweet...
-
tsoome_
either vswprintf or fprintf does something bad; fprintf("%ws") does print L"iqn.1986-03.com.sun:01:583fa0d80bfe.6769fa50" as expected, however.
-
Agnar
more serious is the issue that I have 65534 sessions on this target - probably because the initiators do not log out correctly until all sessions are in use...
-
Agnar
and of course then the target service is not even able to offline that target anymore
-
tsoome_
I do not know the details about iscsi protocol, but I'm pretty sure the sessions should be possible to get reaped...
-
Agnar
I think also the target side should reap those
-
tsoome_
yep, in networked environment you can not assume every client system will end the session "correctly".
-
tsoome_
it seems, in iscsiadm, the fprintf("%ws") is to be blamed, wprintf(L"%s") does print the iqn correctly.
-
Agnar
tsoome_: shall I open the bug and send a patch, or do you want to do it yourself?
-
tsoome_
please do - feel free to use my findings:) also it may be Woodstock can tell thing or two about it
-
Agnar
ok, I'll take notes
-
tsoome_
I'm in a bit of in middle of other issue:D
-
Agnar
gotcha ;)
-
Agnar
I will also not file it before monday I guess...I need to file travel claims
-
sommerfeld
got illumos installed on a small Alder Lake intel system that I'm bringing in as a router. some console quirks (serial console wasn't quite functional during install) but seems to be working.
-
sommerfeld
(protectli VP6650 with coreboot firmware with an intel i5-1235U cpu). connected to a newly installed 10G fiber service (sonic.com) that.. isn't working with a 10G link speed but seems to be ok at 2.5G
-
danmcd_
NIC ?
-
danmcd
Alder lake small means it's probably a I225 or I226 (aka. igc(4D)).
-
sommerfeld
danmcd: 4x I226-V (copper), 2x X710 10Gb SFP+
-
sommerfeld
this cpu has 2 hyperthreaded "performance" cores and 8 single-thread "efficiency" cores. Seems to be behaving itself with all 12 threads enabled.
-
sommerfeld
(but haven't really pushed it)
-
tsoome_
did fall back from 10 to 2.5, skipped 5G?
-
sommerfeld
no. doesn't work when plugged into a 10G interface (with a different machine it eventually got a dhcp lease but had 85% to 95% packet loss)
-
sommerfeld
when plugged into a 1G port on the other machine it works fine at 1G. when plugged into a 2.5G igc port on this machine it also works fine.
-
tsoome_
I see...
-
sommerfeld
the ONT Sonic installed looks to be an Adtran 632V
-
sommerfeld
(and unless I'm missing something it doesn't look like I can force the X710 into 2.5G or 5G mode - might be a limitation of the particular 10GbaseT sfp I have)
-
tsoome_
might be, yep.
-
sommerfeld
okay, this is weird. connected it to a switch that is 1/2.5/5/10 capable and set the switch advertise only 2.5G. switch thinks the link came up at 2.5; illumos on the other end thinks it's 10G
-
sommerfeld
iperf agrees with the switch..
-
tsoome_
that may hint why 10G has problems?
-
sommerfeld
no, it seems to work OK when 10G is enabled on the switch
-
danmcd
You're plugging in one of the X710s to the switch, I'm assuming?
-
danmcd
Or the I226/igc? If the igc, I think we only support 2.5G on that. If rmustacc is here and has cycles he may have more useful data in his L1-3 caches.
-
danmcd
Correction: I226 ONLY supports up to 2.5Gbit.
-
sommerfeld
I'm trying a bunch of different combinations to figure out what works and doesn't work before I call sonic.
-
sommerfeld
ideal config is one X710 connected to sonic, the other to a switch.
-
sommerfeld
current config is one X710 to switch, one igc to sonic at 2.5G
-
danmcd
What does `prtconf -v | grep X7` say? Model & PCIe ID would be useful. I know there's some Intel common code that needs updating in i40e(4D) at some point. (It might actually fix fenix illumos#13230 ?!?)
-
fenix
code review '13230' not found...
-
sommerfeld
I want to test one X710 to switch, other X710 at 2.5G to sonic just to fully cover the bases
-
sommerfeld
value='Ethernet Controller X710 for 10GbE SFP+'
-
sommerfeld
value='Ethernet Converged Network Adapter X710'
-
sommerfeld
value='Ethernet Controller X710 for 10GbE SFP+'
-
sommerfeld
value='Ethernet Converged Network Adapter X710'
-
nomad
Q from the peanut gallery: aside from a blue hedgehog that drops coins everyhwhere, what is sonic?
-
sommerfeld
sonic.com. ISP that is offering 10G residential fiber
-
jbk
a drive-in fast food chain? :)
-
sommerfeld
that too
-
nomad
oh man, I haven't had a sonic chicken fried steak in decades.
-
nomad
Kind of miss that badness.
-
nomad
sommerfeld, ok, I am jelous.
-
» nomad was happy with his 1G fiber but nope, not any more.
-
jbk
the co-op only goes to 5gb right now, but i wouldn't be surprised if they up it in the future
-
jbk
though I just have 1gb right now because i haven't found a need for anything faster (yet)
-
danmcd
Ooops, wrong command: `prtconf -d | grep X7` ==> my bad.
-
sommerfeld
pci8086,0 (pciex8086,1572) [Intel Corporation Ethernet Controller X710 for 10GbE SFP+], instance #0
-
sommerfeld
pci8086,0 (pciex8086,1572) [Intel Corporation Ethernet Controller X710 for 10GbE SFP+], instance #1
-
» danmcd is wondering if VZ FiOS can bump to >= Gig yet...
-
danmcd
Okay, thanks.
-
nomad
jbk, I don't even need 1G but I *want* it. :)
-
jbk
and it's less than half the cost of what i was paying for comcast at my apartment too
-
jbk
granted no tv service, but i was down to like 2-3 channels at most, and I can always do OTA for stuff I don't want to stream
-
nomad
My options are Century Link or comcrap. I refuse to do business with comcrap so here I am. 1G fiber is the fastest they offer.
-
nomad
at least I have a static IP.
-
jbk
i got lucky -- the front half of the neighborhood is serviced by a company with the suitably generic 80s conglomerate sounding 'Consolidated Communications' which apparently is fairly terrible
-
jbk
but the back half is in another county, so it's power is from a local co-op, who also provides fiber internet to their service area
-
jbk
(I could still get consolidated as well if i wanted to, but given their reputation, unless I like really wanted to have redundant links, not sure it's worth it)
-
jbk
unfortunately, they don't do IPv6 yet is i guess one downside
-
jbk
but no cgnat, so....
-
sommerfeld
anyhow I can't seem to force the X710 link to 2.5G or 5G from the illumos end.
-
nomad
jbk, I'm using he.net for an IPv6 tunnel. It works fine as long as my IPv4 connection is stable. pfSense does a good job of connecting to it.
-
danmcd
Is there a protocol on dev-guide submissions?
-
richlowe
used to just be a PR
-
danmcd
There IS a PR. One reviewer, but unsure if we needed more or not.
-
richlowe
oh, if you want two for completeness gimme a link
-
danmcd
illumos/dev-guide #54 And the reviewer isn't +1-ing yet but I did fix his one concern.
-
richlowe
commented