A method that can be used on Ubuntu is as follows:
- Create a .deb package
from the
RPM:
$ sudo alien -c onload-dkms-<version>.noarch.rpmYou must use the
-coption otherwise the driver binary will not be built. - Make sure the .deb package is created:
$ ls onload-dkms_<version>_all.deb onload-dkms-<version>.noarch.rpm - Install the .deb
package (this takes a few
minutes):
$ sudo dpkg -i onload-dkms_<version>_all.debThis produces a lot of output while it builds the following components:
sfc, sfc_affinity.ko, sfc_char.ko, sfc_resource.ko, and onload.ko.
Note: Instead of creating and installing a .deb package
(1 - 3 above), you can use the alien command to
install directly from the RPM:
$ sudo alien --scripts -i onload-dkms-<version>.noarch.rpm
This produces a lot of output similar to the previous method.
Note:
Onload is now installed but the kernel modules are not yet loaded.
Continue reading from Loading the Onload Drivers.