[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'

Toralf Förster toralf.foerster at gmx.de
Mon Sep 11 10:45:59 PDT 2006


Yep,

that patch fixes the bug :-)
Thanks

Am Monday 11 September 2006 16:37 schrieb Roland Dreier:
> 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
> 
> 

-- 
MfG/Sincerely
Toralf Förster
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20060911/0b498257/attachment.sig>


More information about the general mailing list