<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 09/17/2013 07:40 AM, Phil Perry
      wrote:<br>
    </div>
    <blockquote cite="mid:52383FA8.9080302@elrepo.org" type="cite">
      <pre wrap="">On 17/09/13 12:08, Steve Clark wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hello list,

If I am using the kmod-e1000e driver and upgrade to the next kernel will
the
kmod-e1000e driver still be used or do I have to reinstall it. The
kmod-e1000e
driver fixes this issue:
<a class="moz-txt-link-freetext" href="http://www.spinics.net/lists/netdev/msg244462.html">http://www.spinics.net/lists/netdev/msg244462.html</a>


Thanks,
Steve


</pre>
      </blockquote>
      <pre wrap="">
Hi Steve,

In the vast majority of cases the kmod driver will continue to work 
seamlessly across kernel updates.

It is possible that changes to the kernel ABI between point updates (for 
example, between 6.3 and 6.4 kernels) could cause a kmod driver to fail, 
but this is relatively rare. If that does happen then in the vast 
majority of cases simply rebuilding the kmod driver package against the 
latest kernel will resolve the issues in which case a bug report to 
elrepo.org/bugs will get the issue resolved pretty quickly.

So either way, you shouldn't ever need to reinstall it.

You can test the process for yourself. Generally, if the module weak 
links against the new kernel then it should work. So, once you have 
installed the new kernel, try:

find /lib/modules/ -name e1000e.ko | grep 'weak\|extra'

the module was built against and installed to the "extra" directory, and 
is compatible with all installed kernels where it is symlinked into the 
"weak-updates" directories.

Here is an example of this from my EL5 system for the coretemp.ko module:

$ find /lib/modules/ -name coretemp.ko | grep 'weak\|extra'
/lib/modules/2.6.18-308.el5/weak-updates/coretemp/coretemp.ko
/lib/modules/2.6.18-348.el5/weak-updates/coretemp/coretemp.ko
/lib/modules/2.6.18-238.el5/extra/coretemp/coretemp.ko
/lib/modules/2.6.18-348.16.1.el5/weak-updates/coretemp/coretemp.ko
/lib/modules/2.6.18-274.el5/weak-updates/coretemp/coretemp.ko
/lib/modules/2.6.18-194.el5/weak-updates/coretemp/coretemp.ko

so, if I were running 5.8 and had just installed the 5.9 kernel 
(2.6.18-348.el5), the above output would indicate the driver should be 
compatible (which indeed it is).

Hope that helps,

Phil

Note: elrepo kmod packages are *not* compatible with elrepo kernel-ml 
and kernel-lt offerings.

</pre>
    </blockquote>
    Hi Phil,<br>
    <br>
    Thanks for the info. It does look like it should work:<br>
    <br>
    $ find /lib/modules/ -name e1000e.ko | grep 'weak\|extra'<br>
/lib/modules/2.6.32-358.11.1.el6.centos.plus.i686/weak-updates/e1000e/e1000e.ko<br>
    /lib/modules/2.6.32-279.el6.i686/extra/e1000e/e1000e.ko<br>
    <br>
    When we upgrade I'll verify the we are still using the kmod-e1000e
    driver.<br>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      Stephen&nbsp;Clark<br>
      <b>NetWolves</b><br>
      Director&nbsp;of&nbsp;Technology<br>
      Phone:&nbsp;813-579-3200<br>
      Fax:&nbsp;813-882-0209<br>
      Email:&nbsp;<a class="moz-txt-link-abbreviated" href="mailto:steve.clark@netwolves.com">steve.clark@netwolves.com</a><br>
      <a class="moz-txt-link-freetext" href="http://www.netwolves.com">http://www.netwolves.com</a><br>
    </div>
  </body>
</html>