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

Nishanth Aravamudan nacc at us.ibm.com
Wed Jan 18 21:25:53 PST 2006


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.

Trying to run the compilation tests against 2.6.16-rc1-git1 and am
getting this:

  CC [M]  drivers/infiniband/ulp/iser/iscsi_iser.o
  drivers/infiniband/ulp/iser/iscsi_iser.c:1573: warning: initialization from incompatible pointer type
  drivers/infiniband/ulp/iser/iscsi_iser.c:1574: warning: initialization from incompatible pointer type
  drivers/infiniband/ulp/iser/iscsi_iser.c:1575: warning: initialization from incompatible pointer type
  drivers/infiniband/ulp/iser/iscsi_iser.c:1577: warning: initialization from incompatible pointer type
  drivers/infiniband/ulp/iser/iscsi_iser.c:1579: error: unknown field `get_param' specified in initializer
  drivers/infiniband/ulp/iser/iscsi_iser.c:1579: warning: initialization from incompatible pointer type
  drivers/infiniband/ulp/iser/iscsi_iser.c: In function `iscsi_iser_init':
  drivers/infiniband/ulp/iser/iscsi_iser.c:1886: warning: assignment makes integer from pointer without a cast
  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

when using the patch you sent me. Should I not apply the patch to
2.6.16-rc1 and on? Or are these new issues. This is with svn 5065.

Thanks,
Nish



More information about the general mailing list