I am trying to get iSCSI boot working on a debian-based system using built-in uEFI iSCSI initiator firmware and broadcom NICs (bnx2x).
The debian initramfs uses the ibft support in iscsistart to log into the root volume. The initramfs script uses iscsistart -N to bring up the NICs before logging in with iscsstart -b. This process works fine when using non-offload NICs, but fails when using NICs using the bnx2, bnx2x, cxgb3, and cxgb4 drivers due to the following code in utils/fwparam_ibft/fw_entry.c:fw_setup_nics(): list_for_each_entry(context, &targets, list) { > /* if it is a offload nic ignore it */ > if (!net_get_transport_name_from_netdev(context->iface, > transport)) > continue > Which does a lookup in the table in usr/iscsi_net_util.c static struct iscsi_net_driver net_drivers[] = { > {"cxgb3", "cxgb3i" }, > {"cxgb4", "cxgb4i" }, > {"bnx2", "bnx2i" }, > {"bnx2x", "bnx2i"}, > {NULL, NULL} > }; > to see if -N should skip this NIC. I cannot determine the reason for this check. Do iscsi offload NICs not need to be configured for boot? The current code causes iscsi boots to fail. I removed the check and booting works fine. -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscr...@googlegroups.com. To post to this group, send email to open-iscsi@googlegroups.com. Visit this group at https://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/d/optout.