-
Notifications
You must be signed in to change notification settings - Fork 545
Description
In the context of #528 I observed that the netmap drivers (netmap.ko and the nm-adapted NIC device drivers) are not loaded after boot. A simple
rmmod ixgbe modprobe ixgbe
loads the modified ixgbe driver (for example) and the netmap driver as a consequence.
I conclude from my investigations that the (standard) drivers are loaded "too early" at boottime, when the physical disks are not yet mounted, but the kernel is still running on the ram image (which contains only the standard system drivers). I failed to twiddle the SystemD startup sequence in order to delay the network driver loading to a later point. (Actually the may be needed to boot diskless systems, which rely on the system disk to be accessible via NFS for example.)
My solution was to create a SystemD service *netmap.service", which simply reloads the ixgbe module and restarts the network.service then, in order to bring all interfaces, which were using these drivers, up again.
- Did anybody find a better solution?
- Are you interested in the recipe/sources via git?
- Is there a command like
lsnmdriverswhich would properly list those NIC drivers, which can use netmap for a given system/distribution? (Maybe with an option to list only drivers presently in use or "all" (-a)?