<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>When I ran into the problem, I did an rpm -I --nodeps and it worked fine. &nbsp;The errors you are seeing are dependencies listed in the RPMs, not ones used by the actual .ko's.</div>
<div><br>
</div>
<div>I spent some time trying to dig up where the 'kmod-' prefix for all the kernel symbols was getting inserted, but couldn't track it down.</div>
<div><br>
</div>
<div>-Ben Evans</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>lustre-devel &lt;<a href="mailto:lustre-devel-bounces@lists.lustre.org">lustre-devel-bounces@lists.lustre.org</a>&gt; on behalf of Patrick Farrell &lt;<a href="mailto:paf@cray.com">paf@cray.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Thursday, August 18, 2016 at 6:11 PM<br>
<span style="font-weight:bold">To: </span>&quot;Christopher J. Morrone&quot; &lt;<a href="mailto:morrone2@llnl.gov">morrone2@llnl.gov</a>&gt;, &quot;<a href="mailto:lustre-devel@lists.lustre.org">lustre-devel@lists.lustre.org</a>&quot; &lt;<a href="mailto:lustre-devel@lists.lustre.org">lustre-devel@lists.lustre.org</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Re: [lustre-devel] CentOS 6 - Build problems with kmod<br>
</div>
<div><br>
</div>
<div><style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><br>
</p>
<meta content="text/html; charset=UTF-8">
<div dir="ltr">
<div id="x_divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p><span style="color:rgb(33,33,33); font-size:13.3333px">Chris,</span></p>
<p><br>
</p>
<p>I agree with your contention about the kernel symbols, that's why I rebuilt from scratch and reinstalled. &nbsp;Just did it again.&nbsp; Still getting the error.</p>
<p><span style="color:rgb(33,33,33); font-size:13.3333px"></span></p>
<p><span style="color:rgb(33,33,33); font-size:13.3333px"><br>
</span></p>
<p><span style="color:rgb(33,33,33); font-size:13.3333px">&gt; It sounds like you built your own kernel.&nbsp; Did you install all the</span><br style="color:rgb(33,33,33); font-size:13.3333px">
<span style="color:rgb(33,33,33); font-size:13.3333px">&gt; resulting kernel packages before building lustre (including any</span><br style="color:rgb(33,33,33); font-size:13.3333px">
<span style="color:rgb(33,33,33); font-size:13.3333px">&gt; devel-related packages)?&nbsp;</span></p>
<p><span style="color:rgb(33,33,33); font-size:13.3333px">Yes, but this process doesn't produce anything other than the kernel&nbsp;RPM.</span></p>
<p><br>
</p>
<p><span style="color:rgb(33,33,33); font-size:13.3333px">&gt;&nbsp;Is your custom kernel the newest kernel</span><br style="color:rgb(33,33,33); font-size:13.3333px">
<span style="color:rgb(33,33,33); font-size:13.3333px">&gt; installed on your system?</span><br>
</p>
<p><span style="color:rgb(33,33,33); font-size:13.3333px">Yes. &nbsp;It's the newest and it's what's booted.</span></p>
<p><span style="color:rgb(33,33,33); font-size:13.3333px"></span></p>
<p><span style="color:rgb(33,33,33); font-size:13.3333px"><br>
</span></p>
<p><span style="color:rgb(33,33,33); font-size:13.3333px">So, does anyone have any insight in to what needs to change in the documented build process so I can build and install Lustre on CentOS 6? &nbsp;(ldisksfs, not ZFS, so I must build the kernel)&nbsp; It seems likely
 that I'm missing some symbol RPMs or similar, but kernel-syms is a SuSE only thing, I believe. &nbsp;I believe Intel is still building and installing ldiskfs Lustre on CentOS 6, so there must be something...?</span></p>
