[openib-general] Does the current 2.4 drop IPoIB work?
Lon Chang
Mon Apr 26 20:21:56 PDT 2004
Hi,
I recently downloaded
infiniband-kernel-24-2004-03-17.tar.bz2
and infiniband-kernel-sdp-2004-03-17.tar.bz2
and compiled it against red hat linux 2.4.21.
For reference these are the thing I need to change to get it to compile:
1) I manually added the Infiniband fields at the end of
Configure.help since the patch failed.
2) I manually added infiniband to the subdir list in
drivers/Makefile since the patch failed.
3) The patch failed for net/socket.c but I left it unchanged since
the patch didn't seem needed
4) I changed the REMAP_PREFIX line to "REMAP_PREFIX="
drivers/infiniband/hw/mellanox-hca/mosal/Makefile since it caused the
remap function call to have too many parameters. (Not sure if this was
a correct fix)
5) I changed SYS_lock to __NR_mlock and SYS_munlock to
__NR_munlock in mosal_mlock.c
6) I commented out -DRHEL_ROUTE_FLOW_API from
drivers/infiniband/ulp/ipoib/Makefile
7) I commented out EXTRA_CFLAGS += -D_TS_SDP_AIO_SUPPORT from
drivers/infiniband/ulp/sdp/Makefile
8) I commented out -DRHEL_SCSI_API from
drivers/infiniband/ulp/srp/Makefile
9) I commented out set_user_nice from
drivers/infiniband/core/services_thread.c since that function didn't
seem to exist.
After I added the alias fields in /etc/modules.conf I brought up the
interfaces by calling "ifconfig ib0 192.168.1.1" and "ifconfig ib0
192.168.1.2" on the second machine. The physical link lights come on on
the IB cards but the logical link lights don't. Linux doesn't report
the interfaces as "running" and pinging the other IP address gives a
host unreachable error. Should this drop of the code allow transparent
IP functionality like standard Ethernet? Is there some steps I forgot
to take? Does ping need to work before SDP will work?
Thanks,
Lon S. Chang
Software Engineer
Science & Technology International
Direct Line:
Fax:
Email: lchang at sti-hawaii.com lchang at sti-hawaii.com>
Website: http://sti-industries.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://openib.org/pipermail/openib-general/attachments/20040426/b31e7d4f/attachment.html
More information about the openib-general mailing list