From owner-freebsd-current@freebsd.org Sat Apr 15 09:33:41 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 73FEFD3FC4F for ; Sat, 15 Apr 2017 09:33:41 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1A629968; Sat, 15 Apr 2017 09:33:40 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id v3F9XYZU021302 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 15 Apr 2017 12:33:34 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua v3F9XYZU021302 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id v3F9XYwA021301; Sat, 15 Apr 2017 12:33:34 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 15 Apr 2017 12:33:34 +0300 From: Konstantin Belousov To: "O. Hartmann" Cc: "O. Hartmann" , Alan Somers , FreeBSD CURRENT Subject: Re: CURRENT (r316844): Fatal trap 12: page fault while in kernel mode (syslogd) Message-ID: <20170415093334.GO1788@kib.kiev.ua> References: <20170414175246.2353dcf0@thor.intern.walstatt.dynvpn.de> <20170414185827.1ab68398@thor.intern.walstatt.dynvpn.de> <20170414171857.GK1788@kib.kiev.ua> <20170415111841.0c34be88@thor.intern.walstatt.dynvpn.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170415111841.0c34be88@thor.intern.walstatt.dynvpn.de> User-Agent: Mutt/1.8.0 (2017-02-23) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Apr 2017 09:33:41 -0000 On Sat, Apr 15, 2017 at 11:18:41AM +0200, O. Hartmann wrote: > Am Fri, 14 Apr 2017 20:18:57 +0300 > Konstantin Belousov schrieb: > > > On Fri, Apr 14, 2017 at 06:58:27PM +0200, O. Hartmann wrote: > > > Fatal trap 12: page fault while in kernel mode > > > cpuid = 2; apic id = 02 > > > fault virtual address = 0xfffff8001282fb00 > > > fault code = supervisor read instruction, protection violation > > > > > ??() at 0xfffff8001282fb00 > > > bpf_mtap() at bpf_mtap+0x1ab/frame 0xfffffe012d2aefb0 > > > iflib_txq_drain() at iflib_txq_drain+0x1383/frame 0xfffffe012d2af130 > > > drain_ring_lockless() at drain_ring_lockless+0xc0/frame 0xfffffe012d2af190 > > > ifmp_ring_enqueue() at ifmp_ring_enqueue+0x32e/frame 0xfffffe012d2af200 > > > iflib_if_transmit() at iflib_if_transmit+0xb0/frame 0xfffffe012d2af240 > > > ether_output() at ether_output+0x730/frame 0xfffffe012d2af2e0 > > > arprequest() at arprequest+0x426/frame 0xfffffe012d2af3e0 > > > arpresolve_full() at arpresolve_full+0x3d1/frame 0xfffffe012d2af460 > > > arpresolve() at arpresolve+0x10c/frame 0xfffffe012d2af4d0 > > > ether_output() at ether_output+0x4e1/frame 0xfffffe012d2af570 > > > ip_output() at ip_output+0x14e6/frame 0xfffffe012d2af6b0 > > > udp_send() at udp_send+0xab1/frame 0xfffffe012d2af780 > > > sosend_dgram() at sosend_dgram+0x3e4/frame 0xfffffe012d2af7f0 > > > kern_sendit() at kern_sendit+0x229/frame 0xfffffe012d2af890 > > > sendit() at sendit+0x1a7/frame 0xfffffe012d2af8e0 > > > sys_sendto() at sys_sendto+0x4d/frame 0xfffffe012d2af930 > > > amd64_syscall() at amd64_syscall+0x4c2/frame 0xfffffe012d2afab0 > > > Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe012d2afab0 > > > syscall (133, FreeBSD ELF64, sys_sendto), rip = 0x800b8a5fa, rsp = 0x7fffffffd6b8, > > > rbp = 0x7fffffffdcc0 --- > > > > You probably have BPF_JITTER option in your kernel config. Either set > > net.bpf_jitter.enable to 0 for now, or remove the option. > > > > It is due to r316767. The issue is known and a solution is being discussed. > > simply setting "net.bpf_jitter.enable=0" in /boot/loader.conf.local doesn't help, the > Trap 12 still occurs. It is sysctl, not tunable.