Red Hat 6


I've been working away on two drivers, one is a DMA driver that talks to a PCIe FPGA card. The other, a network driver. The network driver has a dependency on the DMA driver. I have manually added the modules using modprobe and it works as expected. lsmod shows the dependency as expected:

modprobe xgbeth
[root@axh-dt sysadmin]# lsmod | grep xgbeth
xgbeth                 33963  0
xdma                  171879  1 xgbeth

I'm now trying to get these modules to load at boot. I followed this guide: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/sec-persistent_module_loading

I ended up with a .modules file in /etc/sysconfig/modules/ with the following content:

exec /sbin/modprobe xgbeth

Now, on a reboot. I can see the xdma driver being loaded (and can see it in lsmod), but the xgbeth driver isn't being loaded. I have to manually load it using modprobe.

I can't see any messages that indicate anything going wrong in /var/log/messages

Can anybody shed any light as to where this might be going wrong?


If you change something about the kernel (include kernel modules), it's always a good idea to update the initrd.


  • Thanks for the tip. Tried it but unfortunately still no joy getting the xgbeth module loaded on boot. – Adi Sep 27 '18 at 15:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.