murray smigel
2008-Dec-08 19:34 UTC
[Lustre-discuss] build patchless client 1.6.6 for, linux-2.6.26.5?
> I checked out b_release_1_6_6 and applied> patchless2.6.26er-support.patch from bugzilla 14250 > I ran sh autogen.sh > and > ./configure --with-linux=/usr/src/linux-2.6.26.5/ > --with-linux-obj=/usr/src/linux-2.6.26.5/ > --with-linux-config=/usr/src/linux-2.6.26.5/.config --disable-server > > The make fails as follows: > > $ make ... > CC [M] /public/lustre/lustre-1.6.6/lnet/libcfs/linux/linux-curproc.o > /public/lustre/lustre-1.6.6/lnet/libcfs/linux/linux-curproc.c:134: > error: expected ''='', '','', '';'', ''asm'' or ''__attribute__'' before > ''cfs_cap_convert_from_kernel'' > Any ideas about a fix? Yes, you probably need to apply the patch from bug 15949 before the patch from bug 14250. b. ** Ok, I applied patch -p0 < 15949-b16-v1.patch patch -p1 < patchless2.6.26er-support.patch to the 1.6.6 cvs source. It now gets further, but terminates with: make CC="gcc" -C /usr/src/linux-2.6.26.5/ \ -f /public/lustre/lustre-1.6.6/build/Makefile LUSTRE_LINUX_CONFIG=/usr/src/linux-2.6.26.5/.config \ LINUXINCLUDE=''-I/usr/src/linux-2.6.26.5//include -Iinclude $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) -include include/linux/autoconf.h'' \ M=/public/lustre/lustre-1.6.6 -o tmp_include_depends -o scripts -o \ include/config/MARKER modules make[3]: Entering directory `/usr/src/linux-2.6.26.5'' LD /public/lustre/lustre-1.6.6/lnet/klnds/o2iblnd/built-in.o CC [M] /public/lustre/lustre-1.6.6/lnet/klnds/o2iblnd/o2iblnd.o CC [M] /public/lustre/lustre-1.6.6/lnet/klnds/o2iblnd/o2iblnd_cb.o CC [M] /public/lustre/lustre-1.6.6/lnet/klnds/o2iblnd/o2iblnd_modparams.o LD [M] /public/lustre/lustre-1.6.6/lnet/klnds/o2iblnd/ko2iblnd.o LD /public/lustre/lustre-1.6.6/lnet/klnds/socklnd/built-in.o CC [M] /public/lustre/lustre-1.6.6/lnet/klnds/socklnd/socklnd.o CC [M] /public/lustre/lustre-1.6.6/lnet/klnds/socklnd/socklnd_cb.o CC [M] /public/lustre/lustre-1.6.6/lnet/klnds/socklnd/socklnd_modparams.o CC [M] /public/lustre/lustre-1.6.6/lnet/klnds/socklnd/socklnd_lib-linux.o LD [M] /public/lustre/lustre-1.6.6/lnet/klnds/socklnd/ksocklnd.o LD /public/lustre/lustre-1.6.6/lnet/libcfs/built-in.o CC [M] /public/lustre/lustre-1.6.6/lnet/libcfs/linux/linux-tracefile.o CC [M] /public/lustre/lustre-1.6.6/lnet/libcfs/linux/linux-debug.o CC [M] /public/lustre/lustre-1.6.6/lnet/libcfs/linux/linux-prim.o CC [M] /public/lustre/lustre-1.6.6/lnet/libcfs/linux/linux-mem.o CC [M] /public/lustre/lustre-1.6.6/lnet/libcfs/linux/linux-fs.o CC [M] /public/lustre/lustre-1.6.6/lnet/libcfs/linux/linux-sync.o CC [M] /public/lustre/lustre-1.6.6/lnet/libcfs/linux/linux-tcpip.o CC [M] /public/lustre/lustre-1.6.6/lnet/libcfs/linux/linux-lwt.o CC [M] /public/lustre/lustre-1.6.6/lnet/libcfs/linux/linux-proc.o CC [M] /public/lustre/lustre-1.6.6/lnet/libcfs/linux/linux-curproc.o CC [M] /public/lustre/lustre-1.6.6/lnet/libcfs/linux/linux-utils.o CC [M] /public/lustre/lustre-1.6.6/lnet/libcfs/linux/linux-module.o CC [M] /public/lustre/lustre-1.6.6/lnet/libcfs/debug.o CC [M] /public/lustre/lustre-1.6.6/lnet/libcfs/nidstrings.o CC [M] /public/lustre/lustre-1.6.6/lnet/libcfs/lwt.o CC [M] /public/lustre/lustre-1.6.6/lnet/libcfs/module.o CC [M] /public/lustre/lustre-1.6.6/lnet/libcfs/tracefile.o CC [M] /public/lustre/lustre-1.6.6/lnet/libcfs/watchdog.o LD [M] /public/lustre/lustre-1.6.6/lnet/libcfs/libcfs.o LD /public/lustre/lustre-1.6.6/lnet/lnet/built-in.o CC [M] /public/lustre/lustre-1.6.6/lnet/lnet/api-errno.o CC [M] /public/lustre/lustre-1.6.6/lnet/lnet/api-ni.o CC [M] /public/lustre/lustre-1.6.6/lnet/lnet/config.o CC [M] /public/lustre/lustre-1.6.6/lnet/lnet/lib-me.o CC [M] /public/lustre/lustre-1.6.6/lnet/lnet/lib-msg.o CC [M] /public/lustre/lustre-1.6.6/lnet/lnet/lib-eq.o CC [M] /public/lustre/lustre-1.6.6/lnet/lnet/lib-md.o CC [M] /public/lustre/lustre-1.6.6/lnet/lnet/lib-move.o CC [M] /public/lustre/lustre-1.6.6/lnet/lnet/module.o CC [M] /public/lustre/lustre-1.6.6/lnet/lnet/lo.o CC [M] /public/lustre/lustre-1.6.6/lnet/lnet/router.o CC [M] /public/lustre/lustre-1.6.6/lnet/lnet/router_proc.o CC [M] /public/lustre/lustre-1.6.6/lnet/lnet/acceptor.o CC [M] /public/lustre/lustre-1.6.6/lnet/lnet/peer.o LD [M] /public/lustre/lustre-1.6.6/lnet/lnet/lnet.o LD /public/lustre/lustre-1.6.6/lnet/selftest/built-in.o CC [M] /public/lustre/lustre-1.6.6/lnet/selftest/console.o CC [M] /public/lustre/lustre-1.6.6/lnet/selftest/conrpc.o CC [M] /public/lustre/lustre-1.6.6/lnet/selftest/conctl.o CC [M] /public/lustre/lustre-1.6.6/lnet/selftest/framework.o CC [M] /public/lustre/lustre-1.6.6/lnet/selftest/timer.o CC [M] /public/lustre/lustre-1.6.6/lnet/selftest/rpc.o CC [M] /public/lustre/lustre-1.6.6/lnet/selftest/workitem.o CC [M] /public/lustre/lustre-1.6.6/lnet/selftest/module.o CC [M] /public/lustre/lustre-1.6.6/lnet/selftest/ping_test.o CC [M] /public/lustre/lustre-1.6.6/lnet/selftest/brw_test.o LD [M] /public/lustre/lustre-1.6.6/lnet/selftest/lnet_selftest.o LD /public/lustre/lustre-1.6.6/lustre/llite/built-in.o CC [M] /public/lustre/lustre-1.6.6/lustre/llite/lloop.o /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:155: warning: ''request_queue_t'' is deprecated /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:286: warning: ''request_queue_t'' is deprecated /public/lustre/lustre-1.6.6/lustre/llite/lloop.c: In function ''loop_make_request'': /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:315: error: implicit declaration of function ''cfs_bio_io_error'' /public/lustre/lustre-1.6.6/lustre/llite/lloop.c: At top level: /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:325: warning: ''request_queue_t'' is deprecated /public/lustre/lustre-1.6.6/lustre/llite/lloop.c: In function ''loop_handle_bio'': /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:337: error: implicit declaration of function ''cfs_bio_endio'' /public/lustre/lustre-1.6.6/lustre/llite/lloop.c: In function ''loop_thread'': /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:364: warning: ignoring return value of ''down_interruptible'', declared with attribute warn_unused_result make[6]: *** [/public/lustre/lustre-1.6.6/lustre/llite/lloop.o] Error 1 make[5]: *** [/public/lustre/lustre-1.6.6/lustre/llite] Error 2 make[4]: *** [/public/lustre/lustre-1.6.6/lustre] Error 2 make[3]: *** [_module_/public/lustre/lustre-1.6.6] Error 2 make[3]: Leaving directory `/usr/src/linux-2.6.26.5'' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/public/lustre/lustre-1.6.6'' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/public/lustre/lustre-1.6.6'' make: *** [all] Error 2 What else do I need? Thanks, murray smigel
Andreas Dilger
2008-Dec-09 00:35 UTC
[Lustre-discuss] build patchless client 1.6.6 for, linux-2.6.26.5?
On Dec 08, 2008 14:34 -0500, murray smigel wrote:> Ok, I applied > patch -p0 < 15949-b16-v1.patch > patch -p1 < patchless2.6.26er-support.patch > to the 1.6.6 cvs source. > It now gets further, but terminates with: > > make CC="gcc" -C /usr/src/linux-2.6.26.5/ \ > -f /public/lustre/lustre-1.6.6/build/Makefile > CC [M] /public/lustre/lustre-1.6.6/lustre/llite/lloop.o > /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:155: warning: > ''request_queue_t'' is deprecated > /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:286: warning: > ''request_queue_t'' is deprecated > /public/lustre/lustre-1.6.6/lustre/llite/lloop.c: In function > ''loop_make_request'': > /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:315: error: implicit > declaration of function ''cfs_bio_io_error'' > /public/lustre/lustre-1.6.6/lustre/llite/lloop.c: At top level: > /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:325: warning: > ''request_queue_t'' is deprecated > /public/lustre/lustre-1.6.6/lustre/llite/lloop.c: In function > ''loop_handle_bio'': > /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:337: error: implicit > declaration of function ''cfs_bio_endio'' > /public/lustre/lustre-1.6.6/lustre/llite/lloop.c: In function ''loop_thread'': > /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:364: warning: ignoring > return value of ''down_interruptible'', declared with attribute > warn_unused_resultPlease file a bug for this that blocks the 2.6.26 client bug so that it will be fixed. As a workaround you can remove "lloop" from the lustre/llite/Makefile.in and lustre/llite/autoMakefile.am files. Cheers, Andreas -- Andreas Dilger Sr. Staff Engineer, Lustre Group Sun Microsystems of Canada, Inc.
murray smigel
2008-Dec-09 13:26 UTC
[Lustre-discuss] build patchless client 1.6.6 for, linux-2.6.26.5?
Andreas Dilger wrote:> On Dec 08, 2008 14:34 -0500, murray smigel wrote: > >> Ok, I applied >> patch -p0 < 15949-b16-v1.patch >> patch -p1 < patchless2.6.26er-support.patch >> to the 1.6.6 cvs source. >> It now gets further, but terminates with: >> >> make CC="gcc" -C /usr/src/linux-2.6.26.5/ \ >> -f /public/lustre/lustre-1.6.6/build/Makefile >> CC [M] /public/lustre/lustre-1.6.6/lustre/llite/lloop.o >> /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:155: warning: >> ''request_queue_t'' is deprecated >> /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:286: warning: >> ''request_queue_t'' is deprecated >> /public/lustre/lustre-1.6.6/lustre/llite/lloop.c: In function >> ''loop_make_request'': >> /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:315: error: implicit >> declaration of function ''cfs_bio_io_error'' >> /public/lustre/lustre-1.6.6/lustre/llite/lloop.c: At top level: >> /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:325: warning: >> ''request_queue_t'' is deprecated >> /public/lustre/lustre-1.6.6/lustre/llite/lloop.c: In function >> ''loop_handle_bio'': >> /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:337: error: implicit >> declaration of function ''cfs_bio_endio'' >> /public/lustre/lustre-1.6.6/lustre/llite/lloop.c: In function ''loop_thread'': >> /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:364: warning: ignoring >> return value of ''down_interruptible'', declared with attribute >> warn_unused_result >> > > Please file a bug for this that blocks the 2.6.26 client bug so that > it will be fixed. As a workaround you can remove "lloop" from the > lustre/llite/Makefile.in and lustre/llite/autoMakefile.am files. > > Cheers, Andreas > -- > Andreas Dilger > Sr. Staff Engineer, Lustre Group > Sun Microsystems of Canada, Inc. > >** If I remove the lloop references as suggested it gets further but bombs out with complaining about path_release not being defined in lustre/llite/symlink.c If I comment out this call (I don''t see it anywhere in the lustre or kernel source), it then terminates: make[3]: Entering directory `/usr/src/linux-2.6.26.5'' CC [M] /public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.o /public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.c: In function ''push_ctxt'': /public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.c:151: error: implicit declaration of function ''cfs_fs_pwd'' /public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.c:151: error: invalid type argument of ''->'' /public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.c:153: warning: passing argument 1 of ''dget'' makes pointer from integer without a cast /public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.c:154: error: implicit declaration of function ''cfs_fs_mnt'' /public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.c:154: warning: passing argument 1 of ''mntget'' makes pointer from integer without a cast /public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.c: In function ''pop_ctxt'': /public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.c:208: warning: comparison between pointer and integer /public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.c:208: warning: format ''%p'' expects type ''void *'', but argument 10 has type ''int'' /public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.c:210: warning: comparison between pointer and integer /public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.c:210: warning: format ''%p'' expects type ''void *'', but argument 10 has type ''int'' make[6]: *** [/public/lustre/lustre-1.6.6/lustre/lvfs/lvfs_linux.o] Error 1 make[5]: *** [/public/lustre/lustre-1.6.6/lustre/lvfs] Error 2 make[4]: *** [/public/lustre/lustre-1.6.6/lustre] Error 2 make[3]: *** [_module_/public/lustre/lustre-1.6.6] Error 2 make[3]: Leaving directory `/usr/src/linux-2.6.26.5'' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/public/lustre/lustre-1.6.6'' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/public/lustre/lustre-1.6.6'' make: *** [all] Error 2 thanks, murray smigel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20081209/d1afc651/attachment-0001.html
Alex Lyashkov
2008-Dec-15 18:55 UTC
[Lustre-discuss] build patchless client 1.6.6 for, linux-2.6.26.5?
On Mon, 2008-12-08 at 16:35 -0800, Andreas Dilger wrote:> On Dec 08, 2008 14:34 -0500, murray smigel wrote: > > Ok, I applied > > patch -p0 < 15949-b16-v1.patch > > patch -p1 < patchless2.6.26er-support.patch > > to the 1.6.6 cvs source. > > It now gets further, but terminates with: > > > /public/lustre/lustre-1.6.6/lustre/llite/lloop.c: In function > > ''loop_handle_bio'': > > /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:337: error: implicit > > declaration of function ''cfs_bio_endio'' > > /public/lustre/lustre-1.6.6/lustre/llite/lloop.c: In function ''loop_thread'': > > /public/lustre/lustre-1.6.6/lustre/llite/lloop.c:364: warning: ignoring > > return value of ''down_interruptible'', declared with attribute > > warn_unused_result > > Please file a bug for this that blocks the 2.6.26 client bug so that > it will be fixed. As a workaround you can remove "lloop" from the > lustre/llite/Makefile.in and lustre/llite/autoMakefile.am files. >already fixed in last patch for 2.6.27 support. -- Alex Lyashkov <Alexey.lyashkov at sun.com> Lustre Group, Sun Microsystems
Papp Tamás
2008-Dec-16 13:01 UTC
[Lustre-discuss] build patchless client 1.6.6 for, linux-2.6.26.5?
Alex Lyashkov wrote:> > already fixed in last patch for 2.6.27 support. >If you mean this: https://bugzilla.lustre.org/attachment.cgi?id=20588 and https://bugzilla.lustre.org/attachment.cgi?id=20643 I tried it: ./configure --with-linux=/usr/src/kernels/2.6.26.5-21.fc8-x86_64/ --disable-server --disable-doc --disable-tests --disable-libcfs-cdebug [...] CC [M] /usr/src/download/lustre/lnet/libcfs/linux/linux-prim.o /usr/src/download/lustre/lnet/libcfs/linux/linux-prim.c: In function ?cfs_enter_debugger?: /usr/src/download/lustre/lnet/libcfs/linux/linux-prim.c:52: error: implicit declaration of function ?BREAKPOINT? make[6]: *** [/usr/src/download/lustre/lnet/libcfs/linux/linux-prim.o] Error 1 make[5]: *** [/usr/src/download/lustre/lnet/libcfs] Error 2 make[4]: *** [/usr/src/download/lustre/lnet] Error 2 make[3]: *** [_module_/usr/src/download/lustre] Error 2 make[3]: Leaving directory `/usr/src/kernels/2.6.26.5-21.fc8-x86_64'' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/usr/src/download/lustre'' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/download/lustre'' make: *** [all] Error 2 Do I something wrong or should be opened a ticket about it? Thank you, tamas
Papp Tamás
2008-Dec-16 14:24 UTC
[Lustre-discuss] build patchless client 1.6.6 for, linux-2.6.26.5?
Papp Tam?s wrote:> Alex Lyashkov wrote: >> >> already fixed in last patch for 2.6.27 support. >> > If you mean this: > https://bugzilla.lustre.org/attachment.cgi?id=20588 and > https://bugzilla.lustre.org/attachment.cgi?id=20643 > > I tried it: > > ./configure --with-linux=/usr/src/kernels/2.6.26.5-21.fc8-x86_64/ > --disable-server --disable-doc --disable-tests --disable-libcfs-cdebug > [...] > > CC [M] /usr/src/download/lustre/lnet/libcfs/linux/linux-prim.o > /usr/src/download/lustre/lnet/libcfs/linux/linux-prim.c: In function > ?cfs_enter_debugger?: > /usr/src/download/lustre/lnet/libcfs/linux/linux-prim.c:52: error: > implicit declaration of function ?BREAKPOINT? > make[6]: *** [/usr/src/download/lustre/lnet/libcfs/linux/linux-prim.o] > Error 1 > make[5]: *** [/usr/src/download/lustre/lnet/libcfs] Error 2 > make[4]: *** [/usr/src/download/lustre/lnet] Error 2 > make[3]: *** [_module_/usr/src/download/lustre] Error 2 > make[3]: Leaving directory `/usr/src/kernels/2.6.26.5-21.fc8-x86_64'' > make[2]: *** [modules] Error 2 > make[2]: Leaving directory `/usr/src/download/lustre'' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/download/lustre'' > make: *** [all] Error 2 > > > Do I something wrong or should be opened a ticket about it?Of course I missed some info again. It''s FC 8 and also applied the mm and the nfs patch with no luck. Thank you, tamas