From owner-freebsd-net@freebsd.org Mon Feb 20 19:07:39 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 CB062CE6D15 for ; Mon, 20 Feb 2017 19:07:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 AF3261AF2 for ; Mon, 20 Feb 2017 19:07:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1KJ7dcs028319 for ; Mon, 20 Feb 2017 19:07:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213257] Crash in IGB driver with ALTQ Date: Mon, 20 Feb 2017 19:07:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-STABLE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ken@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Mon, 20 Feb 2017 19:07:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213257 Kenneth D. Merry changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ken@FreeBSD.org --- Comment #17 from Kenneth D. Merry --- I have run into this as well. IGB_LEGACY_TX has been broken for quite some time, at least for me. (Since mid-2015 at least.) I bought an em(4) card = to use with ALTQ, since it was easier and cheaper than trying to figure out why igb(4) was broken. I'm using igb(4) on the internal ports on my gateway router. Change 299182 bit me last night when I updated my gateway router from an Ap= ril 2016 10-stable to a February 2017 10-stable. So, I've got ALTQ enabled, but I'm not using it on igb(4), just on em(4) po= rts. In my opinion, we should not automatically enable IGB_LEGACY_TX until it has been fixed to work reliably at any traffic rate. Anyone enabling ALTQ with= an igb(4) interface in their system may well run into problems. It only took about 15 minutes for my router to hang, and another 15 minutes= to panic after that. FreeBSD mithlond.kdm.org 10.3-STABLE FreeBSD 10.3-STABLE #20 r313925: Sat F= eb 18 17:36:43 EST 2017=20=20=20=20 ken@mithlond.kdm.org:/usr/obj/usr/home/ken/src/freebsd/st able/10/sys/mithlond amd64 panic: sbsndptr: sockbuf 0xfffff80158d796f8 and mbuf 0xfffff80196bad600 clashing GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: panic: sbsndptr: sockbuf 0xfffff80158d796f8 and mbuf 0xfffff80196bad600 clashing cpuid =3D 2 KDB: stack backtrace: db_trace_self_wrapper() at 0xffffffff80364dab =3D db_trace_self_wrapper+0x2b/frame 0xfffffe0000359160 kdb_backtrace() at 0xffffffff809904c9 =3D kdb_backtrace+0x39/frame 0xfffffe0000359210 vpanic() at 0xffffffff80950e46 =3D vpanic+0x126/frame 0xfffffe0000359250 panic() at 0xffffffff80950d13 =3D panic+0x43/frame 0xfffffe00003592b0 sbsndmbuf() at 0xffffffff809d4b90 =3D sbsndmbuf/frame 0xfffffe00003592c0 tcp_output() at 0xffffffff80b16b9c =3D tcp_output+0xe6c/frame 0xfffffe00003= 594c0 tcp_do_segment() at 0xffffffff80b14858 =3D tcp_do_segment+0x2ff8/frame 0xfffffe00003595d0 tcp_input() at 0xffffffff80b10f06 =3D tcp_input+0x1036/frame 0xfffffe000035= 9730 ip_input() at 0xffffffff80a9b217 =3D ip_input+0x97/frame 0xfffffe0000359780 netisr_dispatch_src() at 0xffffffff80a352e2 =3D netisr_dispatch_src+0x62/fr= ame 0xfffffe00003597f0 ether_demux() at 0xffffffff80a2bba6 =3D ether_demux+0x126/frame 0xfffffe0000359820 ether_nh_input() at 0xffffffff80a2c84e =3D ether_nh_input+0x35e/frame 0xfffffe0000359880 netisr_dispatch_src() at 0xffffffff80a352e2 =3D netisr_dispatch_src+0x62/fr= ame 0xfffffe00003598f0 igb_rxeof() at 0xffffffff805104d6 =3D igb_rxeof+0x616/frame 0xfffffe0000359= 990 igb_msix_que() at 0xffffffff80510b7b =3D igb_msix_que+0x11b/frame 0xfffffe00003599e0 intr_event_execute_handlers() at 0xffffffff8091eb99 =3D intr_event_execute_handlers+0xb9/frame 0xfffffe0000359a20 ithread_loop() at 0xffffffff8091f556 =3D ithread_loop+0x96/frame 0xfffffe0000359a70 fork_exit() at 0xffffffff8091c45a =3D fork_exit+0x9a/frame 0xfffffe0000359a= b0 fork_trampoline() at 0xffffffff80d957ce =3D fork_trampoline+0xe/frame 0xfffffe0000359ab0 --=20 You are receiving this mail because: You are the assignee for the bug.=