Hi, the patchless client modules worked before an update on a client node. Now it is running SLES 10 with kernel version 2.6.16.60-0.27-smp. Error message while compiling the modules: CC [M] /usr/src/lustre-1.6.5/lustre/llite/rw.o /usr/src/lustre-1.6.5/lustre/llite/rw.c: In function ?ll_file_lockless_io?: /usr/src/lustre-1.6.5/lustre/llite/rw.c:2095: error: too few arguments to function ?remove_suid? remove_suid is declared in the kernel src: extern int remove_suid(struct dentry *, struct vfsmount *); but is called in rw.c: remove_suid(file->f_dentry); I guess something has changed in the kernel api. Is there a fix for that problem? TIA Bastian -- Bastian Tweddell Juelich Supercomputing Centre (JSC) Forschungszentrum Juelich GmbH 52425 Juelich, Germany JSC is the coordinator of the John von Neumann Institute for Computing and member of the Gauss Centre for Supercomputing ------------------------------------------------------------------- ------------------------------------------------------------------- Forschungszentrum J?lich GmbH 52425 J?lich Sitz der Gesellschaft: J?lich Eingetragen im Handelsregister des Amtsgerichts D?ren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDir''in B?rbel Brumme-Bothe Gesch?ftsf?hrung: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt, Dr. Sebastian M. Schmidt ------------------------------------------------------------------- -------------------------------------------------------------------
On Mon, 2008-09-01 at 11:06 +0200, Bastian Tweddell wrote:> Hi, > > the patchless client modules worked before an update on a client node. Now > it is running SLES 10 with kernel version 2.6.16.60-0.27-smp. > > Error message while compiling the modules: > CC [M] /usr/src/lustre-1.6.5/lustre/llite/rw.o > /usr/src/lustre-1.6.5/lustre/llite/rw.c: In function ?ll_file_lockless_io?: > /usr/src/lustre-1.6.5/lustre/llite/rw.c:2095: error: too few arguments to function ?remove_suid? > > remove_suid is declared in the kernel src: > extern int remove_suid(struct dentry *, struct vfsmount *); > but is called in rw.c: > remove_suid(file->f_dentry);Have a look at bug 15308. b. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.lustre.org/pipermail/lustre-discuss/attachments/20080902/9492b464/attachment.bin
On 02.Sep.08 17:17 -0400, Brian J. Murrell wrote:> On Mon, 2008-09-01 at 11:06 +0200, Bastian Tweddell wrote: > > /usr/src/lustre-1.6.5/lustre/llite/rw.c: In function ?ll_file_lockless_io?: > > /usr/src/lustre-1.6.5/lustre/llite/rw.c:2095: error: too few arguments to function ?remove_suid? > > Have a look at bug 15308.Many thanks! I patched the sources (v1.6.5) with security plug patch v3. But the first try did not work out. The configure script has not defined HAVE_SECURITY_PLUG. So I hardcoded that into lustre_compat25.h and lustre modules were compiled well. ------------------------------------------------------------------- ------------------------------------------------------------------- Forschungszentrum J?lich GmbH 52425 J?lich Sitz der Gesellschaft: J?lich Eingetragen im Handelsregister des Amtsgerichts D?ren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDir''in B?rbel Brumme-Bothe Gesch?ftsf?hrung: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt, Dr. Sebastian M. Schmidt ------------------------------------------------------------------- -------------------------------------------------------------------
On Wed, 2008-09-03 at 13:19 +0200, Bastian Tweddell wrote:> > Many thanks! > I patched the sources (v1.6.5) with security plug patch v3. But the first try did > not work out. The configure script has not defined HAVE_SECURITY_PLUG.You need to run autogen.sh (and then re-run configure) any time a patch modifies any of the auto* tools files. b. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.lustre.org/pipermail/lustre-discuss/attachments/20080903/0bcf143a/attachment-0001.bin