@TheNarc said in Cannot load a compiled .ko Intel NIC driver to pfSense 2.4.5:
The stable/11 branch is here:
https://github.com/freebsd/freebsd/commits/stable/11
But I've been unsuccessful in linking r357046 to a commit hash, which is not entirely surprising as I'm not too well versed in git. I thought github's search would be able to find it, but I haven't had luck yet. I'll let you know if I locate it though.
It will be good to know, but I managed to compile it as follows:
The VM image didn't had enough space, so I've created a VM from 11.3-STABLE ISO
Installed subversion (svn)
Used the following:
svn checkout https://svn.FreeBSD.org/base/release/11.3.0 /usr/src/
to download the source - So you were right using Release SRC on STABLE. I still don't understand why it works, but I'm glad it did.
What I saw in the FreeBSD svn manual, is that we can use svn -r (and the number of revision), in order to update the source to exact revision. But it didn't worked for me, or it's a more complex syntax, or I don't have access to the repository. If you find out please let me know. We will need it when pfSense based on FreeBSD 12 will be released :)
In the end I would like to thank you, for all your tips @TheNarc , @stephenw10 and @jimp . It worked 👍