<div>Hi, Oleg</div><div><br></div><div>I encountered the following error while building Lustre 2.1 release on Redhat 2.1, do you have any idea on this error?</div><div><br></div><div>make[1]: *** No rule to make target `/build/lustre-release/ldiskfs/Module.symvers&#39;, needed by `Module.symvers&#39;. Stop.</div>
<div><br></div><div><br></div><div>Full build log :</div><div>....</div><div>+ /usr/lib/rpm/redhat/brp-java-repack-jars</div><div>Processing files: lustre-iokit-1.2-201110021351.noarch</div><div>Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.IOpHyP</div>
<div>+ umask 022</div><div>+ cd /build/kernel/rpmbuild/BUILD</div><div>+ cd lustre-iokit-1.2</div><div>+ DOCDIR=/build/kernel/rpmbuild/BUILDROOT/lustre-iokit-1.2-201110021351.x86_64/usr/share/doc/lustre-iokit-1.2</div><div>
+ export DOCDIR</div><div>+ rm -rf /build/kernel/rpmbuild/BUILDROOT/lustre-iokit-1.2-201110021351.x86_64/usr/share/doc/lustre-iokit-1.2</div><div>+ /bin/mkdir -p /build/kernel/rpmbuild/BUILDROOT/lustre-iokit-1.2-201110021351.x86_64/usr/share/doc/lustre-iokit-1.2</div>
<div>+ cp -pr obdfilter-survey/README.obdfilter-survey /build/kernel/rpmbuild/BUILDROOT/lustre-iokit-1.2-201110021351.x86_64/usr/share/doc/lustre-iokit-1.2</div><div>+ cp -pr ior-survey/README.ior-survey /build/kernel/rpmbuild/BUILDROOT/lustre-iokit-1.2-201110021351.x86_64/usr/share/doc/lustre-iokit-1.2</div>
<div>+ cp -pr ost-survey/README.ost-survey /build/kernel/rpmbuild/BUILDROOT/lustre-iokit-1.2-201110021351.x86_64/usr/share/doc/lustre-iokit-1.2</div><div>+ cp -pr sgpdd-survey/README.sgpdd-survey /build/kernel/rpmbuild/BUILDROOT/lustre-iokit-1.2-201110021351.x86_64/usr/share/doc/lustre-iokit-1.2</div>
<div>+ cp -pr stats-collect/<a href="http://README.lstats.sh">README.lstats.sh</a> /build/kernel/rpmbuild/BUILDROOT/lustre-iokit-1.2-201110021351.x86_64/usr/share/doc/lustre-iokit-1.2</div><div>+ exit 0</div><div>Provides: lustre-iokit = 1.2</div>
<div>Requires(rpmlib): rpmlib(CompressedFileNames) &lt;= 3.0.4-1 rpmlib(FileDigests) &lt;= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) &lt;= 4.0-1 rpmlib(VersionedDependencies) &lt;= 3.0.3-1</div><div>Requires: /bin/bash /bin/sh /usr/bin/perl perl(File::Path) perl(Getopt::Long) perl(Getopt::Std) perl(POSIX)</div>
<div>Checking for unpackaged file(s): /usr/lib/rpm/check-files /build/kernel/rpmbuild/BUILDROOT/lustre-iokit-1.2-201110021351.x86_64</div><div>Wrote: /build/kernel/rpmbuild/SRPMS/lustre-iokit-1.2-201110021351.src.rpm</div>
<div>Wrote: /build/kernel/rpmbuild/RPMS/noarch/lustre-iokit-1.2-201110021351.noarch.rpm</div><div>Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0eXePd</div><div>+ umask 022</div><div>+ cd /build/kernel/rpmbuild/BUILD</div>
<div>+ cd lustre-iokit-1.2</div><div>+ /bin/rm -rf /build/kernel/rpmbuild/BUILDROOT/lustre-iokit-1.2-201110021351.x86_64</div><div>+ exit 0</div><div>make[1]: Leaving directory `/build/lustre-release/lustre-iokit&#39;</div>
<div>Finished rpms in lustre-iokit</div><div>make[1]: Entering directory `/build/lustre-release&#39;</div><div>make[1]: *** No rule to make target `/build/lustre-release/ldiskfs/Module.symvers&#39;, needed by `Module.symvers&#39;. Stop.</div>
<div>make[1]: Leaving directory `/build/lustre-release&#39;</div><div>make: *** [rpms] Error 2</div><div><br></div><div><br></div>Thanks,<div>-Jon.<br>
<br><br><div class="gmail_quote">On Thu, Sep 29, 2011 at 11:34 PM, Oleg Drokin <span dir="ltr">&lt;<a href="mailto:green@whamcloud.com">green@whamcloud.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello!<br>
<br>
  There is nothing special, same as rhel6.1:<br>
  unpack the lustre source, run autogen.sh, run configure and provide the path to the linux kernel source for your distro (need to patch first too), make.<br>
<br>
Bye,<br>
<font color="#888888">  Oleg<br>
</font><div><div></div><div class="h5">On Sep 29, 2011, at 11:21 PM, Jon Zhu wrote:<br>
<br>
&gt; Hi, Oleg<br>
&gt;<br>
&gt; Do we have a procedure on how to build v2.1 GA code on CentOS 5.6 (xen)? On whamcloud wiki I can only find build v2.1 on RHEL 6.1 or build v1.8 on CentOS 5.6.<br>
&gt;<br>
&gt; BTW, congratulations on the 2.1 release!<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Jon Zhu<br>
&gt; Sent from Google Mail<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Jun 24, 2011 at 2:43 PM, Oleg Drokin &lt;<a href="mailto:green@whamcloud.com">green@whamcloud.com</a>&gt; wrote:<br>
&gt; Hwllo~<br>
&gt;<br>
&gt; On Jun 23, 2011, at 9:51 PM, Jon Zhu wrote:<br>
&gt;<br>
&gt; &gt; I still got some crash when further run some I/O test with the build, here&#39;s some system message containing call stack info maybe be useful to you to find the bug:<br>
&gt;<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: ------------[ cut here ]------------<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: WARNING: at kernel/sched.c:7087 __cond_resched_lock+0x8e/0xb0() (Not tainted)<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: Modules linked in: lustre(U) lov(U) osc(U) lquota(U) mdc(U) fid(U) fld(U) ksocklnd(U) ptlrpc(U) obdclass(U) lnet(U) lvfs(U) libcfs(U) ldiskfs(U) sha256_generic cryptd aes_x86_64 aes_generic cbc dm_crypt autofs4 ipv6 microcode xen_netfront ext4 mbcache jbd2 xen_blkfront dm_mod [last unloaded: scsi_wait_scan]<br>

&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: Pid: 1421, comm: mount.lustre Not tainted 2.6.32.lustre21 #6<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: Call Trace:<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffff81069c37&gt;] ? warn_slowpath_common+0x87/0xc0<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffff81007671&gt;] ? __raw_callee_save_xen_save_fl+0x11/0x1e<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffff81069c8a&gt;] ? warn_slowpath_null+0x1a/0x20<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffff810654fe&gt;] ? __cond_resched_lock+0x8e/0xb0<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffff811a53b7&gt;] ? shrink_dcache_for_umount_subtree+0x187/0x340<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffff811a55a6&gt;] ? shrink_dcache_for_umount+0x36/0x60<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffff8118f4ff&gt;] ? generic_shutdown_super+0x1f/0xe0<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffff8118f5f1&gt;] ? kill_block_super+0x31/0x50<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffff811906b5&gt;] ? deactivate_super+0x85/0xa0<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffff811ac5af&gt;] ? mntput_no_expire+0xbf/0x110<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffffa0273f8e&gt;] ? unlock_mntput+0x3e/0x60 [obdclass]<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffffa0277a98&gt;] ? server_kernel_mount+0x268/0xe80 [obdclass]<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffffa0280d40&gt;] ? lustre_fill_super+0x0/0x1290 [obdclass]<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffffa0279070&gt;] ? lustre_init_lsi+0xd0/0x5b0 [obdclass]<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffff810ac71d&gt;] ? lock_release+0xed/0x220<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffffa0280fd0&gt;] ? lustre_fill_super+0x290/0x1290 [obdclass]<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffff8118ee20&gt;] ? set_anon_super+0x0/0x110<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffffa0280d40&gt;] ? lustre_fill_super+0x0/0x1290 [obdclass]<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffff8119035f&gt;] ? get_sb_nodev+0x5f/0xa0<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffffa0272885&gt;] ? lustre_get_sb+0x25/0x30 [obdclass]<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffff8118ffbb&gt;] ? vfs_kern_mount+0x7b/0x1b0<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffff81190162&gt;] ? do_kern_mount+0x52/0x130<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffff811ae647&gt;] ? do_mount+0x2e7/0x870<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffff811aec60&gt;] ? sys_mount+0x90/0xe0<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: [&lt;ffffffff8100b132&gt;] ? system_call_fastpath+0x16/0x1b<br>
&gt; &gt; Jun 23 21:46:12 ip-10-112-59-173 kernel: ---[ end trace a8fb737c71bfba13 ]---<br>
&gt;<br>
&gt; This is not a crash, it&#39;s just a warning about scheduling in inappropriate context I guess, but the kernel will continue to work.<br>
&gt; Interesting that I have never seen anything like that in rhel5 xen kernels, perhaps it&#39;s something with rhel6.1 xen?<br>
&gt;<br>
&gt; Bye,<br>
&gt;  Oleg<br>
&gt; --<br>
&gt; Oleg Drokin<br>
&gt; Senior Software Engineer<br>
&gt; Whamcloud, Inc.<br>
&gt;<br>
&gt;<br>
<br>
--<br>
Oleg Drokin<br>
Senior Software Engineer<br>
Whamcloud, Inc.<br>
<br>
</div></div></blockquote></div><br></div>