Date: Mon, 20 Jun 2016 15:49:49 -0700 From: Maxim Sobolev <sobomax@freebsd.org> To: Keith White <kwhite@site.uottawa.ca> Cc: Luiz Otavio O Souza <loos.br@gmail.com>, FreeBSD Current <freebsd-current@freebsd.org>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: BBB (cpsw(4)) seems to be broken in the latest 11-current Message-ID: <CAH7qZft0GZ11bZNk7ZV2FkNrkNUxE5hUU8WOxVanhDF-eNKeVg@mail.gmail.com> In-Reply-To: <alpine.BSF.2.20.1606201832030.52002@localhost.my.domain> References: <CAH7qZfsMiUSCTG827ysO89o9nH9WAKu4w%2BiZPZ-UKKVa6T2pcA@mail.gmail.com> <CAFHCsPWUFDiM%2BQh6EkNKPdbm0BrqtgStdzig4WyFmj8L31qN%2Bg@mail.gmail.com> <CAH7qZftdjhrp_m440BPHeArSnV-QQmghm4UyMJ3qro75NMGPQA@mail.gmail.com> <83A18C0E-FA89-4009-A8D5-3185FB27A688@netgate.com> <CAH7qZfvRB4y=GP9yjCAjjBy2h3pHTifdm0t%2BTTVFONQNPe9=8w@mail.gmail.com> <CAH7qZfvAh-dSRYM7G1BkpgMZc3zkeSDakj7LOO=s2JF%2BUy=eUw@mail.gmail.com> <CAJ8CS7qEAjhON6vBL2%2Bh5u=EOK20jnSFzRV1%2BsF3a-GUhLjHoQ@mail.gmail.com> <alpine.BSF.2.20.1606201832030.52002@localhost.my.domain>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <kwhite@site.uottawa.ca> 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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAH7qZft0GZ11bZNk7ZV2FkNrkNUxE5hUU8WOxVanhDF-eNKeVg>