On 2011-06-08, at 9:13 AM, "chris (fool) mccraw" <gently at
gmail.com> wrote:>
> i''ve dug around the archives and googled my head off, but i am
drawing
> a blank. is anyone using recent ubuntu as a lustre client? i realize
> that the two latest releases have kernels too new for anyone to have
> patched for the client, but ubuntu 10.4 (released over a year ago)
> uses kernel 2.6.32 and so i figured i ought to be able to use the
> suse-patched kernel source to run under 10.4.
You don''t need to have a patched kernel on the client.
> i ran into some
> compilation issues that were beyond my immediate understanding and
> figured maybe there was someone else out here who has done this who
> can offer me some guidance.
>
> once again, i wish to build just the client (with native infiniband
> support) on a 2.6.32 client, 64bit.
>
> the specific error i get trying to build the client is:
>
> make CC="gcc" -C /usr/src/linux-source-2.6.32 \
> -f /home/chris/lustre-1.8.5/build/Makefile
For 2.6.32 kernels you should use 1.8.6, which built without problems for me
last night on an FC 12 client I set up.
I believe that we are also building .deb packages for Ubuntu on our build
servers, though I don''t know if they are tested much compared to RHEL
packages (that our paying customers use).
In any case, it has been possible to "make deb" (or "make
debs", I can''t recall offhand) for a while now.
> LUSTRE_LINUX_CONFIG=/usr/src/linux-source-2.6.32/.config \
> LINUXINCLUDE=''-I/usr/src/linux-source-2.6.32/include
> -I$(srctree)/arch/$(SRCARCH)/include -Iinclude $(if
> $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) -include
> include/linux/autoconf.h'' \
> M=/home/chris/lustre-1.8.5 -o tmp_include_depends -o scripts -o \
> include/config/MARKER modules
> make[3]: Entering directory `/usr/src/linux-source-2.6.32''
> CC [M] /home/chris/lustre-1.8.5/lustre/llite/llite_lib.o
> /home/chris/lustre-1.8.5/lustre/llite/llite_lib.c: In function
?ll_put_super?:
> /home/chris/lustre-1.8.5/lustre/llite/llite_lib.c:1210: error: ?struct
> backing_dev_info? has no member named ?wb_cnt?
> make[6]: *** [/home/chris/lustre-1.8.5/lustre/llite/llite_lib.o] Error 1
> make[5]: *** [/home/chris/lustre-1.8.5/lustre/llite] Error 2
> make[4]: *** [/home/chris/lustre-1.8.5/lustre] Error 2
> make[3]: *** [_module_/home/chris/lustre-1.8.5] Error 2
> make[3]: Leaving directory `/usr/src/linux-source-2.6.32''
> make[2]: *** [modules] Error 2
> make[2]: Leaving directory `/home/chris/lustre-1.8.5''
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/chris/lustre-1.8.5''
> make: *** [all] Error 2
>
> thanks in advance for any advice!
> _______________________________________________
> Lustre-discuss mailing list
> Lustre-discuss at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-discuss