[ewg] I tried to build OFED-1.5.4-daily on Scientific Linux 6.1 with linux-3.0

Hiroyuki Sato hiroysato at gmail.com
Tue Aug 2 03:37:17 PDT 2011


Dear members,

Today I tried to build ofa_kernel-1.5.4.tgz (OFED-1.5.4-20110801-0600.tgz)
on Scientific Linux 6.1 (x86_64) with linux-3.0 Vanilla kernel.

And build passed. ( without '--with-cxgb3-mod' )
(But I just buid it, so  I'm know sure It work fine or not.)

I copied configure option from vlad's  ofa_1_5_kernel daily build status mail

Main purpose of this mail is to share this result.

And I'll appreciate if anyone tell me any information about OFED and Linux3.0
 1) Release plan
 2) Known problem
 3) Test result and so on….

Sincerely.

Build procedure.

tar xfz ./ofa_kernel-1.5.4.tgz
cd ofa_kernel-1.5.4

#
# copy backport  patch from 2.6.39
#
pushd kernel_patches/backport/
cp -a 2.6.39 3.0
popd

pushd ofed_scripts

cat >/tmp/3.0-patch<<EOF
--- get_backport_dir.sh.org	2011-08-02 18:34:21.293316397 +0900
+++ get_backport_dir.sh	2011-08-02 18:35:01.987272410 +0900
@@ -198,6 +198,9 @@
         2.6.39*)
                 echo 2.6.39
         ;;
+        3.0*)
+                echo 3.0
+        ;;
         *)
                 echo
         ;;
EOF
patch -p0 < /tmp/3.0-patch


popd

Build: NG
./configure --with-ipoib-mod --with-sdp-mod --with-user_mad-mod \
  --with-user_access-mod --with-mthca-mod --with-mlx4-mod   \
  --with-mlx4_en-mod --with-core-mod --with-addr_trans-mod   \
  --with-rds-mod --with-cxgb3-mod --with-srp-mod --with-nes-mod   \
  --kernel-version=3.0 \
  --kernel-sources=/home/source/linux-3.0


Build OK: ( without --with-cxgb3-mod )
./configure --with-ipoib-mod --with-sdp-mod --with-user_mad-mod \
  --with-user_access-mod --with-mthca-mod --with-mlx4-mod   \
  --with-mlx4_en-mod --with-core-mod --with-addr_trans-mod   \
  --with-rds-mod --with-srp-mod --with-nes-mod   \
  --kernel-version=3.0 \
  --kernel-sources=/home/source/linux-3.0




/home/source/compile/ofa_kernel-1.5.4/drivers/infiniband/hw/cxgb3/iwch_cm.c:
In function 'find_route':
/home/source/compile/ofa_kernel-1.5.4/drivers/infiniband/hw/cxgb3/iwch_cm.c:368:
warning: passing argument 3 of 'ip_route_output_ports' makes pointer
from integer without a cast
include/net/route.h:140: note: expected 'struct sock *' but argument
is of type '__be32'
/home/source/compile/ofa_kernel-1.5.4/drivers/infiniband/hw/cxgb3/iwch_cm.c:368:
error: too few arguments to function 'ip_route_output_ports'
make[4]: *** [/home/source/compile/ofa_kernel-1.5.4/drivers/infiniband/hw/cxgb3/iwch_cm.o]
Error 1
make[3]: *** [/home/source/compile/ofa_kernel-1.5.4/drivers/infiniband/hw/cxgb3]
Error 2
make[2]: *** [/home/source/compile/ofa_kernel-1.5.4/drivers/infiniband] Error 2
make[1]: *** [_module_/home/source/compile/ofa_kernel-1.5.4] Error 2
make[1]: Leaving directory `/home/source/linux-3.0'
make: *** [kernel] Error 2


--
Hiroyuki Sato



More information about the ewg mailing list