From nobody Thu Jul 08 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