two issues on OPNsense 26.1.3-amd64

Started by andreasglashauser, March 06, 2026, 09:27:57 AM

Previous topic - Next topic
I currently have two different issues, I am not sure whether they are related or not.

The first issue existed for some time already: I can't update my system anymore without manual intervention.
I usually update my system via cron and it doesnt work because my system never reboots. If i click  "Click to check for updates." via the dashboard I can see that all updates where downlaoded, but that there are problems with rebooting. I get the popup dialog that shows "Performing reboot to finish this update. The system is being rebooted at the moment, please wait...". However, it never reboots and after some time i get redirected to the dashboard again.

I noticed it already on 25. What I initially did was that I access my system via ssh, ran various commands I unfortunately dont remember (I think i deleted the update cache, deleted some /var/log files, and other stuff. I dont know what really solved the issue unfortunately, I always thought this was the last time I would have to do this...)

The (new?) crash reporter shows the following:
System information
User-Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36
FreeBSD 14.3-RELEASE-p8 stable/26.1-n271977-c961e158e272 SMP amd64
OPNsense 26.1.3 f4b4c76f9
Plugins os-cpu-microcode-intel-1.1 os-etpro-telemetry-1.8 os-isc-dhcp-1.0_4
Time Fri, 06 Mar 2026 08:25:54 +0000
OpenSSL 3.0.19
Python 3.13.12
PHP 8.3.30


PHP errors:
[06-Mar-2026 08:08:52 Etc/UTC] PHP Fatal error:  Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /usr/local/etc/inc/system.inc:1328
Stack trace:
#0 /usr/local/etc/inc/system.inc(1328): fwrite(false, '#\n')
#1 /usr/local/www/system_advanced_admin.php(390): system_login_configure()
#2 {main}
  thrown in /usr/local/etc/inc/system.inc on line 1328
[06-Mar-2026 08:08:57 Etc/UTC] PHP Fatal error:  Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /usr/local/etc/inc/system.inc:1328
Stack trace:
#0 /usr/local/etc/inc/system.inc(1328): fwrite(false, '#\n')
#1 /usr/local/www/system_advanced_admin.php(390): system_login_configure()
#2 {main}
  thrown in /usr/local/etc/inc/system.inc on line 1328
[06-Mar-2026 08:24:00 Etc/UTC] PHP Fatal error:  Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /usr/local/etc/inc/system.inc:1328
Stack trace:
#0 /usr/local/etc/inc/system.inc(1328): fwrite(false, '#\n')
#1 /usr/local/www/system_advanced_admin.php(390): system_login_configure()
#2 {main}
  thrown in /usr/local/etc/inc/system.inc on line 1328

