Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jan 2017 12:20:51 -0700
From:      Alan Somers <asomers@freebsd.org>
To:        Slawa Olhovchenkov <slw@zxy.spb.ru>
Cc:        FreeBSD <freebsd-stable@freebsd.org>, FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: LACP: Fatal trap 18: integer divide fault while in kernel mode
Message-ID:  <CAOtMX2iKCkxf8e7yZuRr3fUC7rJbmJz1nk-fwQtzuycTpPZ8cA@mail.gmail.com>
In-Reply-To: <20170128182118.GH58505@zxy.spb.ru>
References:  <20170128182118.GH58505@zxy.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Please do open a PR and CC me.  As well as the stack trace, post your
lagg configuration, and, if you can determine it, the ports' state at
the time of the crash.
-Alan

On Sat, Jan 28, 2017 at 11:21 AM, Slawa Olhovchenkov <slw@zxy.spb.ru> wrote:
> I am got panic on recent stable:
>
> Fatal trap 18: integer divide fault while in kernel mode
> cpuid = 3; apic id = 06
> instruction pointer     = 0x20:0xffffffff81453230
> stack pointer           = 0x28:0xfffffe3e56f46480
> frame pointer           = 0x28:0xfffffe3e56f464a0
> 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         = 12 (swi4: clock (3))
> trap number             = 18
> panic: integer divide fault
> cpuid = 3
> KDB: stack backtrace:
> db_trace_self_wrapper() at 0xffffffff8032b3eb = db_trace_self_wrapper+0x2b/frame 0xfffffe3e56f460c0
> vpanic() at 0xffffffff804e33a6 = vpanic+0x186/frame 0xfffffe3e56f46140
> panic() at 0xffffffff804e3213 = panic+0x43/frame 0xfffffe3e56f461a0
> trap_fatal() at 0xffffffff807b07c2 = trap_fatal+0x322/frame 0xfffffe3e56f461f0
> trap() at 0xffffffff807b0475 = trap+0x6b5/frame 0xfffffe3e56f463b0
> calltrap() at 0xffffffff807946b1 = calltrap+0x8/frame 0xfffffe3e56f463b0
> --- trap 0x12, rip = 0xffffffff81453230, rsp = 0xfffffe3e56f46480, rbp = 0xfffffe3e56f464a0 ---
> lacp_select_tx_port() at 0xffffffff81453230 = lacp_select_tx_port+0x70/frame 0xfffffe3e56f464a0
> lagg_lacp_start() at 0xffffffff814504ae = lagg_lacp_start+0xe/frame 0xfffffe3e56f464c0
> lagg_transmit() at 0xffffffff8144e73f = lagg_transmit+0xbf/frame 0xfffffe3e56f46530
> ether_output() at 0xffffffff805f30bc = ether_output+0x71c/frame 0xfffffe3e56f465d0
> ip_output() at 0xffffffff80629935 = ip_output+0x1585/frame 0xfffffe3e56f46720
> tcp_output() at 0xffffffff806b9e16 = tcp_output+0x1876/frame 0xfffffe3e56f468c0
> tcp_timer_rexmt() at 0xffffffff806c572f = tcp_timer_rexmt+0x4df/frame 0xfffffe3e56f46900
> softclock_call_cc() at 0xffffffff804fd1b6 = softclock_call_cc+0x156/frame 0xfffffe3e56f469b0
> softclock() at 0xffffffff804fd754 = softclock+0x94/frame 0xfffffe3e56f469e0
> intr_event_execute_handlers() at 0xffffffff8049d15f = intr_event_execute_handlers+0x20f/frame 0xfffffe3e56f46a20
> ithread_loop() at 0xffffffff8049d766 = ithread_loop+0xc6/frame 0xfffffe3e56f46a70
> fork_exit() at 0xffffffff80499e25 = fork_exit+0x85/frame 0xfffffe3e56f46ab0
> fork_trampoline() at 0xffffffff80794bee = fork_trampoline+0xe/frame 0xfffffe3e56f46ab0
> --- trap 0, rip = 0, rsp = 0, rbp = 0 ---
>
> (kgdb) info line *0xffffffff81453230
> Line 848 of "/usr/src/sys/modules/if_lagg/../../net/ieee8023ad_lacp.c" starts at address 0xffffffff8145322e <lacp_select_tx_port+110> and ends at 0xffffffff81453233 <lacp_select_tx_port+115>.
>
> Do I need to create PR?
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2iKCkxf8e7yZuRr3fUC7rJbmJz1nk-fwQtzuycTpPZ8cA>