[LU-62] Pachless client support for RHEL6's 2.6.32 kernel Created: 07/Feb/11 Updated: 28/Jun/11 Resolved: 18/Apr/11 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 1.8.6 |
| Fix Version/s: | Lustre 1.8.6 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Shuichi Ihara (Inactive) | Assignee: | Lai Siyao |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Severity: | 3 |
| Rank (Obsolete): | 6109 |
| Description |
|
We have an customer who wants to run an big server (Intel x86_64, but 2TB memory). Actually, RHEL5 doesn't support 2TB memory system, but RHEL6 can. So, we now need pathless clients for RHEL6's 2.6.32 kernel. We have been using SLES11SP1's 2.6.32 kernel at Titech, so I wondered if we could also build patchless clients for RHEL6, but the build failed below. I know there are many work for RHEL6 support for the lustre server, but I hope patches only for clients are not many. This seems under discussion on bug 22375, so could someone advise me which patch needs for RHEL6's clients? CC [M] /usr/src/lustre-1.8.4.ddn2.1/lustre/llite/lloop.o |
| Comments |
| Comment by Peter Jones [ 07/Feb/11 ] |
|
Oleg I believe that you have been looking into RHEL6 support for Lustre 2.1. Could you please give Ihara some advice? Thanks Peter |
| Comment by Oleg Drokin [ 07/Feb/11 ] |
|
Xyratex has a full working rhel6 support (or so is the claim from Shadow). On our latest round of talks with them we agreed that they'd let us have their changes. |
| Comment by Shuichi Ihara (Inactive) [ 07/Feb/11 ] |
|
Hi Oleg, We want the patches in a couple of weeks to bid the deal. But it's only support for RHEL6's kernel to run patchless client, no need fix for server. And also the temporary fix should be OK at this time, then if there are problems, fixing in end of March is fine. And, they don't plan to run lustre-2.x, so the patches for RHEL's pachless clients needs to be for lustre-1.8.x branch. |
| Comment by Oleg Drokin [ 12/Feb/11 ] |
|
This patch against tip of the b1_8 branch will make the compile work on the latest rhel6 kernel. I made a quick sanity test and it does not crash too. |
| Comment by Shuichi Ihara (Inactive) [ 15/Feb/11 ] |
|
Hi Oleg, Finally, I could build RPMs for RHEL6's client. The patch attachment 32564 in bug 23064 was needed to build the lustre on 2.6.32-xx kernel. Anyway, the patchless client with RHEL6's kernel is working well right now. Many thanks! I'm just wondering do you plan to land this in 1.8.6 or bl.8 branch? |
| Comment by Oleg Drokin [ 15/Feb/11 ] |
|
1.8 branch is under Oracle active control, so I don't think we can be planning any landings there. Whenever they are interested in it themselves is anyone's guess. |
| Comment by shane kennedy [ 15/Mar/11 ] |
|
also want to run rhel6 client, 2.6.32-71 kernel the referenced patch fails on both lustre-1.8.4.ddn2.1 & lustre-1.8.4.ddn2.2: > patch -p1 -i /root/rhel6-client.diff the patch succeeds on lustre-1.8.5 (from oracle), but compile still fails on lloop.o, am i missing something: patch -p1 -i /root/rhel6-client.diff CC [M] /root/lustre-1.8.5/lustre/llite/lloop.o |
| Comment by Oleg Drokin [ 15/Mar/11 ] |
|
Hm, that's really strange. Of course my baseline is not exactly 1.8.5, but some later version. In fact I just checked out v1_8_5RC4 which is 1.8.5 for all purposes and it passed lloop.c compilation and failed later on due to a missed patch that my baseline release had. |
| Comment by Shuichi Ihara (Inactive) [ 16/Mar/11 ] |
|
Shane, it seems you have some missing. please checkout 1.8.5 branch on your lustre.git first. You also need to apply the following two patches. then, run `sh autogen.sh` and ./configure --disable-server --with-linux=/usr/src/kernels/2.6.32-71.xxx.el6.x86_64 Thanks |
| Comment by shane kennedy [ 21/Mar/11 ] |
|
Ihara/Oleg, your instructions worked after obtaining source via git instead of http & applying bugzilla patch, i was able to successfully apply the patch attached to this thread to the source & compile thank you for your assistance |
| Comment by Peter Jones [ 30/Mar/11 ] |
|
Lai has been looking into this |
| Comment by Build Master (Inactive) [ 31/Mar/11 ] |
|
Integrated in Brian J. Murrell : e8fcce96b88d9b3e091d51f6b3b80fcb870775c1
|
| Comment by Build Master (Inactive) [ 31/Mar/11 ] |
|
Integrated in Brian J. Murrell : e8fcce96b88d9b3e091d51f6b3b80fcb870775c1
|
| Comment by Build Master (Inactive) [ 31/Mar/11 ] |
|
Integrated in Brian J. Murrell : e8fcce96b88d9b3e091d51f6b3b80fcb870775c1
|
| Comment by Build Master (Inactive) [ 31/Mar/11 ] |
|
Integrated in Brian J. Murrell : e8fcce96b88d9b3e091d51f6b3b80fcb870775c1
|
| Comment by Build Master (Inactive) [ 31/Mar/11 ] |
|
Integrated in Brian J. Murrell : e8fcce96b88d9b3e091d51f6b3b80fcb870775c1
|
| Comment by Build Master (Inactive) [ 31/Mar/11 ] |
|
Integrated in Brian J. Murrell : e8fcce96b88d9b3e091d51f6b3b80fcb870775c1
|
| Comment by Build Master (Inactive) [ 31/Mar/11 ] |
|
Integrated in Brian J. Murrell : 61b331baab76f81b2901a1eb6a5fd757188b6f36
|
| Comment by Build Master (Inactive) [ 31/Mar/11 ] |
|
Integrated in Brian J. Murrell : 61b331baab76f81b2901a1eb6a5fd757188b6f36
|
| Comment by Build Master (Inactive) [ 31/Mar/11 ] |
|
Integrated in Brian J. Murrell : 61b331baab76f81b2901a1eb6a5fd757188b6f36
|
| Comment by Build Master (Inactive) [ 31/Mar/11 ] |
|
Integrated in Brian J. Murrell : 61b331baab76f81b2901a1eb6a5fd757188b6f36
|
| Comment by Build Master (Inactive) [ 31/Mar/11 ] |
|
Integrated in Brian J. Murrell : 61b331baab76f81b2901a1eb6a5fd757188b6f36
|
| Comment by Build Master (Inactive) [ 31/Mar/11 ] |
|
Integrated in Brian J. Murrell : 61b331baab76f81b2901a1eb6a5fd757188b6f36
|
| Comment by Brian Murrell (Inactive) [ 31/Mar/11 ] |
|
Patchless client doesn't currently build for RHEL6: http://build.whamcloud.com/job/lustre-reviews/47/build_type=client,distro=el6/console cc1: warnings being treated as errors In file included from /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/include/linux/lvfs.h:49, from /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/include/lvfs.h:48, from /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/include/obd_support.h:41, from /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/lov/lov_log.c:53: /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/include/linux/lustre_compat25.h: In function 'set_shrinker': /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/include/linux/lustre_compat25.h:516: error: assignment from incompatible pointer type cc1: warnings being treated as errors In file included from /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/include/linux/lvfs.h:49, from /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/include/lvfs.h:48, from /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/include/obd_support.h:41, from /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/include/obd_class.h:40, from /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/mdc/mdc_request.c:51: /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/include/linux/lustre_compat25.h: In function 'set_shrinker': /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/include/linux/lustre_compat25.h:516: error: assignment from incompatible pointer type cc1: warnings being treated as errors In file included from /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/include/linux/lvfs.h:49, from /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/include/lvfs.h:48, from /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/lvfs/lvfs_common.c:43: /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/include/linux/lustre_compat25.h: In function 'set_shrinker': /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/include/linux/lustre_compat25.h:516: error: assignment from incompatible pointer type make[6]: *** [/var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/lvfs/lvfs_common.o] Error 1 make[5]: *** [/var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/lvfs] Error 2 make[5]: *** Waiting for unfinished jobs.... cc1: warnings being treated as errors In file included from /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/include/linux/lvfs.h:49, from /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/include/lvfs.h:48, from /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/include/obd_support.h:41, from /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/include/lustre_cfg.h:211, from /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/include/lustre_lib.h:47, from /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/llite/lloop.c:110: /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/include/linux/lustre_compat25.h: In function 'set_shrinker': /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/include/linux/lustre_compat25.h:516: error: assignment from incompatible pointer type make[6]: *** [/var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/lov/lov_log.o] Error 1 make[5]: *** [/var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/lov] Error 2 /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/llite/lloop.c: In function 'loop_set_fd': /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/llite/lloop.c:508: error: implicit declaration of function 'blk_queue_max_sectors' /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/llite/lloop.c:510: error: implicit declaration of function 'blk_queue_max_phys_segments' /var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/llite/lloop.c:511: error: implicit declaration of function 'blk_queue_max_hw_segments' make[6]: *** [/var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/llite/lloop.o] Error 1 make[5]: *** [/var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/llite] Error 2 make[6]: *** [/var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/mdc/mdc_request.o] Error 1 make[5]: *** [/var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre/mdc] Error 2 make[4]: *** [/var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54/lustre] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [_module_/var/lib/hudson/workspace/lustre-reviews/build_type/client/distro/el6/BUILD/BUILD/lustre-1.8.5.54] Error 2 make[2]: *** [modules] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 |
| Comment by Shuichi Ihara (Inactive) [ 31/Mar/11 ] |
|
Brian, did you apply the following patch as well? this patch is also needed for RHEL6 client build. See my previous comment on this ticket. |
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Brian J. Murrell : 96f86412640b95e32a3498d0a9952bfcd4a54073
|
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Brian J. Murrell : 96f86412640b95e32a3498d0a9952bfcd4a54073
|
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Brian J. Murrell : 96f86412640b95e32a3498d0a9952bfcd4a54073
|
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Brian J. Murrell : 96f86412640b95e32a3498d0a9952bfcd4a54073
|
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Brian J. Murrell : 96f86412640b95e32a3498d0a9952bfcd4a54073
|
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Brian J. Murrell : 96f86412640b95e32a3498d0a9952bfcd4a54073
|
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Brian J. Murrell : 96f86412640b95e32a3498d0a9952bfcd4a54073
|
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Brian J. Murrell : 96f86412640b95e32a3498d0a9952bfcd4a54073
|
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Brian J. Murrell : 96f86412640b95e32a3498d0a9952bfcd4a54073
|
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Brian J. Murrell : 96f86412640b95e32a3498d0a9952bfcd4a54073
|
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Brian J. Murrell : 96f86412640b95e32a3498d0a9952bfcd4a54073
|
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Brian J. Murrell : 96f86412640b95e32a3498d0a9952bfcd4a54073
|
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Brian J. Murrell : 96f86412640b95e32a3498d0a9952bfcd4a54073
|
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Brian J. Murrell : 96f86412640b95e32a3498d0a9952bfcd4a54073
|
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Brian J. Murrell : 96f86412640b95e32a3498d0a9952bfcd4a54073
|
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Brian J. Murrell : 96f86412640b95e32a3498d0a9952bfcd4a54073
|
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Brian J. Murrell : 96f86412640b95e32a3498d0a9952bfcd4a54073
|
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Brian J. Murrell : 96f86412640b95e32a3498d0a9952bfcd4a54073
|
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Johann Lombardi : 065c4a4f99c0bcf41c319a31fccdaaad94b9a548
|
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Johann Lombardi : 065c4a4f99c0bcf41c319a31fccdaaad94b9a548
|
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Johann Lombardi : 065c4a4f99c0bcf41c319a31fccdaaad94b9a548
|
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Johann Lombardi : 065c4a4f99c0bcf41c319a31fccdaaad94b9a548
|
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Johann Lombardi : 065c4a4f99c0bcf41c319a31fccdaaad94b9a548
|
| Comment by Build Master (Inactive) [ 07/Apr/11 ] |
|
Integrated in Johann Lombardi : 065c4a4f99c0bcf41c319a31fccdaaad94b9a548
|
| Comment by Build Master (Inactive) [ 08/Apr/11 ] |
|
Integrated in Johann Lombardi : 065c4a4f99c0bcf41c319a31fccdaaad94b9a548
|
| Comment by Build Master (Inactive) [ 08/Apr/11 ] |
|
Integrated in Johann Lombardi : 065c4a4f99c0bcf41c319a31fccdaaad94b9a548
|
| Comment by Peter Jones [ 18/Apr/11 ] |
|
As far as I know this work in landed. Please reopen if any further work is needed. |