dmesg.boot:
---<<BOOT>>---
Copyright (c) 1992-2023 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 14.3-RELEASE-p8 stable/26.1-n271977-c961e158e272 SMP amd64
FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)
[1] VT(vga): resolution 640x480
[1] CPU microcode: no matching update found
[1] CPU: Intel(R) Pentium(R) Silver N6005 @ 2.00GHz (1996.80-MHz K8-class CPU)
[1]   Origin="GenuineIntel"  Id=0x906c0  Family=0x6  Model=0x9c  Stepping=0
[1]   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
[1]   Features2=0x4ff8ebbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,RDRAND>
[1]   AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
[1]   AMD Features2=0x101<LAHF,Prefetch>
[1]   Structured Extended Features=0x2394a2c3<FSGSBASE,TSCADJ,FDPEXC,SMEP,ERMS,NFPUSG,PQE,RDSEED,SMAP,CLFLUSHOPT,CLWB,PROCTRACE,SHA>
[1]   Structured Extended Features2=0x18400124<UMIP,WAITPKG,GFNI,RDPID,MOVDIRI,MOVDIR64B>
[1]   Structured Extended Features3=0xfc000400<MD_CLEAR,IBPB,STIBP,L1DFL,ARCH_CAP,CORE_CAP,SSBD>
[1]   XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
[1]   IA32_ARCH_CAPS=0x14020c6b<RDCL_NO,IBRS_ALL,SKIP_L1DFL_VME,MDS_NO>
[1]   VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr
[1]   TSC: P-state invariant, performance statistics
[1] real memory  = 17179869184 (16384 MB)
[1] avail memory = 16441466880 (15679 MB)
[1] Event timer "LAPIC" quality 600
[1] ACPI APIC Table: <COREv4 COREBOOT>
[1] WARNING: L1 data cache covers fewer APIC IDs than a core (0 < 1)
[1] FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
[1] FreeBSD/SMP: 1 package(s) x 4 core(s)
[1] random: registering fast source Intel Secure Key RNG
[1] random: fast provider: "Intel Secure Key RNG"
[1] random: unblocking device.
[1] ioapic0 <Version 2.0> irqs 0-119
[1] Launching APs: 3 2 1
[1] random: entropy device external interface
[1] wlan: mac acl policy registered
[1] kbd0 at kbdmux0
[1] WARNING: Device "spkr" is Giant locked and may be deleted before FreeBSD 15.0.
[1] efirtc0: <EFI Realtime Clock>
[1] efirtc0: registered as a time-of-day clock, resolution 1.000000s
[1] smbios0: <System Management BIOS> at iomem 0x78332000-0x78332017
[1] smbios0: Entry point: v3 (64-bit), Version: 3.3
[1] aesni0: <AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS,SHA1,SHA256>
[1] acpi0: <COREv4 COREBOOT>
[1] acpi0: Power Button (fixed)
[1] hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
[1] Timecounter "HPET" frequency 19200000 Hz quality 950
[1] Event timer "HPET" frequency 19200000 Hz quality 550
[1] Event timer "HPET1" frequency 19200000 Hz quality 440
[1] Event timer "HPET2" frequency 19200000 Hz quality 440
[1] Event timer "HPET3" frequency 19200000 Hz quality 440
[1] Event timer "HPET4" frequency 19200000 Hz quality 440
[1] atrtc0: <AT realtime clock> port 0x70-0x77 on acpi0
[1] atrtc0: registered as a time-of-day clock, resolution 1.000000s
[1] Event timer "RTC" frequency 32768 Hz quality 0
[1] attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
[1] Timecounter "i8254" frequency 1193182 Hz quality 0
[1] Event timer "i8254" frequency 1193182 Hz quality 100
[1] Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
[1] acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0
[1] pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
[1] pci0: <ACPI PCI bus> on pcib0
[1] vgapci0: <VGA-compatible display> port 0x1000-0x103f mem 0x90000000-0x90ffffff,0x80000000-0x8fffffff at device 2.0 on pci0
[1] vgapci0: Boot video device
[1] xhci0: <XHCI (generic) USB 3.0 controller> mem 0x91a00000-0x91a0ffff at device 20.0 on pci0
[1] xhci0: 32 bytes context size, 64-bit DMA
[1] usbus0 on xhci0
[1] usbus0: 5.0Gbps Super Speed USB v3.0
[1] pci0: <memory, RAM> at device 20.2 (no driver attached)
[1] pci0: <simple comms> at device 22.0 (no driver attached)
[1] sdhci_pci0: <Generic SD HCI> mem 0x91a18000-0x91a18fff at device 26.0 on pci0
[1] sdhci_pci0: 1 slot(s) allocated
[1] mmc0: <MMC/SD bus> on sdhci_pci0
[1] pcib1: <ACPI PCI-PCI bridge> at device 28.0 on pci0
[1] pci1: <ACPI PCI bus> on pcib1
[1] pcib2: <PCI-PCI bridge> at device 0.0 on pci1
[1] pci2: <PCI bus> on pcib2
[1] pcib3: <PCI-PCI bridge> at device 0.0 on pci2
[1] pci3: <PCI bus> on pcib3
[1] igc0: <Intel(R) Ethernet Controller I226-V> mem 0x91000000-0x910fffff,0x91100000-0x91103fff at device 0.0 on pci3
[1] igc0: EEPROM V2.13-0 eTrack 0x80000286
[1] igc0: Using 1024 TX descriptors and 1024 RX descriptors
[1] igc0: Using 4 RX queues 4 TX queues
[1] igc0: Using MSI-X interrupts with 5 vectors
[1] igc0: Ethernet address: 64:62:66:2f:1d:e0
[1] igc0: netmap queues/slots: TX 4/1024, RX 4/1024
[1] pcib4: <PCI-PCI bridge> at device 2.0 on pci2
[1] pci4: <PCI bus> on pcib4
[1] igc1: <Intel(R) Ethernet Controller I226-V> mem 0x91200000-0x912fffff,0x91300000-0x91303fff at device 0.0 on pci4
[1] igc1: EEPROM V2.13-0 eTrack 0x80000286
[1] igc1: Using 1024 TX descriptors and 1024 RX descriptors
[1] igc1: Using 4 RX queues 4 TX queues
[1] igc1: Using MSI-X interrupts with 5 vectors
[1] igc1: Ethernet address: 64:62:66:2f:1d:e1
[1] igc1: netmap queues/slots: TX 4/1024, RX 4/1024
[1] pcib5: <PCI-PCI bridge> at device 6.0 on pci2
[1] pci5: <PCI bus> on pcib5
[1] igc2: <Intel(R) Ethernet Controller I226-V> mem 0x91400000-0x914fffff,0x91500000-0x91503fff at device 0.0 on pci5
[1] igc2: EEPROM V2.13-0 eTrack 0x80000286
[1] igc2: Using 1024 TX descriptors and 1024 RX descriptors
[1] igc2: Using 4 RX queues 4 TX queues
[1] igc2: Using MSI-X interrupts with 5 vectors
[1] igc2: Ethernet address: 64:62:66:2f:1d:e2
[1] igc2: netmap queues/slots: TX 4/1024, RX 4/1024
[1] pcib6: <PCI-PCI bridge> at device 14.0 on pci2
[1] pci6: <PCI bus> on pcib6
[1] pcib7: <ACPI PCI-PCI bridge> at device 28.3 on pci0
[1] pci7: <ACPI PCI bus> on pcib7
[1] nvme0: <Generic NVMe Device> mem 0x91800000-0x91803fff at device 0.0 on pci7
[1] pcib8: <ACPI PCI-PCI bridge> at device 28.4 on pci0
[1] pci8: <ACPI PCI bus> on pcib8
[1] igc3: <Intel(R) Ethernet Controller I226-V> mem 0x7fc00000-0x7fcfffff,0x7fd00000-0x7fd03fff at device 0.0 on pci8
[1] igc3: EEPROM V2.13-0 eTrack 0x80000286
[1] igc3: Using 1024 TX descriptors and 1024 RX descriptors
[1] igc3: Using 4 RX queues 4 TX queues
[1] igc3: Using MSI-X interrupts with 5 vectors
[1] igc3: Ethernet address: 64:62:66:2f:1d:e3
[1] igc3: netmap queues/slots: TX 4/1024, RX 4/1024
[1] pcib9: <ACPI PCI-PCI bridge> at device 28.5 on pci0
[1] pci9: <ACPI PCI bus> on pcib9
[1] igc4: <Intel(R) Ethernet Controller I226-V> mem 0x7fe00000-0x7fefffff,0x7ff00000-0x7ff03fff at device 0.0 on pci9
[1] igc4: EEPROM V2.13-0 eTrack 0x80000286
[1] igc4: Using 1024 TX descriptors and 1024 RX descriptors
[1] igc4: Using 4 RX queues 4 TX queues
[1] igc4: Using MSI-X interrupts with 5 vectors
[1] igc4: Ethernet address: 64:62:66:2f:1d:e4
[1] igc4: netmap queues/slots: TX 4/1024, RX 4/1024
[1] pcib10: <ACPI PCI-PCI bridge> at device 28.6 on pci0
[1] pci10: <ACPI PCI bus> on pcib10
[1] igc5: <Intel(R) Ethernet Controller I226-V> mem 0x91600000-0x916fffff,0x91700000-0x91703fff at device 0.0 on pci10
[1] igc5: EEPROM V2.13-0 eTrack 0x80000286
[1] igc5: Using 1024 TX descriptors and 1024 RX descriptors
[1] igc5: Using 4 RX queues 4 TX queues
[1] igc5: Using MSI-X interrupts with 5 vectors
[1] igc5: Ethernet address: 64:62:66:2f:1d:e5
[1] igc5: netmap queues/slots: TX 4/1024, RX 4/1024
[1] isab0: <PCI-ISA bridge> at device 31.0 on pci0
[1] isa0: <ISA bus> on isab0
[1] hdac0: <Intel Jasper Lake HDA Controller> mem 0x91a10000-0x91a13fff,0x91900000-0x919fffff at device 31.3 on pci0
[1] pci0: <serial bus> at device 31.5 (no driver attached)
[1] cpu0: <ACPI CPU> on acpi0
[1] ns8250: UART FCR is broken
[1] ns8250: UART FCR is broken
[1] uart0: <16550 or compatible> at port 0x3f8 irq 4 flags 0x10 on isa0
[1] ns8250: UART FCR is broken
[1] uart0: console (115200,n,8,1)
[1] est0: <Enhanced SpeedStep Frequency Control> on cpu0
[1] cpufreq0: <CPU frequency control> on cpu0
[1] cpufreq1: <CPU frequency control> on cpu1
[1] cpufreq2: <CPU frequency control> on cpu2
[1] cpufreq3: <CPU frequency control> on cpu3
[1] Timecounter "TSC" frequency 1996803613 Hz quality 1000
[1] Timecounters tick every 1.000 msec
[2] ZFS filesystem version: 5
[2] ZFS storage pool version: features support (5000)
[2] ugen0.1: <Intel XHCI root HUB> at usbus0
[2] uhub0 on usbus0
[2] uhub0: <Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
[2] mmcsd0: 31GB <MMCHC BJTD4R 0.3 SN 78FEFE52 MFG 08/2023 by 21 0x0000> at mmc0 200.0MHz/8bit/8192-block
[2] mmcsd0boot0: 4MB partition 1 at mmcsd0
[2] mmcsd0boot1: 4MB partition 2 at mmcsd0
[2] mmcsd0rpmb: 4MB partition 3 at mmcsd0
[2] nvme0: Allocated 64MB host memory buffer
[2] hdacc0: <Intel Jasper Lake HDA CODEC> at cad 2 on hdac0
[2] hdaa0: <Intel Jasper Lake Audio Function Group> at nid 1 on hdacc0
[2] pcm0: <Intel Jasper Lake (HDMI/DP 8ch)> at nid 4 on hdaa0
[2] nda0 at nvme0 bus 0 scbus0 target 0 lun 1
nda0: <KINGSTON SNV3S1000G P3BR0A23 50026B73839000AB>
nda0: Serial Number 50026B73839000AB
[2] nda0: nvme version 1.4
nda0: 953869MB (1953525168 512 byte sectors)
[2] Trying to mount root from zfs:zroot/ROOT/20250501185705 []...
[2] uhub0: 14 ports with 14 removable, self powered
[3] ugen0.2: <VIA Labs, Inc. USB2.0 Hub> at usbus0
[3] uhub1 on uhub0
[3] uhub1: <VIA Labs, Inc. USB2.0 Hub, class 9/0, rev 2.10/0.50, addr 1> on usbus0
[3] Root mount waiting for:uhub1: MTT enabled
[3]  usbus0
[4] Root mount waiting for: usbus0
[5] uhub1: 4 ports with 4 removable, self powered
[5] Root mount waiting for: usbus0
[5] ugen0.3: <VIA Labs, Inc. USB3.0 Hub> at usbus0
[5] uhub2 on uhub0
[5] uhub2: <VIA Labs, Inc. USB3.0 Hub, class 9/0, rev 3.10/0.50, addr 2> on usbus0
[6] Root mount waiting for: usbus0
[7] uhub2: 4 ports with 4 removable, self powered
[7] Dual Console: Serial Primary, Video Secondary
[7] pid 33 (zpool) is attempting to use unsafe AIO requests - not logging anymore

