OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: d3pr3cat3d on February 12, 2021, 09:38:57 pm

Title: v21.1 stil using old if_em driver
Post by: d3pr3cat3d on February 12, 2021, 09:38:57 pm
I was really hoping to see an updated driver.  :-[
updating to version 21.1 reverted me back to:

Code: [Select]
# 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?
Code: [Select]
>>> 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
Title: Re: v21.1 stil using old if_em driver
Post by: franco on February 13, 2021, 09:42:25 pm
Hoping, why? How should it magically appear in the same FreeBSD version?


Cheers,
Franco
Title: Re: v21.1 stil using old if_em driver
Post by: d3pr3cat3d on February 13, 2021, 11:50:12 pm
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:
Quote
How 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?
Title: Re: v21.1 stil using old if_em driver
Post by: almodovaris on February 14, 2021, 12:30:00 am
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.
Title: Re: v21.1 stil using old if_em driver
Post by: d3pr3cat3d on February 14, 2021, 08:51:44 pm
you are correct almodovaris.

I have created a tutorial on it. Thanks!

https://forum.opnsense.org/index.php?topic=21517.msg101148#msg101148