Has any one been able to compile lustre1.4.10 with ofed1.2. I am getting the following error ./configure --with-openib=/usr/ofed1.2rc6/src/ofa_kernel . . make . . make[3]: Entering directory `/usr/src/linux-2.6.9-42.0.10.EL_lustre.1.4.10'' CC [M] /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd.o CC [M] /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.o /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:569:5: warning: "CONFIG_HIGHMEM" is not defined /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:582:6: warning: "IBNAL_MAP_ON_DEMAND" is not defined /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c: In function `kiblnd_cm_callback'': /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2613: error: structure has no member named `private_data'' /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2614: error: structure has no member named `private_data_len'' /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2706: error: structure has no member named `private_data'' /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2707: error: structure has no member named `private_data_len'' /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2729: error: structure has no member named `private_data'' /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2730: error: structure has no member named `private_data_len'' make[7]: *** [/usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.o] Error 1 make[6]: *** [/usr/src/lustre-1.4.10/lnet/klnds/o2iblnd] Error 2 make[5]: *** [/usr/src/lustre-1.4.10/lnet/klnds] Error 2 make[4]: *** [/usr/src/lustre-1.4.10/lnet] Error 2 make[3]: *** [_module_/usr/src/lustre-1.4.10] Error 2 make[3]: Leaving directory `/usr/src/linux-2.6.9-42.0.10.EL_lustre.1.4.10'' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/usr/src/lustre-1.4.10'' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/lustre-1.4.10'' make: *** [all] Error 2 --------------------------------- You snooze, you lose. Get messages ASAP with AutoCheck in the all-new Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20070619/ced5fd08/attachment.html
Mahmoud, I had to make a few changes to the o2ib nal to get it working with 1.2. These were all in o2iblnd_cb.c. First there are two #if that have to be changed to #ifdef and #ifndef. These are the warnings for CONFIG_HIGHMEM and IBNAL_MAP_ON_DEMAND. Second, the struct for the connections changed a bit. This requires adding param.conn in front of private_data and private_data_len. Look at the errors for the relevant line numbers. I was planning to generate a patch but I haven''t had a chance to yet. Shane -----Original Message----- From: lustre-discuss-bounces@clusterfs.com <lustre-discuss-bounces@clusterfs.com> To: lustre-discuss@clusterfs.com <lustre-discuss@clusterfs.com> Sent: Tue Jun 19 21:44:08 2007 Subject: [Lustre-discuss] build errors with OFED1.2 Has any one been able to compile lustre1.4.10 with ofed1.2. I am getting the following error ./configure --with-openib=/usr/ofed1.2rc6/src/ofa_kernel . . make . . make[3]: Entering directory `/usr/src/linux-2.6.9-42.0.10.EL_lustre.1.4.10'' CC [M] /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd.o CC [M] /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.o /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:569:5: warning: "CONFIG_HIGHMEM" is not defined /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:582:6: warning: "IBNAL_MAP_ON_DEMAND" is not defined /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c: In function `kiblnd_cm_callback'': /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2613: error: structure has no member named `private_data'' /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2614: error: structure has no member named `private_data_len'' /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2706: error: structure has no member named `private_data'' /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2707: error: structure has no member named `private_data_len'' /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2729: error: structure has no member named `private_data'' /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2730: error: structure has no member named `private_data_len'' make[7]: *** [/usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.o] Error 1 make[6]: *** [/usr/src/lustre-1.4.10/lnet/klnds/o2iblnd] Error 2 make[5]: *** [/usr/src/lustre-1.4.10/lnet/klnds] Error 2 make[4]: *** [/usr/src/lustre-1.4.10/lnet] Error 2 make[3]: *** [_module_/usr/src/lustre-1.4.10] Error 2 make[3]: Leaving directory `/usr/src/linux-2.6.9-42.0.10.EL_lustre.1.4.10'' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/usr/src/lustre-1.4.10'' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/lustre-1.4.10'' make: *** [all] Error 2 ________________________________ You snooze, you lose. Get messages ASAP with AutoCheck <http://us.rd.yahoo.com/evt=47959/*http://advision.webevents.yahoo.com/mailbeta/newmail_html.html> in the all-new Yahoo! Mail Beta.
Hi Mahmoud, We have landed our fix for OFED1.2 already, it will be available in next release. Regards Liang Mahmoud Hanafi wrote:> Has any one been able to compile lustre1.4.10 with ofed1.2. I am > getting the following error > > ./configure --with-openib=/usr/ofed1.2rc6/src/ofa_kernel > . > . > make > . > . > make[3]: Entering directory > `/usr/src/linux-2.6.9-42.0.10.EL_lustre.1.4.10'' > CC [M] /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd.o > CC [M] /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.o > /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:569:5: warning: > "CONFIG_HIGHMEM" is not defined > /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:582:6: warning: > "IBNAL_MAP_ON_DEMAND" is not defined > /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c: In function > `kiblnd_cm_callback'': > /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2613: error: > structure has no member named `private_data'' > /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2614: error: > structure has no member named `private_data_len'' > /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2706: error: > structure has no member named `private_data'' > /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2707: error: > structure has no member named `private_data_len'' > /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2729: error: > structure has no member named `private_data'' > /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2730: error: > structure has no member named `private_data_len'' > make[7]: *** [/usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.o] > Error 1 > make[6]: *** [/usr/src/lustre-1.4.10/lnet/klnds/o2iblnd] Error 2 > make[5]: *** [/usr/src/lustre-1.4.10/lnet/klnds] Error 2 > make[4]: *** [/usr/src/lustre-1.4.10/lnet] Error 2 > make[3]: *** [_module_/usr/src/lustre-1.4.10] Error 2 > make[3]: Leaving directory `/usr/src/linux-2.6.9-42.0.10.EL_lustre.1.4.10'' > make[2]: *** [modules] Error 2 > make[2]: Leaving directory `/usr/src/lustre-1.4.10'' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/lustre-1.4.10'' > make: *** [all] Error 2 > > ------------------------------------------------------------------------ > You snooze, you lose. Get messages ASAP with AutoCheck > <http://us.rd.yahoo.com/evt=47959/*http://advision.webevents.yahoo.com/mailbeta/newmail_html.html> > in the all-new Yahoo! Mail Beta. > ------------------------------------------------------------------------ > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >
On Wednesday 20 June 2007 10:44:57 am Liang Zhen wrote:> Hi Mahmoud, > > We have landed our fix for OFED1.2 already, it will be available in > next release.The compilation of version 1.6.0.1 with OFED 1.2 gives some errors too. Is the fix planned for version 1..6 too? Is there an ETA for a new release? Thanks a lot, -- Kilian