Hi Steve,

I have tried the things you have suggested for 2.6.30 kernel and it
worked. :)

Thanks,
Vipul 

-----Original Message-----
From: Steve Wise [mailto:[email protected]] 
Sent: 04 August 2011 19:48
To: Vipul Pandya
Cc: [email protected]; Kumar A S
Subject: Re: 2.6.29 and 2.6.30 kernel support

Since the OFED-1.5 kernel sources are based on 2.6.30, there is an
assumption in the configure logic that no backports 
are needed for 2.6.30. The cxgb4 src base, however, is from the 3.0
kernel. So yes, you need to add a 2.6.30 (and i 
guess a 2.6.29) backports tree in kernel_patches/backports and
kernel_addons/backports as needed to get cxgb4/iw_cxgb4 
compiling. Further, the config script _might_ need to change to know
about these new backports. I'm not sure. I _think_ 
it should just work once it finds a kernel_patches/backports/2.6.30
directory.


Steve.



On 08/04/2011 08:22 AM, Vipul Pandya wrote:
>
> Hi All,
>
> I am trying to back port Chelsio's cxgb4 driver for 2.6.29 and 2.6.30
kernels to include them in coming OFED-1.5.4 
> release. I found that my ofed kernel is not getting configured for
2.6.29 and 2.6.30 kernels. i.e when i execute 
> "./configure <configure options>" it doesn't apply any patches to any
drivers. Release notes for OFED-1.5.4 says that 
> supported kernels are from 2.6.29 to 2.6.39. I am able to configure
kernels from 2.6.31 to 2.6.39.
>
> Is this an expected behaviour or we require fixes in configure script?
>
> Following are the steps i follow to generate ofed_kernel.tgz file and
build ofed_kernel.
>
> 1.[root@hpc-cn4 linux-2.6]# backports=none
./ofed_scripts/ofed_makedist.sh
>
> <output removed>
>
> 2.[root@hpc-cn4 linux-2.6]# tar xf ofed_kernel.tgz
>
> 3.[root@hpc-cn4 linux-2.6]# cd ofed_kernel
>
> 4.      [root@hpc-cn4 ofed_kernel]# cat /etc/infiniband/info
>   prefix=/usr
>   Kernel=2.6.18-128.el5
>   
>   Configure options: --with-core-mod --with-user_mad-mod
>   --with-user_access-mod --with-addr_trans-mod --with-mthca-mod
>   --with-mlx4-mod --with-mlx4_en-mod --with-cxgb3-mod
>   --with-nes-mod --with-qib-mod --with-ipoib-mod --with-sdp-mod
>   --with-srp-mod --with-srp-target-mod --with-rds-mod
>   --with-nfsrdma-mod
>   
> 5.      [root@hpc-cn4 ofed_kernel]# ./configure --with-core-mod
--with-user_mad-mod
>   --with-user_access-mod --with-addr_trans-mod --with-mthca-mod
>   --with-mlx4-mod --with-mlx4_en-mod --with-cxgb3-mod
>   --with-nes-mod --with-qib-mod --with-ipoib-mod
>   --with-sdp-mod --with-srp-mod --with-srp-target-mod
>   --with-rds-mod --with-nfsrdma-mod
>   
>   <output removed>
>   
> 6.      [root@hpc-cn4 ofed_kernel]# make&&  make install
>   
>   <output removed>
>   
>   [root@hpc-cn4 ofed_kernel]# reboot
>
> Thanks,
>
> Vipul
>

_______________________________________________
ewg mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

Reply via email to