Unfortunately I have disabled ssh a while back, and here we come to my other issue: I can't enable ssh anymore. If I enable "Enable Secure Shell" and "Permit root user login" via the dashboard, I get the following fatal error:

Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /usr/local/etc/inc/system.inc:1328 Stack trace: #0 /usr/local/etc/inc/system.inc(1328): fwrite(false, '#\n') #1 /usr/local/www/system_advanced_admin.php(390): system_login_configure() #2 {main} thrown in /usr/local/etc/inc/system.inc on line 1328

If I go back to the dashboard and to the settings page again, I can see that both options are checked so it was saved, but ssh doesnt work.


Nope, disk has more than enough space. also zfs doesnt show any errors.

I just manually rebooted it and it is the first time that this fixed my issue... even ssh access works now...

I will still let this thread open. I am very sure that something similar happens upon the next update, because I got these consistently in the past.

os-cpu-microcode-intel-1.1 ?
Hardware:
DEC740

Quote from: Monviech (Cedrik) on March 06, 2026, 10:08:43 AMos-cpu-microcode-intel-1.1 ?

Sorry, I seem to not get it, as this isnt my area of expertise. Whats wrong with it?

Oh sorry I forgot the context. There has been a microcode update that caused some reboot issues or something. I read about it on reddit.

If you don't 100% need the microcode updates you most likely are better off stability wise without the plugin. (personal opinion, no expert on that matter)
Hardware:
DEC740

Quote from: Monviech (Cedrik) on March 06, 2026, 10:25:20 AMOh sorry I forgot the context. There has been a microcode update that caused some reboot issues or something. I read about it on reddit.

If you don't 100% need the microcode updates you most likely are better off stability wise without the plugin. (personal opinion, no expert on that matter)

I will try it out next time and consider it. Thanks.