https://redmine.pfsense.org/https://redmine.pfsense.org/favicon.ico?16780521162015-02-10T23:57:52ZpfSense bugtrackerpfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=172482015-02-10T23:57:52ZChris Buechlercbuechler@gmail.com
<ul><li><strong>Subject</strong> changed from <i>Enabling SNMP Freezes System / Unbootable after Power Reset</i> to <i>Enabling SNMP causes kernel panic with APU in some circumstance</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Confirmed</i></li><li><strong>Priority</strong> changed from <i>Urgent</i> to <i>High</i></li></ul><p>enough people have reported this that it's clearly an issue in some circumstance. I'm not sure what that circumstance is though. It's as simple for some as just enabling SNMP, don't even have to query it, and it kernel panics. Seems to be exclusive to the APU, but it didn't happen to me when enabling on an APU.</p>
<p>There are 2 diffs between my APU and what's shown here. Mine was on SD when I tried it, where the SD slot is empty here (thinking this is likely cause), and this has a 3G/4G/LTE modem in it. I'll install on a mSATA in my APU, remove the SD card, and see if that's replicable.</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=172722015-02-11T12:41:43ZJim Pingle
<ul><li><strong>File</strong> <a href="/attachments/1153">pac_PID5779_n2.txt</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/1153/pac_PID5779_n2.txt">pac_PID5779_n2.txt</a> added</li></ul><p>I can reproduce it on my APU now as well. Fresh install on mSATA, no SD card inserted, using the factory image.</p>
<p>Seems to only happen if the "Host Resources" module is selected, which requires mibII, but mibII alone is not enough to trigger the crash.</p>
<p>Backtrace looks about the same.</p>
<p>It wouldn't be the first time having a drive present with no media could crash via bsnmpd (cd devices without media mounted on ESX come to mind)</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=172792015-02-11T14:49:05ZErmal Luçieri@pfsense.org
<ul></ul><p>does sysctl hw.bus return a result?</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=172812015-02-11T14:57:15ZJim Pingle
<ul></ul><pre>
: sysctl hw.bus
hw.bus.devctl_disable: 0
hw.bus.devctl_queue: 1000
</pre>
<p>sysctl -a works also.</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=172822015-02-11T15:41:22ZAndreas Waltherpfsense@core-sys.net
<ul></ul><p>Well the first crash after update from 2.1 to 2.2 was with a sd card as the disk and a mini pcie 3g modem installed.<br />The second time with a msata module, mini pcie 3g modem and without a sd card.</p>
<p>So i think it has nothing to do with the empty sd card slot.<br />Jim P did u had a mini pci-e card installed?</p>
<p>As far as i understand Chris Buechler did not had a crash like this with a "empty" board and a sd card.<br />So maybe it has something to do with populated pci express bus?</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=172832015-02-11T15:46:45ZJim Pingle
<ul></ul><p>I don't have an SD card in, but I do have a Mini-PCIe wireless card.</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=172842015-02-11T15:56:02ZChris Buechlercbuechler@gmail.com
<ul><li><strong>Subject</strong> changed from <i>Enabling SNMP causes kernel panic with APU in some circumstance</i> to <i>Enabling SNMP causes kernel panic with APU with empty SD card slot</i></li><li><strong>Target version</strong> set to <i>2.2.1</i></li></ul><p>the only scenario we've been able to replicate is with no SD card installed. It's easily replicable by just removing the SD card. I have a wifi card in mine. Haven't tried without it installed, but it doesn't seem to be specific to any particular add-on hardware.</p>
<p>There might be some other circumstance with the same symptoms.</p>
<p>Andreas: could you do some experimentation with your combination of hardware? See if it's the same with only the mSATA on the board. Add the cellular card and see what happens. Then put a SD card in it (with or without the mSATA SSD) and see what happens there.</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=172882015-02-11T16:12:10ZAndreas Waltherpfsense@core-sys.net
<ul></ul><p>Chris Buechler wrote:</p>
<blockquote>
<p>Andreas: could you do some experimentation with your combination of hardware? See if it's the same with only the mSATA on the board. Add the cellular card and see what happens. Then put a SD card in it (with or without the mSATA SSD) and see what happens there. Just running "sysctl -a" will suffice to upgrade, and won't leave you with a bricked setup like enabling SNMP does.</p>
</blockquote>
<p>Yes i can do that.<br />I will do it on the weekend so you have to wait a little.</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=173342015-02-14T04:03:29ZAndreas Waltherpfsense@core-sys.net
<ul></ul><p>I just started to test what combinations of hardware let this crash happen, but the command "systcl -a" is not crashing the system.</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=173382015-02-14T08:20:22ZMarcel Janickimarcel.janicki@gmx.net
<ul><li><strong>File</strong> <a href="/attachments/1160">pfSense_pagefault_bsnmpd.txt</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/1160/pfSense_pagefault_bsnmpd.txt">pfSense_pagefault_bsnmpd.txt</a> added</li></ul><p>Same for me during the upgrade from 2.1.5 (amd64) to 2.2 (amd64) on a APU.1C4 (4 GB).<br />Retried it successfully with a previously disabled bsnmpd. After the upgrade I enabled the snmp-daemon and the kernel crashed instantly.<br />pfSense is on a SD card, no mSATA SSD, no 3G/4G/LTE modem - but a Compex WLE200NX WLAN card.</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=173392015-02-14T11:37:27ZChris Buechlercbuechler@gmail.com
<ul></ul><p>I misunderstood JimP's earlier comment, running 'sysctl -a' won't panic it in the way enabling SNMP will.</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=174312015-02-20T15:35:01ZGuillaume Leroy
<ul></ul><p>I am running on a SD card (and without any other card) and I am encountering the problem.</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=176132015-03-05T00:49:08ZChris Buechlercbuechler@gmail.com
<ul><li><strong>Assignee</strong> set to <i>Ermal Luçi</i></li></ul> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=176762015-03-09T07:12:19ZStefan Nunninger
<ul><li><strong>File</strong> <a href="/attachments/1181">snmp_bug_boot_log.txt</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/1181/snmp_bug_boot_log.txt">snmp_bug_boot_log.txt</a> added</li></ul><p>I am experiencing this same bug. <br />I attach a log of the console output.<br />I am running pfsense 2.2 on an Alix APU board without SD-card. The system is stored on a MSATA SSD card.</p>
<p>Could somebody please eplain how to work around the boot loop.<br />I can boot a recovery system with pfsense from a USB stick. <br />Where can I disable the SNMP daemon to prevent the system to hang during boot?</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=176772015-03-09T07:17:11ZJim Pingle
<ul></ul><p>To work around it, you can rename the bsnmpd binary or otherwise disable it. For example:</p>
<pre>
mv /usr/sbin/bsnmpd /usr/sbin/bsnmpd.tmp
</pre> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=176802015-03-09T12:22:37ZStefan Nunninger
<ul></ul><p>Jim P wrote:</p>
<blockquote>
<p>To work around it, you can rename the bsnmpd binary or otherwise disable it. For example:</p>
<pre>mv /usr/sbin/bsnmpd /usr/sbin/bsnmpd.tmp</pre>
</blockquote>
<p>I tried to do so. This is what I did precisely:</p>
<ul>
<li>Boot with pfsense from USB stick</li>
<li>login on console</li>
<li>fsck -y -t ufs /dev/ad4s1 # fix the filesystem otherwise cannot mount it</li>
<li>mount /dev/ad4s1 /mnt</li>
<li>mv /mnt/sbin/bsnmpd /mnt/sbin/bsnmpd.tmp</li>
<li>umount /mnt</li>
<li>halt</li>
<li>wait until system has stopped</li>
<li>remove USB stick</li>
<li>powercycle system to start again</li>
</ul>
<p>Now the boot does not crash anymore but the console asks for a password and does not accept the admin password,<br />This is strange because I did not use a password on the console before.</p>
<p>Loging in on the website says: "503 - Service Not Available"</p>
<p>To did reset the password according to this desription:<br /><a class="external" href="https://doc.pfsense.org/index.php/I_locked_myself_out_of_the_WebGUI,_help!#Forgotten_Password_with_Locked_Console">https://doc.pfsense.org/index.php/I_locked_myself_out_of_the_WebGUI,_help!#Forgotten_Password_with_Locked_Console</a></p>
<p>However still I cannot login with admin/pfsense on the console.</p>
<p>It seems renaming the file /usr/sbin/bsnmpd had some strange side effects.</p>
<p>Can somebody please give me a hint what might go wrong.</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=176812015-03-09T12:28:50ZJim Pingle
<ul></ul><p>The filesystem in /etc was likely corrupted as a result of the repeated panics. Reinstalling is the safest recovery method. Restore a backup with SNMP disabled. Follow up on the forum for further assistance, it's too far removed from this bug report to discuss it more here.</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=177242015-03-11T03:44:30ZChris Buechlercbuechler@gmail.com
<ul><li><strong>Assignee</strong> changed from <i>Ermal Luçi</i> to <i>Renato Botelho</i></li></ul><p>A quick, low-risk work around for this is to use the APU detection to skip starting SNMP on an APU that doesn't have a SD card installed (or isn't running from one), and log an error instead. That should suffice for 2.2.1, at least not crashing the system. Post-2.2.1 it'll need further review to fix the root cause and remove the workaround.</p>
<p>Renato, go ahead with that work around.</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=177252015-03-11T06:41:59ZJim Pingle
<ul></ul><p>From my testing it should be enough to skip only the hostres module on APU, other SNMP modules appeared to be OK, and that way people could still get some use out of SNMP on APU in the meantime.</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=177262015-03-11T06:42:08ZGuillaume Leroy
<ul><li><strong>File</strong> <a href="/attachments/1182">crash-log.zip</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/1182/crash-log.zip">crash-log.zip</a> added</li></ul><p>I don't agree : we noticed that the problem also occurs with SD card based APU setups. This is my case.</p>
<p>And btw I would like to have SNMP working on my APU devices too as it used to in the previous releases, at least the standard MIBs/branches (especially interfaces).<br />Isn't this kernel panic only caused by a specific SNMP agent module that we could unload / remove from the compilation or from bsnmpd configuration ?</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=177272015-03-11T06:42:41ZGuillaume Leroy
<ul></ul><p>Jim P wrote:</p>
<blockquote>
<p>From my testing it should be enough to skip only the hostres module on APU, other SNMP modules appeared to be OK, and that way people could still get some use out of SNMP on APU in the meantime.</p>
</blockquote>
<p>+1 :-)</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=177282015-03-11T06:50:02ZJim Pingle
<ul></ul><p>Guillaume Leroy wrote:</p>
<blockquote>
<p>Isn't this kernel panic only caused by a specific SNMP agent module that we could unload / remove from the compilation or from bsnmpd configuration ?</p>
</blockquote>
<p>I mentioned that finding way back in Note 2 above (<a class="issue tracker-1 status-3 priority-5 priority-high4 closed" title="Bug: Enabling SNMP causes kernel panic with APU with empty SD card slot (Resolved)" href="https://redmine.pfsense.org/issues/4403#note-2">#4403-2</a>)</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=177322015-03-11T08:48:52ZRenato Botelhorenato@netgate.com
<ul><li><strong>Status</strong> changed from <i>Confirmed</i> to <i>Feedback</i></li></ul><p>Added a conditional to skip hostres on APU for now</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=177482015-03-11T16:15:16ZGuillaume Leroy
<ul></ul><p>Jim P wrote:</p>
<blockquote>
<p>Guillaume Leroy wrote:</p>
<blockquote>
<p>Isn't this kernel panic only caused by a specific SNMP agent module that we could unload / remove from the compilation or from bsnmpd configuration ?</p>
</blockquote>
<p>I mentioned that finding way back in Note 2 above (<a class="issue tracker-1 status-3 priority-5 priority-high4 closed" title="Bug: Enabling SNMP causes kernel panic with APU with empty SD card slot (Resolved)" href="https://redmine.pfsense.org/issues/4403#note-2">#4403-2</a>)</p>
</blockquote>
<p>Very good work indeed !<br />I am now running 2.2 fine with bsnmpd enabled but Host Resources MIB module disabled.<br />Thanks.</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=177492015-03-11T16:59:49ZChris Buechlercbuechler@gmail.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Confirmed</i></li><li><strong>Assignee</strong> changed from <i>Renato Botelho</i> to <i>Ermal Luçi</i></li><li><strong>Target version</strong> changed from <i>2.2.1</i> to <i>2.2.2</i></li></ul><p>Confirmed that works around it for now, moving this to 2.2.2 for a proper fix.</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=179752015-04-02T16:35:45ZChris Buechlercbuechler@gmail.com
<ul><li><strong>Target version</strong> changed from <i>2.2.2</i> to <i>2.2.3</i></li></ul> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=185382015-05-29T00:07:34ZMatt Meyermatt.d.meyer@gmail.com
<ul></ul><p>I've just hit this issue myself using an ALIX 2D13. There are no other devices except for the CF card.</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=185652015-06-01T18:18:00ZChris Buechlercbuechler@gmail.com
<ul></ul><p>Matt: haven't heard of it on ALIX but same could impact it also. does disabling the host resources MIB prevent the issue for you?</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=185712015-06-01T18:20:27ZChris Buechlercbuechler@gmail.com
<ul><li><strong>Target version</strong> changed from <i>2.2.3</i> to <i>2.3</i></li></ul> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=187802015-06-12T15:03:35ZErmal Luçieri@pfsense.org
<ul></ul><p><a class="external" href="https://github.com/ocochard/BSDRP/blob/master/EINE/patches/freebsd.bsnmpd.hostres">https://github.com/ocochard/BSDRP/blob/master/EINE/patches/freebsd.bsnmpd.hostres</a></p>
<p>Seems to have a patch for this issue.</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=187812015-06-12T15:30:25ZMatt Meyermatt.d.meyer@gmail.com
<ul></ul><p>Chris Buechler wrote:</p>
<blockquote>
<p>Matt: haven't heard of it on ALIX but same could impact it also. does disabling the host resources MIB prevent the issue for you?</p>
</blockquote>
<p>In my case this didn't help. I have since reverted to 2.1.5 but could upgrade again to test any fixes.</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=187822015-06-12T16:01:41ZRenato Botelhorenato@netgate.com
<ul></ul><p>Ermal Luçi wrote:</p>
<blockquote>
<p><a class="external" href="https://github.com/ocochard/BSDRP/blob/master/EINE/patches/freebsd.bsnmpd.hostres">https://github.com/ocochard/BSDRP/blob/master/EINE/patches/freebsd.bsnmpd.hostres</a></p>
<p>Seems to have a patch for this issue.</p>
</blockquote>
<p>A similar change was already done on FreeBSD - <a class="external" href="https://svnweb.freebsd.org/base/releng/10.1/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_storage_tbl.c?r1=228990&r2=248707">https://svnweb.freebsd.org/base/releng/10.1/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_storage_tbl.c?r1=228990&r2=248707</a></p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=201982015-08-31T21:02:40ZJim Thompsonjim@netgate.com
<ul><li><strong>Assignee</strong> changed from <i>Ermal Luçi</i> to <i>Renato Botelho</i></li></ul><p>reassign to Renato. Maybe this is fixed in FreeBSD 10.2</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=225982015-11-17T17:51:14ZJim Thompsonjim@netgate.com
<ul><li><strong>Assignee</strong> changed from <i>Renato Botelho</i> to <i>Chris Buechler</i></li></ul><p>now reassigned to cmb</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=227592015-11-19T21:35:59ZChris Buechlercbuechler@gmail.com
<ul></ul><p>can anyone still replicate this? Going back to 2.2.0-REL, full install on mSATA, no SD card, with or without an ath card, it doesn't happen. OP's APU is 2 GB and I'm on a 4 GB one, so tried setting hw.physmem in loader.conf to make it look like it has 2 GB RAM in case that was related, no dice. On 2.2.5 after removing the code that omits hostres on APUs it's fine as well. Also no issue on 2.3, but given I can't replicate where it was happening to others, that's not helpful.</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=228842015-11-22T12:16:24ZMarcel Janickimarcel.janicki@gmx.net
<ul></ul><p>Configuration: pfSense 2.2.5 amd64 on a SD card, no mSATA SSD, APU.1C4, 4 GB, no 3G/4G/LTE modem but a Compex WLE200NX WLAN card (Atheros).<br />I've re-enabled the SNMP module Host Resources and the kernel didn't crash.<br />Thank you!</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=228872015-11-22T14:48:03ZGuillaume Leroy
<ul></ul><p>Almost same config on my side with an APU 1c, the nanobsd based system running on a SD card and nothing else.<br />I re-enabled the Host Resources module in the config and the system didn't crash. However I am not able to get any reply when polling the Host MIB either.<br />So I suppose the module is not really enabled probably because of the anticrash lock feature added when the issue was reported on the APU.</p>
<p>And I indeed don't see the module in the snmpd config file :<br /><pre>
#cat /var/etc/snmpd.conf
...
snmpEnableAuthenTraps = 2
begemotSnmpdModulePath."mibII" = "/usr/lib/snmp_mibII.so"
begemotSnmpdModulePath."netgraph" = "/usr/lib/snmp_netgraph.so"
%netgraph
begemotNgControlNodeName = "snmpd"
begemotSnmpdModulePath."pf" = "/usr/lib/snmp_pf.so"
begemotSnmpdModulePath."ucd" = "/usr/local/lib/snmp_ucd.so"
begemotSnmpdModulePath."regex" = "/usr/local/lib/snmp_regex.so"
</pre></p>
<p>Marcel Janicki wrote:</p>
<blockquote>
<p>I've re-enabled the SNMP module Host Resources and the kernel didn't crash.</p>
</blockquote>
<p>Marcel, did you really check that you are now able to poll the Host MIB ?</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=228882015-11-22T15:21:49ZGuillaume Leroy
<ul></ul><p>OK, I've just run a manual test as I don't know how to force loading the module with pfSense.<br />I stopped the bsnmd instance started by pfSense and manually started another instance loading the system /etc/snmpd.config file with the host resources module enabled:<br /><pre>
begemotSnmpdModulePath."hostres" = "/usr/lib/snmp_hostres.so"
</pre><br />And the system crashed immediately.<br />So the problem is still there in 2.2.5 with APU devices.</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=229262015-11-23T15:25:05ZChris Buechlercbuechler@gmail.com
<ul></ul><p>Guillaume: could you try that same test on latest 2.3 and report back please?</p>
<p>Marcel: stock 2.2.1 and newer won't crash because hostres is skipped on APUs automatically, so you have to either remove that code or manually enable it.</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=229272015-11-23T15:39:18ZJim Pingle
<ul><li><strong>File</strong> <a href="/attachments/1449">snmp-apu-hostres.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/1449/snmp-apu-hostres.diff">snmp-apu-hostres.diff</a> added</li><li><strong>Status</strong> changed from <i>Confirmed</i> to <i>Feedback</i></li></ul><p>I tested this on 2.3 today. I removed the APU check and confirmed hostres was present in the config. snmp started up and I was able to perform a full snmpwalk against it. No problems at all. Rebooted the unit and it still was running OK. Can wait for additional confirmation but it looks to me like this has been solved in FreeBSD 10.2.</p>
<p>The attached patch can be applied to remove the APU-specific check in services.inc so that hostres will be enabled on APU for those who want to test on 2.3.</p>
<p>I was able to easily reproduce the panic on 2.2.x on the same hardware (see my earlier notes)</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=229302015-11-23T17:12:58ZGuillaume Leroy
<ul><li><strong>File</strong> <a href="/attachments/1450">upgrade.log</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/1450/upgrade.log">upgrade.log</a> added</li></ul><p>Good news...<br />However, on my side, I have not been able to successfully complete the upgrade to 2.3-ALPHA, a 45min lasting upgrade process get me back a broken system with a lot of php errors (see attached if interested). :-(</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=229312015-11-23T21:09:21ZChris Buechlercbuechler@gmail.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li><li><strong>Affected Version</strong> changed from <i>2.2</i> to <i>2.2.x</i></li></ul><p>Guillaume: start a thread on the 2.3 board on the forum and we can review that.</p>
<p>Since JimP can confirm, we're good here.</p> pfSense - Bug #4403: Enabling SNMP causes kernel panic with APU with empty SD card slothttps://redmine.pfsense.org/issues/4403?journal_id=230102015-11-26T04:56:09ZMarcel Janickimarcel.janicki@gmx.net
<ul></ul><p>Guillaume, I didn't realized that the hostres module is still skipped on APUs..<br />Hence I removed the APU check in services.inc and the kernel crashed instantly (2.2.5, FreeBSD 10.1).<br />Good to hear that it's fixed with 10.2.</p>