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

Nishanth Aravamudan nacc at us.ibm.com
Fri Dec 30 10:44:02 PST 2005


On 30.12.2005 [12:30:18 -0500], Hal Rosenstock wrote:
> Hi again Nish,
> 
> On Fri, 2005-12-30 at 12:23, Nishanth Aravamudan wrote:
> [snip...]
> 
> > > > 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.
> 
> OK but I think you can get this all to build with a little more as
> follows:
> 
> Enable the cryptographic API (as built in rather than as module) with
> CRC32c CRC algorithm, and iSCSI (under Device Drivers/SCSI device
> support/SCSI low level drivers)
> 
> in your kernel configuration.
> 
> That should cause scsi_transport_iscsi (and iscsi_tcp) to be built which
> should take care of the unresolved symbols you are seeing.

This seems to work, I'll report on the numbers once the tests are done.

Thanks,
Nish



More information about the general mailing list