-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IPv6 connection issues #38
Comments
This is not limited to discovery from IPv6, tested with a specific subsysnqn - same problem. Looks like a general EFI networking stack issue. Thankfully the failed boot attempt is still recorded as an SSNS record, marked unavailable and nvme-cli still connects fine:
|
I believe this is due to a few things --
At this time, you should be able to connect via IPv6 if you configure the NIC's IPv6 settings prior to attempting a target connection - set desired interface to manual and configure w/a valid IPv6 address+gateway OR configure as auto with a valid DHCP6 server set up. I'm looking into a resolution that will allow IPv6 configuration from the nvmeof HII without needing to configure the interface outside of the nvmeof menu. |
Thanks Trevor. I've made another attempt and configured IPv6 addresses for the second network interface first (Device Manager -> Network Device List -> IPv6 Network Configuration -> Host addresses and Route Table), however it seems to have no effect. Still couldn't get the initiatior working. Also tried with clean efivars. |
How are you setting up/providing NICs for your qemu invocation? |
My qemu network is very simple:
This way qemu defaults to creating The thing is that IPv6 works fine in linux and even performs discovery from the NBFT discovery record just fine. Obviously network stacks are different, would be good to get some logs or diagnostics information from the UEFI side. The
|
Hmmm, after lots of (other) testing, this looks like an issue on the linux kernel target side (kernel 6.8.1). After resetting (clearing and setting up) the linux target, UEFI connections are immediate and successful. It is after the guest VM reboot when timeouts are observed. Same issue when powering off the VM and starting again. The Needs to be retested against some other NVMe/TCP target. Tested also kernel 6.9.6, no difference. |
I'm having trouble getting discovery from (static) IPv6 working during the pre-OS phase. Tested with the current
timberland_upstream-dev-full_nbft-population-fixes
branch (#35). For my setup and the resulting NBFT table, please see linux-nvme/libnvme#821.Taking the second Discovery Descriptor URI
nvme+tcp://[4321::BBBB:1]:4420/
I have no problem reaching it from linux with networking corresponding with the HFI Descriptor records.This looks like a timeout, noticed the EFI boot process being stuck for a minute or two, with qemu eating 100% CPU, eventually booting from the first (IPv4) boot attempt. Might be related to a lost Host address prefix as reported in #37.
The text was updated successfully, but these errors were encountered: