From owner-freebsd-net@freebsd.org Mon Apr 6 21:35:28 2020 Return-Path: Delivered-To: freebsd-net@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 84E7927CDE4 for ; Mon, 6 Apr 2020 21:35:28 +0000 (UTC) (envelope-from ricera10@gmail.com) Received: from mail-qk1-f180.google.com (mail-qk1-f180.google.com [209.85.222.180]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 48x3jr31lSz4d6l; Mon, 6 Apr 2020 21:35:28 +0000 (UTC) (envelope-from ricera10@gmail.com) Received: by mail-qk1-f180.google.com with SMTP id k134so7359983qke.2; Mon, 06 Apr 2020 14:35:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LRMPWtlFd7xtQcUHydZoAwbELF/yi0rOw6kHRBShR+o=; b=Kaidcj7lDchvQbbYfIsQmZiQeutGFIv+irtTKfeLNmUEpyoB9U1CmPmGwckRuUSjSb P8Sa7FHT0NT29dDz0VuVG8gLWxSVQTXAsHeVe5Vjgm4whH9pBy0iMHGXu3DPL6G2yTA8 G3KV7ONpu7Ih7sQvfUmad1MW9U33PLZtLCmTB3bnGJE7t0FYC8LpZk/7cslU4pqIsdof n3haZuN6U1RxlRXt8QucDw3OO48uk6UUAtEfiVNSBEc8h02F8JPZSQPQRSLTdVrbPjs/ IpYn3wfSJgFAplZisq19ACQ+tdtOINtZ2ouh/VLBzXB0M/EyD0fIqxVP/69rz3Krhdfq sFzQ== X-Gm-Message-State: AGi0PuYlBrpU54JesmEfduWz32b2zXHcknot0uwQ/B1CKx6KYbtNxgxs rzLapNSjc3I3nCVetAm3c1TPnoQ5yz4= X-Google-Smtp-Source: APiQypJYeM2/e2Dpg32VVZE105nXBoZ2FZgQtfmCmx3w96Lunp7ZU4OlWZN5KBFrarNxb5CI84LmRw== X-Received: by 2002:a37:624d:: with SMTP id w74mr7050638qkb.172.1586208927384; Mon, 06 Apr 2020 14:35:27 -0700 (PDT) Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com. [209.85.160.172]) by smtp.gmail.com with ESMTPSA id y132sm15663064qka.19.2020.04.06.14.35.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Apr 2020 14:35:27 -0700 (PDT) Received: by mail-qt1-f172.google.com with SMTP id z12so1124642qtq.5; Mon, 06 Apr 2020 14:35:26 -0700 (PDT) X-Received: by 2002:ac8:3659:: with SMTP id n25mr1632217qtb.254.1586208926579; Mon, 06 Apr 2020 14:35:26 -0700 (PDT) MIME-Version: 1.0 References: <20200130030911.GA15281@spy> <20200212222219.GE83892@raichu> <20200328225150.GA82767@raichu> <20200331192024.GE97238@raichu> <20200406212903.GA55712@raichu> In-Reply-To: <20200406212903.GA55712@raichu> From: Eric Joyner Date: Mon, 6 Apr 2020 14:34:50 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Issue with epoch_drain_callbacks and unloading iavf(4) [using iflib] To: Mark Johnston Cc: Hans Petter Selasky , freebsd-net@freebsd.org, shurd , John Baldwin , Drew Gallatin X-Rspamd-Queue-Id: 48x3jr31lSz4d6l X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Apr 2020 21:35:28 -0000 On Mon, Apr 6, 2020 at 2:29 PM Mark Johnston wrote: > On Mon, Apr 06, 2020 at 02:19:25PM -0700, Eric Joyner wrote: > > Mark, > > > > I think I was mistaken about the backtrace looking the same. I was > looking > > at it from within ddb, and I think I focused on the > > epoch_block_handler_preempt line and didn't notice that it only stopped > > there this time. Here's the new one I've got from kgdb: > > Thanks. Could you try to print "td->td_name" from frame 4? It should > also be available as er->er_blockedtd. Basically, I'm trying to verify > that the interrupt thread itself isn't the one that we're waiting for, > else there is another bug to be fixed. > > If you can provide kernel symbols and vmcore, I'd be happy to look at it > myself. > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > Here's what I get: (kgdb) frame 4 #4 epoch_block_handler_preempt (global=0xfffff80003de0100, cr=0xfffffe00dee85900, arg=0x0) at /usr/src/sys/kern/subr_epoch.c:507 507 } (kgdb) print td->td_name $1 = "if_io_tqg_31\000\000\000\000\000\000\000" (kgdb) print er->er_blockedtd $2 = (struct thread *) 0x0 - Eric