From nobody Sun Aug 13 16:25:16 2023 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 4RP2v23NLTz4mL34 for ; Sun, 13 Aug 2023 16:25:18 +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 4RP2v16jYSz4PKk for ; Sun, 13 Aug 2023 16:25:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691943917; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IADnNDvttsAHL+hgRaV/0HowyGp4f3Iv1nfQ7AZTy7U=; b=rZnW4OQUGoTQzSjpjzk6a62//YtB02Df4fts//7VNJ/JjPuMxxBHAt6vdS1hEhxjNfee12 RO8nVilrdUqwyIWBy89l5+fhKb9prPa4kPqjd/qMAm5zzaw9YigRsR+gY0BUdzxtd2XeZd qM/kxg2IvSA7Wh51oxdsjUyQcr3C0OWleAXITD+rYAiYGMVT9zyCP7gcpH31J/X/pWkZGa tanvTCcQQzhy2rAHXXxeHzV3ZR8povi6erUkYPcPvig0W6ROC0t9LoUXYoZ95RynQN7aqG dVPRAarZJwVor4p0LnSSNqMCFvnj6zjyRM1885lwwcQyXH2ERkHiM5WNuTAczw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691943917; a=rsa-sha256; cv=none; b=ouKsiYRurEAKoJHidWVSyiN4gMUhagz/4tijqMQZizq42ClptYdjyX3AYQv6/gNhOo/w70 pkGQ1XwQek6cU/uhjjrds+ceyDYg7kOscb6rMgVnd6v9Oydz6Iv89nlLeeTv5dwIzDdhP2 oYwOchSQimVtyiY1pX/YJ7QIJ4Nld0Zh+7jiox1WzDxI317lpXRYizldQZZb2FN4NkgnW/ 2/4Ec7Mw43GrcU+w7viCuWgu5QmY3d5a6wdY1CGEHMn+Ontn7n90d2gToabK95b3xK0Qs3 ju6cD5id252v9Y7hmrIiJHOr9BNhCiShkaur5l7Xcv/3ixW84m2kr2lgiNC+iA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RP2v15mMvz18D5 for ; Sun, 13 Aug 2023 16:25:17 +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 37DGPHKH000301 for ; Sun, 13 Aug 2023 16:25:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 37DGPHOk000300 for net@FreeBSD.org; Sun, 13 Aug 2023 16:25:17 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 272666] FreeBSD arm64 Azure panic in add_route Date: Sun, 13 Aug 2023 16:25:16 +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: CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: schakrabarti@microsoft.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272666 --- Comment #7 from schakrabarti@microsoft.com = --- I have added two debug printfs in add route and post that we are not hitting the panic during reboot. I guess some race condition is happening, which is why the delay from print= fs is mitigating the panic. I have tried 10 reboots with this, and no issue. diff --git a/sys/net/route/route_ctl.c b/sys/net/route/route_ctl.c index 9c9b148eba19..aaf404d565a1 100644 --- a/sys/net/route/route_ctl.c +++ b/sys/net/route/route_ctl.c @@ -1237,6 +1237,7 @@ add_route(struct rib_head *rnh, struct rtentry *rt, rc->rc_nh_new =3D rnd->rnd_nhop; rc->rc_nh_weight =3D rnd->rnd_weight; + printf("add_route called before rib_notify\n"); rib_notify(rnh, RIB_NOTIFY_IMMEDIATE, rc); return (0); } diff --git a/sys/net/route/route_subscription.c b/sys/net/route/route_subscription.c index 510b5117df1b..4a9cc0c5f800 100644 --- a/sys/net/route/route_subscription.c +++ b/sys/net/route/route_subscription.c @@ -58,7 +58,7 @@ rib_notify(struct rib_head *rnh, enum rib_subscription_ty= pe type, struct rib_cmd_info *rc) { struct rib_subscription *rs; - + printf("rnh is %s",rnh? "not null": "null"); CK_STAILQ_FOREACH(rs, &rnh->rnh_subscribers, next) { if (rs->type =3D=3D type) rs->func(rnh, rc, rs->arg); --=20 You are receiving this mail because: You are on the CC list for the bug.=