Actions
Bug #10672
closedPfSense crashes if enable vpn client from the internal network
Status:
Not a Bug
Priority:
Normal
Assignee:
-
Category:
Operating System
Target version:
-
Start date:
06/18/2020
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:
amd64
Description
PfSense crashes if i'm enable the vpn client from the internal network. It doesn't matter which computer, but if I use a VPN client, the pfsense server crashes. Version 2.4.5
Files
Updated by Dmitry Axelis about 5 years ago
HPE DL360G10
Intel Xeon Bronze 3104 CPU
64GB RAM
Updated by Viktor Gurov about 5 years ago
- Affected Version set to 2.4.5
That seems Suricata + bge(4) driver (netmap) issue:
529.124136 [1128] generic_netmap_attach Emulated adapter for bge1 created (prev was NULL) 529.124165 [1033] generic_netmap_dtor Emulated netmap adapter for bge1 destroyed 529.129362 [1128] generic_netmap_attach Emulated adapter for bge1 created (prev was NULL) 529.129537 [ 318] generic_netmap_register Emulated adapter for bge1 activated <6>ng0: changing name to 'l2tp1' 782.516210 [1180] netmap_grab_packets bad pkt at 185 len 11 panic: vm_fault: fault on nofault entry, addr: fffffe104eec3000 cpuid = 3 KDB: enter: panic
see https://forum.netgate.com/topic/144206/migrated-from-igb-to-bge-suricata-won-t-run-solved/3
and https://forum.netgate.com/topic/144979/porting-bge-driver-to-iflib
Updated by Jim Pingle about 5 years ago
- Category set to Operating System
- Status changed from New to Not a Bug
- Priority changed from High to Normal
- Affected Version deleted (
2.4.5)
Not enough info here to classify it as a bug in pfSense specifically. Given the backtrace it looks like an issue with your NIC or NIC drivers and netmap (e.g. suricata). Post on the forum to discuss the issue in more detail.
panic: vm_fault: fault on nofault entry, addr: fffffe104eec3000 cpuid = 3 KDB: enter: panic
db:0:kdb.enter.default> show pcpu cpuid = 3 dynamic pcpu = 0xfffffe1073113400 curthread = 0xfffff8098a4a6620: pid 1954 "RX#01-bge1^" curpcb = 0xfffffe104eec2400 fpcurthread = 0xfffff8098a4a6620: pid 1954 "RX#01-bge1^" idlethread = 0xfffff8000c2cd620: tid 100006 "idle: cpu3" curpmap = 0xfffff8078c94e138 tssp = 0xffffffff82cadfc8 commontssp = 0xffffffff82cadfc8 rsp0 = 0xfffffe104eec2400 gs32p = 0xffffffff82cb4820 ldt = 0xffffffff82cb4860 tss = 0xffffffff82cb4850 tlb gen = 21471733 db:0:kdb.enter.default> bt Tracing pid 1954 tid 101099 td 0xfffff8098a4a6620 kdb_enter() at kdb_enter+0x3b/frame 0xfffffe104eec1710 vpanic() at vpanic+0x19b/frame 0xfffffe104eec1770 panic() at panic+0x43/frame 0xfffffe104eec17d0 vm_fault_hold() at vm_fault_hold+0x24c6/frame 0xfffffe104eec1900 vm_fault() at vm_fault+0x75/frame 0xfffffe104eec1940 trap_pfault() at trap_pfault+0x165/frame 0xfffffe104eec19a0 trap() at trap+0x29d/frame 0xfffffe104eec1ab0 calltrap() at calltrap+0x8/frame 0xfffffe104eec1ab0 --- trap 0xc, rip = 0xffffffff805323e7, rsp = 0xfffffe104eec1b80, rbp = 0xfffffe104eec1e20 --- bge_start_locked() at bge_start_locked+0x6b7/frame 0xfffffe104eec1e20 bge_start() at bge_start+0x3f/frame 0xfffffe104eec1e50 if_transmit() at if_transmit+0x16e/frame 0xfffffe104eec1e90 nm_os_generic_xmit_frame() at nm_os_generic_xmit_frame+0x4c/frame 0xfffffe104eec1ea0 generic_netmap_txsync() at generic_netmap_txsync+0x25d/frame 0xfffffe104eec1f70 netmap_ioctl() at netmap_ioctl+0x474/frame 0xfffffe104eec2030 freebsd_netmap_ioctl() at freebsd_netmap_ioctl+0x44/frame 0xfffffe104eec2060 devfs_ioctl_f() at devfs_ioctl_f+0x128/frame 0xfffffe104eec20c0 kern_ioctl() at kern_ioctl+0x267/frame 0xfffffe104eec2130 sys_ioctl() at sys_ioctl+0x15b/frame 0xfffffe104eec2200 amd64_syscall() at amd64_syscall+0xa86/frame 0xfffffe104eec2330 fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe104eec2330 --- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x804e69fca, rsp = 0x7fffdfdfbb98, rbp = 0x7fffdfdfbc10 ---
Actions