Actions
Bug #4403
closedEnabling SNMP causes kernel panic with APU with empty SD card slot
Start date:
02/10/2015
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.2.x
Affected Architecture:
Description
Hi Together,
i am not sure if this is a hardware problem, but basically i am using a PC Engines APU.1C(2GB) board which is working fine until i try to enable SNMP via the web interface.
The APU.1C should be the same like your recommended hardware VK-T40E Desktop Firewall Router Appliance (https://www.pfsense.org/hardware/pfsense-store.html#vkt40e)
I tried this 2 times with PFSense 2.2 after update from 2.1 and after a fresh 2.2 install.
The system is working without any problem until i try enable the snmp with the following settings.
Webconfigurator > Services > SNMP
SNMP Daemon Enable Checked- Read Community string: public34tr497g429tr20ztg
Interface Binding - Bind Interface: LAN
Submitting the form is crashing the system.
After a power reset this is the output of the boot:
ugen2.1: <ATI> at usbus2
uhub2: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <ATI> at usbus3
uhub3: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 12Mbps Full Speed USB v1.0
usbus6: 480Mbps High Speed USB v2.0
ugen4.1: <ATI> at usbus4
uhub4: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <ATI> at usbus5
uhub5: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen6.1: <ATI> at usbus6
uhub6: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus6
uhub4: 2 ports with 2 removable, self powered
uhub0: 5 ports with 5 removable, self powered
uhub2: 5 ports with 5 removable, self powered
uhub5: 4 ports with 4 removable, self powered
uhub6: 4 ports with 4 removable, self powered
uhub1: 5 ports with 5 removable, self powered
uhub3: 5 ports with 5 removable, self powered
ugen6.2: <Generic> at usbus6
umass0: <Generic Flash Card ReaderWriter, class 0/0, rev 2.01/1.00, addr 2> on usbus6
ugen3.2: <HUAWEI Technology> at usbus3
u3g0: <HUAWEI Technology HUAWEI MOBILE WCDMA EM770W, class 0/0, rev 2.00/0.00, addr 2> on usbus3
u3g0: Found 6 ports.
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <KINGSTON SMS200S330G 541ABBF0> ATA-8 SATA 3.x device
ada0: Serial Number 50026B724B0A8XXX
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes)
ada0: Command Queueing enabled
ada0: 28626MB (58626288 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
da0 at umass-sim0 bus 0 scbus6 target 0 lun 0
da0: <Multiple Card Reader 1.00> Removable Direct Access SCSI-4 device
da0: Serial Number 058F63666XXX
da0: 40.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
da0: quirks=0x2<NO_6_BYTE>
SMP: AP CPU #1 Launched!
Timecounter "TSC" frequency 1000019445 Hz quality 800
Trying to mount root from ufs:/dev/ada0s1a [rw]...
WARNING: / was not properly dismounted
Configuring crash dumps...
Using /dev/ada0s1b for dump device.
Mounting filesystems...
** /dev/ada0s1a
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
INCORRECT BLOCK COUNT I=562046 (8 should be 0)
CORRECT? yes
INCORRECT BLOCK COUNT I=562054 (8 should be 0)
CORRECT? yes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
LINK COUNT FILE I=562181 OWNER=0 MODE=100644
SIZE=442 MTIME=Feb 7 14:28 2015 COUNT 2 SHOULD BE 1
ADJUST? yes
UNREF FILE I=2327427 OWNER=0 MODE=100644
SIZE=0 MTIME=Feb 7 14:28 2015
CLEAR? yes
UNREF FILE I=2327428 OWNER=0 MODE=100644
SIZE=0 MTIME=Feb 7 14:28 2015
CLEAR? yes
UNREF FILE I=2327429 OWNER=0 MODE=100644
SIZE=0 MTIME=Feb 7 14:28 2015
CLEAR? yes
UNREF FILE I=2327430 OWNER=0 MODE=100644
SIZE=0 MTIME=Feb 7 14:28 2015
CLEAR? yes
UNREF FILE I=2327431 OWNER=0 MODE=100644
SIZE=0 MTIME=Feb 7 14:28 2015
CLEAR? yes
UNREF FILE I=2327432 OWNER=0 MODE=100644
SIZE=0 MTIME=Feb 7 14:28 2015
CLEAR? yes
UNREF FILE I=2327437 OWNER=0 MODE=100644
SIZE=0 MTIME=Feb 7 14:28 2015
CLEAR? yes
UNREF FILE I=2327438 OWNER=0 MODE=100644
SIZE=0 MTIME=Feb 7 14:28 2015
CLEAR? yes
UNREF FILE I=2327439 OWNER=0 MODE=100644
SIZE=0 MTIME=Feb 7 14:28 2015
CLEAR? yes
UNREF FILE I=2327440 OWNER=0 MODE=100644
SIZE=0 MTIME=Feb 7 14:28 2015
CLEAR? yes
UNREF FILE I=2327441 OWNER=0 MODE=100644
SIZE=0 MTIME=Feb 7 14:28 2015
CLEAR? yes
UNREF FILE I=2327442 OWNER=0 MODE=100644
SIZE=0 MTIME=Feb 7 14:28 2015
CLEAR? yes
UNREF FILE I=2327452 OWNER=0 MODE=100644
SIZE=0 MTIME=Feb 7 14:28 2015
RECONNECT? yes
NO lost+found DIRECTORY
CREATE? yes
** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? yes
SUMMARY INFORMATION BAD
SALVAGE? yes
BLK(S) MISSING IN BIT MAPS
SALVAGE? yes
6313 files, 65408 used, 6012987 free (451 frags, 751567 blocks, 0.0% fragmentation)
***** FILE SYSTEM STILL DIRTY *****
***** FILE SYSTEM WAS MODIFIED *****
***** PLEASE RERUN FSCK *****
** /dev/ada0s1a
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
6313 files, 65408 used, 6012987 free (451 frags, 751567 blocks, 0.0% fragmentation)
***** FILE SYSTEM MARKED CLEAN *****
Disabling APM on /dev/ad4
pwd_mkdb: root gid is incorrect
pwd_mkdb: at line #1
pwd_mkdb: /etc/master.passwd: Inappropriate file type or format
___
___/ f \
/ p \___/ Sense
\___/ \
\___/
Welcome to pfSense 2.2-RELEASE ...
savecore: reboot
savecore: writing core to /var/crash/textdump.tar.1
Creating symlinks......ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
32-bit compatibility ldconfig path: /usr/lib32
done.
Feb 7 14:30:44 system[253]: [ERROR] [pool lighty] cannot get uid for user 'root'
[ERROR] [pool lighty] cannot get uid for user 'root'
Feb 7 14:30:44 system[253]: [ERROR] FPM initialization failed
[ERROR] FPM initialization failed
fcgicli: Could not connect to server(/var/run/php-fpm.socket).
Launching the init system... done.
Initializing...................... done.
Starting device manager (devd)...
Warning: chown(): Unable to find uid for root in /etc/inc/config.lib.inc on line 867
Warning: chgrp(): Unable to find gid for proxy in /etc/inc/config.lib.inc on line 868
done.
Loading configuration......done.
Updating configuration...done.
Cleaning backup cache.................................done.
Setting up extended sysctls...done.
Setting timezone...done.
Configuring loopback interface...done.
Starting syslog...done.
Starting Secure Shell Services...done.
Setting up polling defaults...done.
Setting up interfaces microcode...done.
Configuring loopback interface...done.
Creating wireless clone interfaces...done.
Configuring LAGG interfaces...done.
Configuring VLAN interfaces...done.
Configuring QinQ interfaces...done.
Configuring WAN interface...done.
Configuring MODEMACCESS interface...done.
Configuring LAN interface...Starting DNS Resolver...done.
Starting DHCPv6 service...done.
done.
Configuring CARP settings...done.
Syncing OpenVPN settings...done.
Configuring firewall......done.
Starting PFLOG...done.
Setting up gateway monitors...done.
Synchronizing user settings...done.
Starting webConfigurator...done.
Configuring CRON...done.
Starting DNS Resolver...done.
Starting NTP time client...done.
pgrep: Invalid pid in file `/var/dhcpd/var/run/dhcpd.pid'
Starting DHCP service...done.
Starting DHCPv6 service...done.
Configuring firewall......done.
Starting SNMP daemon... done.
Generating RRD graphs...
Warning: chown(): Unable to find uid for nobody in /etc/inc/rrd.inc on line 289
Fatal trap 9: general protection fault while in kernel mode
cpuid = 1; apic id = 01
instruction pointer = 0x20:0xffffffff80b6d4e5
stack pointer = 0x28:0xfffffe003609f840
frame pointer = 0x28:0xfffffe003609f850
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 32124 (bsnmpd)
[ thread pid 32124 tid 100104 ]
Stopped at strlcpy+0x25: movb (%rax),%dl
db:0:kdb.enter.default> textdump set
textdump set
db:0:kdb.enter.default> capture on
db:0:kdb.enter.default> run lockinfo
db:1:lockinfo> show locks
No such command
db:1:locks> show alllocks
No such command
db:1:alllocks> show lockedvnods
Locked vnodes
db:0:kdb.enter.default> show pcpu
cpuid = 1
dynamic pcpu = 0xfffffe0098d5a700
curthread = 0xfffff8000a4ea490: pid 32124 "bsnmpd"
curpcb = 0xfffffe003609fcc0
fpcurthread = 0xfffff8000a4ea490: pid 32124 "bsnmpd"
idlethread = 0xfffff8000320e920: tid 100004 "idle: cpu1"
curpmap = 0xfffff800032199f8
tssp = 0xffffffff8218d078
commontssp = 0xffffffff8218d078
rsp0 = 0xfffffe003609fcc0
gs32p = 0xffffffff8218ead0
ldt = 0xffffffff8218eb10
tss = 0xffffffff8218eb00
db:0:kdb.enter.default> bt
Tracing pid 32124 tid 100104 td 0xfffff8000a4ea490
strlcpy() at strlcpy+0x25/frame 0xfffffe003609f850
sysctl_rman() at sysctl_rman+0x1e1/frame 0xfffffe003609f930
sysctl_root() at sysctl_root+0x232/frame 0xfffffe003609f980
userland_sysctl() at userland_sysctl+0x1d8/frame 0xfffffe003609fa30
sys___sysctl() at sys___sysctl+0x74/frame 0xfffffe003609fae0
amd64_syscall() at amd64_syscall+0x351/frame 0xfffffe003609fbf0
Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe003609fbf0
--- syscall (202, FreeBSD ELF64, sys___sysctl), rip = 0x800fb598a, rsp = 0x7fffffffa3d8, rbp = 0x7fffffffa410 ---
db:0:kdb.enter.default> ps
pid ppid pgrp uid state wmesg wchan cmd
32124 1 32124 0 Rs CPU 1 bsnmpd
31400 23140 21 0 S+ kqread 0xfffff8000aad2300 ntpdate
23140 1 21 0 S+ wait 0xfffff8000a8f8980 sh
21737 1 21444 0 S kqread 0xfffff8000a353100 lighttpd
16868 1 16868 0 Ss select 0xfffff8000a3704c0 inetd
16061 1 16061 0 Ss bpf 0xfffff8000a32a600 filterlog
6840 1 6840 0 Ss (threaded) mpd5
100106 S select 0xfffff8000a3732c0 mpd5
5966 1 5966 0 Ss select 0xfffff8000a3717c0 syslogd
269 1 269 0 Ss select 0xfffff8000a3719c0 devd
261 21 21 0 R+ CPU 0 php
258 256 256 0 S kqread 0xfffff8000a31fa00 check_reload_status
256 1 256 0 Ss kqread 0xfffff8000a320300 check_reload_status
67 0 0 0 DL mdwait 0xfffff8000a2f7000 [md0]
21 1 21 0 Ss+ pause 0xfffff8000a34a0a8 sh
20 0 0 0 DL syncer 0xffffffff81faef08 [syncer]
19 0 0 0 DL vlruwt 0xfffff8000a34a980 [vnlru]
18 0 0 0 DL psleep 0xffffffff81fae104 [bufdaemon]
17 0 0 0 DL pgzero 0xffffffff82100e8c [pagezero]
9 0 0 0 DL pollid 0xffffffff81f5c8f0 [idlepoll]
8 0 0 0 DL psleep 0xffffffff821005c0 [vmdaemon]
7 0 0 0 DL psleep 0xffffffff8218c384 [pagedaemon]
6 0 0 0 DL waiting_ 0xffffffff8217cdf0 [sctp_iterator]
5 0 0 0 DL pftm 0xffffffff80cff710 [pf purge]
16 0 0 0 DL (threaded) [usb]
100072 D - 0xfffffe0000f93010 [ucom]
100063 D - 0xfffffe0000976e18 [usbus6]
100062 D - 0xfffffe0000976dc0 [usbus6]
100061 D - 0xfffffe0000976d68 [usbus6]
100060 D - 0xfffffe0000976d10 [usbus6]
100059 D - 0xfffffe0000981460 [usbus5]
100058 D - 0xfffffe0000981408 [usbus5]
100057 D - 0xfffffe00009813b0 [usbus5]
100056 D - 0xfffffe0000981358 [usbus5]
100055 D - 0xfffffe000096d460 [usbus4]
100054 D - 0xfffffe000096d408 [usbus4]
100053 D - 0xfffffe000096d3b0 [usbus4]
100052 D - 0xfffffe000096d358 [usbus4]
100049 D - 0xfffffe0000962e18 [usbus3]
100048 D - 0xfffffe0000962dc0 [usbus3]
100047 D - 0xfffffe0000962d68 [usbus3]
100046 D - 0xfffffe0000962d10 [usbus3]
100045 D - 0xfffffe0000959460 [usbus2]
100044 D - 0xfffffe0000959408 [usbus2]
100043 D - 0xfffffe00009593b0 [usbus2]
100042 D - 0xfffffe0000959358 [usbus2]
100041 D - 0xfffffe000092ce18 [usbus1]
100040 D - 0xfffffe000092cdc0 [usbus1]
100039 D - 0xfffffe000092cd68 [usbus1]
100038 D - 0xfffffe000092cd10 [usbus1]
100036 D - 0xfffffe0000923460 [usbus0]
100035 D - 0xfffffe0000923408 [usbus0]
100034 D - 0xfffffe00009233b0 [usbus0]
100033 D - 0xfffffe0000923358 [usbus0]
4 0 0 0 DL (threaded) [cam]
100071 D - 0xffffffff81e96ac0 [scanner]
100027 D - 0xffffffff81e96c80 [doneq0]
3 0 0 0 DL crypto_r 0xffffffff820fea90 [crypto returns]
2 0 0 0 DL crypto_w 0xffffffff820fe938 [crypto]
15 0 0 0 DL - 0xffffffff81eb4180 [rand_harvestq]
14 0 0 0 DL (threaded) [geom]
100013 D - 0xffffffff82171560 [g_down]
100012 D - 0xffffffff82171558 [g_up]
100011 D - 0xffffffff82171550 [g_event]
13 0 0 0 DL (threaded) [ng_queue]
100010 D sleep 0xffffffff81e54fc8 [ng_queue1]
100009 D sleep 0xffffffff81e54fc8 [ng_queue0]
12 0 0 0 WL (threaded) [intr]
100080 I [swi1: netisr 1]
100069 I [swi1: pfsync]
100067 I [swi1: pf send]
100064 I [swi0: uart uart]
100051 I [irq15: ata1]
100050 I [irq14: ata0]
100037 I [irq17: ehci0 ehci1+]
100032 I [irq18: ohci0 ohci1*]
100031 I [irq19: ahci0]
100030 I [irq261: re2]
100029 I [irq260: re1]
100028 I [irq259: re0]
100025 I [swi5: fast taskq]
100023 I [swi6: Giant taskq]
100021 I [swi6: task queue]
100008 I [swi3: vm]
100007 I [swi4: clock]
100006 I [swi4: clock]
100005 I [swi1: netisr 0]
11 0 0 0 RL (threaded) [idle]
100004 CanRun [idle: cpu1]
100003 CanRun [idle: cpu0]
1 0 1 0 SLs wait 0xfffff800032084c0 [init]
10 0 0 0 DL audit_wo 0xffffffff82183970 [audit]
0 0 0 0 DLs (threaded) [kernel]
100070 D - 0xfffff800032b1000 [CAM taskq]
100065 D - 0xfffff8000a054900 [mca taskq]
100026 D - 0xfffff800032b1200 [kqueue taskq]
100024 D - 0xfffff800032b1700 [thread taskq]
100022 D - 0xfffff800032b1c00 [ffs_trim taskq]
100020 D - 0xfffff800032b2400 [acpi_task_2]
100019 D - 0xfffff800032b2400 [acpi_task_1]
100018 D - 0xfffff800032b2400 [acpi_task_0]
100014 D - 0xfffff800031fa500 [firmware taskq]
100000 D swapin 0xffffffff82171658 [swapper]
db:0:kdb.enter.default> alltrace
Tracing command bsnmpd pid 32124 tid 100104 td 0xfffff8000a4ea490
strlcpy() at strlcpy+0x25/frame 0xfffffe003609f850
sysctl_rman() at sysctl_rman+0x1e1/frame 0xfffffe003609f930
sysctl_root() at sysctl_root+0x232/frame 0xfffffe003609f980
userland_sysctl() at userland_sysctl+0x1d8/frame 0xfffffe003609fa30
sys___sysctl() at sys___sysctl+0x74/frame 0xfffffe003609fae0
amd64_syscall() at amd64_syscall+0x351/frame 0xfffffe003609fbf0
Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe003609fbf0
--- syscall (202, FreeBSD ELF64, sys___sysctl), rip = 0x800fb598a, rsp = 0x7fffffffa3d8, rbp = 0x7fffffffa410 ---
...
Files
Actions