OPNsense Forum

English Forums => Hardware and Performance => Topic started by: aru.persia on July 09, 2026, 11:15:04 PM

Title: Severe Boot Delays & Recurring Network Outages Due to NVMe Timeouts (Heat-Relate
Post by: aru.persia on July 09, 2026, 11:15:04 PM


OPNsense Support Request – Severe Boot Delays & Recurring Network Outages Due to NVMe Timeouts (Heat‑Related)



PROBLEM SUMMARY

My OPNsense firewall (version 26.1) takes approximately 20 minutes to complete the boot process.

While the system does eventually become fully operational, this delay occurs reliably every two weeks. When the issue strikes, the firewall becomes unresponsive during this period, and internal DHCP clients (devices at home) are unable to obtain IP addresses – effectively taking the entire local network offline until the boot sequence fully recovers.

Critical physical observation: The device chassis becomes extremely hot – hot enough to "cook eggs on it." If I shut down the system, wait a short while for it to physically cool down, and then power it back on, the 20‑minute boot delay reliably manifests. The root cause appears to be a thermal‑related lockup of the NVMe storage controller during the cold‑start initialization phase.



SYSTEM INFORMATION

Operating System
OPNsense 26.1
FreeBSD 14.3-RELEASE-p15
stable/26.1-n272132-0101c21cac77
amd64

Hardware 



DETAILED SYMPTOM TIMELINE & RECURRENCE PATTERN




STORAGE DEVICE




ZFS HEALTH CHECK (performed while cool/stable)

zpool status -v
pool: zroot
state: ONLINE
config:
  NAME        STATE     READ WRITE CKSUM
  zroot       ONLINE       0     0     0
    nda0p3    ONLINE       0     0     0
errors: No known data errors

A scrub completed successfully with 0 errors. The filesystem integrity is sound.



SMART / NVMe HEALTH INFORMATION (Critical Thermal Data)

smartctl -x /dev/nvme0
SMART overall-health self-assessment test result: PASSED
Critical Warning:                   0x00
Available Spare:                    100%
Percentage Used:                    26%
Data Units Written:                 32.0 TB
Media and Data Integrity Errors:    0
Error Information Log Entries:      0

Temperature Readings (Excerpt)
Initial reading (idle/operational):

Later reading (stabilized):

QuoteNote: The sustained high temperature (Sensor 1 hitting 79°C) strongly suggests the controller is experiencing thermal throttling or outright thermal lockups during initialization.



BOOT PROBLEM DETAILS & KERNEL LOG EVIDENCE

During a cold boot following a heat‑soak period, the system pauses extensively. The relevant logs show a relentless NVMe reset loop:

nvme0: Resetting controller due to a timeout.
nvme0: resetting controller
nvme0: Waiting for reset to complete
nvme0: Waiting for reset to complete
nvme0: Waiting for reset to complete
...
# Eventually, after ~20 minutes:
nvme0: resubmitting queued i/o
nvme0: READ sqid:1 cid:0 nsid:1
nvme0: WRITE sqid:3 cid:0 nsid:1

Logs confirming recurrence:
/var/log/system/latest.log:
2026-07-09T17:29:35 nvme0: Resetting controller due to a timeout.
2026-07-09T17:38:03 nvme0: Resetting controller due to a timeout.
2026-07-09T20:10:22 nvme0: Resetting controller due to a timeout.

Additional Warnings (Cosmetic)
BOOT LOADER IS TOO OLD. PLEASE UPGRADE.
Please set hw.efifb.address and hw.efifb.stride.
These are noted but considered cosmetic/unrelated to the 20‑minute delay.



ACTIONS ALREADY PERFORMED




QUESTIONS FOR OPNsense SUPPORT

Given the clear thermal component and the bi‑weekly failure cycle, we need targeted guidance:




CURRENT ASSESSMENT


QuoteRecommendation needed: Please advise whether this is a software‑configuration fix (power management/PCIe linkspeed tuning) or if we are looking at a critical hardware failure requiring immediate SSD replacement and improved thermal management.


Title: Re: Severe Boot Delays & Recurring Network Outages Due to NVMe Timeouts (Heat-Relate
Post by: nero355 on July 09, 2026, 11:40:58 PM
Quote from: aru.persia on July 09, 2026, 11:15:04 PMCritical physical observation: The device chassis becomes extremely hot – hot enough to "cook eggs on it." If I shut down the system, wait a short while for it to physically cool down, and then power it back on, the 20‑minute boot delay reliably manifests. The root cause appears to be a thermal‑related lockup of the NVMe storage controller during the cold‑start initialization phase.

Temperature Readings (Excerpt)
Initial reading (idle/operational):
  • Temperature: 66°C
  • Temperature Sensor 1: 79°C ⚠️ (This is dangerously high for NVMe and likely the source of the timeout.)

Later reading (stabilized):
  • Temperature: 56°C
  • Sensor 1: 67°C
Have a look at this topic : https://forum.opnsense.org/index.php?topic=51263.0
You might have to do the same mod in order to keep the NVMe a bit cooler :)

Quotesmartctl -x /dev/nvme0
SMART overall-health self-assessment test result: PASSED
That's nice and all, but please post the full output for all S.M.A.R.T. data so we can double check for you ;)
Title: Re: Severe Boot Delays & Recurring Network Outages Due to NVMe Timeouts (Heat-Relate
Post by: pfry on July 10, 2026, 12:31:12 AM
Quote from: aru.persia on July 09, 2026, 11:15:04 PM[...]Temperature Sensor 1: 79°C ⚠️ (This is dangerously high for NVMe and likely the source of the timeout.)[...]

It's high, but not unusual - most SSD controllers have limits in the 75-85C range. They draw 2-20W, with M.2 devices generally limited to 6-8W. Most NVME devices will be right up at that limit. They have (generally) very effective thermal throttling, which you appear to be seeing. Yours could just be a hot runner (which would arguably be a hardware fault). Out of curiosity, what's the ambient temperature?

I'm not defending use of M.2 SSDs with no/minimal thermal management, by the way.