Skip to content

Netmap does not start on RHEL7 after boot #529

@DirkHoffmann

Description

@DirkHoffmann

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.

  1. Did anybody find a better solution?
  2. Are you interested in the recipe/sources via git?
  3. Is there a command like lsnmdrivers which 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)?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions