There is definitely a bug in the drivers/infiniband/ulp/iser/Kconfig
file.  ISER only depends on INFINIBAND && SCSI.  However it is easily
possible to enable INFINIBAND and SCSI without enabling INET (in fact
they can be enabled without NET as in the original config in this thread).

iser does select SCSI_ISCSI_ATTRS, but without selecting NET that it
depends on, so this alone will result in a broken config.  However
nothing will enable INET (which I think you said iser depends on).  So
something like the below is required, I think.  Although it would
probably be better to make iser depend on INET (as ISCSI_TCP does)
rather than selecting NET and INET.

Toralf, can you confirm that applying this patch and doing make
oldconfig and make with your original config works OK?

Thanks,
  Roland

diff --git a/drivers/infiniband/ulp/iser/Kconfig 
b/drivers/infiniband/ulp/iser/Kconfig
index fead87d..a122bb4 100644
--- a/drivers/infiniband/ulp/iser/Kconfig
+++ b/drivers/infiniband/ulp/iser/Kconfig
@@ -1,6 +1,8 @@
 config INFINIBAND_ISER
        tristate "ISCSI RDMA Protocol"
        depends on INFINIBAND && SCSI
+       select NET
+       select INET
        select SCSI_ISCSI_ATTRS
        ---help---
          Support for the ISCSI RDMA Protocol over InfiniBand.  This

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to