From owner-freebsd-net@freebsd.org Sun Jul 21 20:17:23 2019 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 3D282BC7D5; Sun, 21 Jul 2019 20:17:23 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) (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 5EB938EA3D; Sun, 21 Jul 2019 20:17:22 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-pl1-f194.google.com with SMTP id 4so11133223pld.10; Sun, 21 Jul 2019 13:17:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=DIhR3clyagmIVZvNB4B/ZbvGkaRQmPDfCzpvEh7YSo4=; b=k9u2HWNquAX+Zk5VJeNFYROzgcb7MFrlGqOmBHUP6SwPO3vwr21ep0SKAK6kHMQMcX RgTcP+G2uvUMhUz5ekIgrLxb0m8Tl14rNA8w+sX9ODN6cETCip9Y2XBbmu24X8DhPRvX JlugtvB/yAFDG1YiDAbHNyStzAJkA8Za0c2wktLu0zSsiFeoykje45ZRoHIS5xtBJwRV IARBmN33lz5az0R69v+uyeP13jG4I0srJUklzGNVmUg89cbPA3cF0OmK0QkviRwIfb/z cMSGP5sydDhsZZFbEZOGttHuO41BjsvwJaRPk2oYBMPeN1e+5FsICuzj07tM8PiTVUF2 Fo0A== X-Gm-Message-State: APjAAAVEna13gU67eOaGATR4r0iB6PXasFWBBjeaUPQa8MVuQKgZLHVP yi3QhQZJiYjnMzspDAUq8NLwSw90 X-Google-Smtp-Source: APXvYqw1Odf37OzHJaOL4uYL0tUkqFSNbNf/14NvzHJGsVBgxngeW5B3b67SAslCT/xqrWd4fJHu5A== X-Received: by 2002:a17:902:1081:: with SMTP id c1mr72489234pla.200.1563740234784; Sun, 21 Jul 2019 13:17:14 -0700 (PDT) Received: from [192.168.1.36] (broadband-82-140-242-163.atc.tvcom.ru. [82.140.242.163]) by smtp.googlemail.com with ESMTPSA id b29sm62926024pfr.159.2019.07.21.13.17.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Jul 2019 13:17:13 -0700 (PDT) Subject: Re: vmx0: watchdog timeout on queue 2, no interrupts on BSP To: Patrick Kelsey Cc: freebsd-net@freebsd.org, FreeBSD Current References: <9c509f7b-8294-d2fe-ea3e-f10fd51f5736@FreeBSD.org> From: Andriy Gapon Openpgp: preference=signencrypt Message-ID: Date: Sun, 21 Jul 2019 23:17:08 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 5EB938EA3D X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of agapon@gmail.com designates 209.85.214.194 as permitted sender) smtp.mailfrom=agapon@gmail.com X-Spamd-Result: default: False [-4.09 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[FreeBSD.org]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.90)[-0.896,0]; RCVD_IN_DNSWL_NONE(0.00)[194.214.85.209.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_GOOD(0.00)[194.214.85.209.rep.mailspike.net : 127.0.0.18]; IP_SCORE(-1.18)[ipnet: 209.85.128.0/17(-3.44), asn: 15169(-2.42), country: US(-0.05)]; FORGED_SENDER(0.30)[avg@FreeBSD.org,agapon@gmail.com]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[avg@FreeBSD.org,agapon@gmail.com]; MID_RHS_MATCH_FROM(0.00)[] 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: Sun, 21 Jul 2019 20:17:23 -0000 On 20/07/2019 20:08, Patrick Kelsey wrote: > > > On Fri, Jul 19, 2019 at 10:07 AM Andriy Gapon > wrote: > > > Recently we experienced a strange problem. > We noticed a lot of these messages in the logs: > vmx0: watchdog timeout on queue 2 > (always queue 2) > Also, we noticed that connections to some end points did not work at all > while others worked without problems.  I assume that that was because > specific flows got assigned to that queue 2. > > Further investigation has shown that none of interrupts assigned to the > BSP has ever fired (since boot, of course).  That included vmx0:rx2 and > vmx0:tx2.  But also interrupts for other drivers as well. > > Trying to get more information I rebooted the system and the problem > disappeared. > > Has anyone seen anything like that? > Any thoughts on possible causes? > Any suggestions what to check if/when the problem reoccurs? > > Thanks! > > > If you are running head at or after r347221 or stable/12 at or after > r349112, then this could be due to > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239118 (see Comment 4 > - short story is that an iflib change has broken the vmx driver). I am not sure if that bug could lead to all interrupts on the core getting disabled (for all drivers), and right at the boot time. -- Andriy Gapon