It should work fine under Ubuntu 18.04. It also should work
under Arch Linux. What OS are you running currently? If it's not
too old or too weird, I may be able to add some ifdefs so it
works.
Distributions that screw around with the kernel
(redhat/centos/etc.) are a different story. The reported kernel
version is not reliable for determining which features are present
due to the amount of patch backporting that takes place. An
alternative technique is required. Therefore, those distributions
are currently not supported.
Alex Forencich
--
You received this message because you are subscribed to the Google Groups "corundum-nic" group.
To unsubscribe from this group and stop receiving emails from it, send an email to corundum-nic...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/corundum-nic/2ce5b7bd-847b-43ff-9df6-7c6b5d0f3f4cn%40googlegroups.com.
Ah, I see, you're on centos. Yeah, you'll have to move over to
Ubuntu or Debian or something that doesn't mess around with the
kernel as much, at least for the time being.
Alex Forencich
To view this discussion on the web visit https://groups.google.com/d/msgid/corundum-nic/42fb320a-9c84-4669-8599-2128d62dfef4n%40googlegroups.com.
What I have observed so far is that if the module compiles
successfully, it's highly likely to work. Generally the main
thing to worry about are kernel API changes (renamed method or
struct member), and those changes generally prevent the module
from compiling. So I think in your case there is a good chance
that it will work without requiring any significant
modifications.
But this does highlight the problems with supporting
RHEL/Centos....in this case it seems they back-ported a bunch of
kernel code from 5.2.0 or possibly a more recent release, so now
they have a kernel that has features and internal APIs that look
like 5.2.0, but it reports kernel version 4.18.0. Ideally,
supporting RHEL/Centos would be useful, but I don't have the time
to go figure out when things changed in the RHEL kernels so I can
add all of the correct ifdefs based on the redhat release
information.
Alex Forencich
To view this discussion on the web visit https://groups.google.com/d/msgid/corundum-nic/9df1bae3-2526-41bc-b9df-c22275f7adf5n%40googlegroups.com.