From owner-freebsd-current@freebsd.org Mon Jun 20 22:49:51 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12658AC433F for ; Mon, 20 Jun 2016 22:49:51 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: from mail-ob0-x236.google.com (mail-ob0-x236.google.com [IPv6:2607:f8b0:4003:c01::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C5BE923E3 for ; Mon, 20 Jun 2016 22:49:50 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: by mail-ob0-x236.google.com with SMTP id ru5so684890obc.1 for ; Mon, 20 Jun 2016 15:49:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sippysoft-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=54ofdZEFdIBKlqGqvy9pSO2qSJNY19Ajp6prF51P4f4=; b=z65MKsv7xzW2zdAaZqo4j6JcplgRvLj43+NBltAC7lkPlZXQBaFQHIGs54CdznqWC9 kZ3/kVvyMBBo0SAoTJrrUcFYmO/TFow+MxiHHmviJ7fuTObNjU1IymjCBdG2b7ddOQRI b4jutsj0AlK6ezEiJSor3OeTXwnf8id1b1Rxb3q8K0Ycrbv91Aa7PhWyFZHw0BpyrgkJ uRHKYKR3eVKv92egXfdPmAO23zlsnAsVPR/KsacV7++9eZAhx1oCgzU08AcuRvTULV0D gwAyhBgNM32CR6M/lwY/jrYjS/LseHZb7IHxogDtjX7hYtuYy6wQ0m3iPGFNiHt6fdQ0 P6wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=54ofdZEFdIBKlqGqvy9pSO2qSJNY19Ajp6prF51P4f4=; b=HKcLSz3Pc9yxia0m92MbW48STyyvIIcPxjN2t24GL8tQJC9G9WGg62YsfTED4TwSNO v2wp5AyZlPBWmo3hbepZr82LMOfhLLMnskK6GVUM/z57TlSRnWHyijVmOGqRNgFF7lv/ 2plt/AuZxvEDbvOij5Cb2BIxGO5FWrrsBwGa2TRmv843M1SR4v8Wf/E2y47UUwOukbVa MbkILEniKBY8L7hVdmpWEwNS7pJZlVZnvmWqzmt/i/yqBOHQMyV+TrrCMdp8D9yhNhGU v+vX+AWiZ2iCCj1rySDnC7Yc4Uisrs14lmqETewYozHKd50oKYfX2F7BgfIcO6Etgkvb 81RQ== X-Gm-Message-State: ALyK8tIKKVRYjwEbdTxY/sLHFoNIQjDH0srSddAXGJ7gv0k69BEq5O/crvq7jOAS18IYSemyFmUA7omGdzcHIX8m X-Received: by 10.157.1.241 with SMTP id e104mr12578205ote.180.1466462990041; Mon, 20 Jun 2016 15:49:50 -0700 (PDT) MIME-Version: 1.0 Sender: sobomax@sippysoft.com Received: by 10.157.41.209 with HTTP; Mon, 20 Jun 2016 15:49:49 -0700 (PDT) In-Reply-To: References: <83A18C0E-FA89-4009-A8D5-3185FB27A688@netgate.com> From: Maxim Sobolev Date: Mon, 20 Jun 2016 15:49:49 -0700 X-Google-Sender-Auth: gEWYWo7EFwQCgW6_SaSWTR8nC8I Message-ID: Subject: Re: BBB (cpsw(4)) seems to be broken in the latest 11-current To: Keith White Cc: Luiz Otavio O Souza , FreeBSD Current , "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 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: Mon, 20 Jun 2016 22:49:51 -0000 Nice to hear. I am building it right now. Gotta get you some results in the next few hours. Thanks! -Max On Mon, Jun 20, 2016 at 3:33 PM, Keith White wrote: > On Mon, 20 Jun 2016, Luiz Otavio O Souza wrote: > > On Sun, Jun 19, 2016 at 1:11 AM, Maxim Sobolev wrote: >> >>> Jim, some update from here. Running r283287 of the driver, I still see >>> the >>> same "watchdog timeout" messages, but they do not lead to the interface >>> lockout. The traffic resumes momentarily. Which is probably why I never >>> paid >>> much attention to those warnings before. Therefore, I suspect that the >>> new >>> MAC code does not deal with watchdog-triggered interface reset as good as >>> the old code. Does it give you any ideas about what could be wrong there >>> by >>> any chance? >>> >> >> >> Hi Maxim, >> >> My recent changes contributed somehow to expose the bug more frequently. >> >> There was a condition in tx packet reclamation where we aren't >> restarting the tx queue in one of the possible stall conditions. >> >> Please try the attached patch and let me know if it works for you. >> >> Luiz >> > > Your patch fixes the problem for me. Thanks! > > FreeBSD beaglebone 11.0-ALPHA4 FreeBSD 11.0-ALPHA4 #0 r302028M: Mon Jun 20 > 18:19:55 EDT 2016 kwhite@freebsd11:/usr/obj/arm.armv6/usr/src/sys/BEAGLEBONE-LOCAL > arm armv6 > > ...keith >