[Pkg-lustre-maintainers] Bug#514351: patchless Lustre client for lenny

Ralf Utermann ralf.utermann at physik.uni-augsburg.de
Fri Feb 6 15:12:27 UTC 2009


Package: lustre-source
Version:  1.6.6-1
Severity: normal



For some Lustre clients, I would like to run a standard lenny with
a patchless Lustre installation.
I started with the Debian package lustre-source-1.6.6 from experimental,
but I get into two problems when compiling. I tried to fix these, and
the resulting modules do work. However I am not sure, whether 
especially the second fix is a good solution.

Here the details:

System: lenny, with 2.6.26-1-amd64 kernel
kernel source: linux-source-2.6.26 (2.6.26-13) 
Lustre: lustre-source 1.6.6-1 from experimental

Building lustre using "module-assistant build lustre"

1) problem 1 (llite_mmap.c):
  CC [M]  /usr/src/modules/lustre/lustre/llite/llite_mmap.o
  /usr/src/modules/lustre/lustre/llite/llite_mmap.c:626: error: unknown field 'populate' specified in initializer
  /usr/src/modules/lustre/lustre/llite/llite_mmap.c:626: error: 'll_populate' undeclared here (not in a function)
  
  This looks like an easy thing to fix, just putting the populate field 
  after the next one. I'll attach a patch for this. If I fix it this way, compilation continues,
  but then stops here:

2) problem 2 (lprocfs_status.c):
  CC [M]  /usr/src/modules/lustre/lustre/obdclass/lprocfs_status.o
  /usr/src/modules/lustre/lustre/obdclass/lprocfs_status.c: In function 'lprocfs_remove':
  /usr/src/modules/lustre/lustre/obdclass/lprocfs_status.c:318: error: implicit declaration of function 'LPROCFS_WRITE_ENTRY'
  /usr/src/modules/lustre/lustre/obdclass/lprocfs_status.c:340: error: implicit declaration of function 'LPROCFS_WRITE_EXIT'

  Just to get it compiled, I have #define'd these to functions to (0) in lprocfs_status.h,
  and then I get a lustre-modules-2.6.26-1-amd64_1.6.6_amd64.deb. The resulting modules
  do work on a test system.

  It looks like the #ifdef HAVE_PROCFS_DELETED is not found upstream, any hint why
  we need this in Debian? 


Kind regards, Ralf



-------------- next part --------------
A non-text attachment was scrubbed...
Name: llite_mmap.patch
Type: text/x-diff
Size: 521 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-lustre-maintainers/attachments/20090206/473d0b1b/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lprocfs_status.patch
Type: text/x-diff
Size: 383 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-lustre-maintainers/attachments/20090206/473d0b1b/attachment-0001.patch 


More information about the Pkg-lustre-maintainers mailing list