Official Realtek Driver v1.95 Binary
-
@stephenw10 Got it; a 32-bit 10.3 VM worked. So the following was built against the RELENG_2_3 branch of https://github.com/pfsense/FreeBSD-src.git:
32-bit Realtek v1.95 Driver: if_re__ko_v195_32bit.zip
Please note that I do not have a 32-bit pfSense 2.3.5 system with which to test, so this module has not been tested by me.
-
@thenarc Working fine in my CI323, thanks for compiling this for us.
-
@wogman Glad to hear it! And no problem. I'll try to get one out ASAP once 2.4.4 is released also. In theory I believe I could do it in advance now by compiling against the official FreeBSD 11.2 kernel source, but I figure it's best to wait and compile against the pfSense 2.4.4 kernel source once it's finalized.
-
Thanks OP! I periodically check to see if Realtek has made any updates and was super pleased to see a binary already built.
CI 325 Nano user here. Did the update this morning, and all appears to be working well. Ran a handful of speedtests trying to stress things out a bit, so far so good. Will report back later if anything changes.
-
I have tried to compile the Realtek Driver version 1.95 following these instructions:
https://gist.github.com/jovimon/524e116471f249626fd2ccd141f3fe05
just changing the commands from 1.94 to those of 1.95.
However the size of my if_re_ko is slightly different to yours at 524584 bytes.
I did get the following messages after the make command, so I may have an issue:
https://vgy.me/Rp2XxO.jpg
Any help appreciated.
TIA
Greg
-
It's certainly possible that you might not get a bitwise identical binary if the compiler version and/or kernel sources were at all different. But that doesn't mean it's invalid either. Is there a reason you don't want to use the compiled 1.95 binaries already available? I'll be building one for 2.4.4 as well; I've just been holding off for the official release.
-
@thenarc said in Official Realtek Driver v1.95 Binary:
Is there a reason you don't want to use the compiled 1.95 binaries already available?
No not really, I just thought I would try and do it myself, I suppose just as practice/learning experience. Silly when you think about it I suppose.
What I do not understand is must the drivers be re-compiled for each version of pfSense or FreeBSD, or is it just best practice? Presently I have 1.94 drivers installed on the current stable release of pfSense (2.4.3-RELEASE-p1), so do they stop working, or cause issues, once I upgrade?
Thanks for taking the time to reply.
Greg
Edit: I'm assuming the messages after the make command were normal?
-
Nothing wrong with wanting to do it yourself. And I don't think that warning is anything to worry about. It was output before the compilation (the line beginning with "cc") even began. I believe that technically a re-compilation should only be necessary on major release changes of FreeBSD, which going from pfSense 2.4.3 to 2.4.4 will be (it's going from 10 to 11). So a re-compilation will be necessary for 2.4.4.
-
@thenarc said in Official Realtek Driver v1.95 Binary:
I believe that technically a re-compilation should only be necessary on major release changes of FreeBSD, which going from pfSense 2.4.3 to 2.4.4 will be (it's going from 10 to 11).
No it's going from 11.1 to 11.2.
-
@thenarc said in Official Realtek Driver v1.95 Binary:
I believe that technically a re-compilation should only be necessary on major release changes of FreeBSD, which going from pfSense 2.4.3 to 2.4.4 will be (it's going from 10 to 11). So a re-compilation will be necessary for 2.4.4.
So which comes first, upgrade from 2.4.3 to 2.4.4 and then re-compile and install. Or, re-compile and install and then upgrade from 2.4.3 to 2.4.4. Or does it not matter.
Sorry for all the dumb questions, just trying to understand.
-
@grimson said in Official Realtek Driver v1.95 Binary:
@thenarc said in Official Realtek Driver v1.95 Binary:
I believe that technically a re-compilation should only be necessary on major release changes of FreeBSD, which going from pfSense 2.4.3 to 2.4.4 will be (it's going from 10 to 11).
No it's going from 11.1 to 11.2.
It's going from 11.1-RELEASE-p10 to 11.2-RELEASE-p11.
-
No problem. It shouldn't really matter, it's just that if you have the driver compiled for 2.4.4 and are running 2.4.3, it will fail to load and will use the built-in driver. Likewise, if you have the driver compiled for 2.4.3 and are running 2.4.4, it will also fail and use the built-in driver. But no catastrophic failure will occur.
-
-
@thenarc said in Official Realtek Driver v1.95 Binary:
No problem. It shouldn't really matter, it's just that if you have the driver compiled for 2.4.4 and are running 2.4.3, it will fail to load and will use the built-in driver. Likewise, if you have the driver compiled for 2.4.3 and are running 2.4.4, it will also fail and use the built-in driver. But no catastrophic failure will occur.
Great, thanks for clearing that up.
-
@gregeeh said in Official Realtek Driver v1.95 Binary:
It's going from 11.1-RELEASE-p10 to 11.2-RELEASE-p11.
Nope. 11.2 is at p3 currently, p11 doesn't even exist yet for 11.2.
-
Hi TheNarc - Did you manage to compile v1.95 driver for pfSense 2.4.4 yet?
-
See: https://forum.netgate.com/topic/135850/official-realtek-driver-binary-1-95-for-2-4-4-release
Steve
-
I have made FreeBSD 12 package.
https://drive.google.com/file/d/1Ch4Z_w7gpbrpavQ4KhPUXUzYhRyzqnye/view?usp=sharing
I dont consider it my work - I have just packed it in one archive. It is stable for me on 12.0 p3 more than
"sed -i -e 's/TAILQ_FOREACH/CK_STAILQ_FOREACH/g' if_re.c"