v21.1 stil using old if_em driver

Started by d3pr3cat3d, February 12, 2021, 09:38:57 PM

Previous topic - Next topic
I was really hoping to see an updated driver.  :-[
updating to version 21.1 reverted me back to:

# strings /boot/kernel/if_em.ko | grep '7.*'
...................
7.6.1-k


Can a package not be included to upgrade the driver?
https://forum.opnsense.org/index.php?topic=18922.msg86510#msg86510

I had to manually update the if_em driver to 7.7.8 to be able to use the interfaces on my motherboard.

and when I ran kldload it crashed the system but it booted up fine and has been running the past week w/o issue(s).

But this may have tainted the kernel?
>>> Check for missing or altered kernel files
Error 2 ocurred.
boot/kernel/if_em.ko:
size (452264, 407664)
sha256digest (0x62f2834640257d977749b40f648fad77fed5bccef7e89d9bb350fc3d42a625d4, 0xebd3c948caa4f55ddb45fafb187aa93f5588017fad777281b59f94c5211de2f1)
>>> Check installed base version
Version 21.1 is correct.


Reference:
https://forum.opnsense.org/index.php?topic=18922.msg86503#msg86503

Hoping, why? How should it magically appear in the same FreeBSD version?


Cheers,
Franco

February 13, 2021, 11:50:12 PM #2 Last Edit: February 13, 2021, 11:55:12 PM by d3pr3cat3d
I was hoping because the roadmap for 21.1
Quote
Fix stability and reliability issues with regard to vmx(4), vtnet(4), ixl(4), ix(4) and em(4) ethernet drivers.

So I was "hoping" that the fix would lead to an updated driver.

But with your comment:
QuoteHow should it magically appear in the same FreeBSD version?

I understand now that OPNsense will follow the FreeBSD version.

In FreeBSD it is a pkg intel-em-kmod that has the updated driver v7.7.8

Will this package be available in OPNsense? Or should users continue with copying the driver from the FreeBSD package?

February 14, 2021, 12:30:00 AM #3 Last Edit: February 14, 2021, 12:32:55 AM by almodovaris
You should not copy it from regular FreeBSD. However compiling it inside Opnsense is fine.

Oh, yes, I compiled 7.7.8 from Intel and it works.
OPNsense HW:

Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD