What Do I Do If "Failed to insert module 'autofs4'" Is Displayed After a dmesg Command Is Executed?
Symptom
A server is configured with PCIe cards and its network port IP address assignment mode is Dynamic Host Configuration Protocol (DHCP). When the dmesg | grep –i fail command is executed after the system starts, the message "Failed to insert module 'autofs4'" is displayed, as shown in Figure 11-3.
Cause Analysis
This fault is caused by a kernel bug. For details about the kernel bug, see the description on the Oracle website at https://docs.oracle.com/cd/E52668_01/E69348/html/ol7-rn-18470449.html.
Figure 11-4 shows the description on the Oracle website.
Solution
Upgrade the kernel.
- Go to http://public-yum.oracle.com/oracle-linux-7.html to open the kernel download page. Figure 11-5 shows the kernel download page.
- Click UEK Release 4: X86_64, Source.
- Download the kernel-uek-4.XX.x86_64.rpm file of the latest version and the kernel-uek-devel-4.XX.x86_64.rpm file of the same version. Figure 11-6 and Figure 11-7 show the example files.
- Copy the kernel files to a directory on the operating system (OS). Then run the rpm -Uvh kernel-uek-4.XX.x86_64.rpm --nodeps command to install the kernel, and run the rpm -Uvh kernel-uek-devel-4.XX.x86_64.rpm command to install the devel file.
The latest driver versions igb-5.3.5.3 and ixgbe-4.3.15 from Intel cannot be compiled in the kernel of the latest version (4.xx). You can use the driver versions that come with the OS.
The later ixgbe and igb driver versions released by Intel may support the kernel of the 4.xx version. If necessary, download the later driver versions and try to compile the drivers in kernel 4.xx.