From owner-freebsd-current@freebsd.org Fri Sep 11 11:56:16 2020 Return-Path: Delivered-To: freebsd-current@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 471AA3D6B2B for ; Fri, 11 Sep 2020 11:56:16 +0000 (UTC) (envelope-from xtouqh@mm.st) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BnvNc0GPrz4F6H for ; Fri, 11 Sep 2020 11:56:16 +0000 (UTC) (envelope-from xtouqh@mm.st) Received: by mailman.nyi.freebsd.org (Postfix) id 077DC3D6B92; Fri, 11 Sep 2020 11:56:16 +0000 (UTC) Delivered-To: current@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 072CA3D6B28; Fri, 11 Sep 2020 11:56:16 +0000 (UTC) (envelope-from xtouqh@mm.st) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (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 4BnvNb2hRPz4DhZ; Fri, 11 Sep 2020 11:56:15 +0000 (UTC) (envelope-from xtouqh@mm.st) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 97515CA9; Fri, 11 Sep 2020 07:48:06 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 11 Sep 2020 07:48:06 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehledggeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuhffvfhfkffgfgggjtgfgsehtke ertddtfeejnecuhfhrohhmpeigthhouhhqhhesmhhmrdhsthenucggtffrrghtthgvrhhn peeigeffjeejgfelvdelfeehteeiueeutefhteeigefgfedttdeffeelhfdtjeffkeenuc fkphepledurddvgedtrdduvdegrdduledtnecuufhprghmkfhppfgvthifohhrkhepledu rddvgedtrdduvdegrdduledtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepgihtohhuqhhhsehmmhdrshht X-ME-Proxy: Received: from mercury.lan (unknown [91.240.124.190]) by mail.messagingengine.com (Postfix) with ESMTPA id 736B6328005E; Fri, 11 Sep 2020 07:48:02 -0400 (EDT) Subject: Re: bridge/igb panic: sleepq_add: td 0xfffffe01bbce5300 to sleep on wchan 0xffffffff8157d9a0 with sleeping prohibited From: xtouqh@mm.st To: Gleb Smirnoff References: <8172451b-81ea-aacb-02bd-b5005d18646d@mm.st> Cc: current@freebsd.org, net@freebsd.org Message-ID: <29ab7449-0a0f-d64e-9664-8a19d21ac1d9@mm.st> Date: Fri, 11 Sep 2020 14:47:59 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <8172451b-81ea-aacb-02bd-b5005d18646d@mm.st> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4BnvNb2hRPz4DhZ X-Spamd-Bar: ++++++++++ X-Spamd-Result: default: False [10.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:64.147.123.24:c]; FREEMAIL_FROM(0.00)[mm.st]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[mm.st:+,messagingengine.com:+]; DMARC_POLICY_ALLOW(0.00)[mm.st,none]; NEURAL_HAM_SHORT(-0.13)[-0.132]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.24:from]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[mm.st]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[91.240.124.190:received]; R_DKIM_ALLOW(0.00)[mm.st:s=fm1,messagingengine.com:s=fm3]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RECEIVED_SPAMHAUS_CSS(4.00)[91.240.124.190:received]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(0.74)[0.736]; BAD_REP_POLICIES(0.10)[]; NEURAL_SPAM_LONG(1.00)[0.999]; FROM_NO_DN(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[64.147.123.24:from]; GREYLIST(0.00)[pass,body]; MAILMAN_DEST(0.00)[current,net] X-Spam: Yes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 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: Fri, 11 Sep 2020 11:56:16 -0000 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% > ---- Gleb, is this result of r365504? If yes, what are the possible fixes?