From nobody Mon Jul 5 07:31:23 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9442D11DDC7A for ; Mon, 5 Jul 2021 07:31:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GJHRv3jdnz4THh for ; Mon, 5 Jul 2021 07:31:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 680BC21EA4 for ; Mon, 5 Jul 2021 07:31:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1657VNAP030266 for ; Mon, 5 Jul 2021 07:31:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1657VNhj030264 for net@FreeBSD.org; Mon, 5 Jul 2021 07:31:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 245981] BCM57414 not initializing Date: Mon, 05 Jul 2021 07:31:23 +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: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: kirill@varnakov.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245981 --- Comment #10 from Kirill --- I have this problem too. This happened after updating the dell firmware to = the latest version. BNXT interface disappeared and I see an error in dmesg: bnxt0: mfi0: mem 0x9da10000-0x9da1ffff,0x9d900000-0x9d9fffff,0x9da22000-0x9da23fff irq 34 at device 0.0 numa-domain 0 on pci6 2523 (boot + 26s/0x0002/info) - Inserted: PD 03(e0x20/s3) Info: enclPd=3D20, scsiType=3D0, portMap=3D01, sasAddr=3D5000cca02f519775,0000000000000000 mfi0: 2524 (boot + 59s/0x0020/info) - Controller operating temperature with= in normal range, full operation restored bnxt0: mfi0: 2525 (678537358s/0x0020/info) - Time established as 07/02/21 10:35:58; (60 seconds since power on) mfi0: 2526 (678537426s/0x0020/info) - Host driver is loaded and operational using 256 tx descriptors and 256 rx descriptors bnxt0: msix_init qsets capped at 0 bnxt0: pxm cpus: 12 queue msgs: 73 admincnt: 1 bnxt0: using 0 rx queues 0 tx queues bnxt0: Using MSI-X interrupts with 1 vectors bnxt0: iflib_dma_alloc: bus_dma_tag_create failed: 22 bnxt0: device queue allocation failed bnxt0: Unable to allocate queue memory device_attach: bnxt0 attach returned 22 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Jul 5 09:05:49 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6257B11E6DFD for ; Mon, 5 Jul 2021 09:05:58 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from mail.sermon-archive.info (sermon-archive.info [47.181.130.121]) by mx1.freebsd.org (Postfix) with ESMTP id 4GJKY13kgZz4fjq for ; Mon, 5 Jul 2021 09:05:57 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from smtpclient.apple (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4GJKXt0dnJz2fjRM for ; Mon, 5 Jul 2021 02:05:50 -0700 (PDT) From: Doug Hardie Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: HomeNet Message-Id: <8DB51D44-5F8C-43C9-8F5F-A7D94640259D@sermon-archive.info> Date: Mon, 5 Jul 2021 02:05:49 -0700 To: "net@freebsd.org" X-Mailer: Apple Mail (2.3654.100.0.2.22) X-Virus-Scanned: clamav-milter 0.103.2 at mail X-Virus-Status: Clean X-Rspamd-Queue-Id: 4GJKY13kgZz4fjq X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bc979@lafn.org designates 47.181.130.121 as permitted sender) smtp.mailfrom=bc979@lafn.org X-Spamd-Result: default: False [-0.17 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_SPAM_SHORT(0.99)[0.986]; NEURAL_HAM_MEDIUM(-0.46)[-0.458]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[47.181.130.121:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[net@freebsd.org]; DMARC_NA(0.00)[lafn.org: no valid DMARC record]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[47.181.130.121:from:127.0.2.255]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-0.999]; TO_DN_EQ_ADDR_ALL(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:5650, ipnet:47.181.128.0/18, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[net] X-ThisMailContainsUnwantedMimeParts: N Is there an effort under way to implement HomeNet: RFCs 7368 and 7788? -- Doug From nobody Mon Jul 5 19:22:55 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 98E297C9F02 for ; Mon, 5 Jul 2021 19:22:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GJbDv3qwtz3QD0 for ; Mon, 5 Jul 2021 19:22:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6BC453CB8 for ; Mon, 5 Jul 2021 19:22:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 165JMtOa086168 for ; Mon, 5 Jul 2021 19:22:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 165JMthY086167 for net@FreeBSD.org; Mon, 5 Jul 2021 19:22:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 245981] BCM57414 not initializing Date: Mon, 05 Jul 2021 19:22:55 +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: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bsd@zuvis.mooo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245981 kestas changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bsd@zuvis.mooo.com --- Comment #11 from kestas --- Likely the same issue. Fresh install of FreeBSD 13.0 on Dell PowerEdge T640. ~50% chance of panics after reboot: Fatal trap 12: page fault while in kernel mode cpuid =3D 11; apic id =3D 0b fault virtual address =3D 0x81 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80d1da85 stack pointer =3D 0x28:0xfffffe00e276a060 frame pointer =3D 0x28:0xfffffe00e276a150 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 327CSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 (ifconfig)ups: lo trap number =3D 12 panic: page fault cpuid =3D 11 time =3D 1625402939 KDB: stack backtrace: #0 0xffffffff80c57345 at kdb_backtrace+0x65 #1 0xffffffff80c09d21 at vpanic+0x181 #2 0xffffffff80c09b93 at panic+0x43 #3 0xffffffff8108b187 at trap_fatal+0x387 #4 0xffffffff8108b1df at trap_pfault+0x4f #5 0xffffffff8108a83d at trap+0x27d #6 0xffffffff810617a8 at calltrap+0x8 #7 0xffffffff80d1f30c at ifioctl+0x50c #8 0xffffffff80c76ced at kern_ioctl+0x26d #9 0xffffffff80c769e6 at sys_ioctl+0xf6 #10 0xffffffff8108ba8c at amd64_syscall+0x10c #11 0xffffffff810620ce at fast_syscall_common+0xf8 Fatal trap 12: page fault while in kernel mode cpuid =3D 4; apic id =3D 04 fault virtual address =3D 0x81 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80d1da85 stack pointer =3D 0x28:0xfffffe014267c060 frame pointer =3D 0x28:0xfffffe014267c150 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current procCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::ess =3D 337 (ifconfig) trap number =3D 12 panic: page fault cpuid =3D 4 time =3D 1625402828 KDB: stack backtrace: #0 0xffffffff80c57345 at kdb_backtrace+0x65 #1 0xffffffff80c09d21 at vpanic+0x181 #2 0xffffffff80c09b93 at panic+0x43 #3 0xffffffff8108b187 at trap_fatal+0x387 #4 0xffffffff8108b1df at trap_pfault+0x4f #5 0xffffffff8108a83d at trap+0x27d #6 0xffffffff810617a8 at calltrap+0x8 #7 0xffffffff80d1f30c at ifioctl+0x50c #8 0xffffffff80c76ced at kern_ioctl+0x26d #9 0xffffffff80c769e6 at sys_ioctl+0xf6 #10 0xffffffff8108ba8c at amd64_syscall+0x10c #11 0xffffffff810620ce at fast_syscall_common+0xf8 Uptime: 20s dmesg output (only bnxt related): Jul 4 17:22:55 trunk kernel: bnxt0: mem 0xab210000-0xab21ffff,0xab100000-0xab1fffff,0xab222000-0xab22= 3fff at device 0.0 numa-domain 0 on pci5 Jul 4 17:22:55 trunk kernel: bnxt0: Using 256 TX descriptors and 256 RX descriptors Jul 4 17:22:55 trunk kernel: bnxt0: Using 0 RX queues 0 TX queues Jul 4 17:22:55 trunk kernel: bnxt0: Using MSI-X interrupts with 1 vectors Jul 4 17:22:55 trunk kernel: bnxt0: iflib_dma_alloc_align: bus_dma_tag_cre= ate failed: 22 Jul 4 17:22:55 trunk kernel: bnxt0: Unable to allocate device TX queue Jul 4 17:22:55 trunk kernel: bnxt0: Unable to allocate queue memory Jul 4 17:22:55 trunk kernel: device_attach: bnxt0 attach returned 22 Jul 4 17:22:55 trunk kernel: bnxt0: mem 0xab200000-0xab20ffff,0xab000000-0xab0fffff,0xab220000-0xab22= 1fff at device 0.1 numa-domain 0 on pci5 Jul 4 17:22:55 trunk kernel: bnxt0: Using 256 TX descriptors and 256 RX descriptors Jul 4 17:22:55 trunk kernel: bnxt0: Using 0 RX queues 0 TX queues Jul 4 17:22:55 trunk kernel: bnxt0: Using MSI-X interrupts with 1 vectors Jul 4 17:22:55 trunk kernel: bnxt0: iflib_dma_alloc_align: bus_dma_tag_cre= ate failed: 22 Jul 4 17:22:55 trunk kernel: bnxt0: Unable to allocate device TX queue Jul 4 17:22:55 trunk kernel: bnxt0: Unable to allocate queue memory Jul 4 17:22:55 trunk kernel: device_attach: bnxt0 attach returned 22 Jul 4 17:22:55 trunk kernel: bnxt0: mem 0xab210000-0xab21ffff,0xab100000-0xab1fffff,0xab222000-0xab22= 3fff at device 0.0 numa-domain 0 on pci5 Jul 4 17:22:55 trunk kernel: bnxt0: Using 256 TX descriptors and 256 RX descriptors Jul 4 17:22:55 trunk kernel: bnxt0: Using 8 RX queues 8 TX queues Jul 4 17:22:55 trunk kernel: bnxt0: Using MSI-X interrupts with 9 vectors Jul 4 17:22:55 trunk kernel: bnxt0: Ethernet address: b0:7b:25:c8:6d:b6 Jul 4 17:22:55 trunk kernel: bnxt0: netmap queues/slots: TX 8/256, RX 8/256 Jul 4 17:22:55 trunk kernel: bnxt1: mem 0xab200000-0xab20ffff,0xab000000-0xab0fffff,0xab220000-0xab22= 1fff at device 0.1 numa-domain 0 on pci5 Jul 4 17:22:55 trunk kernel: bnxt1: Using 256 TX descriptors and 256 RX descriptors Jul 4 17:22:55 trunk kernel: bnxt1: Using 8 RX queues 8 TX queues Jul 4 17:22:55 trunk kernel: bnxt1: Using MSI-X interrupts with 9 vectors Jul 4 17:22:55 trunk kernel: bnxt1: Ethernet address: b0:7b:25:c8:6d:b7 Jul 4 17:22:55 trunk kernel: bnxt1: netmap queues/slots: TX 8/256, RX 8/256 Jul 4 17:22:55 trunk kernel: bnxt0: Link is UP full duplex, FC - receive & transmit - 1000 Mbps=20 Jul 4 17:22:55 trunk kernel: bnxt0: link state changed to UP I've added to /boot/loader.conf: dev.bnxt.0.iflib.override_nrxqs=3D"8" dev.bnxt.0.iflib.override_ntxqs=3D"8" dev.bnxt.1.iflib.override_nrxqs=3D"8" dev.bnxt.1.iflib.override_ntxqs=3D"8" dmesg afterwards (errors disapeared): Jul 4 17:31:09 trunk kernel: bnxt0: mem 0xab210000-0xab21ffff,0xab100000-0xab1fffff,0xab222000-0xab22= 3fff at device 0.0 numa-domain 0 on pci5 Jul 4 17:31:09 trunk kernel: bnxt0: Using 256 TX descriptors and 256 RX descriptors Jul 4 17:31:09 trunk kernel: bnxt0: Using 8 RX queues 8 TX queues Jul 4 17:31:09 trunk kernel: bnxt0: Using MSI-X interrupts with 9 vectors Jul 4 17:31:09 trunk kernel: bnxt0: Ethernet address: b0:7b:25:c8:6d:b6 Jul 4 17:31:09 trunk kernel: bnxt0: netmap queues/slots: TX 8/256, RX 8/256 Jul 4 17:31:09 trunk kernel: bnxt1: mem 0xab200000-0xab20ffff,0xab000000-0xab0fffff,0xab220000-0xab22= 1fff at device 0.1 numa-domain 0 on pci5 Jul 4 17:31:09 trunk kernel: bnxt1: Using 256 TX descriptors and 256 RX descriptors Jul 4 17:31:09 trunk kernel: bnxt1: Using 8 RX queues 8 TX queues Jul 4 17:31:09 trunk kernel: bnxt1: Using MSI-X interrupts with 9 vectors Jul 4 17:31:09 trunk kernel: bnxt1: Ethernet address: b0:7b:25:c8:6d:b7 Jul 4 17:31:09 trunk kernel: bnxt1: netmap queues/slots: TX 8/256, RX 8/256 Jul 4 17:31:09 trunk kernel: bnxt0: Link is UP full duplex, FC - receive & transmit - 1000 Mbps=20 Jul 4 17:31:09 trunk kernel: bnxt0: link state changed to UP --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Jul 6 16:46:14 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 27ED48D09E3 for ; Tue, 6 Jul 2021 16:46:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GK7jh0GmFz3tTf for ; Tue, 6 Jul 2021 16:46:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E11221CFBF for ; Tue, 6 Jul 2021 16:46:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 166GkFwN042758 for ; Tue, 6 Jul 2021 16:46:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 166GkFtq042757 for net@FreeBSD.org; Tue, 6 Jul 2021 16:46:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254514] vnet: /sbin/ifconfig epair10b vnet $name getting stuck if one CPU is busy Date: Tue, 06 Jul 2021 16:46:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254514 Bjoern A. Zeeb changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bz@FreeBSD.org --- Comment #4 from Bjoern A. Zeeb --- Is this also realted to PR227100 ? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Jul 7 09:35:58 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 13BD111F4F39 for ; Wed, 7 Jul 2021 09:35:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GKZ6k6xJ6z3tbZ for ; Wed, 7 Jul 2021 09:35:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D6BB82B99 for ; Wed, 7 Jul 2021 09:35:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1679Zwu1067666 for ; Wed, 7 Jul 2021 09:35:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1679ZwUh067665 for net@FreeBSD.org; Wed, 7 Jul 2021 09:35:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 257038] [Panic] on http traffic to or from jail through vxlan Date: Wed, 07 Jul 2021 09:35:58 +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: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257038 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jail@FreeBSD.org Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Jul 7 10:15:25 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 114DB1225CC8 for ; Wed, 7 Jul 2021 10:15:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GKb0G6tZCz4Xdk for ; Wed, 7 Jul 2021 10:15:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D29D0349E for ; Wed, 7 Jul 2021 10:15:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 167AFQKn090911 for ; Wed, 7 Jul 2021 10:15:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 167AFQws090910 for net@FreeBSD.org; Wed, 7 Jul 2021 10:15:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 257038] [Panic] on http traffic to or from jail through vxlan Date: Wed, 07 Jul 2021 10:15:25 +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: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: capra-freebsd@phcn.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257038 --- Comment #2 from capra-freebsd@phcn.de --- I'll try to describe my Setup as good as I possible:=20 I have one physical IF connected, it's called em0.=20 I have 2 vxlan interfaces, endpoint is my router ifconfig_em0=3D"inet 192.168.1.5 netmask 255.255.255.0 mtu 4000" create_args_vxlan43=3D"vxlanid 43 vxlanlocal 192.168.1.5 vxlanremote 192.16= 8.1.1" ifconfig_vxlan43=3D"inet 10.43.0.5 netmask 255.255.255.0 up" create_args_vxlan44=3D"vxlanid 44 vxlanlocal 192.168.1.5 vxlanremote 192.16= 8.1.1" ifconfig_vxlan44=3D"inet 10.44.0.5 netmask 255.255.255.0 up" therefore I have to use fibs to have several routing tables, they are pretty simple=20 setfib 1 route add -net 10.44.0.0/24 -iface vxlan44 setfib 2 route add -net 10.43.0.0/24 -iface vxlan43 # Default route setfib 1 route add default 10.44.0.1 setfib 2 route add default 10.43.0.1 furthermore I use bhyve based virtual machines in my setup, they are connec= ted to the vxlan interfaces and work just fine.=20 NAME TYPE IFACE ADDRESS PRIVATE MTU VLAN PORTS phcn standard vm-phcn - no - - vxlan43 DMZ standard vm-DMZ - no - - vxlan44 the problem starts with the jail that are connected to vxlans, for example = this one: cat /zroot/iocage/jails/phcn-zabbix/config.json=20 { "boot": 0, "depends": "psql", "exec_fib": "2", "host_hostname": "phcn-zabbix", "host_hostuuid": "phcn-zabbix", "ip4_addr": "lo1|127.0.1.10/8,vxlan43|10.43.0.10/24", "jail_zfs_dataset": "iocage/jails/phcn-zabbix/data", "last_started": "2021-07-07 10:06:19", "release": "12.2-RELEASE-p6" }#=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 when I try to connect to the zabbix webui, or if I use the jail console to= =20 curl www.google.de the host crashes. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Jul 8 02:48:02 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 416F01223959 for ; Thu, 8 Jul 2021 02:48:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GL11b1BPmz4sSt for ; Thu, 8 Jul 2021 02:48:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0DF12191F5 for ; Thu, 8 Jul 2021 02:48:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1682m31l028232 for ; Thu, 8 Jul 2021 02:48:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1682m2IS028231 for net@FreeBSD.org; Thu, 8 Jul 2021 02:48:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 257038] em(4): Panic on HTTP traffic to or from jail through vxlan(4) Date: Thu, 08 Jul 2021 02:48:02 +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: 13.0-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? mfc-stable13? X-Bugzilla-Changed-Fields: flagtypes.name bug_severity short_desc bug_status keywords 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257038 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |maintainer-feedback?(bryanv | |@FreeBSD.org), | |maintainer-feedback?(np@Fre | |eBSD.org), mfc-stable13? Severity|Affects Only Me |Affects Some People Summary|[Panic] on http traffic to |em(4): Panic on HTTP |or from jail through vxlan |traffic to or from jail | |through vxlan(4) Status|New |Open Keywords| |crash, needs-qa CC| |bryanv@FreeBSD.org, | |np@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Jul 8 02:48:24 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A88E71223C75 for ; Thu, 8 Jul 2021 02:48:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GL1202pMGz4smg for ; Thu, 8 Jul 2021 02:48:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 385A119040 for ; Thu, 8 Jul 2021 02:48:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1682mO7a028321 for ; Thu, 8 Jul 2021 02:48:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1682mOCH028319 for net@FreeBSD.org; Thu, 8 Jul 2021 02:48:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 257038] em(4): Panic on HTTP traffic to or from jail through vxlan(4) Date: Thu, 08 Jul 2021 02:48:24 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? mfc-stable13? 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257038 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From nobody Thu Jul 8 11:50:55 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4392D1222D80 for ; Thu, 8 Jul 2021 11:50:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GLF400cN1z4kRw for ; Thu, 8 Jul 2021 11:50:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D5B6D20160 for ; Thu, 8 Jul 2021 11:50:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 168BotAB011261 for ; Thu, 8 Jul 2021 11:50:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 168BotsZ011260 for net@FreeBSD.org; Thu, 8 Jul 2021 11:50:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 256819] dummynet in monolithic kernel broken on stable/12-n233319-c419c8231fb arm64 on AWS Date: Thu, 08 Jul 2021 11:50:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kp@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256819 --- Comment #6 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D1975b8347df66301e4760df04f4fa74e8= 619fa07 commit 1975b8347df66301e4760df04f4fa74e8619fa07 Author: Kristof Provost AuthorDate: 2021-07-01 07:42:34 +0000 Commit: Kristof Provost CommitDate: 2021-07-08 06:46:45 +0000 dummynet: fix sysctls The sysctl nodes which use V_dn_cfg must be marked as CTLFLAG_VNET so that we use the correct per-vnet offset PR: 256819 Reviewed by: donner MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D30974 (cherry picked from commit 8f76eebce424de064f65fec5cdd105446a2de3bd) sys/netpfil/ipfw/ip_dn_io.c | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Jul 8 11:50:58 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B7135122297A for ; Thu, 8 Jul 2021 11:50:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GLF4308gDz4kHP for ; Thu, 8 Jul 2021 11:50:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9FB78203D5 for ; Thu, 8 Jul 2021 11:50:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 168Bow0b011293 for ; Thu, 8 Jul 2021 11:50:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 168Bowlq011292 for net@FreeBSD.org; Thu, 8 Jul 2021 11:50:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 256819] dummynet in monolithic kernel broken on stable/12-n233319-c419c8231fb arm64 on AWS Date: Thu, 08 Jul 2021 11:50:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kp@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256819 --- Comment #7 from commit-hook@FreeBSD.org --- A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Daae1a783dd444060f9a9ed9cf0fbb0c3b= a7c6800 commit aae1a783dd444060f9a9ed9cf0fbb0c3ba7c6800 Author: Kristof Provost AuthorDate: 2021-07-01 07:42:34 +0000 Commit: Kristof Provost CommitDate: 2021-07-08 06:49:56 +0000 dummynet: fix sysctls The sysctl nodes which use V_dn_cfg must be marked as CTLFLAG_VNET so that we use the correct per-vnet offset PR: 256819 Reviewed by: donner MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D30974 (cherry picked from commit 8f76eebce424de064f65fec5cdd105446a2de3bd) sys/netpfil/ipfw/ip_dn_io.c | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Jul 8 11:51:26 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 62A1D1222E56 for ; Thu, 8 Jul 2021 11:51:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GLF4b0mTpz4kjl for ; Thu, 8 Jul 2021 11:51:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D221F2078C for ; Thu, 8 Jul 2021 11:51:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 168BpQm4011460 for ; Thu, 8 Jul 2021 11:51:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 168BpQX9011459 for net@FreeBSD.org; Thu, 8 Jul 2021 11:51:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 256819] dummynet in monolithic kernel broken on stable/12-n233319-c419c8231fb arm64 on AWS Date: Thu, 08 Jul 2021 11:51:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kp@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kp@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256819 Kristof Provost changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|In Progress |Closed --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Jul 8 21:02:13 2021 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 74CC412235A5 for ; Thu, 8 Jul 2021 21:02:32 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from forward105o.mail.yandex.net (forward105o.mail.yandex.net [37.140.190.183]) (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 4GLTJQ3NjMz4t0n; Thu, 8 Jul 2021 21:02:29 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from sas1-37a648709e20.qloud-c.yandex.net (sas1-37a648709e20.qloud-c.yandex.net [IPv6:2a02:6b8:c08:fe03:0:640:37a6:4870]) by forward105o.mail.yandex.net (Yandex) with ESMTP id C7CE0420252B; Fri, 9 Jul 2021 00:02:18 +0300 (MSK) Received: from sas2-1cbd504aaa99.qloud-c.yandex.net (sas2-1cbd504aaa99.qloud-c.yandex.net [2a02:6b8:c14:7101:0:640:1cbd:504a]) by sas1-37a648709e20.qloud-c.yandex.net (mxback/Yandex) with ESMTP id uy8yEVkL1G-2GHudcth; Fri, 09 Jul 2021 00:02:16 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfw.ru; s=mail; t=1625778136; bh=IiobuB/WmwbPbP1vEcjuIzKN0BnRJmIO8lDH5IMqvRY=; h=To:In-Reply-To:Subject:Cc:From:Message-Id:References:Date; b=CQho59o1jKJ19dP4NPA8BJiHDdK7sq0B9a+hWGgNMf5g7bxGpRGjZe8h5jSj2k/NT PWj3b1bh3JA4TkeNAEqv3zGQrv3u9wMAPKrleOMXkP60pmDF0Dem4jNhzAoZi+4q72 L5vSOoOuovnqGQAj5huNx2jOORC3MmBSl8b3+9XM= Received: by sas2-1cbd504aaa99.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id hU8WvtgbsG-2FPGJTi9; Fri, 09 Jul 2021 00:02:16 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) Content-Type: text/plain; charset=us-ascii List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Re: network crash in nhop_free From: "Alexander V. Chernikov" In-Reply-To: Date: Thu, 8 Jul 2021 22:02:13 +0100 Cc: freebsd-net Content-Transfer-Encoding: quoted-printable Message-Id: <95F4F779-91A0-482B-B26B-6C95A60FC281@ipfw.ru> References: <2fbc5205-3fcc-d233-dae1-cf6ddc8d691d@FreeBSD.org> To: Andriy Gapon X-Mailer: Apple Mail (2.3654.100.0.2.22) X-Rspamd-Queue-Id: 4GLTJQ3NjMz4t0n X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ipfw.ru header.s=mail header.b=CQho59o1; dmarc=none; spf=pass (mx1.freebsd.org: domain of melifaro@ipfw.ru designates 37.140.190.183 as permitted sender) smtp.mailfrom=melifaro@ipfw.ru X-Spamd-Result: default: False [-3.10 / 15.00]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:37.140.128.0/18]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[ipfw.ru:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[37.140.190.183:from]; ASN(0.00)[asn:13238, ipnet:37.140.128.0/18, country:RU]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[37.140.190.183:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[ipfw.ru:s=mail]; FREEFALL_USER(0.00)[melifaro]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ipfw.ru]; SPAMHAUS_ZRD(0.00)[37.140.190.183:from:127.0.2.255]; RWL_MAILSPIKE_POSSIBLE(0.00)[37.140.190.183:from]; MAILMAN_DEST(0.00)[freebsd-net] X-ThisMailContainsUnwantedMimeParts: N Hi Andriy, Could you by any chance provide a bit more info on the system networking = configuration and the steps leading to panic? No chance for a coredump? destroy_nhgrp() suggests that there was a multipath route (default?) = that was deleted. nhops are created with UMA_ALIGN_PTR, so I suspect there is a garbage = inside nhgrp pointer.. > On 22 Jun 2021, at 11:31, Andriy Gapon wrote: >=20 >=20 > It seems that the panic message was > panic: Misaligned access from kernel space! >=20 > On 22/06/2021 12:54, Andriy Gapon wrote: >> Not sure if I'll be able to get more out of this arm64 machine. >> I was playing with ppp and switching routes between LAN and ppp when = the crash happened. >> The system is 2-3 weeks old 14.0-CURRENT as of c8250c5ada85fec. >> Tracing pid 0 tid 100014 td 0xffffa00000c00000 >> db_trace_self() at db_trace_self >> db_stack_trace() at db_stack_trace+0x11c >> db_command() at db_command+0x244 >> db_command_loop() at db_command_loop+0x54 >> db_trap() at db_trap+0xf8 >> kdb_trap() at kdb_trap+0x1c4 >> handle_el1h_sync() at handle_el1h_sync+0x74 >> --- exception, esr 0xf2000000 >> kdb_enter() at kdb_enter+0x44 >> vpanic() at vpanic+0x1c4 >> panic() at panic+0x44 >> align_abort() at align_abort+0xb8 >> handle_el1h_sync() at handle_el1h_sync+0x74 >> --- exception, esr 0x96000021 >> nhop_free() at nhop_free+0x100 >> destroy_nhgrp() at destroy_nhgrp+0x38 >> epoch_call_task() at epoch_call_task+0x158 >> gtaskqueue_run_locked() at gtaskqueue_run_locked+0x178 >> gtaskqueue_thread_loop() at gtaskqueue_thread_loop+0x9c >> fork_exit() at fork_exit+0x74 >> fork_trampoline() at fork_trampoline+0x14 >=20 >=20 > --=20 > Andriy Gapon >=20 From eugen@grosbein.net Thu Jul 8 22:00:41 2021 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 93299122B454; Thu, 8 Jul 2021 22:01:03 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:c2c:26d8::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GLVby3sLMz3J7X; Thu, 8 Jul 2021 22:01:02 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id 168M0pM2054510 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 8 Jul 2021 22:00:52 GMT (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: freebsd-net@freebsd.org Received: from [10.58.0.10] (dadvw [10.58.0.10]) by eg.sd.rdtc.ru (8.16.1/8.16.1) with ESMTPS id 168M0oQ6074015 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 9 Jul 2021 05:00:50 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: How to run script on network address change? To: Rozhuk Ivan , freebsd-net@freebsd.org, freebsd-hackers@FreeBSD.org References: <20210620165215.0f3dd15c@rimwks.local> From: Eugene Grosbein Message-ID: <886e5afe-7b4f-db1d-4d41-08a7457c6bdc@grosbein.net> Date: Fri, 9 Jul 2021 05:00:41 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 In-Reply-To: <20210620165215.0f3dd15c@rimwks.local> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-102.3 required=5.0 tests=BAYES_00,SHORTCIRCUIT autolearn=disabled version=3.4.2 X-Spam-Report: * -100 SHORTCIRCUIT No description available. * [score: 0.0002] * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hz.grosbein.net X-Rspamd-Queue-Id: 4GLVby3sLMz3J7X X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=fail (mx1.freebsd.org: domain of eugen@grosbein.net does not designate 2a01:4f8:c2c:26d8::2 as permitted sender) smtp.mailfrom=eugen@grosbein.net X-Spamd-Result: default: False [0.89 / 15.00]; RCVD_TLS_ALL(0.00)[]; R_SPF_FAIL(1.00)[-all]; NEURAL_SPAM_SHORT(0.92)[0.925]; FREEFALL_USER(0.00)[eugen]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; DMARC_NA(0.00)[grosbein.net]; SPAMHAUS_ZRD(0.00)[2a01:4f8:c2c:26d8::2:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a01:4f8:c2c:26d8::2:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.93)[-0.932]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org,FreeBSD.org]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; MIME_TRACE(0.00)[0:+]; MAILMAN_DEST(0.00)[freebsd-hackers,freebsd-net] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N 20.06.2021 20:52, Rozhuk Ivan wrote > Hi! > > > I have FreeBSD 13@amd64 router with DHCP client on uplink. > > How to run script on IP address change? Here is my /etc/dhclient-enter-hooks I use with FreeBSD 11 and stock dhclient for a system with two distinct ISP uplinks. It replaces some of default hooks: #!/bin/sh # Ignore ISP DNS servers as we run our own resolver add_new_resolv_conf() { return 0 } add_new_address() { # Perform interface configuration eval "$IFCONFIG $interface \ inet $new_ip_address \ netmask $new_subnet_mask \ broadcast $new_broadcast_address \ $medium" # Save ISP gateway address with interface description for easy access eval '$IFCONFIG $interface description "gw $new_routers"' # Generate nice logs $LOGGER "New IP Address ($interface): $new_ip_address" $LOGGER "New Subnet Mask ($interface): $new_subnet_mask" $LOGGER "New Broadcast Address ($interface): $new_broadcast_address" $LOGGER "New Routers ($interface): $new_routers" # Some additional logic may be added here like switching default route return 0 } # EOF From nobody Fri Jul 9 09:16:59 2021 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4E482124133A for ; Fri, 9 Jul 2021 09:17:05 +0000 (UTC) (envelope-from weh@microsoft.com) Received: from APC01-HK2-obe.outbound.protection.outlook.com (mail-eopbgr1300121.outbound.protection.outlook.com [40.107.130.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GLnc014B3z4Rwy; Fri, 9 Jul 2021 09:17:03 +0000 (UTC) (envelope-from weh@microsoft.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EMg/P7V1H+blLqvQ8PWRymzqn0EzyzfAVBhrHHogejfHmbWHKJmN0RRaoznOJ+dcnOwlaOWKfTI0CCoNOs9jGSuWkk5rX+oaNYri46zUqbSaFotVhg57u0x/kImR7RvBc1a5bo/l4zhsKuWH8qu2QDUUav1sYJmYNYPz4IUc178w/5xAfijSFnTw4JV9jWZnmabY1SzqM/zO2tNR5XdUhJdYKYAcl8T0c6K5MpgKkT4RbDahneyu/3QxPQrubDPrdVO1Pe22PykqSd1NR4mkwF/Duqb0Doemc5kBKm1URyoEDM7ge9C2UmrDs3IrCPQY+/KP2EA6CwFWYT0Poo/3Ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rBGwM/gkARAUmrJFls2ziTKSjjam3YmWP1zQRllZxIU=; b=nN35PXoyCjlij79+/nLaRnb4X/DXr8in3Oa8QDirERKnBLsHZHbkXqJGe/yd5gvTtOCtFuM7ZyAZpM/ZWfyj3nrU/Fy4ReltwRL4I3s4OtEWMKmrhypxLt1js4NbZo/E9jsTT0vqHkYUegahbMaXWyezF06dgVj6osIr4zc6OVWTLGeVsOQd7TBRTgqgHkZIKQlqGg/KXyNxS8h5SUKl9lCuuY7iJqGcMpveeCQUwxiQ0sR0BIBa0reSNVScT/dr1ZLjBvXJV0bIWaP9//X5Pkl8swQ9F3L4Zqr3SEuBd/zaEYzEpOaspnpLKY8a2Rx5OrP/b8te2JSV8NyLLEaTEg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rBGwM/gkARAUmrJFls2ziTKSjjam3YmWP1zQRllZxIU=; b=dY5zsuyN7qy4jIiMrQFst5s0gcMNTi4Q1n5lFEvoPNMYUbn5KSTG5Pj7oc/iU433InAWz2tRNf3RTAECb4fD/ZrZVCUyQBwpzcN2JMlIc6LE22Qd2vDBDTt7WkswqAkQ6WwsBx1Ylyimr3sXeoIYnowMF2DLxMx23Xt+lLOSLRo= Received: from SI2P153MB0441.APCP153.PROD.OUTLOOK.COM (2603:1096:4:fc::7) by SI2P153MB0522.APCP153.PROD.OUTLOOK.COM (2603:1096:4:12b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.7; Fri, 9 Jul 2021 09:16:59 +0000 Received: from SI2P153MB0441.APCP153.PROD.OUTLOOK.COM ([fe80::958:db78:a743:2057]) by SI2P153MB0441.APCP153.PROD.OUTLOOK.COM ([fe80::958:db78:a743:2057%9]) with mapi id 15.20.4331.014; Fri, 9 Jul 2021 09:16:59 +0000 To: "freebsd-net@FreeBSD.org" CC: "imp@bsdimp.com" , Li-Wen Hsu Subject: Send path scaling problem Thread-Topic: Send path scaling problem Thread-Index: Add0mRhesvtMFPMmRgOO0bJFRPNJMA== Date: Fri, 9 Jul 2021 09:16:59 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=53492b47-1c04-4ab0-aade-9ff59d3b51e1;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-07-09T08:03:51Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7e3eae4e-bd2b-4c88-667e-08d942ba4e3b x-ms-traffictypediagnostic: SI2P153MB0522: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 0iJY8yZvuLfkxK8N9bLY2lcOv3nrLAWwzddyQxqviDjW98rkNZe6APpccU1TN0WY02ItwIsF24tVbbH9QT1v1NDhSmHMai8DXSXcYkSqmNuLZPsa9Vltx2x44n2ASPR5vHetG1xEY2RSWiTLPK5a4GWmT5jJPvJ1V9E7anyZvtnQoOj7qU+wanq0c9Q/ibWstffS56jHCqFOB2ABZyww48v7SWLoNuZv6FWfWjH5DZArU+5nBr/G8roCGFpY+uf8dG4nnrqZGXbQ/SVgKiCl3/7edC8G6ux298bLtXkY+1IcBA/si+TGJc9ZcyGPLc1yK5EY+NCC4KS38g1ziwR/yn8WLwDcu7JvOKy7ECr5enh7MTval0ls8nKlbZSJPF6tgGe/7THdgFqO8yjrMJRfUQiD4oZ2u18SOzIYG+pcw5j7oFZj5RXRSv/3tDjSBi5y/A66RBTQqKjDr3F/5jP2p+zXxUmo+gSgXaeLnq1lUOq5TZJekmVaCoiQFJUFCj3rxcDqE95P6f9rhFyaVbPbbxwE4+XuMaMDxajEq0uPfQxlY2KAtIrPNylk9QN2sh27MmJjam1At7p1ETsKFTX6/F+sZvAIK96l88qqjcfcOcXFeIKE4vp1Puv4n+v0hIMoawogUL8R1LhcjAT5x61O9g== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SI2P153MB0441.APCP153.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(4636009)(366004)(4326008)(478600001)(66476007)(3480700007)(8990500004)(82950400001)(6506007)(38100700002)(122000001)(7696005)(83380400001)(8676002)(186003)(64756008)(8936002)(86362001)(33656002)(26005)(2906002)(71200400001)(76116006)(52536014)(66446008)(66946007)(9686003)(5660300002)(316002)(10290500003)(54906003)(6916009)(66556008)(82960400001)(55016002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?lx7eUGnTmJIYu+QeEUz8xVBgiV8R/CnTnjnwYow9xP/lWf9IhPtv7p+azkO3?= =?us-ascii?Q?nHSvluySx86uHMDftCr/JEWU38AqFupW3a0+8mChNmNvvr4E0AUUAw3U19nI?= =?us-ascii?Q?4wvrI+YY1cN0urkMM7sAuytGF2YKyzdFXiJmn6sLgRKZGBl/ko8P1TCxi+BN?= =?us-ascii?Q?O7PcJPaHwUAHYfRtD1nywF8oskYORfHLkeKRnPNGGtBeLFXQ+4WszU1GkBgo?= =?us-ascii?Q?hA3bdYTfemRSXYhFB77BcsdKCc0sBYryz023yINfVTXeQbuQhU4FBI6y6cTG?= =?us-ascii?Q?KB3L1/k+ycC0EdmWh6FtekUvF3ZKTOBsf0uijBsh8iPO/HBdBDeGD0e7g04Z?= =?us-ascii?Q?o54hd9wlt8Bep91h6tzzEh2SIfqorJwSrbDC73Y9UArqDxPBADmasJ14oQXz?= =?us-ascii?Q?OhZk+YQPlZLdrLzkTqSRsPVG0W1r/HsuWQ2qpaxZFE1lqAAUoHN05K4WUUhW?= =?us-ascii?Q?m4ery3mnLYNHRKlyqOxyS1VHRHsyGpyzAHP83KAmGLSMGfkFaKjy3owi8Vpk?= =?us-ascii?Q?4dCiFOI7NqPkL8goF68aZmgKWRdmvLLeAsjhr48trXVvH7EivrYgpTOV3csU?= =?us-ascii?Q?FjjgHfx2pbM3yyJC+3ICo7n8iijsEYKuVYgekg9GqSBUdlfE3xNveS1IKcB2?= =?us-ascii?Q?I0pgxijS/sf3DwSV7dNn2FzpS4/faW/fqpLkvJZ2VEuq/np7JeQICAk0aZO3?= =?us-ascii?Q?1K0OJt8q9RqevARa8Z2T+KHpaygepezNryQDjJKWGWQHFog6xUtbS4pItGXz?= =?us-ascii?Q?TjlYCUOdiGidRfn+agk8eWBp+46mGypGX0Vh2TKOk2Ywnmjj9yzIafg3q4sE?= =?us-ascii?Q?UVg6O+2cfgXPFmdcLY/n9fjA7NkVwT6mIcqHEhTF8QkjCyr4vsv0qdb3BSK5?= =?us-ascii?Q?bWgYmQ8LivwUpUhDya/HswUo5yOVsouTJTJg5DLaENIqBkTl61SbAJOV2G4J?= =?us-ascii?Q?KVB/+lGbIR/Ix5aCCg3TfT5LTJdJ8wA7O6dvyUblkjf7Qbd0Qlg5+ifzzmtS?= =?us-ascii?Q?dYMjnwikQqjJHcjTB62MiR1hOVXE+4Vu8R04mfX9zf61WeJWmL/WXGhFztCn?= =?us-ascii?Q?KqDmfKGMoGxFOjX5VmtStKLeJqRnG1DnY38h+D9iNvbtb5dw71X8POgotDn0?= =?us-ascii?Q?Ab2uBj7vZDYVJ4Jp5KnUsjlIDRGSPPvZBBdayA5bUIj1FupyLH0AdKXShlp/?= =?us-ascii?Q?+jZ63kP62CGQP/MTejuH7pCX9NchivyKcd7a/9fIKje5JuxNmiU+dAzEuSxg?= =?us-ascii?Q?yeMUZMHmkGB0tmbmqNA8LhzZ24IpA52OLGlvKr77auqs6zg2+Z4X+pGfYiD2?= =?us-ascii?Q?cYc=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SI2P153MB0441.APCP153.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 7e3eae4e-bd2b-4c88-667e-08d942ba4e3b X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jul 2021 09:16:59.0544 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: AizIbnEHfhFw0cqoHfac8pKhq9q0teHdPJp1JWbty1hpogYqE4QqUhHIxb6RNhWmbhdl35EhFxdB4lbDGhIzgQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2P153MB0522 X-Rspamd-Queue-Id: 4GLnc014B3z4Rwy X-Spamd-Bar: ---------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=microsoft.com header.s=selector2 header.b=dY5zsuyN; arc=pass (microsoft.com:s=arcselector9901:i=1); dmarc=pass (policy=reject) header.from=microsoft.com; spf=pass (mx1.freebsd.org: domain of weh@microsoft.com designates 40.107.130.121 as permitted sender) smtp.mailfrom=weh@microsoft.com X-Spamd-Result: default: False [-10.10 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[microsoft.com:+]; DMARC_POLICY_ALLOW(-0.50)[microsoft.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_LOW(-0.10)[40.107.130.121:from]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[40.107.130.121:from]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8075, ipnet:40.104.0.0/14, country:US]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[microsoft.com:s=selector2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; DWL_DNSWL_MED(-2.00)[microsoft.com:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[40.107.130.121:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; WHITELIST_SPF_DKIM(-3.00)[microsoft.com:d:+,microsoft.com:s:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.107.130.121:from]; MAILMAN_DEST(0.00)[freebsd-net] Reply-To: weh@microsoft.com From: Wei Hu via freebsd-net X-Original-From: Wei Hu X-ThisMailContainsUnwantedMimeParts: N Hello, I am working a driver for a new SRIOV nic on FreeBSD vms running on Hyper-V= . The driver coding has largely completed. The performance test shows some = scaling problems on the send path which I am seeking some advices. The nic is 100Gbps. I am running iperf2 as client generating tcp traffic fr= om the a 15-vcpu FreeBSD guest. So it has 15 tx and rx queues respectively.= When just using 1 iperf send stream (-P1), it hits over 30Gbps which is qu= ite good. With 2 send streams(-P2) in iperf2, it reaches 43Gbps. The more s= treams I use, the less obvious the scaling I can observe. The best performa= nce is around 65Gbps with 6 send streams (-P6). After that, there seem sno = much scaling I can see with more send streams, though the VM still has more= vcpu and tx queues available.=20 I can see a few things when doing the test, which I appreciate if anyone ca= n provide more insight.=20 1. In those cases with higher number of send streams (>6), I can see more l= ikely some send streams terminated with Broken Pipe error before then full = test time ends. For example, in a test with 10 send streams for 30 seconds,= there could be one to four streams terminated in just a few seconds with B= roken Pipe errors. The same test on Linux guest with same test server, I ha= ve never seen such problem. 2. The driver selects the tx queue based on mbuf's m_pkthdr.flowid field. I= can see each stream get different 4-byte flowid values. However, it is ver= y likely multiple flowids still collide to same tx queue, if we just use al= gorithm like "flowid % number_of_tx_queues" to get the tx queue. Any sugges= tions on how to avoid such case? 3. The tx ring size is 256. I allocate 1024 buf rings for each tx queue to = queue up the send requests. I have seen under heavy tx load the tx queue ha= s to be stopped till more completions are done, however, I have never seen = any drbr queue errors. Does this number look good or need further optimizat= ion? 3. On the tx completion path, a task thread is scheduled for each tx queue= when completion interrupt is received. This thread is not bind to any cpu,= so it can run on any cpu. Is it useful to bind it to a specific cpu? I did= try this but see little difference. Any other ideas are also very welcome. Thanks, Wei From nobody Fri Jul 9 11:57:54 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7F454127B6FC for ; Fri, 9 Jul 2021 11:57:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GLs9Z33xqz4m36 for ; Fri, 9 Jul 2021 11:57:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4CC1314224 for ; Fri, 9 Jul 2021 11:57:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 169Bvs9o086066 for ; Fri, 9 Jul 2021 11:57:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 169BvsQm086065 for net@FreeBSD.org; Fri, 9 Jul 2021 11:57:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 257067] panic: Assertion in_epoch(net_epoch_preempt) failed at /usr/src/sys/net/if_vlan.c:1185 Date: Fri, 09 Jul 2021 11:57:54 +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: 13.0-STABLE X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257067 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Jul 9 11:58:21 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0318E127BB4A for ; Fri, 9 Jul 2021 11:58:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GLsB54562z4mPK for ; Fri, 9 Jul 2021 11:58:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4DA3313F3D for ; Fri, 9 Jul 2021 11:58:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 169BwL4A086228 for ; Fri, 9 Jul 2021 11:58:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 169BwLGF086227 for net@FreeBSD.org; Fri, 9 Jul 2021 11:58:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 257057] icmp6 error messages not forwarding to traceroute6 Date: Fri, 09 Jul 2021 11:58:21 +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: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257057 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Jul 9 12:17:34 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 594B6127F3BB for ; Fri, 9 Jul 2021 12:17:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GLscH1syfz4rgc for ; Fri, 9 Jul 2021 12:17:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 282741426D for ; Fri, 9 Jul 2021 12:17:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 169CHZuX097692 for ; Fri, 9 Jul 2021 12:17:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 169CHZAB097691 for net@FreeBSD.org; Fri, 9 Jul 2021 12:17:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 257067] panic: Assertion in_epoch(net_epoch_preempt) failed at /usr/src/sys/net/if_vlan.c:1185 Date: Fri, 09 Jul 2021 12:17:34 +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: 13.0-STABLE X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: niels=freebsd@bakker.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257067 --- Comment #2 from Niels Bakker --- Test methodology: Unplug cable carrying the PPPoE session from the NTU, plug into a switch so link stays up, wait. Observed behaviour pre patch: same panic as ng0 gets torn down Observed behaviour with above patch applied: normal operation continues aft= er mpd tears down the link, and the PPPoE link comes back up as soon as the ca= ble is plugged back into the NTU. Success! Thanks, Alexandr Fedorov! --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Jul 9 12:18:16 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0E33A127F82D for ; Fri, 9 Jul 2021 12:18:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GLsd36kXBz4s6g for ; Fri, 9 Jul 2021 12:18:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CDEE4143CE for ; Fri, 9 Jul 2021 12:18:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 169CIF0U097823 for ; Fri, 9 Jul 2021 12:18:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 169CIF7o097822 for net@FreeBSD.org; Fri, 9 Jul 2021 12:18:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 257067] panic: Assertion in_epoch(net_epoch_preempt) failed at /usr/src/sys/net/if_vlan.c:1185 Date: Fri, 09 Jul 2021 12:18:16 +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: 13.0-STABLE X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: niels=freebsd@bakker.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257067 --- Comment #3 from Niels Bakker --- Apologies for the typo, Aleksandr --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Jul 9 12:50:51 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1183A5D496E for ; Fri, 9 Jul 2021 12:50:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GLtLh6k0vz3D77 for ; Fri, 9 Jul 2021 12:50:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C5CD614EDE for ; Fri, 9 Jul 2021 12:50:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 169Coqj7013816 for ; Fri, 9 Jul 2021 12:50:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 169CoqWA013815 for net@FreeBSD.org; Fri, 9 Jul 2021 12:50:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 257067] panic: Assertion in_epoch(net_epoch_preempt) failed at /usr/src/sys/net/if_vlan.c:1185 Date: Fri, 09 Jul 2021 12:50:51 +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: 13.0-STABLE X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gbe@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257067 Gordon Bergling changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 546 | |95 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Jul 9 13:43:43 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 02FB47ED2AF for ; Fri, 9 Jul 2021 13:43:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GLvWg6Vmwz3M7X for ; Fri, 9 Jul 2021 13:43:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C8B7915B5A for ; Fri, 9 Jul 2021 13:43:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 169Dhh5I042494 for ; Fri, 9 Jul 2021 13:43:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 169Dhh2j042493 for net@FreeBSD.org; Fri, 9 Jul 2021 13:43:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 257067] panic: Assertion in_epoch(net_epoch_preempt) failed at /usr/src/sys/net/if_vlan.c:1185 Date: Fri, 09 Jul 2021 13:43:43 +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: 13.0-STABLE X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257067 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open --- Comment #4 from Mark Johnston --- (In reply to Aleksandr Fedorov from comment #1) There are several other places where ng_pppoe sends data on the ethernet ho= ok without entering an epoch section - I think they all need to be updated? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Jul 9 14:37:34 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7A8E58D5C41 for ; Fri, 9 Jul 2021 14:37:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GLwjp2ygRz3lg0 for ; Fri, 9 Jul 2021 14:37:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 49B69162FB for ; Fri, 9 Jul 2021 14:37:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 169EbYjV070865 for ; Fri, 9 Jul 2021 14:37:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 169EbY6k070863 for net@FreeBSD.org; Fri, 9 Jul 2021 14:37:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 257067] panic: Assertion in_epoch(net_epoch_preempt) failed at /usr/src/sys/net/if_vlan.c:1185 Date: Fri, 09 Jul 2021 14:37:34 +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: 13.0-STABLE X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: afedorov@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257067 --- Comment #5 from Aleksandr Fedorov --- (In reply to Mark Johnston from comment #4) I think the previous fix closed all similar problems: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248958 and https://reviews.freebsd.org/D26226 I have not yet found other problem areas in the ng_pppoe(4) code. The main idea behind introducing NET_EPOCH in netgraph (4) is: - Data processing (NG_SEND_DATA_ *) should always be in the NET_EPOCH secti= on. - Processing of service messages (NG_SEND_MSG_ *) should not be in the NET_EPOCH section. Because message handling (* _rcvmsg, connect/disconnect hooks, node constructor/destructor) allows sleeping and other forbidden operations for NET_EPOCH section. But on many nodes, some data processing routines generate messages, and mes= sage processing routines generate data (as in this PR). Unfortunately, there are cases that are not so easy to fix without reworking ng_base.c. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Jul 10 09:07:30 2021 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 045E811E218E for ; Sat, 10 Jul 2021 09:07:34 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GMPLY6qV3z4Skt; Sat, 10 Jul 2021 09:07:33 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from [192.168.0.88] (unknown [195.64.148.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: avg/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 7E00724CDC; Sat, 10 Jul 2021 09:07:33 +0000 (UTC) (envelope-from avg@FreeBSD.org) From: Andriy Gapon To: "Alexander V. Chernikov" Cc: freebsd-net References: <2fbc5205-3fcc-d233-dae1-cf6ddc8d691d@FreeBSD.org> <95F4F779-91A0-482B-B26B-6C95A60FC281@ipfw.ru> Subject: Re: network crash in nhop_free Message-ID: <70d1091d-07ec-1c76-29bc-1f2e2264b55a@FreeBSD.org> Date: Sat, 10 Jul 2021 12:07:30 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.11.0 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 In-Reply-To: <95F4F779-91A0-482B-B26B-6C95A60FC281@ipfw.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-ThisMailContainsUnwantedMimeParts: N On 09/07/2021 00:02, Alexander V. Chernikov wrote: > Hi Andriy, > > Could you by any chance provide a bit more info on the system networking configuration and the steps leading to panic? > No chance for a coredump? > > destroy_nhgrp() suggests that there was a multipath route (default?) that was deleted. > nhops are created with UMA_ALIGN_PTR, so I suspect there is a garbage inside nhgrp pointer.. I've just reproduced the problem and got a crash dump. The new panic is a little bit different, but I think that it confirms your analysis. Also, you are right about the multipath route, although its creation was not intentional. The test setup is a host with an ethernet interface and a 3g modem (for ppp). The default default route is via the ethernet. Destination Gateway Flags Netif Expire default 192.168.0.1 UGS dwc0 8.8.8.8 192.168.0.1 UGHS dwc0 127.0.0.1 link#2 UH lo0 192.168.0.0/24 link#1 U dwc0 192.168.0.137 link#1 UHS lo0 192.168.0.0/24 is the LAN. The static route to 8.8.8.8 is for internet accessibility checking. Interesting bits of my ppp configuration: ----- ppp.linkup ----- 3g: add! default HISADDR ---------------------- When I bring up the ppp link I get two default routes -- which is not what I expected even when using 'add!': Destination Gateway Flags Netif Expire default 192.168.0.1 UGS dwc0 default 10.1.1.1 UGS tun0 8.8.8.8 192.168.0.1 UGHS dwc0 10.1.1.1 link#4 UHS tun0 10.133.147.118 link#4 UHS lo0 127.0.0.1 link#2 UH lo0 192.168.0.0/24 link#1 U dwc0 192.168.0.137 link#1 UHS lo0 The procedure to re-create the problem is two bring up and down the ppp link twice. That is, up -> down -> up -> down -> crash. Now, about the new crash. The panic message is: panic: refcount 0xffffa00027813318 wraparound The stack trace is approximately the same: panic() at panic+0x44 _refcount_update_saturated() at _refcount_update_saturated+0x14 nhop_free() at nhop_free+0x118 destroy_nhgrp() at destroy_nhgrp+0x38 epoch_call_task() at epoch_call_task+0x158 gtaskqueue_run_locked() at gtaskqueue_run_locked+0x178 gtaskqueue_thread_loop() at gtaskqueue_thread_loop+0x9c fork_exit() at fork_exit+0x74 fork_trampoline() at fork_trampoline+0x14 From kgdb it seems like a refcount underflow (decrement from zero). (kgdb) p *nhg_priv $1 = {nhg_idx = 0, nhg_nh_count = 2 '\002', nhg_spare = "\000\000", nhg_refcount = 0, nhg_linked = 1, nh_control = 0x0, nhg_priv_next = 0x0, nhg = 0xffffa00032049e80, nhg_epoch_ctx = {data = { 0xffff0000005a0edc , 0xffffa0000eecb148}}, nhg_nh_weights = 0xffffa00032049ed0} (kgdb) p nhg_priv->nhg_nh_weights[0] $2 = {nh = 0xffffa00027813200, weight = 0} (kgdb) p nhg_priv->nhg_nh_weights[1] $3 = {nh = 0xffffa00027813800, weight = 1} (kgdb) p *nhg_priv->nhg_nh_weights[0].nh $4 = {nh_flags = 128, nh_mtu = 1500, {gw4_sa = {sin_len = 16 '\020', sin_family = 2 '\002', sin_port = 0, sin_addr = {s_addr = 16843018}, sin_zero = "\000\000\000\000\000\000\000"}, gw6_sa = {sin6_len = 16 '\020', sin6_family = 2 '\002', sin6_port = 0, sin6_flowinfo = 16843018, sin6_addr = {__u6_addr = {__u6_addr8 = '\000' , __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, sin6_scope_id = 0}, gw_sa = {sa_len = 16 '\020', sa_family = 2 '\002', sa_data = "\000\000\n\001\001\001\000\000\000\000\000\000\000"}, gwl_sa = {sdl_len = 16 '\020', sdl_family = 2 '\002', sdl_index = 0, sdl_type = 10 '\n', sdl_nlen = 1 '\001', sdl_alen = 1 '\001', sdl_slen = 1 '\001', sdl_data = "\000\000\000\000\000\000\000"}, gw_buf = "\020\002\000\000\n\001\001\001", '\000' }, nh_ifp = 0xffffa00027843800, nh_ifa = 0xffffa0000eec4900, nh_aifp = 0xffffa00027843800, nh_pksent = 0xffff0000c2d38cd8, nh_prepend_len = 0 '\000', spare = "\000\000", spare1 = 0, nh_prepend = '\000' , nh_priv = 0xffffa00027813300} (kgdb) p *nhg_priv->nhg_nh_weights[1].nh $5 = {nh_flags = 640, nh_mtu = 1500, {gw4_sa = {sin_len = 16 '\020', sin_family = 2 '\002', sin_port = 0, sin_addr = {s_addr = 16843018}, sin_zero = "\000\000\000\000\000\000\000"}, gw6_sa = {sin6_len = 16 '\020', sin6_family = 2 '\002', sin6_port = 0, sin6_flowinfo = 16843018, sin6_addr = {__u6_addr = {__u6_addr8 = '\000' , __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, sin6_scope_id = 0}, gw_sa = {sa_len = 16 '\020', sa_family = 2 '\002', sa_data = "\000\000\n\001\001\001\000\000\000\000\000\000\000"}, gwl_sa = {sdl_len = 16 '\020', sdl_family = 2 '\002', sdl_index = 0, sdl_type = 10 '\n', sdl_nlen = 1 '\001', sdl_alen = 1 '\001', sdl_slen = 1 '\001', sdl_data = "\000\000\000\000\000\000\000"}, gw_buf = "\020\002\000\000\n\001\001\001", '\000' }, nh_ifp = 0xffffa00027843800, nh_ifa = 0xffffa0000eec4900, nh_aifp = 0xffffa00027843800, nh_pksent = 0xffff0000c2d38430, nh_prepend_len = 0 '\000', spare = "\000\000", spare1 = 0, nh_prepend = '\000' , nh_priv = 0xffffa00027813900} (kgdb) p *nhg_priv->nhg_nh_weights[0].nh->nh_priv $7 = {nh_family = 2 '\002', spare = 0 '\000', nh_type = 2, rt_flags = 526336, nh_idx = 0, cb_func = 0x0, nh_refcnt = 4294967295, nh_linked = 1, nh = 0xffffa00027813200, nh_control = 0xffffa00000ddf900, nh_next = 0xffffa00027813900, nh_vnet = 0xffffa0000084c580, nh_epoch_ctx = {data = {0xffff0000005a2f90 , 0x0}}} (kgdb) p *nhg_priv->nhg_nh_weights[1].nh->nh_priv $8 = {nh_family = 2 '\002', spare = 0 '\000', nh_type = 2, rt_flags = 2050, nh_idx = 11, cb_func = 0x0, nh_refcnt = 4, nh_linked = 2, nh = 0xffffa00027813800, nh_control = 0xffffa00000ddf900, nh_next = 0xffffa00027813500, nh_vnet = 0xffffa0000084c580, nh_epoch_ctx = {data = {0x0, 0x0}}} nh_refcnt = 4294967295 (0xffffffff) in nhg_priv->nhg_nh_weights[0].nh->nh_priv. >> On 22 Jun 2021, at 11:31, Andriy Gapon wrote: >> >> >> It seems that the panic message was >> panic: Misaligned access from kernel space! >> >> On 22/06/2021 12:54, Andriy Gapon wrote: >>> Not sure if I'll be able to get more out of this arm64 machine. >>> I was playing with ppp and switching routes between LAN and ppp when the crash happened. >>> The system is 2-3 weeks old 14.0-CURRENT as of c8250c5ada85fec. >>> Tracing pid 0 tid 100014 td 0xffffa00000c00000 >>> db_trace_self() at db_trace_self >>> db_stack_trace() at db_stack_trace+0x11c >>> db_command() at db_command+0x244 >>> db_command_loop() at db_command_loop+0x54 >>> db_trap() at db_trap+0xf8 >>> kdb_trap() at kdb_trap+0x1c4 >>> handle_el1h_sync() at handle_el1h_sync+0x74 >>> --- exception, esr 0xf2000000 >>> kdb_enter() at kdb_enter+0x44 >>> vpanic() at vpanic+0x1c4 >>> panic() at panic+0x44 >>> align_abort() at align_abort+0xb8 >>> handle_el1h_sync() at handle_el1h_sync+0x74 >>> --- exception, esr 0x96000021 >>> nhop_free() at nhop_free+0x100 >>> destroy_nhgrp() at destroy_nhgrp+0x38 >>> epoch_call_task() at epoch_call_task+0x158 >>> gtaskqueue_run_locked() at gtaskqueue_run_locked+0x178 >>> gtaskqueue_thread_loop() at gtaskqueue_thread_loop+0x9c >>> fork_exit() at fork_exit+0x74 >>> fork_trampoline() at fork_trampoline+0x14 >> >> >> -- >> Andriy Gapon >> > -- Andriy Gapon From nobody Sun Jul 11 01:19:30 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 91D6312753C0 for ; Sun, 11 Jul 2021 01:19:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GMpw33ZWzz4SGt for ; Sun, 11 Jul 2021 01:19:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 63F1012A63 for ; Sun, 11 Jul 2021 01:19:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 16B1JVtZ098814 for ; Sun, 11 Jul 2021 01:19:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16B1JVXN098813 for net@FreeBSD.org; Sun, 11 Jul 2021 01:19:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 257067] panic: Assertion in_epoch(net_epoch_preempt) failed at /usr/src/sys/net/if_vlan.c:1185 Date: Sun, 11 Jul 2021 01:19:30 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: flagtypes.name keywords see_also 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257067 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |maintainer-feedback?(afedor | |ov@FreeBSD.org) Keywords|panic |crash See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 489 | |58 CC| |net@FreeBSD.org --- Comment #6 from Kubilay Kocak --- (In reply to Aleksandr Fedorov from comment #5) Is this the same issue as bug 248958? If so, I note the changed weren't tag= ged for MFC. Should those changes be merged to stable/* branches? If so, please re-open bug 248958, set mfc-stable{13,12} flags to "?" there, and close this issue as a duplicate of it Thanks --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From nobody Sun Jul 11 11:33:54 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 391628D7332 for ; Sun, 11 Jul 2021 11:33:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GN4Xz14Yzz4hJg for ; Sun, 11 Jul 2021 11:33:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0DD851AF17 for ; Sun, 11 Jul 2021 11:33:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 16BBXtvw028061 for ; Sun, 11 Jul 2021 11:33:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16BBXsq1028060 for net@FreeBSD.org; Sun, 11 Jul 2021 11:33:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 257067] panic: Assertion in_epoch(net_epoch_preempt) failed at /usr/src/sys/net/if_vlan.c:1185 Date: Sun, 11 Jul 2021 11:33:54 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: niels=freebsd@bakker.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257067 --- Comment #7 from Niels Bakker --- It's not the same bug. It manifests in a completely different file. At most it's the same class of bug introduced with epoch(9). --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From nobody Sun Jul 11 11:35:28 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4F9A48D7F08 for ; Sun, 11 Jul 2021 11:35:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GN4Zm1cs2z4j3C for ; Sun, 11 Jul 2021 11:35:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1C8D81B09C for ; Sun, 11 Jul 2021 11:35:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 16BBZSae028430 for ; Sun, 11 Jul 2021 11:35:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16BBZSKG028429 for net@FreeBSD.org; Sun, 11 Jul 2021 11:35:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 257067] panic: Assertion in_epoch(net_epoch_preempt) failed at /usr/src/sys/net/if_vlan.c:1185 Date: Sun, 11 Jul 2021 11:35:28 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: niels=freebsd@bakker.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257067 --- Comment #8 from Niels Bakker --- Same file but a different line, apologies again --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From nobody Sun Jul 11 12:15:20 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A83711246A06 for ; Sun, 11 Jul 2021 12:15:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GN5Sn4CpYz4p48 for ; Sun, 11 Jul 2021 12:15:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 72CAA1B8BD for ; Sun, 11 Jul 2021 12:15:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 16BCFL6u051153 for ; Sun, 11 Jul 2021 12:15:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16BCFL8K051152 for net@FreeBSD.org; Sun, 11 Jul 2021 12:15:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254478] Panic when using ipfw and divert sockets Date: Sun, 11 Jul 2021 12:15:20 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: xxjack12xx@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254478 Jack changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xxjack12xx@gmail.com --- Comment #8 from Jack --- I am getting an instant kernel panic when try a machine behind the nat trie= s to access the internet. I have the following firewall rules in ipfw bge0 being the public interface= and bge1 being the private with ip 10.0.0.1 ipfw nat 1 config if bge0 same_ports ipfw add 100 nat 1 ip4 from any to me in via bge0 ipfw add 101 nat 1 ip4 from 10.0.0.0/24 to any out via bge0 ipfw add allow ip from any to any --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From nobody Sun Jul 11 12:24:53 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id F228B1270869 for ; Sun, 11 Jul 2021 12:24:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GN5gm6PLlz4rGZ for ; Sun, 11 Jul 2021 12:24:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C42261BA98 for ; Sun, 11 Jul 2021 12:24:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 16BCOqfx055419 for ; Sun, 11 Jul 2021 12:24:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16BCOqog055418 for net@FreeBSD.org; Sun, 11 Jul 2021 12:24:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254478] Panic when using ipfw and divert sockets Date: Sun, 11 Jul 2021 12:24:53 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: xxjack12xx@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254478 --- Comment #9 from Jack --- -try Forgot to mention it's happening on the latest git src 13.0-STABLE FreeBSD 13.0-STABLE #0 stable/13-n246228-47c5e288eee9: Sun Jul = 11 01:16:08 PDT 2021 natd is also nonstop crashing after the update https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257079 --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From nobody Sun Jul 11 12:40:51 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EC67A12734A0 for ; Sun, 11 Jul 2021 12:40:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GN62C3bqsz4tNx for ; Sun, 11 Jul 2021 12:40:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 638A81BC3D for ; Sun, 11 Jul 2021 12:40:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 16BCep2P065053 for ; Sun, 11 Jul 2021 12:40:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16BCepij065052 for net@FreeBSD.org; Sun, 11 Jul 2021 12:40:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254478] Panic when using ipfw and divert sockets Date: Sun, 11 Jul 2021 12:40:51 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: karl@denninger.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254478 karl@denninger.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |karl@denninger.net --- Comment #10 from karl@denninger.net --- (In reply to Jack from comment #9) This may be unrelated to the above but rather caused by the recent splay-tr= ee implementation if you have recently pulled source updates. There is a hotf= ix on the -STABLE mailing list for it and a review in process at https://reviews.freebsd.org/D31132 If your panic backtrace looks like this it is likely that bug: HouseKeeping() at HouseKeeping+0x1c/frame 0xfffffe0017b6b320 LibAliasInLocked() at LibAliasInLocked+0x2f/frame 0xfffffe0017b6b3e0 LibAliasIn() at LibAliasIn+0x46/frame 0xfffffe0017b6b410 ipfw_nat() at ipfw_nat+0x234/frame 0xfffffe0017b6b460 --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From nobody Sun Jul 11 12:50:27 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 89F27127515D for ; Sun, 11 Jul 2021 12:50:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GN6FH3J87z3C0C for ; Sun, 11 Jul 2021 12:50:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5649E1BDF2 for ; Sun, 11 Jul 2021 12:50:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 16BCoRTs068011 for ; Sun, 11 Jul 2021 12:50:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16BCoRxk068010 for net@FreeBSD.org; Sun, 11 Jul 2021 12:50:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254478] Panic when using ipfw and divert sockets Date: Sun, 11 Jul 2021 12:50:27 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: xxjack12xx@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254478 --- Comment #11 from Jack --- (In reply to karl from comment #10) Yes, that appears to be the similar bt I'm getting. (gdb) bt full #0 0x0000000800254e20 in HouseKeeping () from /lib/libalias.so.7 No symbol table info available. #1 0x00000008002510ca in ?? () from /lib/libalias.so.7 No symbol table info available. #2 0x0000000000206e0f in ?? () No symbol table info available. #3 0x00000000002053d7 in ?? () No symbol table info available. #4 0x000000000020460f in ?? () No symbol table info available. #5 0x0000000000204510 in ?? () No symbol table info available. #6 0x0000000000000000 in ?? () No symbol table info available. I'm also getting instant kernel panics when I tried doing ipfw nat without = natd in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257079 Not sure if it's related. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From nobody Sun Jul 11 12:55:25 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 734C6127616B for ; Sun, 11 Jul 2021 12:55:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GN6M12mV0z3DPJ for ; Sun, 11 Jul 2021 12:55:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4821D1C101 for ; Sun, 11 Jul 2021 12:55:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 16BCtPxP071660 for ; Sun, 11 Jul 2021 12:55:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16BCtP7c071659 for net@FreeBSD.org; Sun, 11 Jul 2021 12:55:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254478] Panic when using ipfw and divert sockets Date: Sun, 11 Jul 2021 12:55:25 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: karl@denninger.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254478 --- Comment #12 from karl@denninger.net --- (In reply to Jack from comment #11) Same bug.=20 Hotfix here will stop it (note this is 12.2-STABLE, may be slightly differe= nt offsets in 13+); I have roughly a day on it now with no panic and previousl= y it was blowing up within minutes: [karl@NewFS /usr/src]$ git diff . diff --git a/sys/netinet/libalias/alias_db.c b/sys/netinet/libalias/alias_d= b.c index 783a8ca3baa..45faf5a2a40 100644 --- a/sys/netinet/libalias/alias_db.c +++ b/sys/netinet/libalias/alias_db.c @@ -1769,7 +1769,8 @@ HouseKeeping(struct libalias *la) * Reduce the amount of house keeping work substantially by * sampling over the packets. */ - if (packets % packet_limit =3D=3D 0) { + if (packet_limit =3D=3D 0 || packets % packet_limit =3D=3D 0) { +/* if (packets % packet_limit =3D=3D 0) { */ time_t now; #ifdef _KERNEL --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From nobody Sun Jul 11 21:00:41 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 71ADE12A1DFF for ; Sun, 11 Jul 2021 21:00:43 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GNK6x6RBRz3NGw for ; Sun, 11 Jul 2021 21:00:41 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 81EE122812 for ; Sun, 11 Jul 2021 21:00:41 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 16BL0fla031698 for ; Sun, 11 Jul 2021 21:00:41 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16BL0f3h031697 for net@FreeBSD.org; Sun, 11 Jul 2021 21:00:41 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202107112100.16BL0f3h031697@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: net@FreeBSD.org Subject: Problem reports for net@FreeBSD.org that need special attention Date: Sun, 11 Jul 2021 21:00:41 +0000 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="16260372413.dEDe0Fa0.30613" Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: Y --16260372413.dEDe0Fa0.30613 Date: Sun, 11 Jul 2021 21:00:41 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 221146 | [ixgbe] Problem with second laggport New | 204438 | setsockopt() handling of kern.ipc.maxsockbuf limi New | 213410 | [carp] service netif restart causes hang only whe Open | 7556 | ppp: sl_compress_init() will fail if called anyth Open | 166724 | if_re(4): watchdog timeout Open | 193452 | Dell PowerEdge 210 II -- Kernel panic bce (broadc Open | 194453 | dummynet(4): pipe config bw parameter limited to Open | 200319 | Bridge+CARP crashes/freezes Open | 202510 | [CARP] advertisements sourced from CARP IP cause Open | 207261 | netmap: Doesn't do TX sync with kqueue Open | 217978 | dhclient: Support supersede statement for option Open | 222273 | igb(4): Kernel panic (fatal trap 12) due to netwo Open | 225438 | panic in6_unlink_ifa() due to race Open | 227720 | Kernel panic in ppp server Open | 230807 | if_alc(4): Driver not working for Killer Networki Open | 236888 | ppp daemon: Allow MTU to be overridden for PPPoE Open | 236983 | bnxt(4) VLAN not operational unless explicit "ifc Open | 237072 | netgraph(4): performance issue [on HardenedBSD]? Open | 237840 | Removed dummynet dependency on ipfw Open | 238324 | Add XG-C100C/AQtion AQC107 10GbE NIC driver Open | 238707 | Lock order reversal: rtentry vs "nd6 list" Open | 240944 | em(4): Crash with Intel 82571EB NIC with AMD Pile Open | 241106 | tun/ppp: panic: vm_fault: fault on nofault entry Open | 241162 | Panic in closefp() triggered by nginx (uwsgi with Open | 241191 | route flush panic with RADIX_MPATH Open | 243463 | ix0: Watchdog timeout Open | 244066 | divert: Add sysctls for divert socket send and re Open | 118111 | rc: network.subr Add MAC address based interface 28 problems total for which you should take action. --16260372413.dEDe0Fa0.30613-- From nobody Sun Jul 11 23:04:34 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8C32C1246BA1 for ; Sun, 11 Jul 2021 23:04:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GNMsv3Q6wz4T7t for ; Sun, 11 Jul 2021 23:04:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5A4D82421D for ; Sun, 11 Jul 2021 23:04:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 16BN4ZGR098757 for ; Sun, 11 Jul 2021 23:04:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16BN4Z9j098756 for net@FreeBSD.org; Sun, 11 Jul 2021 23:04:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254478] Panic when using ipfw and divert sockets Date: Sun, 11 Jul 2021 23:04:34 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: xxjack12xx@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254478 --- Comment #13 from Jack --- How did this bug get into -stable? ;) --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=