[openib-general] ISER fails to build on 2.6.15-rc7-git3 (svn=4654)

Nishanth Aravamudan nacc at us.ibm.com
Fri Dec 30 08:13:26 PST 2005


On 30.12.2005 [07:26:34 -0500], Hal Rosenstock wrote:
> Hi Nish,
> 
> On Fri, 2005-12-30 at 00:04, Nishanth Aravamudan wrote:
> > On 29.12.2005 [23:29:10 -0500], Hal Rosenstock wrote:
> > > Hi Nish,
> > > 
> > > On Thu, 2005-12-29 at 20:31, Nishanth Aravamudan wrote:
> > > > Hi,
> > > > 
> > > > Building 2.6.15-rc7-git3 on ppc64 with svn=4654 kernel components leads
> > > > to:
> > > > 
> > > > drivers/infiniband/ulp/iser/iscsi_iser.c: In function `iscsi_iser_conn_set_param':
> > > > drivers/infiniband/ulp/iser/iscsi_iser.c:1436: error: `ISCSI_PARAM_RDMAEXTENSIONS' undeclared (first use in this function)
> > > > drivers/infiniband/ulp/iser/iscsi_iser.c:1436: error: (Each undeclared identifier is reported only once
> > > > drivers/infiniband/ulp/iser/iscsi_iser.c:1436: error: for each function it appears in.)
> > > > drivers/infiniband/ulp/iser/iscsi_iser.c: In function `iscsi_iser_conn_get_param':
> > > > drivers/infiniband/ulp/iser/iscsi_iser.c:1496: error: `ISCSI_PARAM_RDMAEXTENSIONS' undeclared (first use in this function)
> > > > drivers/infiniband/ulp/iser/iscsi_iser.c: At top level:
> > > > drivers/infiniband/ulp/iser/iscsi_iser.c:1634: error: unknown field `af' specified in initializer
> > > > drivers/infiniband/ulp/iser/iscsi_iser.c:1634: warning: initialization makes pointer from integer without a cast
> > > > drivers/infiniband/ulp/iser/iscsi_iser.c:1635: error: unknown field `rdma' specified in initializer
> > > > make[3]: *** [drivers/infiniband/ulp/iser/iscsi_iser.o] Error 1
> > > > make[2]: *** [drivers/infiniband/ulp/iser] Error 2
> > > > make[1]: *** [drivers/infiniband] Error 2
> > > > make: *** [drivers] Error 2
> > > 
> > > There is an iscsi patch required for this as iser requires an open-iscsi
> > > version which is subsequent to what is in 2.6.15-rc7-git3. I'm not sure
> > > the best way to handle this yet as the build is different for 2.6.14
> > > which does not contain open-iscsi.
> > 
> > Where can I find this patch? I can temporarily add it to the build-path
> > for the svn-based builds, until a better solution is found.
> 
> I am attaching the patch for this. Note that this patch is for
> 2.6.15-rc<n> and not 2.6.14 variants. It has been tested with
> 2.6.15-rc6. Please let me know if it works for you. Thanks.

Great, I will start some jobs with the patch now and let you know.

Thanks,
Nish



More information about the general mailing list