OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: interkrome on August 21, 2017, 07:55:02 am

Title: Kernel Panic
Post by: interkrome on August 21, 2017, 07:55:02 am
Hi everyone,

My machine keep on crash. It just stay active for 2-3 days then crash. Not really sure what happened.

Machine information:

OPNsense 17.7-i386
FreeBSD 11.0-RELEASE-p11
OpenSSL 1.0.2l 25 May 2017
Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz (2 cores)

Log :

Fatal double fault:
eip = 0xc0e8f4b8
esp = 0xed7cdfb0
ebp = 0xed7ce010
cpuid = 0; apic id = 00
panic: double fault
cpuid = 0
KDB: stack backtrace:
db_trace_self_wrapper(c188474d,ff,1,2,1,...) at db_trace_self_wrapper+0x2a/frame 0xc1d7e328
kdb_backtrace(c1a6058d,0,c1a57493,c1d7e3e4,0,...) at kdb_backtrace+0x2d/frame 0xc1d7e390
vpanic(c1a57493,c1d7e3e4,c1d7e3e4,c1d7e3ec,c14927e6,...) at vpanic+0x114/frame 0xc1d7e3c4
panic(c1a57493,0,0,0,0,...) at panic+0x1b/frame 0xc1d7e3d8
dblfault_handler() at dblfault_handler+0xa6/frame 0xc1d7e3d8
--- trap 0x17, eip = 0xc0e8f4b8, esp = 0xed7cdfb0, ebp = 0xed7ce010 ---
cpu_search_lowest(c1d5f1b0,ed7ce038,ffffffff,0,c9008fa0,...) at cpu_search_lowest+0x18/frame 0xed7ce010
sched_pickcpu(0,2c,7fffffff,0,b6,...) at sched_pickcpu+0x299/frame 0xed7ce064
sched_add(ca05c000,0,ed7ce104,2710,962b1e18) at sched_add+0x3e/frame 0xed7ce0a0
sched_wakeup(ca05c000,0,ca05c000,ed7ce104,c0eb9dd5,...) at sched_wakeup+0x17c/frame 0xed7ce0c8
setrunnable(ca05c000,0,ed7ce198,0,1,ca05c000) at setrunnable+0x5d/frame 0xed7ce0dc
sleepq_resume_thread(0,0,c1885a9a,360,1,...) at sleepq_resume_thread+0xe5/frame 0xed7ce104
sleepq_signal(ca0b3280,0,0,0,ca0b3280,...) at sleepq_signal+0x9d/frame 0xed7ce130
wakeup_one(ca0b3280) at wakeup_one+0x33/frame 0xed7ce150
taskqueue_thread_enqueue(ca1045c8,c1d5f1c4,ed7ce198,c1d5f1b0,ed7ce190,...) at taskqueue_thread_enqueue+0x11/frame 0xed7ce15c
taskqueue_enqueue_locked(ed7ce1a8,c0e6a68b,ed7ce1c0,c1b5ea7c,8000efd6,...) at taskqueue_enqueue_locked+0x17e/frame 0xed7ce18c
taskqueue_enqueue(ca0b3280,ca1045cc,ed7ce258,c0e753dc,0,...) at taskqueue_enqueue+0xfe/frame 0xed7ce1b8
dummynet(0,ffffffff,5af38,57ecc9c6,1746206d,...) at dummynet+0x1b/frame 0xed7ce1c8
softclock_call_cc(1,31027e56,4b837274,0,41780a,...) at softclock_call_cc+0x13c/frame 0xed7ce258
callout_process(17461af2,5af38,ed7ce338,c149b080,0,...) at callout_process+0x267/frame 0xed7ce2d8
handleevents(0,e4359c80,ed7ce384,c149b69f,0,...) at handleevents+0x1ee/frame 0xed7ce328
timercb(c1db6600,0,0,0,e4f51bc3,...) at timercb+0xcf/frame 0xed7ce378
lapic_handle_timer(ed7ce3a4) at lapic_handle_timer+0x7c/frame 0xed7ce398
Xtimerint() at Xtimerint+0x2e/frame 0xed7ce398
--- interrupt, eip = 0xc056a33d, esp = 0xed7ce3e4, ebp = 0xed7ce548 ---
_libmd_SHA256_Transform(ed7cea18,c1a80d78,18,ed7ce610,c1c1ed80,...) at _libmd_SHA256_Transform+0x1cd/frame 0xed7ce548
_libmd_SHA256_Final(ed7ce610,ed7ce9d0) at _libmd_SHA256_Final+0xb0/frame 0xed7ce568
randomdev_hash_finish(ed7ce9d0,ed7ce610,20,0,0,...) at randomdev_hash_finish+0x18/frame 0xed7ce578
random_fortuna_pre_read(0,ed7ceb00,3,0,8,...) at random_fortuna_pre_read+0x1a1/frame 0xed7cead8
read_random(ed7cec40,100,2c,7fffffff,0,...) at read_random+0x26/frame 0xed7cec00
arc4rand(ed7ced6c,4,0,1102,ed7cee28,...) at arc4rand+0x74/frame 0xed7ced58
arc4random(ed7cedf8,ccc71410,2,ccc71410,ed7cedd8,...) at arc4random+0x21/frame 0xed7ced70
pf_get_translation(ed7cf150,c9334e00,14,2,c92b3b00,...) at pf_get_translation+0x479/frame 0xed7cee28
pf_test_rule(2,c92b3b00,c9334e00,14,ed7cf150,...) at pf_test_rule+0x31e/frame 0xed7cf100
pf_test(2,c9031400,ed7cf254,0,0,...) at pf_test+0x855/frame 0xed7cf208
pf_check_out(0,ed7cf254,c9031400,2,0,...) at pf_check_out+0x29/frame 0xed7cf228
pfil_run_hooks(c1dc5954,ed7cf32c,c9031400,2,0,...) at pfil_run_hooks+0x88/frame 0xed7cf288
ip_output(c9334e00,0,ed7cf3c8,1,0,...) at ip_output+0x2b2/frame 0xed7cf378
ip_forward(c9334e00,0,0,1,0,...) at ip_forward+0x429/frame 0xed7cf408
ip_input(c9334e00,0,c915e950,c8bcd084,cb226280,...) at ip_input+0x7c6/frame 0xed7cf474
netisr_dispatch_src(1,0,c9334e00) at netisr_dispatch_src+0xd0/frame 0xed7cf4bc
netisr_dispatch(1,c9334e00,ed7cf4fc,c20e9a79,c263b1c0,...) at netisr_dispatch+0x20/frame 0xed7cf4d0
ether_demux(c8ae8000,c9334e00,ca0b2b00,0,2,...) at ether_demux+0x131/frame 0xed7cf4fc
ng_ether_rcv_upper(ca0b2b00,c9478f80,0,1,0,...) at ng_ether_rcv_upper+0x93/frame 0xed7cf518
ng_apply_item(0,0,4,c20e9d84,0,...) at ng_apply_item+0x121/frame 0xed7cf570
ng_snd_item(c9478f80,0,ca0b2b80,0,11,...) at ng_snd_item+0x3fd/frame 0xed7cf5a0
ng_netflow_rcvdata(ca0b2a80,c9478f80,0,0,1,...) at ng_netflow_rcvdata+0x64c/frame 0xed7cf61c
ng_apply_item(0,0,4,c20e9d84,0,...) at ng_apply_item+0x121/frame 0xed7cf674
ng_snd_item(c9478f80,0,ca0b2a00,0,c8ae8000,...) at ng_snd_item+0x3fd/frame 0xed7cf6a4
ng_ether_input(c8ae8000,ed7cf6ec,4b,0,ed7cf720,...) at ng_ether_input+0x66/frame 0xed7cf6c8
ether_nh_input(c9334e00,c0ef6fd2,f39d9800,c9334e58,4b,...) at ether_nh_input+0x2ce/frame 0xed7cf718
netisr_dispatch_src(5,0,c9334e00) at netisr_dispatch_src+0xd0/frame 0xed7cf760
netisr_dispatch(5,c9334e00,ed7cf7f0,ed7cf7d0,c0936073,...) at netisr_dispatch+0x20/frame 0xed7cf774
ether_input(c8ae8000,c9334e00,ed7cf7a0,ed7cf7f0,c914a600,...) at ether_input+0x2a/frame 0xed7cf788
netmap_send_up(1,1,c963f940,1f0,3ff,...) at netmap_send_up+0x33/frame 0xed7cf7d0
netmap_txsync_to_host_compat(c963f940,2,c0e92148,c1d4faac,0,...) at netmap_txsync_to_host_compat+0x8c/frame 0xed7cf828
netmap_ioctl(c8712700,20006994,ed7cfc70,3,ca14c9c0,...) at netmap_ioctl+0x66c/frame 0xed7cfa94
devfs_ioctl_f(c9092a48,20006994,ed7cfc70,c8f9f500,ca14c9c0,...) at devfs_ioctl_f+0x145/frame 0xed7cfacc
kern_ioctl(ca14c9c0,8,20006994,ed7cfc70,4,...) at kern_ioctl+0x2db/frame 0xed7cfb10
sys_ioctl(ca14c9c0,ed7cfc68,ed7cfbe8,c0e62a1f,46,...) at sys_ioctl+0x119/frame 0xed7cfbd0
syscall(ed7cfca8) at syscall+0x678/frame 0xed7cfc9c
Xint0x80_syscall() at Xint0x80_syscall+0x2e/frame 0xed7cfc9c
--- syscall (54, FreeBSD ELF32, sys_ioctl), eip = 0x23b308b3, esp = 0xbbbf9eb4, ebp = 0xbbbfa744 ---
KDB: enter: panic
Title: Re: Kernel Panic
Post by: interkrome on August 25, 2017, 10:09:24 am
LAN adapter / PCI = DGE-528T Gigabit Ethernet Adapter
WAN adapter / onboard = RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller

is any of these caused the issue?
Title: Re: Kernel Panic
Post by: bartjsmit on August 25, 2017, 01:00:39 pm
Did you run a memtest? https://www.memtest86.com/

Bart...
Title: Re: Kernel Panic
Post by: interkrome on August 29, 2017, 03:58:18 am
Hi Bart,

Tested and no error was found