From owner-freebsd-embedded@freebsd.org Sun Oct 11 09:11:44 2015 Return-Path: Delivered-To: freebsd-embedded@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 714FF9D3599 for ; Sun, 11 Oct 2015 09:11:44 +0000 (UTC) (envelope-from huubsch@xs4all.nl) Received: from lb2-smtp-cloud2.xs4all.net (lb2-smtp-cloud2.xs4all.net [194.109.24.25]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "*.xs4all.nl", Issuer "GlobalSign Domain Validation CA - SHA256 - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 11BA9132B for ; Sun, 11 Oct 2015 09:11:43 +0000 (UTC) (envelope-from huubsch@xs4all.nl) Received: from iMac-van-Huub.fritz.box ([83.160.119.88]) by smtp-cloud2.xs4all.net with ESMTP id TlBf1r00E1uXTTF01lBgKs; Sun, 11 Oct 2015 11:11:41 +0200 Subject: Re: Ue0/ue1 flapping To: Kristof Provost References: <55D6217B.8000805@denninger.net> <55D636FE.9020005@xs4all.nl> <55D64AA7.40305@denninger.net> <55D69C73.9030909@denninger.net> <56163A55.5050902@xs4all.nl> Cc: freebsd-embedded@freebsd.org, "techniek@lijst.wirelessleiden.nl" From: Huub Schuurmans Message-ID: <561A27CB.80306@xs4all.nl> Date: Sun, 11 Oct 2015 11:11:39 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Oct 2015 09:11:44 -0000 Op 08/10/15 om 18:51 schreef Kristof Provost: > >> On 08 Oct 2015, at 11:41, Huub Schuurmans wrote: >> We have now finally found that in our case a running pf is causing >> problems with the usb-lan adapters, even if all rules are flushed (!). >> Problem doesnot occur with ipfw. We have not tested flapping yet. >> > It’s possible that this is another case of > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198868 > > I’m working on a checksum/TSO problem that I think is related to this. > Could you give the attached patch a try? > If I’m right about the cause this should fix things for you. > > Yes, if I patch pf (on 10.2-RELEASE) one usb-lan adapter works also with pf running. However if I install two adapter NONE of them works, so obviously I can not check the stability for two adapters. But this is definitely I significant improvement! Thanks for the patch. Huub From owner-freebsd-embedded@freebsd.org Sun Oct 11 11:05:31 2015 Return-Path: Delivered-To: freebsd-embedded@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 E7753A0FE7A for ; Sun, 11 Oct 2015 11:05:31 +0000 (UTC) (envelope-from kristof@sigsegv.be) Received: from venus.codepro.be (venus.codepro.be [IPv6:2a01:4f8:162:1127::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.codepro.be", Issuer "Gandi Standard SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A2867137 for ; Sun, 11 Oct 2015 11:05:31 +0000 (UTC) (envelope-from kristof@sigsegv.be) Received: from [10.26.127.80] (unknown [188.188.16.39]) by venus.codepro.be (Postfix) with ESMTPSA id 63C761CA2F; Sun, 11 Oct 2015 13:05:27 +0200 (CEST) References: <55D6217B.8000805@denninger.net> <55D636FE.9020005@xs4all.nl> <55D64AA7.40305@denninger.net> <55D69C73.9030909@denninger.net> <56163A55.5050902@xs4all.nl> <561A27CB.80306@xs4all.nl> Mime-Version: 1.0 (1.0) In-Reply-To: <561A27CB.80306@xs4all.nl> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: <72F14A6B-E854-469F-83C6-D7FB144DAF62@sigsegv.be> Cc: freebsd-embedded@freebsd.org, "techniek@lijst.wirelessleiden.nl" X-Mailer: iPhone Mail (13B136) From: Kristof Provost Subject: Re: Ue0/ue1 flapping Date: Sun, 11 Oct 2015 13:05:21 +0200 To: Huub Schuurmans X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Oct 2015 11:05:32 -0000 > On 11 Oct 2015, at 11:11, Huub Schuurmans wrote: >=20 > Op 08/10/15 om 18:51 schreef Kristof Provost: >> It=E2=80=99s possible that this is another case of=20 >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D198868 >>=20 >> I=E2=80=99m working on a checksum/TSO problem that I think is related to t= his. >> Could you give the attached patch a try? >> If I=E2=80=99m right about the cause this should fix things for you. >=20 > Yes, if I patch pf (on 10.2-RELEASE) one usb-lan adapter works also with > pf running. Thanks for testing. I'm glad to know that my theory about the problem is cor= rect.=20 > However if I install two adapter NONE of them works, so > obviously I can not check the stability for two adapters. That sounds like it might be a driver issue. Did you have the same problem b= efore this patch? > But this is definitely I significant improvement! > Thanks for the patch. The version you had still has a couple of issues, but they'll be fixed befor= e I commit it.=20 Regards, Kristof= From owner-freebsd-embedded@freebsd.org Sun Oct 11 21:18:56 2015 Return-Path: Delivered-To: freebsd-embedded@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 8BD9C9B15CA for ; Sun, 11 Oct 2015 21:18:56 +0000 (UTC) (envelope-from huubsch@xs4all.nl) Received: from lb3-smtp-cloud2.xs4all.net (lb3-smtp-cloud2.xs4all.net [194.109.24.29]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "*.xs4all.nl", Issuer "GlobalSign Domain Validation CA - SHA256 - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2BCB47FC for ; Sun, 11 Oct 2015 21:18:55 +0000 (UTC) (envelope-from huubsch@xs4all.nl) Received: from iMac-van-Huub.fritz.box ([83.160.119.88]) by smtp-cloud2.xs4all.net with ESMTP id TxJl1r0051uXTTF01xJm0E; Sun, 11 Oct 2015 23:18:46 +0200 Subject: Re: Ue0/ue1 flapping To: Kristof Provost References: <55D6217B.8000805@denninger.net> <55D636FE.9020005@xs4all.nl> <55D64AA7.40305@denninger.net> <55D69C73.9030909@denninger.net> <56163A55.5050902@xs4all.nl> <561A27CB.80306@xs4all.nl> <72F14A6B-E854-469F-83C6-D7FB144DAF62@sigsegv.be> Cc: freebsd-embedded@freebsd.org, "techniek@lijst.wirelessleiden.nl" From: Huub Schuurmans Message-ID: <561AD234.8020602@xs4all.nl> Date: Sun, 11 Oct 2015 23:18:44 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <72F14A6B-E854-469F-83C6-D7FB144DAF62@sigsegv.be> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Oct 2015 21:18:56 -0000 Op 11/10/15 om 13:05 schreef Kristof Provost: > > >> On 11 Oct 2015, at 11:11, Huub Schuurmans wrote: >> >> Op 08/10/15 om 18:51 schreef Kristof Provost: .... >> However if I install two adapter NONE of them works, so >> obviously I can not check the stability for two adapters. > That sounds like it might be a driver issue. Did you have the same problem before this patch? We did not test two adapters: one alone didn't work, so no point in testing two ;-) The adapters work reasonably well (except for the instability if two are present) on FreeBSD-9.0 and earlier. Huub From owner-freebsd-embedded@freebsd.org Tue Oct 13 20:03:03 2015 Return-Path: Delivered-To: freebsd-embedded@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 AF9C0A12A2A for ; Tue, 13 Oct 2015 20:03:03 +0000 (UTC) (envelope-from huubsch@xs4all.nl) Received: from lb2-smtp-cloud3.xs4all.net (lb2-smtp-cloud3.xs4all.net [194.109.24.26]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "*.xs4all.nl", Issuer "GlobalSign Domain Validation CA - SHA256 - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 41F09F3A for ; Tue, 13 Oct 2015 20:03:02 +0000 (UTC) (envelope-from huubsch@xs4all.nl) Received: from iMac-van-Huub.fritz.box ([83.160.119.88]) by smtp-cloud3.xs4all.net with ESMTP id Uk1o1r0051uXTTF01k1poP; Tue, 13 Oct 2015 22:01:49 +0200 Subject: Re: Ue0/ue1 flapping To: Kristof Provost References: <55D6217B.8000805@denninger.net> <55D636FE.9020005@xs4all.nl> <55D64AA7.40305@denninger.net> <55D69C73.9030909@denninger.net> <56163A55.5050902@xs4all.nl> <561A27CB.80306@xs4all.nl> <72F14A6B-E854-469F-83C6-D7FB144DAF62@sigsegv.be> <561AD234.8020602@xs4all.nl> Cc: "techniek@lijst.wirelessleiden.nl" , freebsd-embedded@freebsd.org From: Huub Schuurmans X-Enigmail-Draft-Status: N1110 Message-ID: <561D632B.6050901@xs4all.nl> Date: Tue, 13 Oct 2015 22:01:47 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <561AD234.8020602@xs4all.nl> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2015 20:03:03 -0000 Op 11/10/15 om 23:18 schreef Huub Schuurmans: > Op 11/10/15 om 13:05 schreef Kristof Provost: >> >> >>> On 11 Oct 2015, at 11:11, Huub Schuurmans wrote: >>> >>> Op 08/10/15 om 18:51 schreef Kristof Provost: > .... >>> However if I install two adapter NONE of them works, so >>> obviously I can not check the stability for two adapters. >> That sounds like it might be a driver issue. Did you have the same problem before this patch? > I have to correct this: there must have been an error in the wiring or ip-configuration. I have re-tested with the same (if_axe) two adapters and with two different adapters (if_aue) (with the patched pf running). This time I found no problems. Simultaneous ping flood did not cause instability. Huub