From owner-freebsd-mips@freebsd.org Mon Jun 11 21:38:37 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4F89A102137E for ; Mon, 11 Jun 2018 21:38:37 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (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 D4D837FE06; Mon, 11 Jun 2018 21:38:36 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id p126-v6so17143161wmb.2; Mon, 11 Jun 2018 14:38:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yxx1Qhu0vVXZMtQgfLT5fCDDXWePFnTjzKHOUOkv/pM=; b=Fbep4L7QVUhLuPnpKFf3NROyiOuydUJ0YHFDIfrJh1m8ejMhALWtusddtsvcs2gp3v zV7kOeGxhiWeP5KRVXYdylff5QawjehwHL8TFZdvG4L/F+OtxAHWQnd6BUtRfceIRece QWaxjLrsm9N7ByKgvT3J0CWM7GCF6zJfYJ3J7QkKtatuldY/aTjrkl79uccz9yN5MZ8H WeCbqaI3p1u1aKf1BqvoNSEdTZDNAwmF2KECD6k+1p4N2sB4QOktssHWAUtYUb60yBKJ RX8HxvkdIJASDfvq3IhUOwCyn9ILUyX0xSKEPhDTHZbuWnZkCsdVD60GSLS3XruloK5i xKag== 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=yxx1Qhu0vVXZMtQgfLT5fCDDXWePFnTjzKHOUOkv/pM=; b=lhmkZfOMmB6qRJbqtaWb803vmCJjMbdIxP7jjSBmDjwFmGpKgwQRAVuApUF4abf99Y 2jLJiJH0lX1KYe2atJWuxIRzsoidaK1RKiCUuYeNBMsfys3VW445gXvvTbLssLttY3QG /PtOUFYzJSaCd3xv3Jzp9JvlqxAO200P8aWlG8ln66j1OLYA5Z74UTVdIGfv5Ebej5LO 9rC+itoGWJ2ns7yV0rfP+4SlKaCTkOUyV6H+ItJM6zxm2CjI7h4M2lde4EIVCAjcecxF hDJFFQmWsPYeuj3r0m08Z9sVc4eE3yET3siRLiLi0wQGV7AFt/8WVxkzh4fovqKjZgxQ l6SA== X-Gm-Message-State: APt69E0hLD0hJwteO84MbBFGHGDRmeN6A+uXv9K1v6cJ5PfbG92Jy/s1 tALCiQ8kWdw6ZhxEPoobaO4OvsLdyjoxGTBhlg0Gbw== X-Google-Smtp-Source: ADUXVKKvI3rqU+hnskR8Z8s2i6Kq/NgiBjfLxfeWA/+PnYZekg33T1SASHOMDT/b6FRCuKnmYi+70H6i6Vsn32Q177k= X-Received: by 2002:a1c:150:: with SMTP id 77-v6mr399738wmb.3.1528753115314; Mon, 11 Jun 2018 14:38:35 -0700 (PDT) MIME-Version: 1.0 References: <38177.69175.qm@web101704.mail.ssk.yahoo.co.jp> In-Reply-To: From: Adrian Chadd Date: Mon, 11 Jun 2018 14:38:23 -0700 Message-ID: Subject: Re: rt2860 drvier To: Sean Bruno Cc: Mori Hiroki , "freebsd-mips@freebsd.org. Robert Pera" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2018 21:38:37 -0000 Hi! I only just saw this. What's different between this and whatever is in freebsd right now? Or is there nothing? -adrian On Wed, 16 May 2018 at 13:07, Sean Bruno wrote: > > > > On 05/15/18 20:04, Mori Hiroki wrote: > > Hi. > > > > I found other rt2860 drvier at old mailing list. > > This driver code support 11n. I port new wifi kpi. > > > > https://github.com/yamori813/freebsd/tree/zrouter/sys/dev/rt2860 > > > > > > I seem ral and run is not support 11n. > > > > I try to check RT3050 by sys/mips/mediatek. > > > > STA mode is work fine. HOSTAP mode is also work. But I have hostapd > > problem. > > > > If you want check this you add this to files. > > > > dev/rt2860/rt2860_fdt.c optional rt2860 > > dev/rt2860/rt2860.c optional rt2860 > > dev/rt2860/rt2860_amrr.c optional rt2860 > > dev/rt2860/rt2860_io.c optional rt2860 > > dev/rt2860/rt2860_led.c optional rt2860 > > dev/rt2860/rt2860_read_eeprom.c optional rt2860 > > dev/rt2860/rt2860_rf.c optional rt2860 > > > > Thanks > > > > Hiroki Mori > > _______________________________________________ > > freebsd-mips@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-mips > > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" > > > > > Do you think this driver is one we should bring into freebsd? > > sean > From owner-freebsd-mips@freebsd.org Mon Jun 11 21:39:26 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E6FCC10215F9 for ; Mon, 11 Jun 2018 21:39:25 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7B4F57FEAD for ; Mon, 11 Jun 2018 21:39:25 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 3197710215F1; Mon, 11 Jun 2018 21:39:25 +0000 (UTC) Delivered-To: mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8B1210215ED for ; Mon, 11 Jun 2018 21:39:24 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wr0-x231.google.com (mail-wr0-x231.google.com [IPv6:2a00:1450:400c:c0c::231]) (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 6AD627FEAB for ; Mon, 11 Jun 2018 21:39:21 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wr0-x231.google.com with SMTP id w10-v6so21900160wrk.9 for ; Mon, 11 Jun 2018 14:39:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9lue+JbCCTlqe5DBq/ifa7b5GbgfmN8hcf6dxFj0wcA=; b=Pi3dTUlI7U1Cp/6zVx9GjD1D8BDgs8Rr5MnycbhRcodXXTJxPLm1mccXhSf70/oooP cetFiR5MWR34x9UrUpXIsi14eK+RcE1VSwdb2cL3SfDZBze5n/IxpnDRuWMQY8byNrJ1 mBEc7WFsBpAPjZA/wVLNVDW0prZqgLCL78wjiVUgBT8YIbo28nko0yAXhfBdS7g1wsKP c0UthNw5R1LRp/DIgp34g65MMTsSLRJRjpjVlc9U9/sWafMavSirgMR348WpF7VJ8bEM f3+hLG4dcUYp+y1F4wE4kxq3MChf/Z7cNM66Esl02D2tD8soCoEzTKUpFIgXtGZTvAVO QIZQ== 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=9lue+JbCCTlqe5DBq/ifa7b5GbgfmN8hcf6dxFj0wcA=; b=lFQYfLaY/GlagW9hhxfPEC1lV8TOVvPxpQrpPmVfBlHckV0rOzPdBT6eRWZeaoAT5m /UPCeRZac9h2dAuIdfpNq/Yp3Pwsrcu1dxsF11uprzIHX9zcpcnghLgq2QLgIxwswC6b M0tJ2fnSJ5yrzQr/nYoux5ahhHwWuEcPg661HhLEp1PFWp6OL1vGW3WIQDvcPPOmh6eH k61IzUIIdOPUTLmL5suO3JtHvSLYMwc/911GlRW2JtqwCXszM/qrP5vjrdgXL0sXFdmt Zn13lgA3z9Rz3lm6ldrALED4AOQjX8gwECkVl6XV5O9B2pP+iIZqbpj9x4+3+7Alrnh3 ZuPQ== X-Gm-Message-State: APt69E3kdIpRON0ATCdvXiHaoHaBgXtzQbTfYbP5NwcPaXKT0vj9MY2X Na/0yih343P7USoRaLOhehT0FZGbOB5O1SRdCVI= X-Google-Smtp-Source: ADUXVKL+DtXb/HHO0pzkVmu9agl193mfQVPpZEyiKtOz7Vx/tiAQTWuFBdrB8HqqNnk1nLwOENMtbc/JozqERE/JPPs= X-Received: by 2002:adf:c60d:: with SMTP id n13-v6mr550629wrg.177.1528753159920; Mon, 11 Jun 2018 14:39:19 -0700 (PDT) MIME-Version: 1.0 References: <69b4cfd1-1664-ebbf-5734-7be38a70e938@gmail.com> In-Reply-To: <69b4cfd1-1664-ebbf-5734-7be38a70e938@gmail.com> From: Adrian Chadd Date: Mon, 11 Jun 2018 14:39:07 -0700 Message-ID: Subject: Re: Routing performance (Buffalo WZR-HP-G301NH) To: josef.lar@gmail.com Cc: "freebsd-mips@freebsd.org. Robert Pera" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2018 21:39:26 -0000 Hi! Ok, so! * the seiral console hurts a lot. Don't print stuff on the console whilst testing. * I've done a writeup on this when I dug into it a couple years ago. https://adrianchadd.blogspot.com/ -adrian On Fri, 4 May 2018 at 02:22, Josef Larsson wrote: > > Hi, > > I would like to use the Buffalo WZR-HP-G301NH as a router with pf. I use > a custom built ZRouter image for this. This works in practice, but I am > not happy with the performance (I basically can't download faster than > 80 mbit/s). > > I have a couple of concerns: > > 1. According to ps aux, there is an interrupt load at about 9 - 10 % > during idle conditions. Is this reasonable? It seems high to me. > 2. When I am running "pmcstat -TS instructions -w1", there seems to be a > lot of action going on in uart_ar71xx_probe. Is this reasonable? There > are some unknown functions, and I am suspect that the function names are > not resolved correctly. Also, apb_attach is invoked a lot according > pmcstat. While the sampling percentage for this function is less than 2 > %, I still find it odd that an attach function is invoked at idle... > 3. When downloading a large file, the system becomes pretty much > unresponsive. When a "ps aux" call actually goes through, one can see > that the CPU is busy with ~100 % interrupt handling. This is what I > would like to profile with pmcstat, but the arge functions do not show > up as functions with high load, which is not really what I expect at > this point, since the interrupt definitely has to do with the LAN load. > Any suggestions on how to profile the arge driver? > > Best regards, > > Josef Larsson > > From owner-freebsd-mips@freebsd.org Tue Jun 12 00:26:23 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A35801015FC7 for ; Tue, 12 Jun 2018 00:26:23 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh602-vm14.bullet.mail.ssk.yahoo.co.jp (nh602-vm14.bullet.mail.ssk.yahoo.co.jp [182.22.90.39]) by mx1.freebsd.org (Postfix) with SMTP id C958E87A7D for ; Tue, 12 Jun 2018 00:26:22 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [182.22.66.105] by nh602.bullet.mail.ssk.yahoo.co.jp with NNFMP; 12 Jun 2018 00:23:03 -0000 Received: from [182.22.91.130] by t603.bullet.mail.ssk.yahoo.co.jp with NNFMP; 12 Jun 2018 00:23:03 -0000 Received: from [127.0.0.1] by omp603.mail.ssk.yahoo.co.jp with NNFMP; 12 Jun 2018 00:23:03 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 953295.28003.bm@omp603.mail.ssk.yahoo.co.jp Received: (qmail 84800 invoked by uid 60001); 12 Jun 2018 00:23:03 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1528762983; bh=kiW/9xISCYw9+hjiW5pUx5NwY35l06YxH4SlndixiWc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=FocLo5IsJJyxTTJjts/Z9t54vRwnByEMdTnzi5H/A3gCv3agMWCny5L7vIKFmn43wYvaY2JjVKlm44EUk8Cj4LYCRWFrJUZa/o2xbMGUzYdj/uXNoc5RckBSYmYFlKzNqaT/1JkpClfBx4zLhVyte/p5jc78jhO9GVeHwlxtUO8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=jIvf4EY4g/fZkpT4lyoqA/SrvjNCGYZ1MqDk023uRcYAhyfg6ABHk6X/KsTwn/VSjFk2tf2KkRitLvH3skc7ugNN5SrQk5NvxIj0Wu2xARHhcGXLjyTu0GZZO+VpCPQvfC2QLIrkiV0vwNomwX2Mmt7b40p2y9cjtvBZJGkCJo8=; Message-ID: <834502.81660.qm@web101703.mail.ssk.yahoo.co.jp> X-YMail-OSG: NxTLQfkVM1mLkpCa2lkB3npt_K9rf2sVu02QphKStF60z83bm5QMYJ551J9jGL8Nl1T1i5vHelgeJDTAPbe8SJ3kzmwTWNeTETzrOSyChn569y6uBtmNHlXO32Xa1tXLZ8hSgDg5RBLk2SeHdZqimP4WJDH0OOlylxnloJjg7dOikIgKreqwxZCuxf1UrihGsT03_a47MKpUWHCU9K9xgXWEgPCfeZuJxAo1zQp7EPH9XnjlWFhbpGcOuy8ghdmhLpURrWP.GdVtL.S5WXdx.wIKQMq9YTBEnRke2yVh.to9_OUH6DrsQduTJnBeueUiPijuWDWytKowvQPqS1z0gVGZlxJg5UHr0USaKtW8.kXH6J9Tolv3iPTkIzWTJkbHcWuvXYmt8l0dJfBNz0N7MyjMpIp60vS4LzMT1HuWi9WATLAGMkwIOPfLgVSCoXRSGYpy.hGyn813xLtJwNYyfsXVvPURMfI.5ZviC4x09JQONwP8izre6lrjvSLmAc2sKszm6B_uZi_elXhf55i8i8WTi6mRkVhoFswQ2lnTFD1gthUTyPDp9VSDjyEcR992s1Yt3WOmk2_h4Xoc3RmNAnM00BNNaOUe2OoJVjCPYkF2Kbm_UFWB.YqQol4ZmZk- Received: from [203.165.91.75] by web101703.mail.ssk.yahoo.co.jp via HTTP; Tue, 12 Jun 2018 09:23:02 JST X-Mailer: YahooMailWebService/0.8.111_74 X-YMail-JAS: 5sJMx0AVM1mjGz5p4.N_uBCW_7CZJkGkcfPMccenmnyp6ESwyBC3Kwk4B5TE_gpXZtOojBcA.sBePUeEpuLv6qzkmgDnwkTOHOLYwOXfESiZpIm.wKbyb56b4yJssnw_APLY Date: Tue, 12 Jun 2018 09:23:02 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: build error on libpmc To: "freebsd-mips@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2018 00:26:23 -0000 Hi=0A=0AI build today's current for atheros by gcc. I have build error.=0A= =0Acc -isystem /storage/home/hiroki/obj/storage/home/hiroki/zrouter/tmp/sto= rage/hom=0Ae/hiroki/freebsd/mips.mips/tmp/usr/include -L/storage/home/hirok= i/obj/storage/ho=0Ame/hiroki/zrouter/tmp/storage/home/hiroki/freebsd/mips.m= ips/tmp/usr/lib -B/stora=0Age/home/hiroki/obj/storage/home/hiroki/zrouter/t= mp/storage/home/hiroki/freebsd/m=0Aips.mips/tmp/usr/lib --sysroot=3D/storag= e/home/hiroki/obj/storage/home/hiroki/zrou=0Ater/tmp/storage/home/hiroki/fr= eebsd/mips.mips/tmp -B/storage/home/hiroki/obj/sto=0Arage/home/hiroki/zrout= er/tmp/storage/home/hiroki/freebsd/mips.mips/tmp/usr/bin =A0=0A-O -pipe -I/= storage/home/hiroki/freebsd/lib/libpmc -G0 -EB -mabi=3D32 -msoft-float=0A= =A0=A0 -DNDEBUG -g -MD=A0 -MF.depend.libpmc_pmu_util.o -MTlibpmc_pmu_util.o= -std=3Dgnu99=0A=A0-Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-pa= rameter -Wstrict-protot=0Aypes -Wmissing-prototypes -Wpointer-arith -Wretur= n-type -Wcast-qual -Wwrite-stri=0Angs -Wswitch -Wshadow -Wunused-parameter = -Wcast-align -Wchar-subscripts -Winline=0A=A0-Wnested-externs -Wredundant-d= ecls -Wold-style-definition -Wno-pointer-sign -Wn=0Ao-shadow=A0 =A0 -c /sto= rage/home/hiroki/freebsd/lib/libpmc/libpmc_pmu_util.c -o libp=0Amc_pmu_util= .o=0A/storage/home/hiroki/freebsd/lib/libpmc/libpmc_pmu_util.c: In function= 'pmc_pmu_=0Asample_rate_get':=0A/storage/home/hiroki/freebsd/lib/libpmc/li= bpmc_pmu_util.c:435: error: 'DEFAULT_S=0AAMPLE_COUNT' undeclared (first use= in this function)=0A/storage/home/hiroki/freebsd/lib/libpmc/libpmc_pmu_uti= l.c:435: error: (Each unde=0Aclared identifier is reported only once=0A/sto= rage/home/hiroki/freebsd/lib/libpmc/libpmc_pmu_util.c:435: error: for each = f=0Aunction it appears in.)=0A*** Error code 1 From owner-freebsd-mips@freebsd.org Wed Jun 13 11:24:51 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CE0DA102284B for ; Wed, 13 Jun 2018 11:24:51 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh503-vm7.bullet.mail.kks.yahoo.co.jp (nh503-vm7.bullet.mail.kks.yahoo.co.jp [183.79.56.193]) by mx1.freebsd.org (Postfix) with SMTP id 00B827C40C for ; Wed, 13 Jun 2018 11:24:50 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.138] by nh503.bullet.mail.kks.yahoo.co.jp with NNFMP; 13 Jun 2018 11:22:57 -0000 Received: from [183.79.100.133] by t501.bullet.mail.kks.yahoo.co.jp with NNFMP; 13 Jun 2018 11:22:57 -0000 Received: from [127.0.0.1] by omp502.mail.kks.yahoo.co.jp with NNFMP; 13 Jun 2018 11:22:57 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 542961.59356.bm@omp502.mail.kks.yahoo.co.jp Received: (qmail 94552 invoked by uid 60001); 13 Jun 2018 11:22:57 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1528888977; bh=alAlHc7KAr6uyk3e2sCT+OmMr/Gwi20FEwJwZ5O+Uis=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=qUV5kLvyWl6KtuYtIT0ebpcPRbbok6RxNZGeQdjkZkfvW+s8KL+nToqbRvNUWR85Mr9R0H21YZWV67maHrNg+48H812pNKMLgKRh98VcDpYSQEQKgcMEs5rZ0OZDok1cnvtb0R+J1LdURT9X09k6YlVK67xW9xnBTcrZj3FUIGE= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=RMK5wwkqqPrFu3s5cytt8VMENuqKlBFdjB+Nwd+jxIIbw052XzjwSiPiOBWk4MFqdkqvRH3P0mUX+wTcJOvHXRevtWDkR305C7OG17GA+xRMf907pqhp8dDSgt/eEQLXUY4XUsD0av21HNB/rjsVc1Kyiz10ACuTdoVgLktA1V4=; Message-ID: <233442.87464.qm@web101712.mail.ssk.yahoo.co.jp> X-YMail-OSG: 2r4XhnAVM1kC0HReZH5hZZ6gd2N_B2_Yr5zaK.id3kd4rsKeGddiWSkI9zN2o1C5H5n0Ds81RGcniCfCZzY44DEOhfuFgmy6J92Jy2QoUPh0mR19UXMNHPKYuJagPZv.Yl5u9kp_ZcqAeroeUPs4eTu9P_3BvBPmYalr.Erkk3SO1F7PDldN1b8uoBDD7ppGuTsBr5TuY1rtOWUovz5rUR9tRh_mViUh3ha_VV8ANFhw99tfam5I4Wm0zNC1yGK_Lpo1FZYoN7uVfQ8QQdQ2eG6d3t3wuJLh4iTZhRfpdOdGhmJjaoAGxaeC0cLeoC4lrsFz_mBof_wpenFjQ.CAcNJWPR0HIrrwmbpiNN6mtiPgzFhSIfiInHYDSfonw2Lun15wH8HpXKpVozwewBfvvmhOETA2gDWvaqJ3y.Dc.E9OWVO1DZRTkKD2dUukHna2lMi9bOYi2rkGgsYhv8BMrrdoNBZwbtkT9nA2oJ65iJIPthf615uFO9f5pqZw3bb1LUvzplULG7jHGB56Yj5CqCuni8.2Sb8zZlAfDjO7CQsuekG1crhJTBevjMFiWWUK8YAGZjoDMcZ8r1gkNSAicuzgoqoWEi5J6xES0EOHmG4LqSyg9cNr0x3DAf0_mwzj Received: from [203.165.91.75] by web101712.mail.ssk.yahoo.co.jp via HTTP; Wed, 13 Jun 2018 20:22:56 JST X-Mailer: YahooMailWebService/0.8.111_74 X-YMail-JAS: tnsBzasVM1mRkRkYVtI2Nf5b_WzljO3ApDpU53qN_9Pls6eSj7bDlQ.XHcNSWhhxd0XrIv5vQ58_rFzvqa572vA7ZrAwktMgsoxGCXfLfAL4.lsyac.YTSxZadkEcVcK_YhT References: <834502.81660.qm@web101703.mail.ssk.yahoo.co.jp> Date: Wed, 13 Jun 2018 20:22:56 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: [Solved] Re: build error on libpmc To: "freebsd-mips@freebsd.org" In-Reply-To: <834502.81660.qm@web101703.mail.ssk.yahoo.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 11:24:52 -0000 Hi=0A=0AMay be This is my missing operation.=0A=0ASorry.=0A=0AHiroki Mori= =0A=0A=0A----- Original Message -----=0A> From: Mori Hiroki =0A> To: "freebsd-mips@freebsd.org" =0A> = Cc: =0A> Date: 2018/6/12, Tue 09:23=0A> Subject: build error on libpmc=0A> = =0A> Hi=0A> =0A> I build today's current for atheros by gcc. I have build e= rror.=0A> =0A> cc -isystem /storage/home/hiroki/obj/storage/home/hiroki/zro= uter/tmp/storage/hom=0A> e/hiroki/freebsd/mips.mips/tmp/usr/include -L/stor= age/home/hiroki/obj/storage/ho=0A> me/hiroki/zrouter/tmp/storage/home/hirok= i/freebsd/mips.mips/tmp/usr/lib -B/stora=0A> ge/home/hiroki/obj/storage/hom= e/hiroki/zrouter/tmp/storage/home/hiroki/freebsd/m=0A> ips.mips/tmp/usr/lib= --sysroot=3D/storage/home/hiroki/obj/storage/home/hiroki/zrou=0A> ter/tmp/= storage/home/hiroki/freebsd/mips.mips/tmp -B/storage/home/hiroki/obj/sto=0A= > rage/home/hiroki/zrouter/tmp/storage/home/hiroki/freebsd/mips.mips/tmp/us= r/bin =A0=0A> -O -pipe -I/storage/home/hiroki/freebsd/lib/libpmc -G0 -EB -m= abi=3D32 -msoft-float=0A> =A0=A0 -DNDEBUG -g -MD=A0 -MF.depend.libpmc_pmu_u= til.o -MTlibpmc_pmu_util.o -std=3Dgnu99=0A> =A0-Wsystem-headers -Wall -Wno-= format-y2k -W -Wno-unused-parameter -Wstrict-protot=0A> ypes -Wmissing-prot= otypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-stri=0A> ngs -Wswi= tch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline=0A>= =A0-Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-= sign -Wn=0A> o-shadow=A0 =A0 -c /storage/home/hiroki/freebsd/lib/libpmc/lib= pmc_pmu_util.c -o libp=0A> mc_pmu_util.o=0A> /storage/home/hiroki/freebsd/l= ib/libpmc/libpmc_pmu_util.c: In function =0A> 'pmc_pmu_=0A> sample_rate_get= ':=0A> /storage/home/hiroki/freebsd/lib/libpmc/libpmc_pmu_util.c:435: error= : =0A> 'DEFAULT_S=0A> AMPLE_COUNT' undeclared (first use in this function)= =0A> /storage/home/hiroki/freebsd/lib/libpmc/libpmc_pmu_util.c:435: error: = (Each unde=0A> clared identifier is reported only once=0A> /storage/home/hi= roki/freebsd/lib/libpmc/libpmc_pmu_util.c:435: error: for each f=0A> unctio= n it appears in.)=0A> *** Error code 1=0A> ________________________________= _______________=0A> freebsd-mips@freebsd.org mailing list=0A> https://lists= .freebsd.org/mailman/listinfo/freebsd-mips=0A> To unsubscribe, send any mai= l to =0A> "freebsd-mips-unsubscribe@freebsd.org"=0A> From owner-freebsd-mips@freebsd.org Thu Jun 14 00:16:07 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5006B10059C5 for ; Thu, 14 Jun 2018 00:16:07 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh601-vm2.bullet.mail.ssk.yahoo.co.jp (nh601-vm2.bullet.mail.ssk.yahoo.co.jp [182.22.90.11]) by mx1.freebsd.org (Postfix) with SMTP id 8411884B33 for ; Thu, 14 Jun 2018 00:16:05 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [182.22.66.105] by nh601.bullet.mail.ssk.yahoo.co.jp with NNFMP; 14 Jun 2018 00:13:09 -0000 Received: from [182.22.91.128] by t603.bullet.mail.ssk.yahoo.co.jp with NNFMP; 14 Jun 2018 00:13:09 -0000 Received: from [127.0.0.1] by omp601.mail.ssk.yahoo.co.jp with NNFMP; 14 Jun 2018 00:13:09 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 391151.66897.bm@omp601.mail.ssk.yahoo.co.jp Received: (qmail 9096 invoked by uid 60001); 14 Jun 2018 00:13:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1528935189; bh=g4MYSM2QUufWWPOegFfEP31xieuR3856MELQyiYCQLI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=K3zZe4qsn/kf2WLgc8vSOSvwHeFkXt4vH2YZwCEukqkOa1tSt7xE2GuXXILsxD07pTZi4O/CWrGRca/0xYKmGnPzz18yTGk0ziMHJbUWYq5CWyL57+TDjnRtbgUfxpkeaIZ/kICCDg+6ADf0X8uE/KOiEPhY2wYo4y6s5sNJPmA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=VTl2+zjuq3I1P1/QeJ4rJkQFIZLlEKVYPZ4Bz3GAS5i58XmAwqB0ckbrE8OZiiFlse7Xdbjc/hSr5djW1y93vd895xCxg3EQd6U1d8ELhxqNZ+hqHwGOvBaC3Ih6vdii08prErBDfPzkrLxVleVftQ7aLYUZRGHsaN5k+84AXGU=; Message-ID: <229256.4567.qm@web101715.mail.ssk.yahoo.co.jp> X-YMail-OSG: LWMuMucVM1ns5LqZZQc5VxmY2hfac_5VLuvWnK83LdO9ywPblVhPBfjyWxHtzOWwjM4Hwk1AH2I1PQ_Yhl_NpKlhGQOCuVgnasKKD9HilkMDRuCvUTLjbIf_WjSu5sq5WM8JEpqDsBB3LZrf1Bb2z_DMHltI06iZVVOIkRNg5V6ErijZQU8QnB3zFRvyKWZZYua56Uzpt0uFNAUQ3Uq.G7UgGU6AC30OXggle3DOuPysckAerefplo8K1o6wMY2EepE4C0q_Q8cHef9eJ5jMh7V7O8wqS_zzoUIkET_.Q8i1S.HuKhppXzO0aiZd0BtDuB28ngJZhlTn8EisZ3ShlH.QJNIlX7Re9ZUdaMAKGBxoO6ZZhmX3mQYRLg5jmC2TuVYqdKb42rs8fan3NkPbJXgdok4KmRC0Hzs9faH984aqSqgjugJB4usQeJJdkSXbnmuIANFQMJxLgYYbihItg7_oW3PPww8UuIHTGP76kkrztx_CIeVd1hqVoD8B3q8oJVvgSUNqW4ZaYFSN14ZGQXjumAQi2jrGImGmtwlOwnm5ySqYlsdKZRbKyTvCptYiWqutd4SPpfAQvZdu214EjLM_RAApmh2SgQ0f4BC1N6piGv8vY1S89AyQaxdfrYQxbw-- Received: from [203.165.91.75] by web101715.mail.ssk.yahoo.co.jp via HTTP; Thu, 14 Jun 2018 09:13:07 JST X-Mailer: YahooMailWebService/0.8.111_74 X-YMail-JAS: LktbbsIVM1lZO2dFa_Zm0k3fL5TRhz5OBLyRZj3tUWMll.wRlEd_GCCI79H8x.DDvOrAd.d2FDhRW7diL2DbAwkLOlfagkAIP5IzNkMPcW6EPtlyDe3Xt3W8iUlgrZ9vN1v9 References: <38177.69175.qm@web101704.mail.ssk.yahoo.co.jp> Date: Thu, 14 Jun 2018 09:13:07 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Re: rt2860 drvier To: Sean Bruno , "freebsd-mips@freebsd.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 00:16:07 -0000 Hi=0A=0A=0A----- Original Message -----=0A> From: Sean Bruno =0A> To: Mori Hiroki ; "freebsd-mips@freebsd.o= rg" =0A> Cc: =0A> Date: 2018/5/17, Thu 05:07=0A> = Subject: Re: rt2860 drvier=0A> =0A> =0A> =0A> On 05/15/18 20:04, Mori Hirok= i wrote:=0A>> Hi.=0A>> =0A>> I found other rt2860 drvier at old mailing l= ist.=0A>> This driver code support 11n.=A0I port new wifi kpi.=0A>> =0A>> = https://github.com/yamori813/freebsd/tree/zrouter/sys/dev/rt2860=0A>> =0A>= > =0A>> I seem ral and run is not support 11n.=A0=0A>> =0A>> I try to che= ck RT3050 by sys/mips/mediatek.=0A>> =0A>> STA mode is work fine. HOSTAP m= ode is also work. But I have=A0hostapd=0A>> problem.=0A>> =0A>> If you wa= nt check this you add this to files.=0A>> =0A>> dev/rt2860/rt2860_fdt.c = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 optional rt2860=0A>> dev/rt2860/rt2860.c = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 optional rt2860=0A>> dev/rt2860/rt= 2860_amrr.c=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 optional rt2860=0A>> dev/rt2860= /rt2860_io.c=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 optional rt2860=0A>> dev/r= t2860/rt2860_led.c =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 optional rt2860=0A>> de= v/rt2860/rt2860_read_eeprom.c =A0 =A0 =A0 =A0 optional rt2860=0A>> dev/rt2= 860/rt2860_rf.c=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 optional rt2860=0A>> =0A= >> Thanks=0A>> =0A>> Hiroki Mori=0A>> __________________________________= _____________=0A>> freebsd-mips@freebsd.org mailing list=0A>> https://lis= ts.freebsd.org/mailman/listinfo/freebsd-mips=0A>> To unsubscribe, send any= mail to =0A> "freebsd-mips-unsubscribe@freebsd.org"=0A>> =0A> =0A> =0A> Do= you think this driver is one we should bring into freebsd?=0A=0AI have que= stion why don't into freebsd at before ?=0A=0AThis code have advantage 11n = support.=0A=0AI think FreeBSD ralink wifi driver very confuse.=0A=0AWe shou= ld clean up current code. Then into FreeBSD is good.=0A=0A=0AHiroki Mori=0A= =0A> =0A> sean=0A> From owner-freebsd-mips@freebsd.org Thu Jun 14 09:24:11 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 061BE1014FDA for ; Thu, 14 Jun 2018 09:24:11 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh502-vm2.bullet.mail.kks.yahoo.co.jp (nh502-vm2.bullet.mail.kks.yahoo.co.jp [183.79.56.147]) by mx1.freebsd.org (Postfix) with SMTP id 37F507FA95 for ; Thu, 14 Jun 2018 09:24:09 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.139] by nh502.bullet.mail.kks.yahoo.co.jp with NNFMP; 14 Jun 2018 09:22:22 -0000 Received: from [183.79.100.133] by t502.bullet.mail.kks.yahoo.co.jp with NNFMP; 14 Jun 2018 09:22:22 -0000 Received: from [127.0.0.1] by omp502.mail.kks.yahoo.co.jp with NNFMP; 14 Jun 2018 09:22:22 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 577690.79017.bm@omp502.mail.kks.yahoo.co.jp Received: (qmail 94499 invoked by uid 60001); 14 Jun 2018 09:22:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1528968142; bh=pZwod/ryIQq1dR5058q97gkdGOirHIH7hYIVb5AROtY=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=KLMXQ04x76485zEtI820umhGS+Gz9qR+56zCsn5v4p8tpQH63Vu7sDyKDOPjdCSm2i2x5F4kLSIad/JeWcf6LAcgnqsyMYt79YU2Dn+YgZaOQkWGJ0O0K/iM+YMIvhEyLWQeRGGEkyD+wiIMEQESDq0fSrxLqs98npmGIZli/8c= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=T1K+cxt41WcWsaVlAbtlinX8uiW3VG5JNqjueg4HxZTAGHMp6neMxNxPrG93swgc7cmfu+oh6AZG88N34Y1jlFI9nkJ5AtJ/YdUvp7M+yr5u+tQV/M4xeT23A+JnwMJmJagg9V3NpdRrZerZ+u2nk0z8vJqxRj3KwyR9JJ1MzNk=; Message-ID: <245966.93741.qm@web101712.mail.ssk.yahoo.co.jp> X-YMail-OSG: 7VbOxXEVM1n94RUfzrTkwOk0VxKfzqE7HWTK4lwBcrksA8F9L4aSeVWIkmWLpyVA5GmbZ9Qa8T3.WQNv8SA0e9Axn3Zm8W6_ARRKcf0vqAiOl.P8i81zeFatqSRnPRS8T4QcK1X5nDFJLbhYc1ETf1Fdyp0UAMw.D64x6WSdiIeDYNhGMS8hoRnGxz0B.Ef4hrq2Ssgf4CJWsnvr6UxDVdC2aSjzUbFH0gdA1ecx1GGwxnysxqFNUd6Q2p4HfehcYHKszIWdW6A2DTQi17FIt8mbOsHrLSQmVwUuLTHThPMrVMKLn1UfOlUg_npcCc938978WFiEG8GNYwm92tvC3sIU_9ZPI71n9npupUctAqOO8KsNPx0ReHbQqAs756I2NVNSbPs63N8v6robHLFU5I3IXSsVmDUg9ffD_RZIrWrjtjUV023Z7eQa5ELQ8uwTYuhQepMdWDXe87ewLihspyCydV391a1nMcg3NLjqXFaF8XOaaQlMCSeST5JLjpqNKfw.eHzaNe9Rf1h2ovBnEEP5BMIceDv1n41O2Ul15us0V2ICxkuWXxXixhKrS2fpIkwrsmPLyRMsR9TZg4u0JiYg8ezRwXWTPVm1RrtUEOAyqzEu365HpmyRnPA7sl53 Received: from [203.165.91.75] by web101712.mail.ssk.yahoo.co.jp via HTTP; Thu, 14 Jun 2018 18:22:20 JST X-Mailer: YahooMailWebService/0.8.111_74 X-YMail-JAS: 6wAesBAVM1k8WNaxRAN9jSi_3eLSHW47SBWMEWLV0dIhbMLEVA9MNuhrZDm_jzaY5GSJ8T68MlkfkBeCzmwlz9GZ0jV.jTmlcJHJm03RZv3Ma59D5wL5ZpPghSkQfhHROco_ References: <787828.4440.qm@web101714.mail.ssk.yahoo.co.jp> Date: Thu, 14 Jun 2018 18:22:20 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Re: Flash support patch review To: "freebsd-arm@freebsd.org" , "freebsd-mips@freebsd.org" In-Reply-To: <787828.4440.qm@web101714.mail.ssk.yahoo.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 09:24:11 -0000 Hi=0A=0AI want this patch to current. Please check some body.=0A=0ARegards= =0A=0AHiroki Mori=0A=0A----- Original Message -----=0A>From: Mori Hiroki =0A>To: "freebsd-arm@freebsd.org" ; "freebsd-mips@freebsd.org" =0A>Date: 2018= /5/1, Tue 16:59=0A>Subject: Flash support patch review=0A> =0A>Hi.=0A>=0A>I= make two review for flash.=0A>=0A>One is cfi write bug fix on mx flash.=0A= >=0A>https://reviews.freebsd.org/D14279=0A>=0A>=0A>The other is automatic f= ind rootfs at geom_flashmap.=0A>=0A>dts file is set while firmware partitio= n by named "firmware"=0A>=0A>Then find rootfs after u-boot image.=0A>=0A>Th= is dts file is same as linux it.=0A>=0A>https://reviews.freebsd.org/D13648= =0A>=0A>=0A>Please somebody check this review.=0A>=0A>Regards=0A>=0A>Hiroki= Mori=0A>_______________________________________________=0A>freebsd-mips@fr= eebsd.org mailing list=0A>https://lists.freebsd.org/mailman/listinfo/freebs= d-mips=0A>To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebs= d.org"=0A>=0A>=0A> From owner-freebsd-mips@freebsd.org Thu Jun 14 11:45:20 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE1C11020533 for ; Thu, 14 Jun 2018 11:45:20 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh602-vm6.bullet.mail.ssk.yahoo.co.jp (nh602-vm6.bullet.mail.ssk.yahoo.co.jp [182.22.90.31]) by mx1.freebsd.org (Postfix) with SMTP id 1667185EFB for ; Thu, 14 Jun 2018 11:45:19 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [182.22.66.105] by nh602.bullet.mail.ssk.yahoo.co.jp with NNFMP; 14 Jun 2018 11:42:50 -0000 Received: from [182.22.91.133] by t603.bullet.mail.ssk.yahoo.co.jp with NNFMP; 14 Jun 2018 11:42:50 -0000 Received: from [127.0.0.1] by omp606.mail.ssk.yahoo.co.jp with NNFMP; 14 Jun 2018 11:42:50 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 311227.90601.bm@omp606.mail.ssk.yahoo.co.jp Received: (qmail 13492 invoked by uid 60001); 14 Jun 2018 11:42:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1528976570; bh=+mY5WKKY5Etw9I0vYkWNq0P3x/2SbiDzVgd5LPCaCPc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=cXV+u/FJeEML66z5Y52aCKdbELFHuHudob3FUACS/bcMvUQgbjN6Yljj3NQh6I+tXtMB7zcGiLjryAyoawojMObRXU6HKKsXsiCst+2I1fGVHcBPgNBjzEMI/3JmQvIz94GrQdCSatcWzkZN+W0ya37wr6NJKZlmQmkSlh7ItS8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=QXtogWRAgjOMptqIFyBGXctzZDAoBomF2DvfCSoz4sflKu0sEjBMMT02/OJGU7FKPe/iqpdm2TyZ5r/z4EST3IekuKKBZuJb7Hnl+C+jyS/vbpvs39Rlh0r+44blNmkfsqyc2nh1lekGAxpU6z++cNqT/ZMX4dL0K3Qvfns2p+M=; Message-ID: <167319.98157.qm@web101716.mail.ssk.yahoo.co.jp> X-YMail-OSG: 54woHWMVM1nGFF8IUzjv7PsYqGey_QgN_lLHxh1AdHXyDKZNUWmdax4QNSHYmMTHD_tt9NnqwBtu7FrOmvpMmowwJA7TWjrILH_T.i7QPOel_OxMNOehc9_pRbhjqeXvHM8iTF9qiifY8SedZ005IQ2sC5_Fs8bO6xk8h5Tg09NWLiJltf59qWEcSPa3vasJfe6_sJoKH3x67XJ1lER5ozqcsPn08q_ocN_jHY_SKeYq2B7v.17Om2lgDzOCDPI2BTHeM1hZQFNOKss.pEP7.Df_I3CzNmwwV8yYw.lMUlJieeRuL3HiYP8t8xPG0O7ypxVcSO5M04AiOWXODftxABLcuZBrDAX2.nA4DbuYBc8T0vlqYGMH1te8uAcnBv4.LEPo0rmXAbgeJJpvqh7f7XyOt60cz0T_t6Y2F0sZVnST1mioTtXJE6HPoxCziT46MD5YLA3d28Z8yCTlt0eQH5I7r9eL1911LLdSPb4sCQGeafWS7E5yJjCVAReWR7ipnHcKGgMrc46Zqac.l6Rmh7J84O75W_joUTHZqeNJnuxfusCIfq7hnPOS1NY7tYI2h65aonu1C0fzOrnXN5PVZB.v.jadS1AIuK8ub5fKljZ6qyPjmJV3imcQllS2xJY- Received: from [203.165.91.75] by web101716.mail.ssk.yahoo.co.jp via HTTP; Thu, 14 Jun 2018 20:42:49 JST X-Mailer: YahooMailWebService/0.8.111_74 X-YMail-JAS: MkgZAJMVM1mjDKClta0WCE4YuscAMN2Qwe3URU36qbBt9Pk6rqTeOhIC2Dj9X0EyT698Khb3HD23r96YohiGNNJnvQ5MODUskog9HJtoHB3pLEAsThxoqbwRGtZVvYCJ__Qz Date: Thu, 14 Jun 2018 20:42:49 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Can't use nfs server on CURRENT To: "freebsd-mips@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 11:45:21 -0000 Hi=0A=0AI build today's CURRENT for atheros.=0ABuild is fine and write flas= h.=0AThen I cat't use nfs server.=0ABoot log is this.=0A=0Alink_elf_obj: sy= mbol nfscl_reqstart undefined=0Alinker_load_file: /boot/kernel/nfsd.ko - un= supported file type=0A=0AI seem nfs code is modify now.=0A=0AHiroki Mori From owner-freebsd-mips@freebsd.org Thu Jun 14 12:21:45 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83F7E1000743 for ; Thu, 14 Jun 2018 12:21:45 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [144.76.30.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.bsd4all.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0CAFA87B7B for ; Thu, 14 Jun 2018 12:21:44 +0000 (UTC) (envelope-from herbert@gojira.at) Date: Thu, 14 Jun 2018 14:21:36 +0200 From: "Herbert J. Skuhra" To: freebsd-mips@freebsd.org Subject: Re: Can't use nfs server on CURRENT Message-ID: <20180614122136.GB34750@mail.bsd4all.net> References: <167319.98157.qm@web101716.mail.ssk.yahoo.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <167319.98157.qm@web101716.mail.ssk.yahoo.co.jp> User-Agent: Mutt/1.10.0 (2018-05-17) X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 12:21:45 -0000 On Thu, Jun 14, 2018 at 08:42:49PM +0900, Mori Hiroki wrote: > Hi > > I build today's CURRENT for atheros. > Build is fine and write flash. > Then I cat't use nfs server. > Boot log is this. > > link_elf_obj: symbol nfscl_reqstart undefined > linker_load_file: /boot/kernel/nfsd.ko - unsupported file type > > I seem nfs code is modify now. The following commit fixes the issue for me (tested on amd64): r335130 | rmacklem | 2018-06-14 12:00:19 +0200 (Thu, 14 Jun 2018) | 9 lines Move four functions in nfscl.ko to nfscommon.ko. Four functions nfscl_reqstart(), nfscl_fillsattr(), nfsm_stateidtom() and nfsmnt_mdssession() are now called from within the nfsd. As such, they needed to be moved from nfscl.ko to nfscommon.ko so that nfsd.ko would load when nfscl.ko wasn't loaded. -- Herbert From owner-freebsd-mips@freebsd.org Thu Jun 14 13:37:11 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7046B1005465 for ; Thu, 14 Jun 2018 13:37:11 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh605-vm7.bullet.mail.ssk.yahoo.co.jp (nh605-vm7.bullet.mail.ssk.yahoo.co.jp [182.22.90.80]) by mx1.freebsd.org (Postfix) with SMTP id 806B96ABDA for ; Thu, 14 Jun 2018 13:37:09 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [182.22.66.103] by nh605.bullet.mail.ssk.yahoo.co.jp with NNFMP; 14 Jun 2018 13:34:57 -0000 Received: from [182.22.91.130] by t601.bullet.mail.ssk.yahoo.co.jp with NNFMP; 14 Jun 2018 13:34:57 -0000 Received: from [127.0.0.1] by omp603.mail.ssk.yahoo.co.jp with NNFMP; 14 Jun 2018 13:34:57 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 54788.80776.bm@omp603.mail.ssk.yahoo.co.jp Received: (qmail 22283 invoked by uid 60001); 14 Jun 2018 13:34:56 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1528983296; bh=P8xstXtq/wlI5kl1cu7AAPevtSMEMrkwBhCw9/Uy63E=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Rrlmn6CT0oO1zdaejuyOjD9B+hmwqVh5BheCVN9sHmzdgMk3s4NatnZbfhDLBvA5FyAC0YWn5MOKAIbw9nZjruSsWu+EzRi8Zx3YjGKokoa5Do2ZATcX4a2Wyoi4OVzzcHZvxMkd0NrstyiGyze7pzWMi/o8ZbnvYLTJ42cd6Lk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=hYc/0dqC9oEr2GYhnIXXqQr9R5RaK2VF84qZR+iyBPXZjQQw2Tl539YxEaEBcEHMNzZiGDErxFAnlII6HIKglhmMm/3h5AlZ5ihHUeuzsoD7K1TtduXIsD9tWcPgKzKRJYsRO685IeouSoWOq2ziVlpHoiI9GhgVdd1qlClbCYY=; Message-ID: <872818.3042.qm@web101711.mail.ssk.yahoo.co.jp> X-YMail-OSG: jrIP_9MVM1nxZyiRdTfX6r8RSesbhOTCe8kf6FApgRH7vvpPiDpT02KptLfJPS752E5Sp_3fCTEbZBYP0bk9n_Y5uUZCltJAU1MXFSls5GM6jkv0_vGzlTrXDRCCIll7tVLGf6kJbNon4EoCmjdbRTih4KboSKgWjm90qMQZjCX6kxARw4UG9GAhiNiKmvWaOeDD7HVjrk.dGYJ0.KWxfwR6m1izng.h19ULCsB.qpk7Pn0S16qYxhf9YBSiza6gjafcShhCLodR1sg9cUN1dC7HeBXBlL6xnqAAqr0AtsX_1E86A.XH23AzMMg.g3PGvdzH7tCAkEwEg3WzAsR.SP5iHIRrGPIDvrthZlfNkdhYMd4uJycRBoGkDjcZ1kU31DN9HtpWeOWA0h0AAAXzSc3X7whqfxsL0A0XseJZFWYVFqG_.yRTT.c4MA5Q6fr8iHLr7Jf8tgKpzxdgyeHm4hFZlJgaYE.Ec6CuXOnaqGssIrzI1gl4TYnYT171VeLRjUb2IEePvVmoVULnyK2Xnyizozmmihi_Bv9VljYDavs5idKTs7seQ5rhsKTgOIlvqv0v9pPaXmEFQveWaCXYToQsRBaZUJduN4wceNQQnbUaolSi0v3AIqE1_peqOnhnhg-- Received: from [203.165.91.75] by web101711.mail.ssk.yahoo.co.jp via HTTP; Thu, 14 Jun 2018 22:34:55 JST X-Mailer: YahooMailWebService/0.8.111_74 X-YMail-JAS: 37fBR2UVM1llORskvlwUlV.7R0pdNhf0aOiRG3yKKx9XguDN0raIarSu3e98XPx2KqufJBcpP8NC7wONlINp7KKTwD52ZBYzmr7itHAAi0vZoxGqkt5xnUBtCdHtLXUYqmUQ References: <167319.98157.qm@web101716.mail.ssk.yahoo.co.jp> <20180614122136.GB34750@mail.bsd4all.net> Date: Thu, 14 Jun 2018 22:34:55 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: [Solved] Re: Can't use nfs server on CURRENT To: "Herbert J. Skuhra" , "freebsd-mips@freebsd.org" In-Reply-To: <20180614122136.GB34750@mail.bsd4all.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 13:37:11 -0000 Hi=0A=0AI checkout CURRENT and build now.=0A=0AIt work fine.=0A=0AThanks fo= r your information.=0A=0AHiroki Mori=0A=0A=0A----- Original Message -----= =0A> From: Herbert J. Skuhra =0A> To: freebsd-mips@freeb= sd.org=0A> Cc: =0A> Date: 2018/6/14, Thu 21:21=0A> Subject: Re: Can't use n= fs server on CURRENT=0A> =0A> On Thu, Jun 14, 2018 at 08:42:49PM +0900, Mor= i Hiroki wrote:=0A>> Hi=0A>> =0A>> I build today's CURRENT for atheros.= =0A>> Build is fine and write flash.=0A>> Then I cat't use nfs server.=0A= >> Boot log is this.=0A>> =0A>> link_elf_obj: symbol nfscl_reqstart undef= ined=0A>> linker_load_file: /boot/kernel/nfsd.ko - unsupported file type= =0A>> =0A>> I seem nfs code is modify now.=0A> =0A> The following commit f= ixes the issue for me (tested on amd64):=0A> =0A> r335130 | rmacklem | 2018= -06-14 12:00:19 +0200 (Thu, 14 Jun 2018) | 9=0A> lines=0A> =0A> Move four f= unctions in nfscl.ko to nfscommon.ko.=0A> =0A> Four functions nfscl_reqstar= t(), nfscl_fillsattr(), nfsm_stateidtom()=0A> and nfsmnt_mdssession() are n= ow called from within the nfsd.=0A> As such, they needed to be moved from n= fscl.ko to nfscommon.ko so that=0A> nfsd.ko would load when nfscl.ko wasn't= loaded.=0A> =0A> -- =0A> Herbert=0A> _____________________________________= __________=0A> freebsd-mips@freebsd.org mailing list=0A> https://lists.free= bsd.org/mailman/listinfo/freebsd-mips=0A> To unsubscribe, send any mail to = =0A> "freebsd-mips-unsubscribe@freebsd.org"=0A> From owner-freebsd-mips@freebsd.org Fri Jun 15 00:12:10 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90E14101D652 for ; Fri, 15 Jun 2018 00:12:10 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh502-vm9.bullet.mail.kks.yahoo.co.jp (nh502-vm9.bullet.mail.kks.yahoo.co.jp [183.79.56.154]) by mx1.freebsd.org (Postfix) with SMTP id A098A6CC60 for ; Fri, 15 Jun 2018 00:12:08 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.138] by nh502.bullet.mail.kks.yahoo.co.jp with NNFMP; 15 Jun 2018 00:09:08 -0000 Received: from [183.79.100.136] by t501.bullet.mail.kks.yahoo.co.jp with NNFMP; 15 Jun 2018 00:09:08 -0000 Received: from [127.0.0.1] by omp505.mail.kks.yahoo.co.jp with NNFMP; 15 Jun 2018 00:09:08 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 249808.16011.bm@omp505.mail.kks.yahoo.co.jp Received: (qmail 77509 invoked by uid 60001); 15 Jun 2018 00:09:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1529021347; bh=T3mAbG57Nfu7oKo36s5O06DJBJxVbRwzsoP3a+0TD54=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=VBtWZRSsbObL74pCvN8aLFZakQLTnd7vsLfY01KIVMWhg3jcXZwhHpqtOWbYD3YJY67xPAV/b1WU1DhYuPBFvHnJLWBX4R9yzqEvlg6F5+AnmpaK8965LDnIPTX8rubG25A9u8Z7lyXfFUZnRtshHw/oBTFjgxFgFqzQeQW+QiU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=m5KU9Huji7y9wacLO+qi4+XtZs29iRgKi0ivgGu+yef//CTqz5/FZfW0YkAHnohL+xwmaV+0ktb4leiWHWedkbFTTRuhVrw+eK5s9jEdxsEyDnYtj+x179YggbJWsYuBcXFk44pD/V9WHxPijuvXPk2+DrjKH+g8QGEOrO5N7tU=; Message-ID: <161784.64603.qm@web101702.mail.ssk.yahoo.co.jp> X-YMail-OSG: ___.o4oVM1nzzjqFO2XK1lFSjk90pJx03LgdpF6_R2s2L9gtJFkFkuZEA6_FTCPZDQs5CG0Llloo0FANwwr1W.m5_4U88KDCuj35oUAhxcX65N1179q_4KLVGWuZD_SVgKtwF_CC7IbPIk3aLUAHkdEq.4UTfgSI1sXzmXtNJFQhbp.8MwfjUrTEUQguT9LXpyF112Up2tDZPYVuKWKh7qmMJXZPYMj9fQVvLIbVsG3Bb3rv3flFWaaHQuZf0OmDKcLjM0PR_H4YuenypfE2O7pP2KfhIYPd7CCfdeRad4_p4GlyyMdmLIQ7cvr5oxAQ3nQC59NEk4UKTIIDF0LKRPjlQL4mrAUeGH0rstYlxCoF9_sTgxxf4.sQSS3vLjZTR4XokFIBQS3VSpX.57JVd.YoWUyVUU7M82gcak3P3i3mF.BZCBEcTTeK5PymbqBtzILOQyYOzEv9JYQeHFnVpuMTuaEPerevgE4JKa22wRwXiaPok_lKOsrmfHFF6To3NZc4JHKl2.TEyU8WiAthxhfYfXNPg3YRdmUjTX_cReIXGd4KaY_9fpGBYm4m0vaQrsImLtsIic5dVKmrWCFE6GnyPlUQYMRxf0mRs2cp_WdZdJyDqitdfBdIiFkecAob2w-- Received: from [203.165.91.75] by web101702.mail.ssk.yahoo.co.jp via HTTP; Fri, 15 Jun 2018 09:09:05 JST X-Mailer: YahooMailWebService/0.8.111_74 X-YMail-JAS: 0nNEGEQVM1lWodQp9Ya2uYtGPV5FBdlaKlPxVtYOmMQsEp1_LBpGarPMf2jScD6SqzuF4BQ3kfB0bXBAuFxi6JH5rjNW6RJVzmOUfGHd7y6xODC_mjRpGZ3RNYm1af.dqe_0 References: <69b4cfd1-1664-ebbf-5734-7be38a70e938@gmail.com> Date: Fri, 15 Jun 2018 09:09:05 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Re: Routing performance (Buffalo WZR-HP-G301NH) To: Adrian Chadd , "josef.lar@gmail.com" Cc: "freebsd-mips@freebsd.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 00:12:10 -0000 Hi=0A=0AI add iperf3 profile to ZRouter and check network performance.=0A= =0AThis is result.=0A=0AWZR-HP-G300NH=0A=0AAR9132=0A=0A=0A[=A0 4] =A0 0.00-= 10.04=A0 sec =A0 118 MBytes=A0 98.2 Mbits/sec=A0 =A0 0 =A0 =A0 =A0 =A0 =A0 = =A0 sender=0A[=A0 4] =A0 0.00-10.04=A0 sec =A0 118 MBytes=A0 98.2 Mbits/sec= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 receiver=0A=0AWZR-HP-AG300H=0A=0AAR7161= =0A=0A=0A[=A0 4] =A0 0.00-10.03=A0 sec =A0 222 MBytes =A0 186 Mbits/sec=A0 = =A0 0 =A0 =A0 =A0 =A0 =A0 =A0 sender=0A[=A0 4] =A0 0.00-10.03=A0 sec =A0 22= 2 MBytes =A0 186 Mbits/sec=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 receiver=0A= =0AI seem=A0AR9132 is slower than=A0AR7161=0A=0AAlso you can tcp tuning on = sysctl.=0A=0AHiroki Mori=0A=0A=0A----- Original Message -----=0A> From: Adr= ian Chadd =0A> To: josef.lar@gmail.com=0A> Cc: "fre= ebsd-mips@freebsd.org. Robert Pera" =0A> Date: 2018/6/12,= Tue 06:39=0A> Subject: Re: Routing performance (Buffalo WZR-HP-G301NH)=0A>= =0A> Hi!=0A> =0A> Ok, so!=0A> =0A> * the seiral console hurts a lot. Don't= print stuff on the console=0A> whilst testing.=0A> * I've done a writeup o= n this when I dug into it a couple years ago.=0A> https://adrianchadd.blogs= pot.com/=0A> =0A> =0A> =0A> -adrian=0A> =0A> On Fri, 4 May 2018 at 02:22, J= osef Larsson wrote:=0A>> =0A>> Hi,=0A>> =0A>> I wou= ld like to use the Buffalo WZR-HP-G301NH as a router with pf. I use=0A>> a= custom built ZRouter image for this. This works in practice, but I am=0A>>= not happy with the performance (I basically can't download faster than=0A= >> 80 mbit/s).=0A>> =0A>> I have a couple of concerns:=0A>> =0A>> 1. Acc= ording to ps aux, there is an interrupt load at about 9 - 10 %=0A>> during= idle conditions. Is this reasonable? It seems high to me.=0A>> 2. When I = am running "pmcstat -TS instructions -w1", there seems =0A> to be a=0A>> l= ot of action going on in uart_ar71xx_probe. Is this reasonable? There=0A>> = are some unknown functions, and I am suspect that the function names are= =0A>> not resolved correctly. Also, apb_attach is invoked a lot according= =0A>> pmcstat. While the sampling percentage for this function is less tha= n 2=0A>> %, I still find it odd that an attach function is invoked at idle= ...=0A>> 3. When downloading a large file, the system becomes pretty much= =0A>> unresponsive. When a "ps aux" call actually goes through, one can = =0A> see=0A>> that the CPU is busy with ~100 % interrupt handling. This is= what I=0A>> would like to profile with pmcstat, but the arge functions do= not show=0A>> up as functions with high load, which is not really what I = expect at=0A>> this point, since the interrupt definitely has to do with t= he LAN load.=0A>> Any suggestions on how to profile the arge driver?=0A>> = =0A>> Best regards,=0A>> =0A>> Josef Larsson=0A>> =0A>> =0A> ____________= ___________________________________=0A> freebsd-mips@freebsd.org mailing li= st=0A> https://lists.freebsd.org/mailman/listinfo/freebsd-mips=0A> To unsub= scribe, send any mail to =0A> "freebsd-mips-unsubscribe@freebsd.org"=0A> From owner-freebsd-mips@freebsd.org Fri Jun 15 07:05:04 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8704A100103E for ; Fri, 15 Jun 2018 07:05:04 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh602-vm7.bullet.mail.ssk.yahoo.co.jp (nh602-vm7.bullet.mail.ssk.yahoo.co.jp [182.22.90.32]) by mx1.freebsd.org (Postfix) with SMTP id AE29B7D19E for ; Fri, 15 Jun 2018 07:05:03 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [182.22.66.105] by nh602.bullet.mail.ssk.yahoo.co.jp with NNFMP; 15 Jun 2018 07:02:25 -0000 Received: from [182.22.91.128] by t603.bullet.mail.ssk.yahoo.co.jp with NNFMP; 15 Jun 2018 07:02:25 -0000 Received: from [127.0.0.1] by omp601.mail.ssk.yahoo.co.jp with NNFMP; 15 Jun 2018 07:02:25 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 284720.21343.bm@omp601.mail.ssk.yahoo.co.jp Received: (qmail 46826 invoked by uid 60001); 15 Jun 2018 07:02:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1529046144; bh=NkunymGFt0ipKnQ6IRgImEkTCK+f+n9ctthu+hTTnH8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Jh2eQSoC6cP+zuzcfBxXTHgpZTLENpmnX2s8HSNJ8TvNgIGzbEZSuWT/O80uMjUjWA/iX6bHI66GBy0CAQ4QH4+/tIOnANsunUysKRjsTYljzGLzwy0eW963RkJA8UJ4wahXXDL/TZaC6du+WwSBZ8urVtiAooRiuRo3DXe0PL4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=j72+GtqG0wBxYmTqE8w/Zpqc9PRnOjpzUmVR8VxC9Og/+nIvi5DhWWigLOEhbMuRPng2pKiQyFcxNzDZsAAsRFTVw9V4BXTbXAPrEuuL0bTZFwBVSiuz6jNHQ1rYtBnZsQUZNuo7ouHVNtA675zmYPV+tiL264RVgNeI4DiTd7E=; Message-ID: <672991.33614.qm@web101701.mail.ssk.yahoo.co.jp> X-YMail-OSG: PHOquF0VM1mmHceaBqIyRQSpdGv4FtGZow2hwHnYJhTG4XO7B6p0jBOWkyHFVDtgZC17vMsz.ZE4jGw5x9RqFWZnwush3Nkwq2yzYLzGJks1NTIZHxLHlF49tCKRBLhwNGwVyrTSu67R6nC7qJpMH6mXPmBjMIraJezodCwldXm7XFlri.0RtiRJBxSNJAS3PbuTe2gGBKzPKSXbI.6cZqZr3E.rakbsnEaCC3e5_8_nXpns7kb_gYR22WlUw8T6XIOuKaX6Ztvvdfbcj6B5gj3r4Sx7a7aidjTpZgzWxxGqoWo42x7vXkw1MV4b8nsdFudzait5MRtDO3FKjrB9BX_bdP1K24aL7qYcpS6z_adiZwyCKxIMyM2WbsT6lcXueNW17pP1JoyJSEzJoou7ReYo0DeCyMs2N4JVZ7v5QcklwJyfiTTXd8vBZCIAZZYVZp30eEA5BwU8s3GHlT7CKLPU074J7Wcnuz9YBoUcsHWGPiX_f_._rPnYjHotP.UISUh0maE_YLkTmoPnoqdEQrTVxYedBwkHgvD7ic9cgggkE61Q1l0BQ5KGK6tb4DzjXu3LAF9JT3IlqHr6j6ryHXiehObZwXVbfSBMI2aapg8sUDY6IaR22QfrIN7CA1loCQ-- Received: from [203.165.91.75] by web101701.mail.ssk.yahoo.co.jp via HTTP; Fri, 15 Jun 2018 16:02:23 JST X-Mailer: YahooMailWebService/0.8.111_74 X-YMail-JAS: J21KYBwVM1lDod0ttWsLIDDhOTy6br2PvOi.PlnRFE.opvfY0y5tWWCLTi5QhR04n3MFvGKiR95Ux7to7gNBaEG.JzmczL9wIhz5JEuVuNmBaGPnUmI5GECAxkjGb28pRwrb References: <69b4cfd1-1664-ebbf-5734-7be38a70e938@gmail.com> <161784.64603.qm@web101702.mail.ssk.yahoo.co.jp> Date: Fri, 15 Jun 2018 16:02:23 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Re: Routing performance (Buffalo WZR-HP-G301NH) To: Adrian Chadd , "josef.lar@gmail.com" Cc: "freebsd-mips@freebsd.org" In-Reply-To: <161784.64603.qm@web101702.mail.ssk.yahoo.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 07:05:04 -0000 Hi=0A=0AI remember=A0WZR-HP-AG301H. This target arge hints was very worry.= =0A=0AIn Zrouter=A0boards/Buffalo/WZR-HP-G301NH/board.hints=0A=0A#hint.arge= .0.media=3D1000=A0=0Ahint.arge.0.media=3D100=A0=0Ahint.arge.0.fduplex=3D1= =A0=0Ahint.arge.0.phymask=3D0x0=0A=0A# This is RTL8366RB revision setting= =0Ahint.arge.0.miimode=3D3 =A0 # RGMII=0Ahint.arge.1.miimode=3D3 =A0 # RGMI= I=0Ahint.arge.0.pll_1000=3D0x1f000000=0Ahint.arge.1.pll_1000=3D0x100=0A=0Ah= int.arge.1.phymask=3D0x10=0Ahint.arge.1.mdio=3Dmdioproxy0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0=0Ahint.arge.1.eeprommac=3D0xbfff120c=0A=0Ahint.rtl8366rb.0.phy= 4cpu=3D1=0A=0AThis setting is work only=A0100baseTX.=0A=0Aifconfig and ethe= rswich command say arge is=A0100baseTX.=0A=0Apll_1000 value get from dd-wrt= .=A0=0A=0A=0AHiroki Mori=0A=0A=0A----- Original Message -----=0A> From: Mor= i Hiroki =0A> To: Adrian Chadd ; "josef.lar@gmail.com" =0A> Cc: "freebsd-mips@free= bsd.org" =0A> Date: 2018/6/15, Fri 09:09=0A> Subj= ect: Re: Routing performance (Buffalo WZR-HP-G301NH)=0A> =0A> Hi=0A> =0A> I= add iperf3 profile to ZRouter and check network performance.=0A> =0A> This= is result.=0A> =0A> WZR-HP-G300NH=0A> =0A> AR9132=0A> =0A> =0A> [=A0 4] = =A0 0.00-10.04=A0 sec =A0 118 MBytes=A0 98.2 Mbits/sec=A0 =A0 0 =A0 =A0 =A0= =A0 =A0 =A0 sender=0A> [=A0 4] =A0 0.00-10.04=A0 sec =A0 118 MBytes=A0 98.= 2 Mbits/sec=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 receiver=0A> =0A> WZR-HP-AG3= 00H=0A> =0A> AR7161=0A> =0A> =0A> [=A0 4] =A0 0.00-10.03=A0 sec =A0 222 MBy= tes =A0 186 Mbits/sec=A0 =A0 0 =A0 =A0 =A0 =A0 =A0 =A0 sender=0A> [=A0 4] = =A0 0.00-10.03=A0 sec =A0 222 MBytes =A0 186 Mbits/sec=A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 receiver=0A> =0A> I seem=A0AR9132 is slower than=A0AR7161= =0A> =0A> Also you can tcp tuning on sysctl.=0A> =0A> Hiroki Mori=0A> =0A> = =0A> ----- Original Message -----=0A>> From: Adrian Chadd =0A>> To: josef.lar@gmail.com=0A>> Cc: "freebsd-mips@freebsd.org.= Robert Pera" =0A> =0A>> Date: 2018/6/12, Tue 06:39=0A>>= Subject: Re: Routing performance (Buffalo WZR-HP-G301NH)=0A>> =0A>> Hi!= =0A>> =0A>> Ok, so!=0A>> =0A>> * the seiral console hurts a lot. Don't pr= int stuff on the console=0A>> whilst testing.=0A>> * I've done a writeup = on this when I dug into it a couple years ago.=0A>> https://adrianchadd.bl= ogspot.com/=0A>> =0A>> =0A>> =0A>> -adrian=0A>> =0A>> On Fri, 4 May 2018 = at 02:22, Josef Larsson =0A> wrote:=0A>>> =0A>>> =A0 = Hi,=0A>>> =0A>>> =A0 I would like to use the Buffalo WZR-HP-G301NH as a rou= ter with pf. I =0A> use=0A>>> =A0 a custom built ZRouter image for this. Th= is works in practice, but I =0A> am=0A>>> =A0 not happy with the performanc= e (I basically can't download faster =0A> than=0A>>> =A0 80 mbit/s).=0A>>> = =0A>>> =A0 I have a couple of concerns:=0A>>> =0A>>> =A0 1. According to ps= aux, there is an interrupt load at about 9 - 10 %=0A>>> =A0 during idle co= nditions. Is this reasonable? It seems high to me.=0A>>> =A0 2. When I am r= unning "pmcstat -TS instructions -w1", there =0A> seems =0A>> to be a=0A>>= > =A0 lot of action going on in uart_ar71xx_probe. Is this reasonable? Ther= e=0A>>> =A0 are some unknown functions, and I am suspect that the function = names =0A> are=0A>>> =A0 not resolved correctly. Also, apb_attach is invoke= d a lot according=0A>>> =A0 pmcstat. While the sampling percentage for this= function is less than =0A> 2=0A>>> =A0 %, I still find it odd that an atta= ch function is invoked at idle...=0A>>> =A0 3. When downloading a large fil= e, the system becomes pretty much=0A>>> =A0 unresponsive. When a "ps aux" c= all actually goes through, =0A> one can =0A>> see=0A>>> =A0 that the CPU i= s busy with ~100 % interrupt handling. This is what I=0A>>> =A0 would like = to profile with pmcstat, but the arge functions do not show=0A>>> =A0 up as= functions with high load, which is not really what I expect at=0A>>> =A0 t= his point, since the interrupt definitely has to do with the LAN =0A> load.= =0A>>> =A0 Any suggestions on how to profile the arge driver?=0A>>> =0A>>> = =A0 Best regards,=0A>>> =0A>>> =A0 Josef Larsson=0A>>> =0A>>> =0A>> ______= _________________________________________=0A>> freebsd-mips@freebsd.org ma= iling list=0A>> https://lists.freebsd.org/mailman/listinfo/freebsd-mips=0A= >> To unsubscribe, send any mail to =0A>> "freebsd-mips-unsubscribe@freeb= sd.org"=0A>> =0A> _______________________________________________=0A> freeb= sd-mips@freebsd.org mailing list=0A> https://lists.freebsd.org/mailman/list= info/freebsd-mips=0A> To unsubscribe, send any mail to =0A> "freebsd-mips-u= nsubscribe@freebsd.org"=0A>