MBT-4220/2220: pfSense hangs when running sysctl -a
Running 2.4.4-p2 on MBT-4220
Accessing the WebGUI appears to be causing OS-level hang (no response on WebGUI/SSH/PING).
Occurs after login and dashboard visible, then clicking any link. Traffic Graph is visible stoping after a few seconds.
As long as I don't access WebGUI at any point post reboot WAN network access to LAN all machines works fine.
SSH login in appears to be unaffected until WebGUI is accessed.
Restarting WebGUI or PHP-FPM via SSH console (before hang) does not seem to help.
/var/log/system.log appears only the log successful SSH/WebGUI logins prior to hang and syslogd init post restart.
Last few records to Telegraf/InfluxDB suggest the a small spike in User/System process usage:
Updated by Nano Caiordo over 2 years ago
I'm pretty sure I experienced the same issue on 2.4.4-p1 and or 2.4.4-p2.
It did happen only for the initial few reboots while configuring a fresh install.
Login, login message printed on the console, admin could not pass the login page, ssh not accessible, resetting password or restarting php or the webconfigurator did not help.
After config was finalized it did not happen any more, but I cannot confirm this because few days later it start running dev snapshots.
I always believed was due some misconfiguration introduced by me.
Updated by Steve Wheeler over 1 year ago
- File mbt-2220_sysctl-a_output.txt mbt-2220_sysctl-a_output.txt added
- Status changed from Not a Bug to New
- Affected Version changed from 2.4.4_1 to 2.4.5-p1
It looks like this might be a problem with the way the dashboard system information widget reads the sysctls when you have powerd enabled.
I see exactly this on an MBT-2220 in 2.4.5p1 after I have enabled powerd. It boots and runs fine until I login. The dashboard is show for a few seconds and then it hangs and has to be rebooted.
That same machine cannot display all the sysctls, running 'sysctl -a' also results in a system hang. It does so whether or not powerd is enabled.
Updated by Max Leighton 4 months ago
We've received additional reports of issues related to this bug report. The behavior may be related to running sysctl -a. A recent user has seen this on MBT-4220 when pulling a status_output from /status.php. The behavior seems to also affect MBT-2220. There isn't a panic or crash, the system will just hang. status.php?archiveonly didn't trigger the behavior.
Updated by Steve Wheeler 4 months ago
- Subject changed from MBT-4220: PFSense OS hangs when accessing WebGUI to MBT-4220/2220: pfSense hangs when running sysctl -a
- Category changed from FreeBSD to Hardware / Drivers
- Target version set to 2.6.0
This was difficult to pin-down because it only stops responding if the HDMI console is not connected at the time the sysctls are read.
It stops responding at:
hw.dri.0.info.i915_gen6_forcewake_count_info: forcewake count = 0 hw.dri.0.info.i915_context_status: hw.dri.0.info.i915_gem_framebuffer: fbcon size: 1024 x 768, depth 24, 32 bpp, obj 0xfffff800054a7600K: p 3072KiB 0041 0000 0 0 0 uncached (pinned x 1) (display) (gtt offset: 0006a000, size: 00300000) (p mappable) hw.dri.0.info.i915_sr_status: self-refresh: disabled hw.dri.0.info.i915_fbc_status: FBC unsupported on this chipset hw.dri.0.info.i915_gfxec: GFXEC: 4294967295 hw.dri.0.info.i915_ring_freq_table: GPU freq (MHz) Effective CPU freq (MHz) 0 0