[openib-general] Fwd: linux- 2.6.18-rc6-git1 issue 46: drivers/infiniband/ulp/iser/iser_verbs.c:514: undefined reference to `rdma_create_id'

Roland Dreier rdreier at cisco.com
Mon Sep 11 07:37:00 PDT 2006


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




More information about the general mailing list