User Tools

Site Tools


install_drivers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
install_drivers [2017/01/09 02:53] – Overhaul mister_xinstall_drivers [2017/01/10 00:56] – ["unknown symbol" error] Updated kernel versions mister_x
Line 127: Line 127:
 If you use the RPM package manager then "rpm -qa | grep kernel" So if you get something like: If you use the RPM package manager then "rpm -qa | grep kernel" So if you get something like:
  
-   kernel-headers-2.6.24.4-64.fc8 +  kernel-tools-libs-3.10.0-514.2.2.el7.x86_64 
-   kernel-2.6.24.4-64.fc8 +  kernel-headers-3.10.0-514.2.2.el7.x86_64 
-   kernel-devel-2.6.24.4-64.fc8 +  kernel-3.10.0-514.2.2.el7.x86_64 
-   kernel-headers-2.6.24.1-15.fc8 +  kernel-3.10.0-327.13.1.el7.x86_64 
-   kernel-2.6.24.1-15.fc8 +  kernel-devel-3.10.0-327.el7.x86_64 
-   kernel-devel-2.6.24.1-15.fc8+  kernel-devel-3.10.0-514.2.2.el7.x86_64 
 +  kernel-devel-3.10.0-327.18.2.el7.x86_64 
 +  kernel-tools-3.10.0-514.2.2.el7.x86_64 
 +  kernel-devel-3.10.0-327.13.1.el7.x86_64 
 +  kernel-3.10.0-327.18.2.el7.x86_64 
 +  kernel-3.10.0-327.el7.x86_64
  
 In the example above, there are kernel headers and a kernel development package that match the kernel we are running.  If you are missing them, the use yum or equivalent on your distribution to install them such as: In the example above, there are kernel headers and a kernel development package that match the kernel we are running.  If you are missing them, the use yum or equivalent on your distribution to install them such as:
Line 139: Line 144:
    yum -y install kernel-devel    yum -y install kernel-devel
  
-Lets assume that "uname -r" returned "2.6.24.4-64.fc8" then all the 2.6.24.1-15 ones are old and need to be removed.  So you remove all the old ones:+Lets assume that "uname -r" returned "3.10.0-514.2.2.el7.x86_64" then all the 3.10.0-327 ones are old and need to be removed.  So you remove all the old ones:
  
-   rpm -e 2.6.24.4-64.fc8 +   rpm -e kernel-3.10.0-327.13.1.el7.x86_64 
-   rpm -e kernel-2.6.24.1-15.fc8 +   rpm -e kernel-devel-3.10.0-327.el7.x86_64 
-   rpm -e kernel-devel-2.6.24.1-15.fc8+   rpm -e kernel-devel-3.10.0-327.18.2.el7.x86_64 
 +   rpm -e kernel-devel-3.10.0-327.13.1.el7.x86_64 
 +   rpm -e kernel-3.10.0-327.18.2.el7.x86_64 
 +   rpm -e kernel-3.10.0-327.el7.x86_64
  
 Also change to "/lib/modules" and do a directory listing and remove any directory referring to old kernel versions. Also change to "/lib/modules" and do a directory listing and remove any directory referring to old kernel versions.
install_drivers.txt · Last modified: 2018/10/05 23:27 by mister_x