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

Nishanth Aravamudan nacc at us.ibm.com
Fri Dec 30 09:23:04 PST 2005


On 30.12.2005 [08:13:26 -0800], Nishanth Aravamudan wrote:
> 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.

The patch works, but does fail at LD time with:

drivers/built-in.o(.text+0xfd784): In function `iscsi_iser_conn_failure':
drivers/infiniband/ulp/iser/iscsi_iser.c:220: undefined reference to `.iscsi_conn_error'
drivers/built-in.o(.text+0x1003b0): In function `iscsi_iser_exit':
drivers/infiniband/ulp/iser/iscsi_iser.c:1989: undefined reference to `.iscsi_unregister_transport'
drivers/built-in.o(.text+0x10046c): In function `iscsi_iser_init':
drivers/infiniband/ulp/iser/iscsi_iser.c:1978: undefined reference to `.iscsi_register_transport'
drivers/built-in.o(.text+0x100a18): In function `iscsi_iser_control_notify':
drivers/infiniband/ulp/iser/iscsi_iser.c:1855: undefined reference to `.iscsi_recv_pdu'
drivers/built-in.o(.text+0x100bc0):drivers/infiniband/ulp/iser/iscsi_iser.c:1899: undefined reference to `.iscsi_recv_pdu'
drivers/built-in.o(.text+0x100cd4):drivers/infiniband/ulp/iser/iscsi_iser.c:1921: undefined reference to `.iscsi_recv_pdu'

Unfortunately, this causes make to fail, killing the job (I realize
these are technically non-critical errors).

So, I'm just going to disable ISER for now in my tests.

Thanks,
Nish



More information about the general mailing list