From owner-freebsd-net@freebsd.org Sat Jan 28 19:20:52 2017 Return-Path: Delivered-To: freebsd-net@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 E8EFDCC621A; Sat, 28 Jan 2017 19:20:52 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-yw0-x230.google.com (mail-yw0-x230.google.com [IPv6:2607:f8b0:4002:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A9A7BBB9; Sat, 28 Jan 2017 19:20:52 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-yw0-x230.google.com with SMTP id v200so35720076ywc.3; Sat, 28 Jan 2017 11:20:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=tDe24Zp1+IeZN0I+xnz+v2hQx/zOM+DGcNjVjWzl0uI=; b=sPQfP6oH3Nh/AU8fnenOfK5uU4yLN6bLSP3zRUPK+eRGyMegvvzh8JfgrXxDwOKGrv SO9+3g4uyVwiFlK6p5aDuOwno2js9GUVUMDkhhX2vX5AHvkkbAgLaPhT836YGA8WT4Pi 0KItNe6+RCKl5EVjxs9GZDKNNWt4eJWKgEsrVbUGFBXR31s3UF6tT97alThTZBanb6zN DpA7rWnX5+dmUv4xioMXY0nF6XNzmbnOByzIewYyrL9ayWKUAW2JL/2YgBo07DOaqqDL MydS9XYIoIrh2wShuP94lckBPfo8s1U3lC3juQBTrbo7PrheKJ60+wJZE/WC3oSdQx4m X8Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=tDe24Zp1+IeZN0I+xnz+v2hQx/zOM+DGcNjVjWzl0uI=; b=aDAmaIGR1xQlpdw6EqrkhIznmBv9m0Yq6dJpPyxcxjhFUPdrHL+TOBUYxiuhJqaSIG 6Q8MJBzB5NqpmSk/3OC9x7roGVNAUeyIDCMBx7Yvvg7C7LrBCI7sCmCo2PEQBBLGdW+k fyGVZxKMRMr0bRqSZ28evPX83gk9Jg24c2JHchkl0ASRL/aG6Ks/fpukHsw7yvN4vmSF rPL8NVyvwyf/tJghRFugzZoqSPGL+Rb7XEs20IBYBhEKYNFIETSIdKRXE04L5ySyGODf i1RYMqKkGLmF54P+s4HdKM2xvAqU0rsqnrRvXCErqeSkpjlk7R0YKKKItpO6e43BuUP9 tWXw== X-Gm-Message-State: AIkVDXLnYw5IJKmjmu7Uy+Oux2RkSJGD8P5hV7ql60FWg4IUyF2itpV2DGHvpggx5DRGiEf3xP44T2Z1oejyoQ== X-Received: by 10.13.230.135 with SMTP id p129mr9790080ywe.253.1485631251709; Sat, 28 Jan 2017 11:20:51 -0800 (PST) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.129.38.133 with HTTP; Sat, 28 Jan 2017 11:20:51 -0800 (PST) In-Reply-To: <20170128182118.GH58505@zxy.spb.ru> References: <20170128182118.GH58505@zxy.spb.ru> From: Alan Somers Date: Sat, 28 Jan 2017 12:20:51 -0700 X-Google-Sender-Auth: XNL9emNSC1BVN9eImOCfHut4YpA Message-ID: Subject: Re: LACP: Fatal trap 18: integer divide fault while in kernel mode To: Slawa Olhovchenkov Cc: FreeBSD , FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2017 19:20:53 -0000 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 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 and ends at 0xffffffff81453233 . > > 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"