<p><span style="color:rgb(33,33,33); font-size:13.3333px"><br>
</span></p>
<p><span style="color:rgb(33,33,33); font-size:13.3333px">- Patrick</span></p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri,sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> lustre-devel &lt;<a href="mailto:lustre-devel-bounces@lists.lustre.org">lustre-devel-bounces@lists.lustre.org</a>&gt; on behalf of Christopher
 J. Morrone &lt;<a href="mailto:morrone2@llnl.gov">morrone2@llnl.gov</a>&gt;<br>
<b>Sent:</b> Thursday, August 18, 2016 3:44:52 PM<br>
<b>To:</b> <a href="mailto:lustre-devel@lists.lustre.org">lustre-devel@lists.lustre.org</a><br>
<b>Subject:</b> Re: [lustre-devel] CentOS 6 - Build problems with kmod</font>
<div>&nbsp;</div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">On 08/18/2016 01:43 PM, Christopher J. Morrone wrote:<br>
&gt; Yes, those instructions should be taken with a huge grain of salt.&nbsp; For<br>
&gt; instance, instructions for compiling lustre should really employ a<br>
<br>
s/should/should NOT/<br>
<br>
&gt; custom user and talk about &quot;useradd&quot; and such.&nbsp; Also, most users can<br>
&gt; skip the whole custom-patched-kernel section.&nbsp; Hopefully all developers<br>
&gt; will be able to stop that too by the time 2.9.0 comes out.<br>
&gt; <br>
&gt; The error you are seeing almost certainly means that you don't have a<br>
&gt; kernel installed that offers symbols compatible with the kernel that<br>
&gt; lustre was compiled against.<br>
&gt; <br>
&gt; It sounds like you built your own kernel.&nbsp; Did you install all the<br>
&gt; resulting kernel packages before building lustre (including any<br>
&gt; devel-related packages)?&nbsp; Is your custom kernel the newest kernel<br>
&gt; installed on your system?<br>
&gt; <br>
&gt; Chris<br>
&gt; <br>
&gt; On 08/18/2016 01:00 PM, Patrick Farrell wrote:<br>
&gt;&gt; Good afternoon,<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I'm trying to build and install updated Lustre master on CentOS 6 for<br>
&gt;&gt; the first time in a month or two, and I'm having trouble.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I use the build procedure documented here:<br>
&gt;&gt;<br>
&gt;&gt; <a href="https://wiki.hpdd.intel.com/pages/viewpage.action?pageId=8126821" id="LPlnk846361">
https://wiki.hpdd.intel.com/pages/viewpage.action?pageId=8126821</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I've got some new kmod-* RPMs, and I need to install those to install<br>
&gt;&gt; Lustre, which is fine, except I get a huge string of messages like this<br>
&gt;&gt; when I try:<br>
&gt;&gt;<br>
&gt;&gt; error: Failed dependencies:<br>
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ksym(__init_waitqueue_head) = 0xffc7c184 is needed by<br>
&gt;&gt; kmod-lustre-2.8.56_44_g288e55b_dirty-1.el6.x86_64<br>
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ksym(__mutex_init) = 0x4bf79039 is needed by<br>
&gt;&gt; kmod-lustre-2.8.56_44_g288e55b_dirty-1.el6.x86_64<br>
&gt;&gt;<br>
&gt;&gt; I've rebuilt and reinstalled my kernel with this latest version of<br>
&gt;&gt; Lustre.&nbsp; Error messages remain the same, and I can't install.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Any thoughts or advice?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; - Patrick<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; lustre-devel mailing list<br>
&gt;&gt; <a href="mailto:lustre-devel@lists.lustre.org">lustre-devel@lists.lustre.org</a><br>
&gt;&gt; <a href="http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org</a><br>
&gt;&gt;<br>
&gt; <br>
&gt; .<br>
&gt; <br>
<br>
_______________________________________________<br>
lustre-devel mailing list<br>
<a href="mailto:lustre-devel@lists.lustre.org">lustre-devel@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org</a><br>
</div>
</span></font></div>
</div>
</div>
</span>
</body>
</html>