OPNsense Forum

English Forums => Development and Code Review => Topic started by: estragon on February 14, 2022, 07:48:12 pm

Title: Future updates of Freebsd 13
Post by: estragon on February 14, 2022, 07:48:12 pm
Update 22.1 having integrated version 13 of Freebsd, I discovered that my machies have a problem with this version.
I use converted machines from the Watchguard XTM 850/870/1250 series...
After a lot of research and help from several people, I found that it came from the APEI part (has write in an other post, setting in boot loader "set hint.apei.0.disabled=1" make a work around for the moment).

After having been able to make a detailed report to the person in charge of this part on Freebsd - Alexander Motin -. He made a modification of the code which now makes it possible to run correctly the new version of Freebsd 13, on machines like the one I use.

My question is to know if the transmission of the tree structure of Freebsd 13, on the future iterations of OPnsense 22.1 will be done automatically (and thus will automatically integrate the patch) or if I must submit this to the development team (unfortunately not being able to have the skills to do it myself).
Title: Re: Future updates of Freebsd 13
Post by: mimugmail on February 14, 2022, 07:57:17 pm
Do you have a link of FreeBSD report?
Title: Re: Future updates of Freebsd 13
Post by: franco on February 14, 2022, 08:03:47 pm
Yes, we can discuss inclusion of things that go into the FreeBSD main branch if they fix something, we can test patches stuck Bugzilla if there are willing testers. In any case a reference to the report or commit would help tremendously.

Otherwise we end up "waiting" for the patch to hit whatever FreeBSD release we are targeting next (currently that is FreeBSD 13.1 for OPNsense 22.7) if the patch is actually included there (surprise: some are not).


Cheers,
Franco
Title: Re: Future updates of Freebsd 13
Post by: estragon on February 14, 2022, 08:55:25 pm
thank you for your feedback

Quote
... I am happy that it helped you.  I've just merged the patch to both FreeBSD stable/13 and stable/12 ...
 https://cgit.freebsd.org/src/commit/?id=376fd49ae3b9f07e122a3479f65c9414b38d7bae

for my part it makes it possible to install OPNsense 22.1 on several Lanner or Watchguard machines, and I would gladly try to do the test, (if I succeed!)

For the record, I was on PFsense before and when they upgrade from Freebsd 11.3 to Freebsd 12.2 I found myself stuck, but I hadn't understood the exact cause. On the other hand it allowed me to discover OPNsense which was based on an earlier version of Freebsd did not pose a problem. The switch to 22.1 (and Freebsd 13) made the problem reappear, but thanks to the help of people from the community and help ho Motin, I was able to better understand the problem and bring it up, hoping that it helps other people too (anyway i hope).

Thank you
Title: Re: Future updates of Freebsd 13
Post by: franco on February 15, 2022, 03:10:23 pm
I don't mind adding this since it hit stable/13 already.

https://github.com/opnsense/src/commit/10d43e45b83f

So that will likely end up in 22.1.2 or 22.1.3 depending on which updates the kernel, but not 22.1.1 which is already built and due tomorrow.

We will have new images for 22.1.x at some point as internally discussed so that one is good to integrate for sure.


Cheers,
Franco
Title: Re: Future updates of Freebsd 13
Post by: estragon on February 15, 2022, 04:19:44 pm
Thank you very much for your return, and the consideration of my request.

Since the problem appears during the installation, it will be more productive if I manage to test with an installation image of 22.1.2 (or 22.1.3). In addition, it will allow me to do the tests on a machine other than the "production" one.
To download the beta images of 22.1.2 are they public for help with test ? (Because I don't have the ability to make a clean image from the sources, and we wouldn't know if the problem comes again, if it's from the code, or more probably from my lack of experience!).
Otherwise I would gladly wait for it to be online when the time comes to make some test to help.

In any case, thank you very much for all the work and cordial greetings.

Regards.
Title: Re: Future updates of Freebsd 13
Post by: franco on February 15, 2022, 05:19:49 pm
I can provide an unofficial image tomorrow based on 22.1.1 with the fixed kernel. I assume it's "vga" you are looking for?


Cheers,
Franco
Title: Re: Future updates of Freebsd 13
Post by: estragon on February 16, 2022, 10:46:30 am
Yes, it is a "VGA" that I use.
But I don't want to take your time, especially since from the moment it's in the pipeline, I could do the tests even later.
In any case, thank you very much.

Thanks again for all your work and to all contributors.

Best regards.
Title: Re: Future updates of Freebsd 13
Post by: franco on February 16, 2022, 07:31:51 pm
Image as promised. https://pkg.opnsense.org/FreeBSD:13:amd64/snapshots/misc/OPNsense-202202161337-OpenSSL-vga-amd64.img.bz2


Cheers,
Franco
Title: Re: Future updates of Freebsd 13
Post by: estragon on February 17, 2022, 01:13:56 pm
THAT WORKS !!!

Thank you very much .... I was able to do the tests and it is very stable ...
Watchguard's XTM range of machines (in fact Lanner machines) can be started without any problem and without the need of workarounds.
I good to test on an XTM-870F and XTM-1525 with a 10G fiber connection and it seems very great ....

Thank you very much.
Title: Re: Future updates of Freebsd 13
Post by: franco on February 17, 2022, 01:37:58 pm
Sounds good. For the time being make sure to avoid updates until 22.1.x supports this natively. Could be 22.1.2 or 22.1.3... we are not sure yet.

(but the image can be used in production without issues, it's just not officially vetted and signed)


Cheers,
Franco