Updated Unix Realtek Drivers (1.96.04)

Started by lox, August 10, 2020, 07:31:03 AM

Previous topic - Next topic
August 10, 2020, 07:31:03 AM Last Edit: August 10, 2020, 07:35:46 AM by lox
Hello,

I have made a pull request in order to update the Realtek drivers to support Ordoid H2+.

How can I make use of it straight away ? I see in this thread that user @franco advised to update the kernel with a command like:

Quote from: franco link=topic=9644.msg43933#msg43933
# opnsense-update -kr 18.7.2-re
# opnsense-shell reboot


How can I do so ?


Hi,

Thanks for the contribution. Due to the size of the code it's barely auditable so we need to take the driver from the download page and integrate this from our end, build a test kernel and provide it here.

Trouble with Realtek is that they haven't released a driver in a longer time now and though we look about every month for it's easy to miss...


Cheers,
Franco

I only replaced the files with the ones downloaded but I understand the security wise reasons.

Just tell me when the kernel is ready, I have an Odroid H2+ ready for testing.

Hi,

Retained your original commit with a small change for ARM builds that is not in the upstream driver....

Kernel can be installed like so:

# opnsense-update -kr 20.7-re-mcast
# opnsense-shell reboot


Cheers,
Franco

That was fast thks.

Maybe the build isn't finished I get:

# opnsense-update -kr 20.7-re-mcast
Fetching kernel-20.7-re-mcast-amd64.txz: ..... failed, no signature found

August 10, 2020, 01:25:41 PM #5 Last Edit: August 10, 2020, 01:29:25 PM by franco
Sorry, too fast it seems. Had to build another one for the multicast reports and removed the first one to avoid confusion...

# opnsense-update -kr 20.7-re-mcast2
# opnsense-shell reboot


Cheers,
Franco

Thank heaps it works. Is it included in 20.7.1 ?

Its not included in 20.7.1 as far as i can tell.
The RTL8125B is not supported, eventhough the drivers mentioned should contain support for it. Moreover the specific command franco posted does not work anymore as it seems to be removed.

Quote from: MartB on August 25, 2020, 03:50:26 PM
Its not included in 20.7.1 as far as i can tell.
The RTL8125B is not supported, eventhough the drivers mentioned should contain support for it. Moreover the specific command franco posted does not work anymore as it seems to be removed.

perhaps this can help :

https://forums.serverbuilds.net/t/guide-resolve-realtek-nic-stability-issues-on-pfsense-2-4-4-2-4-5-2-5-0-opnsense-use-2-5gb-realtek/3555

verifyed working build - with the RTL8125B confirmed working - I understand the best way would be OPNSENSE to compile it themselves - but here is a module that works.

You can use this one...

# opnsense-update -kr 20.7.1-netmap4


Cheers,
Franco

I didn't see this in the 20.7.2 release notes. Is it targeted for a later release?
AMD Ryzen 3 1200
GA-A320M-S2H
8GB DDR4
Intel X550-T2 10GB
32GB Industrial SSD

Shuttle SZ270R8
Intel i5-6500
8gb ram
120gb ssd
Intel x540-t2 10gb nic

Yes, feedback has been quite low...


Cheers,
Franco

I tossed opnsense-update -kr 20.7.1-netmap4 on one of my boxes. I'll let you know if I run into any issues.

Adam
AMD Ryzen 3 1200
GA-A320M-S2H
8GB DDR4
Intel X550-T2 10GB
32GB Industrial SSD

Shuttle SZ270R8
Intel i5-6500
8gb ram
120gb ssd
Intel x540-t2 10gb nic

Thanks Adam. Careful with the netmap changes so far bundled with that same kernel (IPS and Sensei) ... still not reliable in these two feature sets. Everything else is fine.


Cheers,
Franco

September 06, 2020, 11:46:28 AM #14 Last Edit: September 06, 2020, 11:54:16 AM by MartB
Im running on this realtek driver version (compiled the module myself by cherry picking the opnsense commit) for 2 weeks now and its rock stable. Im not using any sort of IDS though, but the NIC driver is stable so far. (~80 GB transfered from wan to lan in the last 7 days)

I will only update this whenever it reaches beta / GA to avoid having to hookup to the device with a monitor / serial again haha.