From owner-freebsd-net@freebsd.org Fri Sep 11 12:09:04 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E46533D801F for ; Fri, 11 Sep 2020 12:09:04 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4BnvgN5B1mz4GBv for ; Fri, 11 Sep 2020 12:09:04 +0000 (UTC) (envelope-from hps@selasky.org) Received: by mailman.nyi.freebsd.org (Postfix) id B00283D8125; Fri, 11 Sep 2020 12:09:04 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AFB3A3D801E; Fri, 11 Sep 2020 12:09:04 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BnvgM6BvYz4G8b; Fri, 11 Sep 2020 12:09:03 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [178.17.145.105]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id E7C8226010D; Fri, 11 Sep 2020 14:09:00 +0200 (CEST) Subject: Re: bridge/igb panic: sleepq_add: td 0xfffffe01bbce5300 to sleep on wchan 0xffffffff8157d9a0 with sleeping prohibited To: xtouqh@mm.st, Gleb Smirnoff Cc: current@freebsd.org, net@freebsd.org References: <8172451b-81ea-aacb-02bd-b5005d18646d@mm.st> <29ab7449-0a0f-d64e-9664-8a19d21ac1d9@mm.st> From: Hans Petter Selasky Message-ID: Date: Fri, 11 Sep 2020 14:08:31 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <29ab7449-0a0f-d64e-9664-8a19d21ac1d9@mm.st> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4BnvgM6BvYz4G8b X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-2.63 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.987]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.35)[-0.347]; NEURAL_HAM_MEDIUM(-0.99)[-0.994]; FREEMAIL_TO(0.00)[mm.st,FreeBSD.org]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[current,net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 12:09:05 -0000 On 2020-09-11 13:47, xtouqh@mm.st wrote: > xtouqh@mm.st wrote: >> Updating from latest CURRENT snapshot >> (FreeBSD-13.0-CURRENT-amd64-20200910-1544934ffb2) to r365620 broke the >> bridges with igb (I350-T2) for me.  Booting to kernel.old and/or >> commenting the entries in rc.conf helps. >> >> rc.conf: >> ---- >> cloned_interfaces="bridge0 bridge1 tap0 tap1 tap2 tap3" >> ifconfig_em0="inet ..." >> ifconfig_igb0="up" >> ifconfig_igb1="up" >> ifconfig_bridge0="addm igb0 addm tap0 addm tap1" >> ifconfig_bridge1="addm igb1 addm tap2 addm tap3" >> ---- >> >> NICs (em0 is on-board, igb0/igb1 is addon I350-T2 card): >> ---- >> em0: mem 0x92d00000-0x92d1ffff >> at device 31.6 numa-domain 0 on pci0 >> em0: Using 1024 TX descriptors and 1024 RX descriptors >> em0: Using an MSI interrupt >> em0: Ethernet address: e0:d5:5e:6c:aa:36 >> em0: netmap queues/slots: TX 1/1024, RX 1/1024 >> igb0: mem >> 0xfbb00000-0xfbbfffff,0xfbc84000-0xfbc87fff at device 0.0 numa-domain >> 0 on pci16 >> igb0: Using 1024 TX descriptors and 1024 RX descriptors >> igb0: Using 8 RX queues 8 TX queues >> igb0: Using MSI-X interrupts with 9 vectors >> igb0: Ethernet address: a0:36:9f:0a:cf:42 >> igb0: netmap queues/slots: TX 8/1024, RX 8/1024 >> igb1: mem >> 0xfba00000-0xfbafffff,0xfbc80000-0xfbc83fff at device 0.1 numa-domain >> 0 on pci16 >> igb1: Using 1024 TX descriptors and 1024 RX descriptors >> igb1: Using 8 RX queues 8 TX queues >> igb1: Using MSI-X interrupts with 9 vectors >> igb1: Ethernet address: a0:36:9f:0a:cf:43 >> igb1: netmap queues/slots: TX 8/1024, RX 8/1024 >> ---- >> >> panic: >> ---- >> panic: sleepq_add: td 0xfffffe01bbce5300 to sleep on wchan >> 0xffffffff8157d9a0 with sleeping prohibited >> cpuid = 16 >> time = 1599808542 >> KDB: stack backtrace: >> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame >> 0xfffffe01ba658c40 >> vpanic() at vpanic+0x182/frame 0xfffffe01ba658c90 >> panic() at panic+0x43/frame 0xfffffe01ba658cf0 >> sleepq_add() at sleepq_add+0x359/frame 0xfffffe01ba658d40 >> _sleep() at _sleep+0x20c/frame 0xfffffe01ba658df0 >> pause_sbt() at pause_sbt+0xfe/frame 0xfffffe01ba658e20 >> e1000_reset_hw_82580() at e1000_reset_hw_82580+0x1c8/frame >> 0xfffffe01ba658e60 >> em_if_stop() at em_if_stop+0x1b/frame 0xfffffe01ba658e80 >> iflib_stop() at iflib_stop+0xbd/frame 0xfffffe01ba658ed0 >> iflib_if_ioctl() at iflib_if_ioctl+0x397/frame 0xfffffe01ba658f40 >> bridge_mutecaps() at bridge_mutecaps+0x145/frame 0xfffffe01ba658fb0 >> bridge_ioctl_add() at bridge_ioctl_add+0x468/frame 0xfffffe01ba659000 >> bridge_ioctl() at bridge_ioctl+0x32b/frame 0xfffffe01ba6590d0 >> in_control() at in_control+0x322/frame 0xfffffe01ba659180 >> ifioctl() at ifioctl+0x3e8/frame 0xfffffe01ba659250 >> kern_ioctl() at kern_ioctl+0x28e/frame 0xfffffe01ba6592c0 >> sys_ioctl() at sys_ioctl+0x127/frame 0xfffffe01ba659390 >> amd64_syscall() at amd64_syscall+0x140/frame 0xfffffe01ba6594b0 >> fast_syscall_common() at fast_syscall_common+0xf8/frame >> 0xfffffe01ba6594b0 >> --- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x8004b4aba, rsp = >> 0x7fffffffe2b8, rbp = 0x7fffffffe360 --- >> Uptime: 14s >> Dumping 3794 out of 97961 >> MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91% >> ---- > Hi, I think this is another variant of: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232362 --HPS