From owner-freebsd-current@freebsd.org Sat Feb 27 21:02:07 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5A438553236 for ; Sat, 27 Feb 2021 21:02:07 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DnzVQ3KfNz3svS; Sat, 27 Feb 2021 21:02:06 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: by mail-lj1-x233.google.com with SMTP id q23so14756145lji.8; Sat, 27 Feb 2021 13:02:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Ie/eAMZuvrwPuubrJWU+FfIQEaMGDs8ym83OZxlyRfU=; b=Awdu/furcfRStzQZt22OlY1O1depIzvt+3wLFHgC2NdVa+oRQ8FubgnutyBbcuBiaV UdXpimkXJY177nmKDrV41ScP0ULNoD7mIkesycu+MunvWatIvMqC+IUI6a9wJAoZ77rK xtm/8Dc20Jf62yE+DFFSlV2YB2ifj0uN5R5isFhFM3AsSEridv3rhv0BMqUp4H6RLR2s +RvGlmnnD5T2aMzPaF0mMrNvVaqVsMm58l0PT9Xb7IFDZ59AgB5QqYSC/OXBUMoqfM1x Spu19Ai61HDDZEo1QLgTz3hC4CHSxMhqOPV0gmSdCk4yzcC/t/4fTzs5JaK7IJyXNGnm 5C5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Ie/eAMZuvrwPuubrJWU+FfIQEaMGDs8ym83OZxlyRfU=; b=MM4Pq/HvGL95o2hVZWqfgniWQKtCvxVyGJFXp+fzbdyj0/7dyzDK/64PsAfmDv7KLg uzLaWdebEdEMcrHbXMtC4v7pVXXHKf/XSFRxQPuvpynprhac9lldEJ1FMUDixgghTkcm 7CmkuhKJGB6xNpzbuJbgH0S2HIGNnxL/1ye3DeG+DDgwpLMXEH1fIeuHz2enBEMqDrvB MRuLt68RZoaTukhfmQuc9sZsRwLsnn+eZ7Tn0rmwsYyjclDFJVG5xJ1A1rty7AfSr2e4 I26dCZIZJifcrm2eJMnoCMdMgG2Xt9te8vUg9MImKqkKJB9Wjwa9KdTWVC1FHrsvwJAn JP1Q== X-Gm-Message-State: AOAM531RaLK2FPlyY/eMES7MguJ9bJNvzoMLGXxWmCphKM0+4CreET/7 8NJ5BV0Ydon4Gk7o4t0NsHnSBh9lQkMXC9KMzmrmdJOO+nQ= X-Google-Smtp-Source: ABdhPJyVsgtKfBCWI5+UVa+QrbV04xLutEm8W40Z3ucXTVouhPVPbDJUDmdomD1nVSMzWR6Fpdc1pmm2+gb6J3UULkk= X-Received: by 2002:a2e:751b:: with SMTP id q27mr5042911ljc.463.1614459724260; Sat, 27 Feb 2021 13:02:04 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a2e:958d:0:0:0:0:0 with HTTP; Sat, 27 Feb 2021 13:02:03 -0800 (PST) In-Reply-To: <6CD719B1-71B1-4EAB-A0D0-949ABA1751BB@FreeBSD.org> References: <560DD7DF-B1C0-432B-BFCA-9D00819E0C28@FreeBSD.org> <6CD719B1-71B1-4EAB-A0D0-949ABA1751BB@FreeBSD.org> From: Mateusz Guzik Date: Sat, 27 Feb 2021 22:02:03 +0100 Message-ID: Subject: Re: -CURRENT panics in NFS To: Juraj Lutter Cc: Rick Macklem , freebsd-current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4DnzVQ3KfNz3svS X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Awdu/fur; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of mjguzik@gmail.com designates 2a00:1450:4864:20::233 as permitted sender) smtp.mailfrom=mjguzik@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[text/plain]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::233:from]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::233:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::233:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2021 21:02:07 -0000 You should be able to just use kgdb on the old kernel and the crashdump you already collected, provided both are still around. Alternatively boot with this without the fix: diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c index fef1e31d197b..c4d2990b155d 100644 --- a/sys/kern/vfs_cache.c +++ b/sys/kern/vfs_cache.c @@ -2266,6 +2266,9 @@ cache_enter_time(struct vnode *dvp, struct vnode *vp, struct componentname *cnp, KASSERT(cnp->cn_namelen <=3D NAME_MAX, ("%s: passed len %ld exceeds NAME_MAX (%d)", __func__, cnp->cn_namelen, NAME_MAX)); + if (dvp =3D=3D vp) { + panic("%s: same vnodes; cnp [%s] len %ld\n", __func__, cnp->cn_nameptr, cnp->cn_namelen); + } VNPASS(dvp !=3D vp, dvp); VNPASS(!VN_IS_DOOMED(dvp), dvp); VNPASS(dvp->v_type !=3D VNON, dvp); On 2/27/21, Juraj Lutter wrote: > I am now running a patched kernel, without problems. > > I can boot to unpatched one and see the output of these ddb commands. > > otis > > =E2=80=94 > Juraj Lutter > XMPP: juraj (at) lutter.sk > GSM: +421907986576 > >> On 27 Feb 2021, at 21:49, Mateusz Guzik wrote: >> >> Can you dump 'struct componentname *cnp'? This should do the trick: >> f 12 >> p cnp >> > > > --=20 Mateusz Guzik