[openib-general] Why doesn't the 24-kernel actually compile on 2.4 kernels?

Mike Houston
Thu Apr 1 17:26:54 PST 2004


I'm a bit bemused that mosal STILL doesn't actually compile under 
vanilla (kernel.org) 2.4 kernels.  This is using 
infiniband-kernel-24-2004-03-17 with 2.4.25:

1) There is the redefinition of PDE in 
infiniband/include/ts_kernel_services.h (easy to work around). 
2) There are screwups in mosal involving remap_page_range calls.  The 
calls trying to be made are for the RedHat kernels which are a 2.4 
kernel with psuedo 2.6 VM work.  It's relatively easy to fix, but this 
is a pain.
3) mosal_mlock.c, SYS_mlock is undeclared ~314.  The code I have seems 
to use __NR_mlock instead... and that change *seems* to work
4) ipoib fails to build because it cannot find 
./TS_OBJ_DIR/ipoib_export.ver, ../core/TS_OBJ_DIR/core_export.ver,  
../sa_client/TS_OBJ_DIR/sa_client_export.ver, 
../client_query/TS_OBJ_DIR/client_query_export.ver, or 
../TS_OBJ_DIR/services_export.ver
5) because of the above, I can't test SDP.

This is not an issue with the drivers on Mellanox's ftp site...  version 
~3.2.  Is the MOSAL code in this stack that out of date?  We probably 
need a resync on this...

-Mike

-- 
To unsubscribe send an email with subject unsubscribe to openib-general at openib.org.
Please contact moderator at openib.org for questions.




More information about the openib-general mailing list