From owner-freebsd-mips@freebsd.org Wed Oct 7 07:57:50 2015 Return-Path: Delivered-To: freebsd-mips@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 D4E449D1BF7 for ; Wed, 7 Oct 2015 07:57:50 +0000 (UTC) (envelope-from pkubaj@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B7A0C3CA for ; Wed, 7 Oct 2015 07:57:50 +0000 (UTC) (envelope-from pkubaj@riseup.net) Received: from cotinga.riseup.net (unknown [10.0.1.161]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 176B2C2753; Wed, 7 Oct 2015 00:57:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1444204664; bh=vS6CVgiaERaYnxMnqiL+iVMcyt4gSE587cuARV5/3Ms=; h=To:References:Subject:Cc:From:Date:In-Reply-To:From; b=p18jBnBLiIKWgLFcFhNuGVlOmtb3bzeSCGNt7q6nKyBXindgL4tQ7s9zwoXGdKiuG N4b/G9jixM5NWx03wrmPy5Ss20DstCOW39q78wJ0SWRhvLmNpmV0UAeTULWuMbPboI 7oAwy9zqkrIuQ1i0X1+UIArCr0pSUTgMzhApZsEA= Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: pkubaj) with ESMTPSA id 133801C0036 To: freebsd-mips@freebsd.org References: Subject: Re: Kernel config for TPLink TL WDR3600 Cc: adrian.chadd@gmail.com, eugen@grosbein.net From: Piotr Kubaj Message-ID: <5614D073.9060706@riseup.net> Date: Wed, 7 Oct 2015 09:57:39 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: X-Virus-Scanned: clamav-milter 0.98.7 at mx1.riseup.net X-Virus-Status: Clean Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2015 07:57:50 -0000 @eugen You could just copy//WDR3600's kernel config to sys/misc/conf in stable/10. It's quite possible that it will work. @adrian Are there any advantages to running head instead of stable/10 or even releng/10.2 on mips? I admit that I'm one of those that run releng/10.2 on my 1043nd (1.x) and I'm quite happy with it. AFAIK FreeBSD/mips is mainly one-man effort (that is, mainly yours) and lately you're busy with iwm (AFAIK, correct me if I'm wrong), so head should be quite similar to stable/10 (on mips), but stable/10 should be more stable (I don't mean mips-specific bugs, but general bugs that affect every architecture and are introduced by someone else). Correct me if I'm wrong :) From owner-freebsd-mips@freebsd.org Wed Oct 7 09:19:06 2015 Return-Path: Delivered-To: freebsd-mips@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 A42F39B61B7 for ; Wed, 7 Oct 2015 09:19:06 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 39EB4D3F for ; Wed, 7 Oct 2015 09:19:05 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.14.9/8.14.9) with ESMTP id t979IlAJ023259 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 7 Oct 2015 11:18:48 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: pkubaj@riseup.net Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id t979Icl2036161; Wed, 7 Oct 2015 16:18:38 +0700 (KRAT) (envelope-from eugen@grosbein.net) Subject: Re: Kernel config for TPLink TL WDR3600 To: Piotr Kubaj , freebsd-mips@freebsd.org References: <5614D073.9060706@riseup.net> Cc: adrian.chadd@gmail.com From: Eugene Grosbein Message-ID: <5614E36E.6000803@grosbein.net> Date: Wed, 7 Oct 2015 16:18:38 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <5614D073.9060706@riseup.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM, T_DATE_IN_FUTURE_96_Q autolearn=no version=3.3.2 X-Spam-Report: * 0.0 T_DATE_IN_FUTURE_96_Q Date: is 4 days to 4 months after Received: * date * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hz.grosbein.net X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2015 09:19:06 -0000 On 07.10.2015 14:57, Piotr Kubaj wrote: > @eugen > You could just copy//WDR3600's kernel config to sys/misc/conf in stable/10. It's quite possible that it will work. I made diff between stable/10 and head for MIPS-related source files and there are lots of non-trivial (for me) changes in head. I will create virtual machine with VBox and build head there as I do not run head on my desktop but 10.2 From owner-freebsd-mips@freebsd.org Wed Oct 7 18:08:20 2015 Return-Path: Delivered-To: freebsd-mips@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 6F1849D0043 for ; Wed, 7 Oct 2015 18:08:20 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x22c.google.com (mail-ig0-x22c.google.com [IPv6:2607:f8b0:4001:c05::22c]) (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 3CE75EEE for ; Wed, 7 Oct 2015 18:08:20 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igbkq10 with SMTP id kq10so114681973igb.0 for ; Wed, 07 Oct 2015 11:08:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5TbAM2lleBnuasbpMf4VaBvztTDn+xBZw0Rm6sX3fzg=; b=UtW8IAITRoiR4okeX1qsZP5EjP7qMXCTNvjy0th9BqLMnYq649lS4hlytHZRmD2qNU CKBgo8q0donbaXXeQe+xIWXLEPbDd/Zp8tsOMOFDKyvTp7TBQ8dM3ofUNKhaweSzv94o 9kz1QUAjzIxDqkcsA5yNfrl/dPAiMFyPn1Bw3dTUPISRkF7yYrxU8sNOTF9i0ZujHa80 6FPbStefyBfvFO5QNrppF7fuSR03Ds0ATYaUSz8k2+zyx046g0SuWmi5L6q3uJgBnAMv i7cg1RqgcpJhM+KDx0kXYksvO/VOZ99O2dBYzzfVZSjIjgmLwVCvzhkFra43bx5hIy2q IUsg== MIME-Version: 1.0 X-Received: by 10.50.61.243 with SMTP id t19mr3568664igr.22.1444241299508; Wed, 07 Oct 2015 11:08:19 -0700 (PDT) Received: by 10.36.46.15 with HTTP; Wed, 7 Oct 2015 11:08:19 -0700 (PDT) In-Reply-To: <5614E36E.6000803@grosbein.net> References: <5614D073.9060706@riseup.net> <5614E36E.6000803@grosbein.net> Date: Wed, 7 Oct 2015 11:08:19 -0700 Message-ID: Subject: Re: Kernel config for TPLink TL WDR3600 From: Adrian Chadd To: Eugene Grosbein Cc: Piotr Kubaj , "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2015 18:08:20 -0000 Hi, Just run -HEAD, or be prepared to MFC everything in the mips code and wifi stack/drivers to stable/10. -HEAD works fine. You should just try it. :) -adrian On 7 October 2015 at 02:18, Eugene Grosbein wrote: > On 07.10.2015 14:57, Piotr Kubaj wrote: >> @eugen >> You could just copy//WDR3600's kernel config to sys/misc/conf in stable/10. It's quite possible that it will work. > > I made diff between stable/10 and head for MIPS-related source files > and there are lots of non-trivial (for me) changes in head. > > I will create virtual machine with VBox and build head there > as I do not run head on my desktop but 10.2 > > From owner-freebsd-mips@freebsd.org Wed Oct 7 18:24:17 2015 Return-Path: Delivered-To: freebsd-mips@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 513249D0DDD for ; Wed, 7 Oct 2015 18:24:17 +0000 (UTC) (envelope-from possnfiffer@snowboard.com) Received: from mail-ig0-f175.google.com (mail-ig0-f175.google.com [209.85.213.175]) (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 228CEAA3 for ; Wed, 7 Oct 2015 18:24:16 +0000 (UTC) (envelope-from possnfiffer@snowboard.com) Received: by igbkq10 with SMTP id kq10so117994399igb.0 for ; Wed, 07 Oct 2015 11:24:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=BSXknsu4MnbpyMh4tR/Hq1tgFuvRHMV4fmNCUdRsC8o=; b=DnzY2ZUdHoL/zns88xzmpG21n1UmlY8H4F7Vu4VzxTVQFWa1bpEu070azjpzOyBXkQ TgBYBaZaecfr1+X7NYBTwQo0MNzW/l6qTVM6/K4gGzvqb7FHfwR2uxg3lB2tVEAex05T SrXzqdMgJwNldYU4dqKb0Usw56SLAl0ijzBuzmwmrjQMZQM0fJ8jjh4uyc3UEAsNCgIj 6gP2uNZ3uDUv4MMWIeU4o1L8JSwu+EDxPIPkpA0QgYjOylQ2IkMZz8MNQJlRy9lPxxH9 0CasLw/hG3bMgWORPYF2FzANH4l3xT1w+6f5ZLilWAoD/POSRdJdVbLZbiCMJ90Qt2kx N3iA== X-Gm-Message-State: ALoCoQl5i5nGLo18nqMmuR9rnyIcwvHLlY4ncU/KS3Y2F3Lo8Rxh3EuQlD8gqKpPiS+8+Nf8k+bD MIME-Version: 1.0 X-Received: by 10.50.65.74 with SMTP id v10mr4125859igs.54.1444242250577; Wed, 07 Oct 2015 11:24:10 -0700 (PDT) Received: by 10.36.104.196 with HTTP; Wed, 7 Oct 2015 11:24:10 -0700 (PDT) In-Reply-To: References: <5614D073.9060706@riseup.net> <5614E36E.6000803@grosbein.net> Date: Wed, 7 Oct 2015 12:24:10 -0600 Message-ID: Subject: Re: Kernel config for TPLink TL WDR3600 From: Possnfiffer To: Adrian Chadd Cc: Eugene Grosbein , "freebsd-mips@freebsd.org" , Piotr Kubaj Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2015 18:24:17 -0000 Hello, Good Info! I bought a new router and have been messing around with building packages with poudriere without success using -STABLE. I will give -HEAD a shot on my Ubiquity Edge Router Lite. How's MIPS64 support? On Wed, Oct 7, 2015 at 12:08 PM, Adrian Chadd wrote: > Hi, > > Just run -HEAD, or be prepared to MFC everything in the mips code and > wifi stack/drivers to stable/10. > > -HEAD works fine. You should just try it. :) > > > > -adrian > > > On 7 October 2015 at 02:18, Eugene Grosbein wrote: > > On 07.10.2015 14:57, Piotr Kubaj wrote: > >> @eugen > >> You could just copy//WDR3600's kernel config to sys/misc/conf in > stable/10. It's quite possible that it will work. > > > > I made diff between stable/10 and head for MIPS-related source files > > and there are lots of non-trivial (for me) changes in head. > > > > I will create virtual machine with VBox and build head there > > as I do not run head on my desktop but 10.2 > > > > > _______________________________________________ > 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" > From owner-freebsd-mips@freebsd.org Wed Oct 7 20:33:20 2015 Return-Path: Delivered-To: freebsd-mips@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 D2F0C9D03A1; Wed, 7 Oct 2015 20:33:20 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from BLU004-OMC4S14.hotmail.com (blu004-omc4s14.hotmail.com [65.55.111.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8D343973; Wed, 7 Oct 2015 20:33:20 +0000 (UTC) (envelope-from m.vale@live.com.au) Received: from BLU436-SMTP234 ([65.55.111.136]) by BLU004-OMC4S14.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Wed, 7 Oct 2015 13:32:14 -0700 X-TMN: [UJ0k6jlAqN1vP2gmrjYaSQkRF8zi3rRwJuSn97IXRWM=] X-Originating-Email: [m.vale@live.com.au] Message-ID: Subject: Re: Cross Ports - skip stage and install directly to sysroot To: Adrian Chadd References: CC: "freebsd-embedded@freebsd.org" , "freebsd-mips@freebsd.org" , "freebsd-arm@freebsd.org" , "portmgr@freebsd.org" From: Michael Vale Date: Thu, 8 Oct 2015 07:32:15 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; 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: 7bit X-OriginalArrivalTime: 07 Oct 2015 20:32:11.0520 (UTC) FILETIME=[3E987000:01D1013F] X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2015 20:33:20 -0000 yeah, was just unsure as to how many variables we want to be passing to the command line just to build. i've since addressed the specific paths and I also fixed the DESTDIR problem you mentioned in another e-mail. At first I didn't realise what you were saying and that it was in fact "broken" but I made additions to sys/mk/bsd.libnames.mk iirc to include SYSROOT in their paths. that fixed that. I haven't posted those patches but if you're interested in them as a guideline and for ideas just let me know and I'll sort something out at my next likely convenience. On 7/12/2015 12:59 PM, Adrian Chadd wrote: > Hi, > > The paths you're using are very specific to how the freebsd-wifi-build > things do stuff. Ie, finding it in ${LOCALBASE}/../root/${ARCH} . > > Ideally we'd just pass in a SYSROOT variable in as part of building > and it'd set everything appropriately. > > > > -adrian > From owner-freebsd-mips@freebsd.org Thu Oct 8 04:48:10 2015 Return-Path: Delivered-To: freebsd-mips@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 137329D1D9F for ; Thu, 8 Oct 2015 04:48:10 +0000 (UTC) (envelope-from pkubaj@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DFEB43CD for ; Thu, 8 Oct 2015 04:48:09 +0000 (UTC) (envelope-from pkubaj@riseup.net) Received: from piha.riseup.net (unknown [10.0.1.162]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 55D68C1976; Wed, 7 Oct 2015 21:48:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1444279688; bh=IUX3WzizA/XEB4wlDkO/KYIwmxc2hVrrQzxeK1f1cyg=; h=Subject:References:Cc:To:From:Date:In-Reply-To:From; b=HH+5CZuV172t9ooEoCjNmwYatF8QpeakqQNiNOYUJ9K2sVC3h5QTagUMmC6EoCwpc 6O6H2x5IDNb1ud7CiDlVZd4yLhULizh+cblZliLxSJ6LLwpxxAuB631SpEq6jonR8L P8+x1blscQaO+Q6Po8SRT5eV3Z7ux3KNyR+vysos= Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: pkubaj) with ESMTPSA id 7F2C414040D Subject: Re: Kernel config for TPLink TL WDR3600 References: <5614D073.9060706@riseup.net> <5614E36E.6000803@grosbein.net> Cc: Adrian Chadd To: freebsd-mips@freebsd.org From: Piotr Kubaj Message-ID: <5615F57E.1010405@riseup.net> Date: Thu, 8 Oct 2015 06:47:58 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Jq63TGL8qT9k1n7GhdfaHwl3isOPpBBic" X-Virus-Scanned: clamav-milter 0.98.7 at mx1.riseup.net X-Virus-Status: Clean X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2015 04:48:10 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Jq63TGL8qT9k1n7GhdfaHwl3isOPpBBic Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/07/2015 20:08, Adrian Chadd wrote: > Hi, >=20 > Just run -HEAD, or be prepared to MFC everything in the mips code and > wifi stack/drivers to stable/10. >=20 > -HEAD works fine. You should just try it. :) >=20 >=20 >=20 > -adrian >=20 >=20 > On 7 October 2015 at 02:18, Eugene Grosbein wrote:= >> On 07.10.2015 14:57, Piotr Kubaj wrote: >>> @eugen >>> You could just copy//WDR3600's kernel config to sys/misc/conf in stab= le/10. It's quite possible that it will work. >> >> I made diff between stable/10 and head for MIPS-related source files >> and there are lots of non-trivial (for me) changes in head. >> >> I will create virtual machine with VBox and build head there >> as I do not run head on my desktop but 10.2 >> >> I've tried to upgrade my 1043nd to HEAD but it caused me just problems :P= Is this error known? start_init: trying /sbin/init rtl8366rb0port0: link state changed to UP init died (signal 0, exit 1) panic: Going nowhere without my init! KDB: enter: panic [ thread pid 1 tid 100001 ] Stopped at kdb_enter+0x4c: lui at,0x804b db> bt Tracing pid 1 tid 100001 td 0x8064b000 db_trace_thread+30 (?,?,?,?) ra c736b8a000000018 sp 0 sz 0 80088bf4+114 (0,?,ffffffff,?) ra c736b8b800000020 sp 100000000 sz 1 80088000+388 (?,?,?,?) ra c736b8d8000000a8 sp 0 sz 0 db_command_loop+70 (?,?,?,?) ra c736b98000000018 sp 0 sz 0 8008ab08+f4 (?,?,?,?) ra c736b998000001a8 sp 0 sz 0 kdb_trap+110 (?,?,?,?) ra c736bb4000000030 sp 0 sz 0 trap+c7c (?,?,?,?) ra c736bb70000000c0 sp 0 sz 0 MipsKernGenException+134 (0,0,0,0) ra c736bc30000000c8 sp 100000001 sz 1 kdb_enter+4c (?,?,?,?) ra c736bcf800000018 sp 0 sz 0 vpanic+ec (?,?,?,?) ra c736bd1000000020 sp 0 sz 0 panic+20 (?,0,0,0) ra c736bd3000000020 sp 1 sz 1 exit1+6c (?,?,?,?) ra c736bd5000000058 sp 0 sz 0 sys_sys_exit+14 (?,?,?,?) ra c736bda800000018 sp 0 sz 0 trap+7a8 (?,?,?,?) ra c736bdc0000000c0 sp 0 sz 0 MipsUserGenException+10c (?,?,?,4093bea0) ra c736be8000000000 sp 0 sz 0 pid 1 I'm not sure if that matters but I have 64 MB RAM, so I have changed AR71XX_REALMEM to 64*1024*1024. --Jq63TGL8qT9k1n7GhdfaHwl3isOPpBBic Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJWFfWEAAoJEC9nKukRsfY+6jEQAJrq7btwUxXFTnd+WWwCCRuQ oFRnSsnL2GFisZReaEXyIyb/mLz8mtU8X9hjUF90e6yptOgKhLsT8cSu2ajUhq7C B1EJk1y754Dxx1F647lNEyQIQb64iICtTWxUMNgTGML8mCa26ByVdLEg8896C+4e KQr1mD/up8r2dCD0JqhviH9j87yEwjdBM+a6oz1eW0/awMF34uG4yl+/5WXEQli/ 6/2AmF3wKw8oj7r9WKvR8gf49gWO6mLd4YbYqXjm4TQEvRwpWLz88w2td1W+W/NU VZO/2vxVN9cyXqXxxraM1Gwhjfo+mBPkIA3SIoE1YCypGHua/OO9Jcyj1wiVbaly wmnIuSVanm8657Gig/fZrNawuwWDfgUx2d+GG/CA/DNuNwrZ16U9dMeojVAnqG36 PvBK1gbMCT76nAZW8BPjA7m5ljJAAoEtSsB3qq7p5trKtpSuEgxjBuBfyeBcAcHv N7y1pPPEM037rMOzedh1HR3GOA1gudIu+eGkuMjL6glHZy44jq4ueMMNyDYjDd2d Mfvil6AbgeQq4dLXDfKJYo4mH6azfuvJ6I0KljuYn2zf+vZ+nKEIurgbG1260FJf UY00q1NpMd5OB8Cm+biFSXqOemhd7WcHP4bnU9EKeS7AbnsUqQlK2aj2t6GBOQYC oggnm2cmU639LkZ0u2m0 =xgPh -----END PGP SIGNATURE----- --Jq63TGL8qT9k1n7GhdfaHwl3isOPpBBic-- From owner-freebsd-mips@freebsd.org Thu Oct 8 04:52:41 2015 Return-Path: Delivered-To: freebsd-mips@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 EB8839D0078 for ; Thu, 8 Oct 2015 04:52:41 +0000 (UTC) (envelope-from pkubaj@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C37EF8FB; Thu, 8 Oct 2015 04:52:41 +0000 (UTC) (envelope-from pkubaj@riseup.net) Received: from piha.riseup.net (unknown [10.0.1.162]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 59689C1A3E; Wed, 7 Oct 2015 21:52:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1444279961; bh=IFTcR8ZLxKQmLOKqoZ03Qgn0QaE0WrymdByJ1Io8z7Y=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=Xq2KrSFKhgxJvXsCXt/m2wO++t4OC9gEW0uHoYsJN2IJ37bJx2pg98VREmtJI2TJM Mu5Yt7LSEu4ULUAupa+1q9j5Z4gdSO7E0SM+qQEk36sKoY0reaLa7zOHH2uukf+Vv+ hBflmnS046Lhwt9v8PPYgUrGmOOTUUyGXqb/QpWo= Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: pkubaj) with ESMTPSA id 9B2081407A3 Subject: Re: Kernel config for TPLink TL WDR3600 To: freebsd-mips@freebsd.org References: <5614D073.9060706@riseup.net> <5614E36E.6000803@grosbein.net> <5615F57E.1010405@riseup.net> From: Piotr Kubaj Message-ID: <5615F697.6080700@riseup.net> Date: Thu, 8 Oct 2015 06:52:39 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <5615F57E.1010405@riseup.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hPRHRvLMBmOsjAr6f35wPsuf3nXlBdqpL" X-Virus-Scanned: clamav-milter 0.98.7 at mx1.riseup.net X-Virus-Status: Clean X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2015 04:52:42 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hPRHRvLMBmOsjAr6f35wPsuf3nXlBdqpL Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/08/2015 06:47, Piotr Kubaj wrote: > On 10/07/2015 20:08, Adrian Chadd wrote: >> Hi, >> >> Just run -HEAD, or be prepared to MFC everything in the mips code and >> wifi stack/drivers to stable/10. >> >> -HEAD works fine. You should just try it. :) >> >> >> >> -adrian >> >> >> On 7 October 2015 at 02:18, Eugene Grosbein wrote= : >>> On 07.10.2015 14:57, Piotr Kubaj wrote: >>>> @eugen >>>> You could just copy//WDR3600's kernel config to sys/misc/conf in sta= ble/10. It's quite possible that it will work. >>> >>> I made diff between stable/10 and head for MIPS-related source files >>> and there are lots of non-trivial (for me) changes in head. >>> >>> I will create virtual machine with VBox and build head there >>> as I do not run head on my desktop but 10.2 >>> >>> > I've tried to upgrade my 1043nd to HEAD but it caused me just problems = :P >=20 >=20 > Is this error known? >=20 >=20 > start_init: trying /sbin/init > rtl8366rb0port0: link state changed to UP > init died (signal 0, exit 1) > panic: Going nowhere without my init! > KDB: enter: panic > [ thread pid 1 tid 100001 ] > Stopped at kdb_enter+0x4c: lui at,0x804b > db> bt > Tracing pid 1 tid 100001 td 0x8064b000 > db_trace_thread+30 (?,?,?,?) ra c736b8a000000018 sp 0 sz 0 > 80088bf4+114 (0,?,ffffffff,?) ra c736b8b800000020 sp 100000000 sz 1 > 80088000+388 (?,?,?,?) ra c736b8d8000000a8 sp 0 sz 0 > db_command_loop+70 (?,?,?,?) ra c736b98000000018 sp 0 sz 0 > 8008ab08+f4 (?,?,?,?) ra c736b998000001a8 sp 0 sz 0 > kdb_trap+110 (?,?,?,?) ra c736bb4000000030 sp 0 sz 0 > trap+c7c (?,?,?,?) ra c736bb70000000c0 sp 0 sz 0 > MipsKernGenException+134 (0,0,0,0) ra c736bc30000000c8 sp 100000001 sz = 1 > kdb_enter+4c (?,?,?,?) ra c736bcf800000018 sp 0 sz 0 > vpanic+ec (?,?,?,?) ra c736bd1000000020 sp 0 sz 0 > panic+20 (?,0,0,0) ra c736bd3000000020 sp 1 sz 1 > exit1+6c (?,?,?,?) ra c736bd5000000058 sp 0 sz 0 > sys_sys_exit+14 (?,?,?,?) ra c736bda800000018 sp 0 sz 0 > trap+7a8 (?,?,?,?) ra c736bdc0000000c0 sp 0 sz 0 > MipsUserGenException+10c (?,?,?,4093bea0) ra c736be8000000000 sp 0 sz 0= > pid 1 >=20 >=20 >=20 >=20 >=20 > I'm not sure if that matters but I have 64 MB RAM, so I have changed > AR71XX_REALMEM to 64*1024*1024. >=20 I've noticed that higher in the logs there is: MAP: No valid partition found at map/rootfs.uncompress --hPRHRvLMBmOsjAr6f35wPsuf3nXlBdqpL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJWFfaXAAoJEC9nKukRsfY+wysP/RZFVgvQjDewPbliHYuHYr7u vULWbMU3iaEhpj2I+KMhmoIzyvEue6iNov26BM+dGyllM43aEDLRyTm34zTqezFV xGcY+VfnqEvIdzIzqh845FIdQraNCS+GKKypmQuunXNmJzsO80daO6xBunP9XmB7 TFoLAs4FtMtHzYy7Bi+un9Rm757Z8qtOq1tmdqiWgnvHbz42fe9RRmBxffeK9BGC TIfnwNjrjH5M1cZ9Xg7w0mCVhVCtPc4R39m36q8Ej0FW1U4LggLJdgjEX7AB7kl9 u1rYE6MzQeAM3OGWtXmSzM9lYkaK0pX+QxIYm2uiEuSWiDIaEc1tEKSOMLGAxmhI 6OHxiLHhqXeMGgLUnJ/H6fdBiyLYb6KZh61EMr/0cME+zjsTsH/wBZZczrAUz8ts JUC4pdFuvdXmKdJ/H9bzGXyTW0o/407BgbFKjC6O5looFNbTnKBZqcxR5p7UBh5L xbCEGAk+Y/MtTBJvEtCExSuActd4VdCnhxMobvepivNFdUa19hOLZrM5BzTD6sKk nK+RG2DHvaAUr+5WQRbV5j0CJOXprO7VjrqtXF0UhLNHB0lQbN1t7EXCtaQnoIyw 0QtXIKbC4yQm6Jyj+z9uZptorUrZKTxJsb/Nlnv8rYmdQhs8gohfSCNzKl3VIGkV UPnAsQ20Ueux17xBAQC9 =/jLw -----END PGP SIGNATURE----- --hPRHRvLMBmOsjAr6f35wPsuf3nXlBdqpL-- From owner-freebsd-mips@freebsd.org Thu Oct 8 15:47:40 2015 Return-Path: Delivered-To: freebsd-mips@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 14E939D1624 for ; Thu, 8 Oct 2015 15:47:40 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::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 D4D9DD41 for ; Thu, 8 Oct 2015 15:47:39 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igcpe7 with SMTP id pe7so15722889igc.0 for ; Thu, 08 Oct 2015 08:47:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=pqRU5YD6aHEhf/WWjfHkmsy1LJEWcpjNdIKBICiJGwk=; b=BRHyFBn72iooDMaupTP8fb8xuJiHTwQA6NSJwGCM2o2LxRJGfxLBDONwyOYhtQeDXy uCZu9iTqmoalHjq9Q6Co2zQlcDAsRIaQJ8o0D2+aIcu3s5D6whys2E9+W7NazPuQ6du+ DMeSphmFgu98Z0E0FtWTUM3mmaMovGZ3RIGpyflv8edyK8KXCuTAaOQkKtE77PUX7Q1/ 574O5EVU26GM+jhblQesUsndoa+yMUSfGfDvovdkj8Kw2E1dSRtXjK7tjq4dS489TU4v 2HPQGmlaLvKIAuT5peol/bzvlWX/AQUslQPFtiiSg2ZkWcn23FhOxWTtm3N+1Khte8fE 5cFw== MIME-Version: 1.0 X-Received: by 10.50.4.42 with SMTP id h10mr4863666igh.37.1444319258644; Thu, 08 Oct 2015 08:47:38 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.46.15 with HTTP; Thu, 8 Oct 2015 08:47:38 -0700 (PDT) In-Reply-To: <5615F697.6080700@riseup.net> References: <5614D073.9060706@riseup.net> <5614E36E.6000803@grosbein.net> <5615F57E.1010405@riseup.net> <5615F697.6080700@riseup.net> Date: Thu, 8 Oct 2015 08:47:38 -0700 X-Google-Sender-Auth: OVgOn5OtTIvGN6okodcxo-QTcTI Message-ID: Subject: Re: Kernel config for TPLink TL WDR3600 From: Adrian Chadd To: Piotr Kubaj Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2015 15:47:40 -0000 I'll go try reflashing my tl-wr1043nd v1 today. Which instrucitons are you following? a On 7 October 2015 at 21:52, Piotr Kubaj wrote: > On 10/08/2015 06:47, Piotr Kubaj wrote: >> On 10/07/2015 20:08, Adrian Chadd wrote: >>> Hi, >>> >>> Just run -HEAD, or be prepared to MFC everything in the mips code and >>> wifi stack/drivers to stable/10. >>> >>> -HEAD works fine. You should just try it. :) >>> >>> >>> >>> -adrian >>> >>> >>> On 7 October 2015 at 02:18, Eugene Grosbein wrote: >>>> On 07.10.2015 14:57, Piotr Kubaj wrote: >>>>> @eugen >>>>> You could just copy//WDR3600's kernel config to sys/misc/conf in stable/10. It's quite possible that it will work. >>>> >>>> I made diff between stable/10 and head for MIPS-related source files >>>> and there are lots of non-trivial (for me) changes in head. >>>> >>>> I will create virtual machine with VBox and build head there >>>> as I do not run head on my desktop but 10.2 >>>> >>>> >> I've tried to upgrade my 1043nd to HEAD but it caused me just problems :P >> >> >> Is this error known? >> >> >> start_init: trying /sbin/init >> rtl8366rb0port0: link state changed to UP >> init died (signal 0, exit 1) >> panic: Going nowhere without my init! >> KDB: enter: panic >> [ thread pid 1 tid 100001 ] >> Stopped at kdb_enter+0x4c: lui at,0x804b >> db> bt >> Tracing pid 1 tid 100001 td 0x8064b000 >> db_trace_thread+30 (?,?,?,?) ra c736b8a000000018 sp 0 sz 0 >> 80088bf4+114 (0,?,ffffffff,?) ra c736b8b800000020 sp 100000000 sz 1 >> 80088000+388 (?,?,?,?) ra c736b8d8000000a8 sp 0 sz 0 >> db_command_loop+70 (?,?,?,?) ra c736b98000000018 sp 0 sz 0 >> 8008ab08+f4 (?,?,?,?) ra c736b998000001a8 sp 0 sz 0 >> kdb_trap+110 (?,?,?,?) ra c736bb4000000030 sp 0 sz 0 >> trap+c7c (?,?,?,?) ra c736bb70000000c0 sp 0 sz 0 >> MipsKernGenException+134 (0,0,0,0) ra c736bc30000000c8 sp 100000001 sz 1 >> kdb_enter+4c (?,?,?,?) ra c736bcf800000018 sp 0 sz 0 >> vpanic+ec (?,?,?,?) ra c736bd1000000020 sp 0 sz 0 >> panic+20 (?,0,0,0) ra c736bd3000000020 sp 1 sz 1 >> exit1+6c (?,?,?,?) ra c736bd5000000058 sp 0 sz 0 >> sys_sys_exit+14 (?,?,?,?) ra c736bda800000018 sp 0 sz 0 >> trap+7a8 (?,?,?,?) ra c736bdc0000000c0 sp 0 sz 0 >> MipsUserGenException+10c (?,?,?,4093bea0) ra c736be8000000000 sp 0 sz 0 >> pid 1 >> >> >> >> >> >> I'm not sure if that matters but I have 64 MB RAM, so I have changed >> AR71XX_REALMEM to 64*1024*1024. >> > I've noticed that higher in the logs there is: > MAP: No valid partition found at map/rootfs.uncompress > From owner-freebsd-mips@freebsd.org Thu Oct 8 17:40:00 2015 Return-Path: Delivered-To: freebsd-mips@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 78FBD9D2FC5 for ; Thu, 8 Oct 2015 17:40:00 +0000 (UTC) (envelope-from egrosbein@rdtc.ru) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0AA18F3E; Thu, 8 Oct 2015 17:39:58 +0000 (UTC) (envelope-from egrosbein@rdtc.ru) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.14.9/8.14.9) with ESMTP id t98HdeNO028955 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 8 Oct 2015 19:39:42 +0200 (CEST) (envelope-from egrosbein@rdtc.ru) X-Envelope-From: egrosbein@rdtc.ru X-Envelope-To: adrian@freebsd.org Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id t98HdZJi054422; Fri, 9 Oct 2015 00:39:35 +0700 (KRAT) (envelope-from egrosbein@rdtc.ru) Subject: Initial flashing for TPLink TL WDR3600 To: Adrian Chadd References: <5614D073.9060706@riseup.net> <5614E36E.6000803@grosbein.net> <5615F57E.1010405@riseup.net> <5615F697.6080700@riseup.net> Cc: "freebsd-mips@freebsd.org" From: Eugene Grosbein X-Enigmail-Draft-Status: N1110 Message-ID: <5616AA57.6010002@rdtc.ru> Date: Fri, 9 Oct 2015 00:39:35 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, T_DATE_IN_FUTURE_96_Q,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-Report: * 0.0 T_DATE_IN_FUTURE_96_Q Date: is 4 days to 4 months after Received: * date * -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay * domain * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hz.grosbein.net X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2015 17:40:00 -0000 On 08.10.2015 22:47, Adrian Chadd wrote: > I'll go try reflashing my tl-wr1043nd v1 today. About reflashing. I've just built tl-wdr3600.factory.bin using HEAD sources and instructions at https://github.com/freebsd/freebsd-wifi-build/wiki/TPLink-TL-WDR3600 My device has "TFTP auto recovery" described at http://wiki.openwrt.org/toh/tp-link/tl-wdr3600#tftp_auto_recovery_in_revision_15 It sends tftp RRQ "wdr3600v1_tp_recovery.bin" just like that article says. Is it possible to reflash the device to FreeBSD using this tftp method? I have no TTL cable handy yet. And, more important, I want to discover easy reflashing method that does not require making cable and opening/soldering device so that I could recommend it to others in local community and "lower the wall" for FreeBSD/mips. From owner-freebsd-mips@freebsd.org Thu Oct 8 17:39:59 2015 Return-Path: Delivered-To: freebsd-mips@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 E67A19D2FB5 for ; Thu, 8 Oct 2015 17:39:59 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7A469F3B; Thu, 8 Oct 2015 17:39:58 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.14.9/8.14.9) with ESMTP id t98Hdh2V028957 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 8 Oct 2015 19:39:44 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: adrian@freebsd.org Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id t98Hddi5054429; Fri, 9 Oct 2015 00:39:40 +0700 (KRAT) (envelope-from eugen@grosbein.net) Subject: Initial flashing for TPLink TL WDR3600 To: Adrian Chadd References: <5614D073.9060706@riseup.net> <5614E36E.6000803@grosbein.net> <5615F57E.1010405@riseup.net> <5615F697.6080700@riseup.net> Cc: "freebsd-mips@freebsd.org" From: Eugene Grosbein X-Enigmail-Draft-Status: N1110 Message-ID: <5616AA5B.8030609@grosbein.net> Date: Fri, 9 Oct 2015 00:39:39 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM autolearn=no version=3.3.2 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hz.grosbein.net X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2015 17:40:00 -0000 On 08.10.2015 22:47, Adrian Chadd wrote: > I'll go try reflashing my tl-wr1043nd v1 today. About reflashing. I've just built tl-wdr3600.factory.bin using HEAD sources and instructions at https://github.com/freebsd/freebsd-wifi-build/wiki/TPLink-TL-WDR3600 My device has "TFTP auto recovery" described at http://wiki.openwrt.org/toh/tp-link/tl-wdr3600#tftp_auto_recovery_in_revision_15 It sends tftp RRQ "wdr3600v1_tp_recovery.bin" just like that article says. Is it possible to reflash the device to FreeBSD using this tftp method? I have no TTL cable handy yet. And, more important, I want to discover easy reflashing method that does not require making cable and opening/soldering device so that I could recommend it to others in local community and "lower the wall" for FreeBSD/mips. From owner-freebsd-mips@freebsd.org Thu Oct 8 18:44:12 2015 Return-Path: Delivered-To: freebsd-mips@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 6A7A09D11D0 for ; Thu, 8 Oct 2015 18:44:12 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CE5A7E81 for ; Thu, 8 Oct 2015 18:44:10 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.14.9/8.14.9) with ESMTP id t98Ihwo4029104 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 8 Oct 2015 20:44:00 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id t98IhnPE054811 for ; Fri, 9 Oct 2015 01:43:50 +0700 (KRAT) (envelope-from eugen@grosbein.net) Subject: Re: Initial flashing for TPLink TL WDR3600 References: <5614D073.9060706@riseup.net> <5614E36E.6000803@grosbein.net> <5615F57E.1010405@riseup.net> <5615F697.6080700@riseup.net> <5616AA5B.8030609@grosbein.net> Cc: "freebsd-mips@freebsd.org" From: Eugene Grosbein X-Enigmail-Draft-Status: N1110 Message-ID: <5616B965.5000809@grosbein.net> Date: Fri, 9 Oct 2015 01:43:49 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <5616AA5B.8030609@grosbein.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,LOCAL_FROM, MISSING_HEADERS autolearn=no version=3.3.2 X-Spam-Report: * 1.0 MISSING_HEADERS Missing To: header * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hz.grosbein.net X-Spam-Level: * X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2015 18:44:12 -0000 On 09.10.2015 00:39, Eugene Grosbein wrote: > About reflashing. > > I've just built tl-wdr3600.factory.bin using HEAD sources and instructions at > https://github.com/freebsd/freebsd-wifi-build/wiki/TPLink-TL-WDR3600 > > My device has "TFTP auto recovery" described at > http://wiki.openwrt.org/toh/tp-link/tl-wdr3600#tftp_auto_recovery_in_revision_15 > > It sends tftp RRQ "wdr3600v1_tp_recovery.bin" just like that article says. > Is it possible to reflash the device to FreeBSD using this tftp method? It seems, no :-( First, I've tried to supply device's TFTP client with 5.6M of tl-wdr3600.factory.bin renamed to wdr3600v1_tp_recovery.bin and it downloaded it but rejected - it rebooted with original firmware. Than I padded tl-wdr3600.factory.bin to the size 8192512 wih 0xff bytes. TFTP client downloaded and obviously flashed it but that bricked the device, as it does not complete boot now and keeps resetting every 3 seconds or so, blinking its LEDs. It seems I need TTL cable after all. From owner-freebsd-mips@freebsd.org Thu Oct 8 18:46:18 2015 Return-Path: Delivered-To: freebsd-mips@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 D33209D1644 for ; Thu, 8 Oct 2015 18:46:18 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 443F571 for ; Thu, 8 Oct 2015 18:46:17 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.14.9/8.14.9) with ESMTP id t98IkDKW029129 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 8 Oct 2015 20:46:13 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id t98Ik8N7054865 for ; Fri, 9 Oct 2015 01:46:09 +0700 (KRAT) (envelope-from eugen@grosbein.net) Subject: Re: Initial flashing for TPLink TL WDR3600 References: <5614D073.9060706@riseup.net> <5614E36E.6000803@grosbein.net> <5615F57E.1010405@riseup.net> <5615F697.6080700@riseup.net> <5616AA5B.8030609@grosbein.net> Cc: "freebsd-mips@freebsd.org" From: Eugene Grosbein X-Enigmail-Draft-Status: N1110 Message-ID: <5616B9F0.3030002@grosbein.net> Date: Fri, 9 Oct 2015 01:46:08 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <5616AA5B.8030609@grosbein.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,LOCAL_FROM, MISSING_HEADERS autolearn=no version=3.3.2 X-Spam-Report: * 1.0 MISSING_HEADERS Missing To: header * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hz.grosbein.net X-Spam-Level: * X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2015 18:46:18 -0000 On 09.10.2015 00:39, Eugene Grosbein wrote: > About reflashing. > > I've just built tl-wdr3600.factory.bin using HEAD sources and instructions at > https://github.com/freebsd/freebsd-wifi-build/wiki/TPLink-TL-WDR3600 > > My device has "TFTP auto recovery" described at > http://wiki.openwrt.org/toh/tp-link/tl-wdr3600#tftp_auto_recovery_in_revision_15 > > It sends tftp RRQ "wdr3600v1_tp_recovery.bin" just like that article says. > Is it possible to reflash the device to FreeBSD using this tftp method? It seems, no :-( First, I've tried to supply device's TFTP client with 5.6M of tl-wdr3600.factory.bin renamed to wdr3600v1_tp_recovery.bin and it downloaded it but rejected - it rebooted with original firmware. Than I padded tl-wdr3600.factory.bin to the size 8192512 wih 0xff bytes. TFTP client downloaded and obviously flashed it but that bricked the device, as it does not complete boot now and keeps resetting every 3 seconds or so, blinking its LEDs. Now it does not reflash itself back to original firmware - it downloads it but still keeps resetting same manner. Before I bricked the device, I verified that its TFTP client does reflash device with official localized firmware and back to english one just fine. It seems I need TTL cable after all. From owner-freebsd-mips@freebsd.org Thu Oct 8 19:04:10 2015 Return-Path: Delivered-To: freebsd-mips@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 069C59D267D for ; Thu, 8 Oct 2015 19:04:10 +0000 (UTC) (envelope-from pkubaj@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D8310D92; Thu, 8 Oct 2015 19:04:09 +0000 (UTC) (envelope-from pkubaj@riseup.net) Received: from piha.riseup.net (unknown [10.0.1.162]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 00869C119C; Thu, 8 Oct 2015 12:04:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1444331043; bh=DwGXkqro9utO9LzexTYDHv48jS1HXO8CFKe+BRYGOqE=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=UVluDSqVNF4YYXxEnUJAIcb47uNhuSusGs5rcy0LN+kPJq3TGuisHdvQRKCXLNZYl AhHYBDy0TAoxw44ZSMTCQAI0jLYDWF58EQJfzqRoY9d29ik7+P0GISnGbM+Sbrsmw6 Yk9HAdS4fGegIa3W1hMxK8Fs7YQs9CYmLlNsoZxk= Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: pkubaj) with ESMTPSA id 47BBA141692 Subject: Re: Kernel config for TPLink TL WDR3600 To: Adrian Chadd References: <5614D073.9060706@riseup.net> <5614E36E.6000803@grosbein.net> <5615F57E.1010405@riseup.net> <5615F697.6080700@riseup.net> Cc: freebsd-mips@freebsd.org From: Piotr Kubaj Message-ID: <5616BDE8.5060904@riseup.net> Date: Thu, 8 Oct 2015 21:03:04 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iJcL2na1IcknpXoJODfSvMgAUAJTvcOPw" X-Virus-Scanned: clamav-milter 0.98.7 at mx1.riseup.net X-Virus-Status: Clean X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2015 19:04:10 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --iJcL2na1IcknpXoJODfSvMgAUAJTvcOPw Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/08/2015 17:47, Adrian Chadd wrote: > I'll go try reflashing my tl-wr1043nd v1 today. >=20 > Which instrucitons are you following? >=20 >=20 > a >=20 >=20 > On 7 October 2015 at 21:52, Piotr Kubaj wrote: >> On 10/08/2015 06:47, Piotr Kubaj wrote: >>> On 10/07/2015 20:08, Adrian Chadd wrote: >>>> Hi, >>>> >>>> Just run -HEAD, or be prepared to MFC everything in the mips code an= d >>>> wifi stack/drivers to stable/10. >>>> >>>> -HEAD works fine. You should just try it. :) >>>> >>>> >>>> >>>> -adrian >>>> >>>> >>>> On 7 October 2015 at 02:18, Eugene Grosbein wro= te: >>>>> On 07.10.2015 14:57, Piotr Kubaj wrote: >>>>>> @eugen >>>>>> You could just copy//WDR3600's kernel config to sys/misc/conf in s= table/10. It's quite possible that it will work. >>>>> >>>>> I made diff between stable/10 and head for MIPS-related source file= s >>>>> and there are lots of non-trivial (for me) changes in head. >>>>> >>>>> I will create virtual machine with VBox and build head there >>>>> as I do not run head on my desktop but 10.2 >>>>> >>>>> >>> I've tried to upgrade my 1043nd to HEAD but it caused me just problem= s :P >>> >>> >>> Is this error known? >>> >>> >>> start_init: trying /sbin/init >>> rtl8366rb0port0: link state changed to UP >>> init died (signal 0, exit 1) >>> panic: Going nowhere without my init! >>> KDB: enter: panic >>> [ thread pid 1 tid 100001 ] >>> Stopped at kdb_enter+0x4c: lui at,0x804b >>> db> bt >>> Tracing pid 1 tid 100001 td 0x8064b000 >>> db_trace_thread+30 (?,?,?,?) ra c736b8a000000018 sp 0 sz 0 >>> 80088bf4+114 (0,?,ffffffff,?) ra c736b8b800000020 sp 100000000 sz 1 >>> 80088000+388 (?,?,?,?) ra c736b8d8000000a8 sp 0 sz 0 >>> db_command_loop+70 (?,?,?,?) ra c736b98000000018 sp 0 sz 0 >>> 8008ab08+f4 (?,?,?,?) ra c736b998000001a8 sp 0 sz 0 >>> kdb_trap+110 (?,?,?,?) ra c736bb4000000030 sp 0 sz 0 >>> trap+c7c (?,?,?,?) ra c736bb70000000c0 sp 0 sz 0 >>> MipsKernGenException+134 (0,0,0,0) ra c736bc30000000c8 sp 100000001 s= z 1 >>> kdb_enter+4c (?,?,?,?) ra c736bcf800000018 sp 0 sz 0 >>> vpanic+ec (?,?,?,?) ra c736bd1000000020 sp 0 sz 0 >>> panic+20 (?,0,0,0) ra c736bd3000000020 sp 1 sz 1 >>> exit1+6c (?,?,?,?) ra c736bd5000000058 sp 0 sz 0 >>> sys_sys_exit+14 (?,?,?,?) ra c736bda800000018 sp 0 sz 0 >>> trap+7a8 (?,?,?,?) ra c736bdc0000000c0 sp 0 sz 0 >>> MipsUserGenException+10c (?,?,?,4093bea0) ra c736be8000000000 sp 0 sz= 0 >>> pid 1 >>> >>> >>> >>> >>> >>> I'm not sure if that matters but I have 64 MB RAM, so I have changed >>> AR71XX_REALMEM to 64*1024*1024. >>> >> I've noticed that higher in the logs there is: >> MAP: No valid partition found at map/rootfs.uncompress >> https://github.com/freebsd/freebsd-wifi-build/wiki/Tp-LinkTLWR1043ND I've built it on 10.2-RELEASE. --iJcL2na1IcknpXoJODfSvMgAUAJTvcOPw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJWFr3tAAoJEC9nKukRsfY+CsgQAOBf2qCdFG5bLAtvk4pYfmvs DJinkhKGZckysWtMlTL74etxDs7Df/rUepQm4LOWOvbrA3zO0/D5hM2A7dwadbXK PztdEHmVUALyOce4ALjzZrMt+kcn9sdI7YG5TP+r2ioP21PEsy1pt/YrjMczvc7K j+EClY7VtvTTxa3tv6QuArkbBCMsPpyR0w00+TKiB8lBXXHLFeuJcj4qhd5hQXMS oL7n2vh9fGQoTqfxV3fk1UuAJd6IfTXMKleAaTYXT37w7JjHDE4SQ2bodNdCbUOs rFzJQEVK7OHt2Azsfv+riryCgD8F+F3hoLjUW8VEGc0sqERiAHSxpAEf16sMEX/B DFb4EbqF+8VPJ5c94ImSivh+uH+nzba3kRinpje0mD7AL1gu2auozatc9gUhnaCZ HEaeDVPeBjG82OkFQNwupJS3hmXfbBRZeXGA/Q1zE9hFuf9ebxhTwmdmfWs7f7Zc 9Q4MKVlRJOPRzZ0J4CqGDRYBZ00XiK/BEP+ZIInKecIVJ3GbMRdIs1fZt/XLWGXt DcL1eTWHQsG2gCAAcntkk901Z+ced4VGoPlkuCyKjLcnXIPabQYvHETlbaGD0z1D HQ/LhxcUWuyjAN3FRLj8ZX9R4+brq/G6Dj9pbUS4u6LaL74OkltBl7ePGWBhNkgH +/OoZRLZJOR4Yp2+E+I/ =oS24 -----END PGP SIGNATURE----- --iJcL2na1IcknpXoJODfSvMgAUAJTvcOPw-- From owner-freebsd-mips@freebsd.org Thu Oct 8 20:34:06 2015 Return-Path: Delivered-To: freebsd-mips@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 C9B179D18D5 for ; Thu, 8 Oct 2015 20:34:06 +0000 (UTC) (envelope-from nalimegavas@zoho.com) Received: from sender153-mail.zoho.com (sender1.zohomail.com [74.201.84.158]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B5D90627 for ; Thu, 8 Oct 2015 20:34:06 +0000 (UTC) (envelope-from nalimegavas@zoho.com) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:message-id:subject:mime-version:content-type:user-agent; b=Li7dIKtay4s+ORy/j+KtsAugnO5H6xIX4ALIROWSulpy9uaEXHPamuMhGME8/JZiUMBdOJHFtTFU d9z3yuerQZwykdSaeywcgNXeQPFkMSPkB+cB+TiT3A07arsEnPJQ Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1444335531000703.0901893709076; Thu, 8 Oct 2015 13:18:51 -0700 (PDT) Received: from [92.231.38.250] by mail.zoho.com with HTTP;Thu, 8 Oct 2015 13:18:50 -0700 (PDT) Date: Thu, 08 Oct 2015 13:18:50 -0700 From: leschmidtson To: Message-ID: <150491b33c5.bdb31e1d17499.4552977509659408892@zoho.com> Subject: Unable to connect to AP on TL-WDR3600 MIME-Version: 1.0 X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2015 20:34:07 -0000 Dear all, as per Wiki page the TL-WDR3600 should work fine under FreeBSD. So I gave it a try. Unfortunately there are some issues with my configuration. The painful one is with wireless: clients are unable to connect to AP on router. Tested with FreeBSD 10.2 and Windows7 clients. Currently r288948M is installed on router. The same problem was observed in few previous versions as well. In test hostapd was running on wlan0 only. (Problem persists with hostapd active on both wlan interfaces as well). ifconfig output: wlan0: flags=8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether e8:de:27:65:bc:8c media: IEEE 802.11 Wireless Ethernet autoselect <hostap> (autoselect <hostap>) status: no carrier ssid GGWL030 channel 4 (2427 MHz 11g ht/40+) country US ecm authmode AUTO privacy OFF deftxkey 2 txpower 27 scanvalid 60 protmode CTS ampdulimit 64k ampdudensity 8 shortgi wme burst dtimperiod 1 -dfs groups: wlan wlan1: flags=8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether e8:de:27:65:bc:8b media: IEEE 802.11 Wireless Ethernet autoselect <hostap> (autoselect <hostap>) status: no carrier ssid GGWL031 channel 52 (5260 MHz 11a ht/40+) country US ecm authmode WPA1+WPA2/802.11i privacy OFF deftxkey 2 TKIP 2:128-bit TKIP 3:128-bit txpower 23 mcastrate 6 mgmtrate 6 scanvalid 60 ampdulimit 64k ampdudensity 8 shortgi wme burst dtimperiod 1 -dfs groups: wlan hostapd.conf interface=wlan0 driver=bsd ssid=GGWL030 wpa=3 wpa_key_mgmt=WPA-PSK wpa_passphrase=abcd1234 wpa_pairwise=CCMP TKIP ctrl_interface=/var/svc/hostapd0/ctl Here is the relevant part of hostapd log 1444248053.841730: WPA: a4:4e:31:b9:34:08 WPA_PTK entering state AUTHENTICATION2 1444248053.841776: Get randomness: len=32 entropy=1 1444248053.843475: WPA: Assign ANonce - hexdump(len=32): 23 e5 60 0c 59 ae 1f 0b 3c b7 c7 a0 14 c9 22 39 5a 5b 0b a5 5c 64 3d a1 ee eb b5 24 0f a8 69 1b 1444248053.843647: WPA: a4:4e:31:b9:34:08 WPA_PTK entering state INITPSK 1444248053.843694: Searching a PSK for a4:4e:31:b9:34:08 prev_psk=0x0 1444248053.843744: Searching a PSK for a4:4e:31:b9:34:08 prev_psk=0x0 1444248053.843790: WPA: a4:4e:31:b9:34:08 WPA_PTK entering state PTKSTART 1444248053.843905: 1444248053.843919: wlan0: STA a4:4e:31:b9:34:08 WPA: sending 1/4 msg of 4-Way Handshake 1444248053.843988: WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=1 kde_len=0 keyidx=0 encr=0) 1444248053.844063: WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 01 1444248053.844150: TX EAPOL - hexdump(len=99): 02 03 00 5f 02 00 8a 00 10 00 00 00 00 00 00 00 01 23 e5 60 0c 59 ae 1f 0b 3c b7 c7 a0 14 c 9 22 39 5a 5b 0b a5 5c 64 3d a1 ee eb b5 24 0f a8 69 1b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1444248053.877706: WPA: Use EAPOL-Key timeout of 1000 ms (retry counter 1) 1444248053.877832: hostapd_new_assoc_sta: reschedule ap_handle_timer timeout for a4:4e:31:b9:34:08 (300 seconds - ap_max_inactivity) 1444248054.899958: 1444248054.899977: wlan0: STA a4:4e:31:b9:34:08 WPA: EAPOL-Key timeout 1444248054.900086: WPA: a4:4e:31:b9:34:08 WPA_PTK entering state PTKSTART 1444248054.900228: 1444248054.900241: wlan0: STA a4:4e:31:b9:34:08 WPA: sending 1/4 msg of 4-Way Handshake 1444248054.900315: WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=1 kde_len=0 keyidx=0 encr=0) 1444248054.900392: WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 02 1444248054.900464: TX EAPOL - hexdump(len=99): 02 03 00 5f 02 00 8a 00 10 00 00 00 00 00 00 00 02 23 e5 60 0c 59 ae 1f 0b 3c b7 c7 a0 14 c 9 22 39 5a 5b 0b a5 5c 64 3d a1 ee eb b5 24 0f a8 69 1b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1444248054.901103: WPA: Use EAPOL-Key timeout of 1000 ms (retry counter 2) 1444248055.923954: 1444248055.923973: wlan0: STA a4:4e:31:b9:34:08 WPA: EAPOL-Key timeout 1444248055.924083: WPA: a4:4e:31:b9:34:08 WPA_PTK entering state PTKSTART 1444248055.924223: 1444248055.924237: wlan0: STA a4:4e:31:b9:34:08 WPA: sending 1/4 msg of 4-Way Handshake 1444248055.924310: WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=1 kde_len=0 keyidx=0 encr=0) 1444248055.924401: WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 03 1444248055.924474: TX EAPOL - hexdump(len=99): 02 03 00 5f 02 00 8a 00 10 00 00 00 00 00 00 00 03 23 e5 60 0c 59 ae 1f 0b 3c b7 c7 a0 14 c 9 22 39 5a 5b 0b a5 5c 64 3d a1 ee eb b5 24 0f a8 69 1b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1444248055.925098: WPA: Use EAPOL-Key timeout of 1000 ms (retry counter 3) 1444248056.947963: 1444248056.947982: wlan0: STA a4:4e:31:b9:34:08 WPA: EAPOL-Key timeout The last two lines imho indicate the problem. As per wpa_supplicant log the client is sending the EAPOL response (EAPOL: txStart line in the log), however it is interrupted by next EAPOL Key message from router (if I correctly read this log): wlan0: State: ASSOCIATED -> 4WAY_HANDSHAKE wlan0: WPA: RX message 1 of 4-Way Handshake from e8:de:27:65:bc:8c (ver=2) RSN: msg 1/4 key data - hexdump(len=0): WPA: Renewed SNonce - hexdump(len=32): 0d 96 79 d6 82 7b 6d 06 bc 93 12 b5 64 7b 46 1b 36 92 7d 8e 90 82 85 ed c7 63 9f cf 52 b5 f8 8d WPA: PTK derivation - A1=a4:4e:31:b9:34:08 A2=e8:de:27:65:bc:8c WPA: Nonce1 - hexdump(len=32): 0d 96 79 d6 82 7b 6d 06 bc 93 12 b5 64 7b 46 1b 36 92 7d 8e 90 82 85 ed c7 63 9f cf 52 b5 f8 8d WPA: Nonce2 - hexdump(len=32): ba 52 4e b6 7a ee 46 3b 4e 19 8f b9 47 b8 1c a6 d0 aa 94 69 a6 ef 36 94 a1 3b ed c7 b5 d4 70 1b WPA: PMK - hexdump(len=32): [REMOVED] WPA: PTK - hexdump(len=48): [REMOVED] WPA: WPA IE for msg 2/4 - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 01 wlan0: WPA: Sending EAPOL-Key 2/4 WPA: KCK - hexdump(len=16): [REMOVED] WPA: Derived Key MIC - hexdump(len=16): 89 1f b0 dc b0 aa dd c8 9d 13 1a 67 15 e2 fd a4 EAPOL: startWhen --> 0 EAPOL: disable timer tick EAPOL: SUPP_PAE entering state CONNECTING EAPOL: enable timer tick EAPOL: txStart WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0) wlan0: RX EAPOL from e8:de:27:65:bc:8c The client is able problem free to connect to another AP. Appreciate your advice on what/where to look next? Thanks. Georg From owner-freebsd-mips@freebsd.org Thu Oct 8 22:08:19 2015 Return-Path: Delivered-To: freebsd-mips@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 CC5919D198F for ; Thu, 8 Oct 2015 22:08:19 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x22f.google.com (mail-ig0-x22f.google.com [IPv6:2607:f8b0:4001:c05::22f]) (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 976281957 for ; Thu, 8 Oct 2015 22:08:19 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igcpb10 with SMTP id pb10so25446238igc.1 for ; Thu, 08 Oct 2015 15:08:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=REOxEhJUQ8O29zZzppDGc4A9q0IC7vBz5jUVKhcc1+k=; b=LfdWi32NYR8ph3SArlNnY4OXvRvbCvWqZk4v66fbqVoXTPLBhYrneC3Rl8+mw/2Q1q +O5dO3ZUKnnXbut7k9zOaLJUUT45tR507tPJko4+kdmKAS9BCCVrA8PfZi/+flE3HUoN jJSd+M4qRCYA4STcImS/xLCmfzUG515Sv0cWJFqooqVbABfTjvjnFOFbXCoERXbdRKiX vkd2yBWLBCA1FyPres6lAc+V92LjOFKYdCgG3v3PQszffxNNPj0X9rD8PtcFRC7ngnNa 6paPVw5W3GlKoHw30alXqkH6fhhMOVYLCWL+u+lPQbxkh7N7JbRivN57uVRNUsMesNL5 jmQg== MIME-Version: 1.0 X-Received: by 10.50.65.100 with SMTP id w4mr6508994igs.61.1444342098919; Thu, 08 Oct 2015 15:08:18 -0700 (PDT) Received: by 10.36.46.15 with HTTP; Thu, 8 Oct 2015 15:08:18 -0700 (PDT) In-Reply-To: <5616B9F0.3030002@grosbein.net> References: <5614D073.9060706@riseup.net> <5614E36E.6000803@grosbein.net> <5615F57E.1010405@riseup.net> <5615F697.6080700@riseup.net> <5616AA5B.8030609@grosbein.net> <5616B9F0.3030002@grosbein.net> Date: Thu, 8 Oct 2015 15:08:18 -0700 Message-ID: Subject: Re: Initial flashing for TPLink TL WDR3600 From: Adrian Chadd To: Eugene Grosbein Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2015 22:08:19 -0000 you may have just bricked the firmware :( Yeah, get a serial cable and see what it's printing out. -a On 8 October 2015 at 11:46, Eugene Grosbein wrote: > On 09.10.2015 00:39, Eugene Grosbein wrote: > >> About reflashing. >> >> I've just built tl-wdr3600.factory.bin using HEAD sources and instructions at >> https://github.com/freebsd/freebsd-wifi-build/wiki/TPLink-TL-WDR3600 >> >> My device has "TFTP auto recovery" described at >> http://wiki.openwrt.org/toh/tp-link/tl-wdr3600#tftp_auto_recovery_in_revision_15 >> >> It sends tftp RRQ "wdr3600v1_tp_recovery.bin" just like that article says. >> Is it possible to reflash the device to FreeBSD using this tftp method? > > It seems, no :-( > > First, I've tried to supply device's TFTP client with 5.6M of tl-wdr3600.factory.bin > renamed to wdr3600v1_tp_recovery.bin and it downloaded it but rejected - > it rebooted with original firmware. > > Than I padded tl-wdr3600.factory.bin to the size 8192512 wih 0xff bytes. > TFTP client downloaded and obviously flashed it but that bricked the device, > as it does not complete boot now and keeps resetting every 3 seconds or so, > blinking its LEDs. > > Now it does not reflash itself back to original firmware - it downloads it > but still keeps resetting same manner. Before I bricked the device, > I verified that its TFTP client does reflash device with official > localized firmware and back to english one just fine. > > It seems I need TTL cable after all. > > _______________________________________________ > 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" From owner-freebsd-mips@freebsd.org Thu Oct 8 22:12:05 2015 Return-Path: Delivered-To: freebsd-mips@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 97EEB9D1C8C for ; Thu, 8 Oct 2015 22:12:05 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (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 6609B1C12 for ; Thu, 8 Oct 2015 22:12:05 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by iofh134 with SMTP id h134so73924264iof.0 for ; Thu, 08 Oct 2015 15:12:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=H6kXL3gVAKDloxuRuU3vvmRtogWoGR80NJMDuv/XLdU=; b=e6owsGck7Brh7rZltz6Td7cXNlKYTYk+SUn62Tc6eiA6lzBq7OT2LEyeP5Q9D5fKB6 /HH95Hqm1+jr4GrEKF7x1dwiJ+RU8nLGzREur160007u4Yp9UzeEVUiTdNMunIjBVegT 5425uLpp5tUcUrwLOqZw+BCOhtRhmcnHG33syUu4TZJO/HCzau7cv9iG+O8CK28bQjVL ZaVstqCpaLEUx5qn5G6rY6gztCquPPI5q3egRu+mO3gA+NItwLCX+QKpN/nOFU1cFUpq +PvNLFPebo8eFD7swguwAUCm7KNHgz2V3w0/S26t+XXOYZx7UsEBZitOrJGby0FSNfoo cSww== MIME-Version: 1.0 X-Received: by 10.107.46.228 with SMTP id u97mr11203686iou.165.1444342324922; Thu, 08 Oct 2015 15:12:04 -0700 (PDT) Received: by 10.36.46.15 with HTTP; Thu, 8 Oct 2015 15:12:04 -0700 (PDT) In-Reply-To: <150491b33c5.bdb31e1d17499.4552977509659408892@zoho.com> References: <150491b33c5.bdb31e1d17499.4552977509659408892@zoho.com> Date: Thu, 8 Oct 2015 15:12:04 -0700 Message-ID: Subject: Re: Unable to connect to AP on TL-WDR3600 From: Adrian Chadd To: leschmidtson Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2015 22:12:05 -0000 Hi, There's no carrier on wlan0/wlan1 and they're not marked as "up". What's your /etc/cfg/hostapd.conf look like on the AP? -a On 8 October 2015 at 13:18, leschmidtson wrote: > Dear all, > > as per Wiki page the TL-WDR3600 should work fine under FreeBSD. So I gave it a try. > Unfortunately there are some issues with my configuration. The painful one is with wireless: clients are unable to connect to AP on router. > Tested with FreeBSD 10.2 and Windows7 clients. Currently r288948M is installed on router. The same problem was observed in few previous versions as well. > > In test hostapd was running on wlan0 only. (Problem persists with hostapd active on both wlan interfaces as well). > > > ifconfig output: > > wlan0: flags=8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 > ether e8:de:27:65:bc:8c > media: IEEE 802.11 Wireless Ethernet autoselect <hostap> (autoselect <hostap>) > status: no carrier > ssid GGWL030 channel 4 (2427 MHz 11g ht/40+) > country US ecm authmode AUTO privacy OFF deftxkey 2 txpower 27 > scanvalid 60 protmode CTS ampdulimit 64k ampdudensity 8 shortgi wme > burst dtimperiod 1 -dfs > groups: wlan > wlan1: flags=8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 > ether e8:de:27:65:bc:8b > media: IEEE 802.11 Wireless Ethernet autoselect <hostap> (autoselect <hostap>) > status: no carrier > ssid GGWL031 channel 52 (5260 MHz 11a ht/40+) > country US ecm authmode WPA1+WPA2/802.11i privacy OFF deftxkey 2 > TKIP 2:128-bit TKIP 3:128-bit txpower 23 mcastrate 6 mgmtrate 6 > scanvalid 60 ampdulimit 64k ampdudensity 8 shortgi wme burst > dtimperiod 1 -dfs > groups: wlan > > hostapd.conf > > interface=wlan0 > driver=bsd > ssid=GGWL030 > wpa=3 > wpa_key_mgmt=WPA-PSK > wpa_passphrase=abcd1234 > wpa_pairwise=CCMP TKIP > ctrl_interface=/var/svc/hostapd0/ctl > > > Here is the relevant part of hostapd log > > 1444248053.841730: WPA: a4:4e:31:b9:34:08 WPA_PTK entering state AUTHENTICATION2 > 1444248053.841776: Get randomness: len=32 entropy=1 > 1444248053.843475: WPA: Assign ANonce - hexdump(len=32): 23 e5 60 0c 59 ae 1f 0b 3c b7 c7 a0 14 c9 22 39 5a 5b 0b a5 5c 64 3d a1 ee eb b5 > 24 0f a8 69 1b > 1444248053.843647: WPA: a4:4e:31:b9:34:08 WPA_PTK entering state INITPSK > 1444248053.843694: Searching a PSK for a4:4e:31:b9:34:08 prev_psk=0x0 > 1444248053.843744: Searching a PSK for a4:4e:31:b9:34:08 prev_psk=0x0 > 1444248053.843790: WPA: a4:4e:31:b9:34:08 WPA_PTK entering state PTKSTART > 1444248053.843905: 1444248053.843919: wlan0: STA a4:4e:31:b9:34:08 WPA: sending 1/4 msg of 4-Way Handshake > 1444248053.843988: WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=1 kde_len=0 keyidx=0 encr=0) > 1444248053.844063: WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 01 > 1444248053.844150: TX EAPOL - hexdump(len=99): 02 03 00 5f 02 00 8a 00 10 00 00 00 00 00 00 00 01 23 e5 60 0c 59 ae 1f 0b 3c b7 c7 a0 14 c > 9 22 39 5a 5b 0b a5 5c 64 3d a1 ee eb b5 24 0f a8 69 1b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0 > 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 1444248053.877706: WPA: Use EAPOL-Key timeout of 1000 ms (retry counter 1) > 1444248053.877832: hostapd_new_assoc_sta: reschedule ap_handle_timer timeout for a4:4e:31:b9:34:08 (300 seconds - ap_max_inactivity) > 1444248054.899958: 1444248054.899977: wlan0: STA a4:4e:31:b9:34:08 WPA: EAPOL-Key timeout > 1444248054.900086: WPA: a4:4e:31:b9:34:08 WPA_PTK entering state PTKSTART > 1444248054.900228: 1444248054.900241: wlan0: STA a4:4e:31:b9:34:08 WPA: sending 1/4 msg of 4-Way Handshake > 1444248054.900315: WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=1 kde_len=0 keyidx=0 encr=0) > 1444248054.900392: WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 02 > 1444248054.900464: TX EAPOL - hexdump(len=99): 02 03 00 5f 02 00 8a 00 10 00 00 00 00 00 00 00 02 23 e5 60 0c 59 ae 1f 0b 3c b7 c7 a0 14 c > 9 22 39 5a 5b 0b a5 5c 64 3d a1 ee eb b5 24 0f a8 69 1b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0 > 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 1444248054.901103: WPA: Use EAPOL-Key timeout of 1000 ms (retry counter 2) > 1444248055.923954: 1444248055.923973: wlan0: STA a4:4e:31:b9:34:08 WPA: EAPOL-Key timeout > 1444248055.924083: WPA: a4:4e:31:b9:34:08 WPA_PTK entering state PTKSTART > 1444248055.924223: 1444248055.924237: wlan0: STA a4:4e:31:b9:34:08 WPA: sending 1/4 msg of 4-Way Handshake > 1444248055.924310: WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=1 kde_len=0 keyidx=0 encr=0) > 1444248055.924401: WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 03 > 1444248055.924474: TX EAPOL - hexdump(len=99): 02 03 00 5f 02 00 8a 00 10 00 00 00 00 00 00 00 03 23 e5 60 0c 59 ae 1f 0b 3c b7 c7 a0 14 c > 9 22 39 5a 5b 0b a5 5c 64 3d a1 ee eb b5 24 0f a8 69 1b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0 > 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 1444248055.925098: WPA: Use EAPOL-Key timeout of 1000 ms (retry counter 3) > 1444248056.947963: 1444248056.947982: wlan0: STA a4:4e:31:b9:34:08 WPA: EAPOL-Key timeout > > The last two lines imho indicate the problem. > > As per wpa_supplicant log the client is sending the EAPOL response (EAPOL: txStart line in the log), however it is interrupted by next EAPOL Key message from router (if I correctly read this log): > > wlan0: State: ASSOCIATED -> 4WAY_HANDSHAKE > wlan0: WPA: RX message 1 of 4-Way Handshake from e8:de:27:65:bc:8c (ver=2) > RSN: msg 1/4 key data - hexdump(len=0): > WPA: Renewed SNonce - hexdump(len=32): 0d 96 79 d6 82 7b 6d 06 bc 93 12 b5 64 7b 46 1b 36 92 7d 8e 90 82 85 ed c7 63 9f cf 52 b5 f8 8d > WPA: PTK derivation - A1=a4:4e:31:b9:34:08 A2=e8:de:27:65:bc:8c > WPA: Nonce1 - hexdump(len=32): 0d 96 79 d6 82 7b 6d 06 bc 93 12 b5 64 7b 46 1b 36 92 7d 8e 90 82 85 ed c7 63 9f cf 52 b5 f8 8d > WPA: Nonce2 - hexdump(len=32): ba 52 4e b6 7a ee 46 3b 4e 19 8f b9 47 b8 1c a6 d0 aa 94 69 a6 ef 36 94 a1 3b ed c7 b5 d4 70 1b > WPA: PMK - hexdump(len=32): [REMOVED] > WPA: PTK - hexdump(len=48): [REMOVED] > WPA: WPA IE for msg 2/4 - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 > WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 01 > wlan0: WPA: Sending EAPOL-Key 2/4 > WPA: KCK - hexdump(len=16): [REMOVED] > WPA: Derived Key MIC - hexdump(len=16): 89 1f b0 dc b0 aa dd c8 9d 13 1a 67 15 e2 fd a4 > EAPOL: startWhen --> 0 > EAPOL: disable timer tick > EAPOL: SUPP_PAE entering state CONNECTING > EAPOL: enable timer tick > EAPOL: txStart > WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0) > wlan0: RX EAPOL from e8:de:27:65:bc:8c > > > The client is able problem free to connect to another AP. > > Appreciate your advice on what/where to look next? > > Thanks. > > Georg > > _______________________________________________ > 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" From owner-freebsd-mips@freebsd.org Fri Oct 9 03:54:17 2015 Return-Path: Delivered-To: freebsd-mips@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 C6F9A9D15D2 for ; Fri, 9 Oct 2015 03:54:17 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from mail-qg0-x230.google.com (mail-qg0-x230.google.com [IPv6:2607:f8b0:400d:c04::230]) (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 7890689E; Fri, 9 Oct 2015 03:54:17 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by qgx61 with SMTP id 61so59482689qgx.3; Thu, 08 Oct 2015 20:54:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type; bh=s3tprXFJ+2V6x3M5xtXbfIKdnXJgRnEIUQDqzgKFehA=; b=TGgRGvzsw9Hajz/z+GU/GD+GMikZWObYfTnSISXY1eZ8Hsu2ImucN5Bxy+YXQItjsG gdheZT7E80WoZOZJ8FlFIU400rl1vmTlFQ9gaCv31Yy8JXHH+PRNltTTeSJ4DxuRGVEo n48UcDzrRISOc26JSsHdn/86oMQR49apNa3jImkh3hWfYPXHNNd0KRG+lrvN0q6cnsof +RGZY1b6OCdUlpBxXjH/p+h3QGI1COtFEflQADbs/xkiyAKK/hQacM9jvJo7W8mPzqgM vWrdHOBVm+iNDr5fbMb+LRGV8f3COLH/ryugIwGJVrtRPlVcrJTmQCLPGByHq3ALR7rO qLrQ== X-Received: by 10.140.95.73 with SMTP id h67mr12967638qge.14.1444362856490; Thu, 08 Oct 2015 20:54:16 -0700 (PDT) Received: from kan ([2601:18f:0:1570:226:18ff:fe00:232e]) by smtp.gmail.com with ESMTPSA id a11sm20163069qga.40.2015.10.08.20.54.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Oct 2015 20:54:15 -0700 (PDT) Date: Thu, 8 Oct 2015 23:54:10 -0400 From: Alexander Kabaev To: Sean Bruno Cc: freebsd-mips@freebsd.org Subject: Re: Jemalloc update breaks qemu-bsd-user for mips packages Message-ID: <20151008235410.2e50ecba@kan> In-Reply-To: <560EBA77.1010303@freebsd.org> References: <560EBA77.1010303@freebsd.org> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/EUh1uBvtgifNRdTblXjDArD"; protocol="application/pgp-signature" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2015 03:54:18 -0000 --Sig_/EUh1uBvtgifNRdTblXjDArD Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 2 Oct 2015 10:10:15 -0700 Sean Bruno wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 >=20 > I'm a bit stumped and have no recourse at this time. MIPS package > building via qemu-bsd-user jails is currently broken after the > jemalloc update at svn r286871. Just attempt to build ports-mgmt/pkg > and you'll see a failure in jemalloc. This does *not* happen with > . and > is bsd-user specific. >=20 Please try this: https://reviews.freebsd.org/D385s=20 I do not see how this can be specific to qemu-user only, but I suspect our emulation of rdhwr on trap is involved into munging the value to correct. If so, this patch will break qemu-system-mips, could you verify if that is the case? --=20 Alexander Kabaev --Sig_/EUh1uBvtgifNRdTblXjDArD Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJWFzpiXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDNUY3RDk5NTk5QjY0MUUxM0M1MTU2OTEw NzEzMjI5OTkyNzkyRTdFAAoJEAcTIpmSeS5+/uIQANFW5pQwL82bK19EO9IGJf1Z nzg7egUKFCP1KslrDc58GgSCrnYGS/GRFpUpQU+DBie6hOfUc5ZNVrdt+hNfvoeU WbsayV/4ndH4JMI+xnZ2k1jliEWxykXSsE7r+7ac2m6vdcAVrXT32RQbsfTBMwjK 7nVTGhAmxv23fkSsQ6Fduq3Ow2jbmA39FI9j0lwpyh9INESxuCkqNmW7EabrAKp9 bpueMD5LKc/chyzeO1+7bnVyCSfXpaZPyHpkR/rP1V3gpK3+Tq5Gb1omfFtDK13K 0POT95A/8RUDuWgrlnD6FCAXCkDxupZnBsq/HRUjYxj3vdumd1qPXGbndauUm7T3 rJ2gehjpTXCb132ea82RhrVWoJyqnEVw8+us+X7ysClvBNq0xQ+rK28ukFR6MaD+ w+AAEDZW5GkjZVe7YGExcLtxg+7WwrFGYnoguv1NggqKGYBUKgphMgN2jDmxUKM1 V3zKfiO6Pd57GMzLFniCErmUuzF80tPzN8CZy3YHP246nr0eFsSFFpg6RvI6Np9w BK8hCdfHfU6oT6VjGSH9t0xBsNAqjA/xP3kDPJ682OC7WxK1wFbVqPjprz/brZF0 smt2dfRiaMIRrLwhiTMqPt89e09aPpWEXLgqxFA5MDN1oW1SfaS9LQAzTaMpCQ13 kYLTw46Icr2OpaunPeEt =nHEL -----END PGP SIGNATURE----- --Sig_/EUh1uBvtgifNRdTblXjDArD-- From owner-freebsd-mips@freebsd.org Fri Oct 9 07:06:24 2015 Return-Path: Delivered-To: freebsd-mips@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 E21769D1D5A for ; Fri, 9 Oct 2015 07:06:24 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5A527E13 for ; Fri, 9 Oct 2015 07:06:23 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.14.9/8.14.9) with ESMTP id t9976CWI031604 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 9 Oct 2015 09:06:13 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: adrian.chadd@gmail.com Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id t9975tRs003275; Fri, 9 Oct 2015 14:05:55 +0700 (KRAT) (envelope-from eugen@grosbein.net) Subject: Re: Initial flashing for TPLink TL WDR3600 To: Adrian Chadd References: <5614D073.9060706@riseup.net> <5614E36E.6000803@grosbein.net> <5615F57E.1010405@riseup.net> <5615F697.6080700@riseup.net> <5616AA5B.8030609@grosbein.net> <5616B9F0.3030002@grosbein.net> Cc: "freebsd-mips@freebsd.org" From: Eugene Grosbein X-Enigmail-Draft-Status: N1110 Message-ID: <56176752.5000803@grosbein.net> Date: Fri, 9 Oct 2015 14:05:54 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM autolearn=no version=3.3.2 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hz.grosbein.net X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2015 07:06:25 -0000 On 09.10.2015 05:08, Adrian Chadd wrote: > you may have just bricked the firmware :( Yeah, get a serial cable and > see what it's printing out. It prints: > U-Boot 1.1.4 (Jun 5 2015 - 14:14:34) > > U-boot DB120 > > > DRAM: 128 MB > id read 0x100000ff > flash size 8MB, sector count = 128 > Flash: 8 MB > Using default environment > > PCIe Reset OK!!!!!! > In: serial > Out: serial > Err: serial > Net: ag934x_enet_initialize... > No valid address in Flash. Using fixed address > wasp reset mask:c03300 > WASP ----> S17 PHY * > : cfg1 0x7 cfg2 0x7114 > eth0: ba:be:fa:ce:08:41 > athrs17_reg_init: complete > eth0 up > eth0 > Autobooting in 1 seconds > ## Booting image at 9f020000 ... > Uncompressing Kernel Image ... Too big uncompressed streamLZMA ERROR 1 - must RESET board to recover And then it cycles. Meantime, I've recovered the device to older stock firmware using cable and then to latest firmware using TFTP client. From owner-freebsd-mips@freebsd.org Fri Oct 9 07:08:53 2015 Return-Path: Delivered-To: freebsd-mips@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 92B469D1EB8 for ; Fri, 9 Oct 2015 07:08:53 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (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 59381E58 for ; Fri, 9 Oct 2015 07:08:53 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igcpe7 with SMTP id pe7so29492857igc.0 for ; Fri, 09 Oct 2015 00:08:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=N7wwAyM+Sf6tOwkhiORCuWruUOuQDG9h8HRqsUpoyy0=; b=nsHEeEMzbGaR3U1dmO9tJ2+FXLZGf/IUy7loEnlgLElnk0IpRaaK4gIrQjmer+0RFX e/EOmyypHMYP/5u/j+IV7lHiAxr1jyZ5IlIYR82ES2B0zC38gmo8BOda3TzbqIamiz5C cVopnCgeJGzNPIFlCMXIvkrltyqaimBMYrZX21sxpA8vho7Pt0KpIb8LySCVPBxbfPmB nfZjQTM5O2DHXQXhRhLsB/Pjxbyb1lNcP0ryKvW8zBnIFmP79W5hh+rMoIxETDdoiYML ChgdL9FEaKFqTDK6ts4S2pWac39eEp2O4AfAd5wD+LzncS7CakgLeQibKVI7klFcaql6 c2kw== MIME-Version: 1.0 X-Received: by 10.50.66.137 with SMTP id f9mr8000426igt.22.1444374532723; Fri, 09 Oct 2015 00:08:52 -0700 (PDT) Received: by 10.36.46.15 with HTTP; Fri, 9 Oct 2015 00:08:52 -0700 (PDT) In-Reply-To: <56176752.5000803@grosbein.net> References: <5614D073.9060706@riseup.net> <5614E36E.6000803@grosbein.net> <5615F57E.1010405@riseup.net> <5615F697.6080700@riseup.net> <5616AA5B.8030609@grosbein.net> <5616B9F0.3030002@grosbein.net> <56176752.5000803@grosbein.net> Date: Fri, 9 Oct 2015 00:08:52 -0700 Message-ID: Subject: Re: Initial flashing for TPLink TL WDR3600 From: Adrian Chadd To: Eugene Grosbein Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2015 07:08:53 -0000 hi, Right. You can follow the reflashing instructions now on the wiki. Build the wdr3600 target and it'll spit out a factory image. Just do this verbatim: https://github.com/freebsd/freebsd-wifi-build/wiki/TPLink-TL-WDR3600 .. and it should just work(tm) -adrian (talking to you from one of these very units.) On 9 October 2015 at 00:05, Eugene Grosbein wrote: > On 09.10.2015 05:08, Adrian Chadd wrote: >> you may have just bricked the firmware :( Yeah, get a serial cable and >> see what it's printing out. > > It prints: > >> U-Boot 1.1.4 (Jun 5 2015 - 14:14:34) >> >> U-boot DB120 >> >> >> DRAM: 128 MB >> id read 0x100000ff >> flash size 8MB, sector count = 128 >> Flash: 8 MB >> Using default environment >> >> PCIe Reset OK!!!!!! >> In: serial >> Out: serial >> Err: serial >> Net: ag934x_enet_initialize... >> No valid address in Flash. Using fixed address >> wasp reset mask:c03300 >> WASP ----> S17 PHY * >> : cfg1 0x7 cfg2 0x7114 >> eth0: ba:be:fa:ce:08:41 >> athrs17_reg_init: complete >> eth0 up >> eth0 >> Autobooting in 1 seconds >> ## Booting image at 9f020000 ... >> Uncompressing Kernel Image ... Too big uncompressed streamLZMA ERROR 1 - must RESET board to recover > > And then it cycles. > > Meantime, I've recovered the device to older stock firmware using cable > and then to latest firmware using TFTP client. > > > From owner-freebsd-mips@freebsd.org Fri Oct 9 07:29:02 2015 Return-Path: Delivered-To: freebsd-mips@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 AD7229D2B4D for ; Fri, 9 Oct 2015 07:29:02 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3E498B71 for ; Fri, 9 Oct 2015 07:29:01 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.14.9/8.14.9) with ESMTP id t997Ss8O031681 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 9 Oct 2015 09:28:54 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: adrian.chadd@gmail.com Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id t997SnS2003593; Fri, 9 Oct 2015 14:28:50 +0700 (KRAT) (envelope-from eugen@grosbein.net) Subject: Re: Initial flashing for TPLink TL WDR3600 To: Adrian Chadd References: <5614D073.9060706@riseup.net> <5614E36E.6000803@grosbein.net> <5615F57E.1010405@riseup.net> <5615F697.6080700@riseup.net> <5616AA5B.8030609@grosbein.net> <5616B9F0.3030002@grosbein.net> <56176752.5000803@grosbein.net> Cc: "freebsd-mips@freebsd.org" From: Eugene Grosbein X-Enigmail-Draft-Status: N1110 Message-ID: <56176CB1.80000@grosbein.net> Date: Fri, 9 Oct 2015 14:28:49 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM autolearn=no version=3.3.2 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hz.grosbein.net X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2015 07:29:02 -0000 On 09.10.2015 14:08, Adrian Chadd wrote: > hi, > > Right. You can follow the reflashing instructions now on the wiki. > Build the wdr3600 target and it'll spit out a factory image. > > Just do this verbatim: > > https://github.com/freebsd/freebsd-wifi-build/wiki/TPLink-TL-WDR3600 > > .. and it should just work(tm) I believe it should just work. But this way requires cable and opening the device. I'd like to be able switch from stock firmware to FreeBSD using TFTP only. From owner-freebsd-mips@freebsd.org Fri Oct 9 12:48:56 2015 Return-Path: Delivered-To: freebsd-mips@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 CF09C9D1378 for ; Fri, 9 Oct 2015 12:48:56 +0000 (UTC) (envelope-from seanhamilton@gmail.com) Received: from mail-ig0-x22c.google.com (mail-ig0-x22c.google.com [IPv6:2607:f8b0:4001:c05::22c]) (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 A0336823 for ; Fri, 9 Oct 2015 12:48:56 +0000 (UTC) (envelope-from seanhamilton@gmail.com) Received: by igbni9 with SMTP id ni9so2976812igb.1 for ; Fri, 09 Oct 2015 05:48:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=yFCBBb8KvzBpdpSAQUBxf73GbeB1+5j/MGz9pQJoaEo=; b=VN9EZkbXE57zFt2PeTCv7dY8ZHwck2P36868AEXOJeRn8v6/pF+dJdWacfe0QJxpUN KYfrFbK3aIo9ZnxnEa5+A0B2+/aJwXNdxCbvs2j6mVfVh24spuhRPhd64LBqfBuJEq66 775crvgMtCE3VEeuOqdSzdUp7j1wLxaQfhy84K4qujq4MAQ6KsrDaapYrkYMK7Jyi/xB dTruD7bKxZ0ayUb8xwFKO4Ndr+zzIDI1rOiEFhcJVYNVOlVHyGXj/kDRqkeCFYpa8Nbj eIoqxx04ewYIzRpoLAG316qpJFEp+WAWF9AN2/zcq+ki4/8ORqDqD+tbZH6iWAC+PNn3 WmOQ== MIME-Version: 1.0 X-Received: by 10.50.134.232 with SMTP id pn8mr9765205igb.43.1444394936045; Fri, 09 Oct 2015 05:48:56 -0700 (PDT) Received: by 10.107.141.194 with HTTP; Fri, 9 Oct 2015 05:48:56 -0700 (PDT) Date: Fri, 9 Oct 2015 05:48:56 -0700 Message-ID: Subject: Best hardware for FreeBSD AP From: Sean Hamilton To: freebsd-mips@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2015 12:48:56 -0000 I've been running FreeBSD on an ERL for over a year and am quite happy with it as a router. However, I'd like to deploy at least one FreeBSD-based access point as well -- does it actually run well as an AP on the cheap TP-Link hardware often discussed on this list, e.g. the TL-WDR4300? Is it possible to squeeze a functioning system into the 8-16 MB flash? Thanks in advance. -- Sean Hamilton From owner-freebsd-mips@freebsd.org Fri Oct 9 17:16:20 2015 Return-Path: Delivered-To: freebsd-mips@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 41E2D9D1CE1 for ; Fri, 9 Oct 2015 17:16:20 +0000 (UTC) (envelope-from nalimegavas@zoho.com) Received: from sender153-mail.zoho.com (sender153-mail.zoho.com [74.201.84.153]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 29FDF647 for ; Fri, 9 Oct 2015 17:16:19 +0000 (UTC) (envelope-from nalimegavas@zoho.com) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:cc:message-id:in-reply-to:references:subject:mime-version:content-type:user-agent; b=KJx6C6TJOIa5r/denQEcOLNRveYNF+ts9YgDbsTjX/cGSGsb1LmdFpu3/Hd8wnLnRSi9hRUmCHOD Lw5Hz+QZyWQ6s1XNKcN64q8cbvSXfbGLe/phgxYRBNORCICjaBLO Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1444410978201736.266809296153; Fri, 9 Oct 2015 10:16:18 -0700 (PDT) Received: from [92.231.34.98] by mail.zoho.com with HTTP;Fri, 9 Oct 2015 10:16:18 -0700 (PDT) Date: Fri, 09 Oct 2015 10:16:18 -0700 From: leschmidtson To: Adrian Chadd Cc: "freebsd-mips@freebsd.org" Message-ID: <1504d9a6f5a.d8feaeb447696.5765071255082776385@zoho.com> In-Reply-To: References: <150491b33c5.bdb31e1d17499.4552977509659408892@zoho.com> Subject: Re: Re: Unable to connect to AP on TL-WDR3600 MIME-Version: 1.0 X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2015 17:16:20 -0000 Hello Adrian, thank you for reply. The ifconfig output was collected after the test. Sorry for this. Here is the hostap.conf from router: interface=wlan0 driver=bsd ssid=GGWL030 wpa=3 wpa_key_mgmt=WPA-PSK wpa_passphrase=abcd1234 wpa_pairwise=CCMP TKIP ctrl_interface=/var/svc/hostapd0/ctl I did another test with some old notebook and it appeared to connect perfectly to the router. This notebook has wireless chip Intel 3945ABG (wpi). The newer notebook (where problem is observed) has Intel Centrino Advanced-N 6205 (iwn). Both notebooks are running FreeBSD 10.2. Hence it does not seem to be a WDR3600 problem. Apologizing for this false alarm:) Thanks. Georg ---- On Thu, 08 Oct 2015 15:12:04 -0700 Adrian Chadd <adrian.chadd@gmail.com> wrote ---- Hi, There's no carrier on wlan0/wlan1 and they're not marked as "up". What's your /etc/cfg/hostapd.conf look like on the AP? -a On 8 October 2015 at 13:18, leschmidtson <nalimegavas@zoho.com> wrote: > Dear all, > > as per Wiki page the TL-WDR3600 should work fine under FreeBSD. So I gave it a try. > Unfortunately there are some issues with my configuration. The painful one is with wireless: clients are unable to connect to AP on router. > Tested with FreeBSD 10.2 and Windows7 clients. Currently r288948M is installed on router. The same problem was observed in few previous versions as well. > > In test hostapd was running on wlan0 only. (Problem persists with hostapd active on both wlan interfaces as well). > > > ifconfig output: > > wlan0: flags=8902&lt;BROADCAST,PROMISC,SIMPLEX,MULTICAST&gt; metric 0 mtu 1500 > ether e8:de:27:65:bc:8c > media: IEEE 802.11 Wireless Ethernet autoselect &lt;hostap&gt; (autoselect &lt;hostap&gt;) > status: no carrier > ssid GGWL030 channel 4 (2427 MHz 11g ht/40+) > country US ecm authmode AUTO privacy OFF deftxkey 2 txpower 27 > scanvalid 60 protmode CTS ampdulimit 64k ampdudensity 8 shortgi wme > burst dtimperiod 1 -dfs > groups: wlan > wlan1: flags=8902&lt;BROADCAST,PROMISC,SIMPLEX,MULTICAST&gt; metric 0 mtu 1500 > ether e8:de:27:65:bc:8b > media: IEEE 802.11 Wireless Ethernet autoselect &lt;hostap&gt; (autoselect &lt;hostap&gt;) > status: no carrier > ssid GGWL031 channel 52 (5260 MHz 11a ht/40+) > country US ecm authmode WPA1+WPA2/802.11i privacy OFF deftxkey 2 > TKIP 2:128-bit TKIP 3:128-bit txpower 23 mcastrate 6 mgmtrate 6 > scanvalid 60 ampdulimit 64k ampdudensity 8 shortgi wme burst > dtimperiod 1 -dfs > groups: wlan > > hostapd.conf > > interface=wlan0 > driver=bsd > ssid=GGWL030 > wpa=3 > wpa_key_mgmt=WPA-PSK > wpa_passphrase=abcd1234 > wpa_pairwise=CCMP TKIP > ctrl_interface=/var/svc/hostapd0/ctl > > > Here is the relevant part of hostapd log > > 1444248053.841730: WPA: a4:4e:31:b9:34:08 WPA_PTK entering state AUTHENTICATION2 > 1444248053.841776: Get randomness: len=32 entropy=1 > 1444248053.843475: WPA: Assign ANonce - hexdump(len=32): 23 e5 60 0c 59 ae 1f 0b 3c b7 c7 a0 14 c9 22 39 5a 5b 0b a5 5c 64 3d a1 ee eb b5 > 24 0f a8 69 1b > 1444248053.843647: WPA: a4:4e:31:b9:34:08 WPA_PTK entering state INITPSK > 1444248053.843694: Searching a PSK for a4:4e:31:b9:34:08 prev_psk=0x0 > 1444248053.843744: Searching a PSK for a4:4e:31:b9:34:08 prev_psk=0x0 > 1444248053.843790: WPA: a4:4e:31:b9:34:08 WPA_PTK entering state PTKSTART > 1444248053.843905: 1444248053.843919: wlan0: STA a4:4e:31:b9:34:08 WPA: sending 1/4 msg of 4-Way Handshake > 1444248053.843988: WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=1 kde_len=0 keyidx=0 encr=0) > 1444248053.844063: WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 01 > 1444248053.844150: TX EAPOL - hexdump(len=99): 02 03 00 5f 02 00 8a 00 10 00 00 00 00 00 00 00 01 23 e5 60 0c 59 ae 1f 0b 3c b7 c7 a0 14 c > 9 22 39 5a 5b 0b a5 5c 64 3d a1 ee eb b5 24 0f a8 69 1b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0 > 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 1444248053.877706: WPA: Use EAPOL-Key timeout of 1000 ms (retry counter 1) > 1444248053.877832: hostapd_new_assoc_sta: reschedule ap_handle_timer timeout for a4:4e:31:b9:34:08 (300 seconds - ap_max_inactivity) > 1444248054.899958: 1444248054.899977: wlan0: STA a4:4e:31:b9:34:08 WPA: EAPOL-Key timeout > 1444248054.900086: WPA: a4:4e:31:b9:34:08 WPA_PTK entering state PTKSTART > 1444248054.900228: 1444248054.900241: wlan0: STA a4:4e:31:b9:34:08 WPA: sending 1/4 msg of 4-Way Handshake > 1444248054.900315: WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=1 kde_len=0 keyidx=0 encr=0) > 1444248054.900392: WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 02 > 1444248054.900464: TX EAPOL - hexdump(len=99): 02 03 00 5f 02 00 8a 00 10 00 00 00 00 00 00 00 02 23 e5 60 0c 59 ae 1f 0b 3c b7 c7 a0 14 c > 9 22 39 5a 5b 0b a5 5c 64 3d a1 ee eb b5 24 0f a8 69 1b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0 > 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 1444248054.901103: WPA: Use EAPOL-Key timeout of 1000 ms (retry counter 2) > 1444248055.923954: 1444248055.923973: wlan0: STA a4:4e:31:b9:34:08 WPA: EAPOL-Key timeout > 1444248055.924083: WPA: a4:4e:31:b9:34:08 WPA_PTK entering state PTKSTART > 1444248055.924223: 1444248055.924237: wlan0: STA a4:4e:31:b9:34:08 WPA: sending 1/4 msg of 4-Way Handshake > 1444248055.924310: WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=1 kde_len=0 keyidx=0 encr=0) > 1444248055.924401: WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 03 > 1444248055.924474: TX EAPOL - hexdump(len=99): 02 03 00 5f 02 00 8a 00 10 00 00 00 00 00 00 00 03 23 e5 60 0c 59 ae 1f 0b 3c b7 c7 a0 14 c > 9 22 39 5a 5b 0b a5 5c 64 3d a1 ee eb b5 24 0f a8 69 1b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0 > 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 1444248055.925098: WPA: Use EAPOL-Key timeout of 1000 ms (retry counter 3) > 1444248056.947963: 1444248056.947982: wlan0: STA a4:4e:31:b9:34:08 WPA: EAPOL-Key timeout > > The last two lines imho indicate the problem. > > As per wpa_supplicant log the client is sending the EAPOL response (EAPOL: txStart line in the log), however it is interrupted by next EAPOL Key message from router (if I correctly read this log): > > wlan0: State: ASSOCIATED -&gt; 4WAY_HANDSHAKE > wlan0: WPA: RX message 1 of 4-Way Handshake from e8:de:27:65:bc:8c (ver=2) > RSN: msg 1/4 key data - hexdump(len=0): > WPA: Renewed SNonce - hexdump(len=32): 0d 96 79 d6 82 7b 6d 06 bc 93 12 b5 64 7b 46 1b 36 92 7d 8e 90 82 85 ed c7 63 9f cf 52 b5 f8 8d > WPA: PTK derivation - A1=a4:4e:31:b9:34:08 A2=e8:de:27:65:bc:8c > WPA: Nonce1 - hexdump(len=32): 0d 96 79 d6 82 7b 6d 06 bc 93 12 b5 64 7b 46 1b 36 92 7d 8e 90 82 85 ed c7 63 9f cf 52 b5 f8 8d > WPA: Nonce2 - hexdump(len=32): ba 52 4e b6 7a ee 46 3b 4e 19 8f b9 47 b8 1c a6 d0 aa 94 69 a6 ef 36 94 a1 3b ed c7 b5 d4 70 1b > WPA: PMK - hexdump(len=32): [REMOVED] > WPA: PTK - hexdump(len=48): [REMOVED] > WPA: WPA IE for msg 2/4 - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 > WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 01 > wlan0: WPA: Sending EAPOL-Key 2/4 > WPA: KCK - hexdump(len=16): [REMOVED] > WPA: Derived Key MIC - hexdump(len=16): 89 1f b0 dc b0 aa dd c8 9d 13 1a 67 15 e2 fd a4 > EAPOL: startWhen --&gt; 0 > EAPOL: disable timer tick > EAPOL: SUPP_PAE entering state CONNECTING > EAPOL: enable timer tick > EAPOL: txStart > WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0) > wlan0: RX EAPOL from e8:de:27:65:bc:8c > > > The client is able problem free to connect to another AP. > > Appreciate your advice on what/where to look next? > > Thanks. > > Georg > > _______________________________________________ > 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" From owner-freebsd-mips@freebsd.org Fri Oct 9 17:28:30 2015 Return-Path: Delivered-To: freebsd-mips@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 59BF19D244D for ; Fri, 9 Oct 2015 17:28:30 +0000 (UTC) (envelope-from possnfiffer@snowboard.com) Received: from mail-io0-f178.google.com (mail-io0-f178.google.com [209.85.223.178]) (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 28CA1C0D for ; Fri, 9 Oct 2015 17:28:29 +0000 (UTC) (envelope-from possnfiffer@snowboard.com) Received: by ioii196 with SMTP id i196so97514554ioi.3 for ; Fri, 09 Oct 2015 10:28:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=gWTjAiI2qMfJCixwFQtvbCsgEs9uRoyrmUDnDih6my8=; b=PAKC58r5lUu9z37+ii6wS+pBEYu2VY9Pf8t/GLhfdN4zMCMwg8nP8oTurfWpNQ3K8j LDL6Pkp6aLrjSGTGHRmcSM5U0HCkMeYauixLuV4e0lOab8p1lHe6AvTGBgaOO4nWhVH9 CuOF7cFhpAa7yOtYEQz5qhr1LupibGgkFbEXImThS53HsnnAPMkgandjhw06LkzCiIOi O5F8e7nW/Z+59e37OKZ3HA9EHlCVWkdMu+lnIj3SU9WwJfmzwNSD0m+neEkjXBFGv1N6 cCi9X82wRoZU+va9c9++eIs6nsnIgiRFxGJnGF+waSpgUT/lnHHIC4cjqRooYgYbAtCM Lfgw== X-Gm-Message-State: ALoCoQn5UQnE2kDaLnoQr6XMvLlAQ8M7zw3f9P2cNMxlfESpFsGn5BZLx1kt9rvxvi+tASi+y/pl MIME-Version: 1.0 X-Received: by 10.107.137.75 with SMTP id l72mr16102300iod.121.1444411709142; Fri, 09 Oct 2015 10:28:29 -0700 (PDT) Received: by 10.36.104.196 with HTTP; Fri, 9 Oct 2015 10:28:29 -0700 (PDT) In-Reply-To: References: Date: Fri, 9 Oct 2015 11:28:29 -0600 Message-ID: Subject: Re: Best hardware for FreeBSD AP From: Possnfiffer To: Sean Hamilton Cc: freebsd-mips@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2015 17:28:30 -0000 I also have an ERL running FreeBSD and an curious what your method is for building packages, are you cross-building or compiling on the ERL or something else? Also, what version of FreeBSD are you using? On Fri, Oct 9, 2015 at 6:48 AM, Sean Hamilton wrote: > I've been running FreeBSD on an ERL for over a year and am quite happy > with it as a router. However, I'd like to deploy at least one > FreeBSD-based access point as well -- does it actually run well as an > AP on the cheap TP-Link hardware often discussed on this list, e.g. > the TL-WDR4300? Is it possible to squeeze a functioning system into > the 8-16 MB flash? Thanks in advance. > > -- > Sean Hamilton > _______________________________________________ > 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" > From owner-freebsd-mips@freebsd.org Fri Oct 9 17:35:31 2015 Return-Path: Delivered-To: freebsd-mips@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 637939D2965 for ; Fri, 9 Oct 2015 17:35:31 +0000 (UTC) (envelope-from seanhamilton@gmail.com) Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (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 2E055144 for ; Fri, 9 Oct 2015 17:35:31 +0000 (UTC) (envelope-from seanhamilton@gmail.com) Received: by iofl186 with SMTP id l186so16568512iof.2 for ; Fri, 09 Oct 2015 10:35:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PD8c3tOFHRMXtv8R8JCtUDviRCFKyAUf5G9e/Mf5Gm4=; b=LgyvT3glXVPokO3PVOU303PTbY4oITLCOYmni5nuLjW9q923stFHHij3zMWi9fnSLN rBkOvvPeWu6BorEw+0owtL40FJwgHHragxa4Elt/7xnDWidQnKhDU4D4AySpY6rLybJy jz3yv8qhuXDN8mvBKwKAQ8L66vZh0xulCPHd8yNpfl19cw63gs2y6OCOCzmCRw3jU8sa eIOdb/h4aTyRrrL0RMW7c+DxKunk3BY8QU7acJoFtIXq116mubtOXoG+yQjp1HR2XYde sh7yf72jKocAZsO3a1cu7HaWnQ31YpcwR+tbRW8blfKnDusa9D/PdzJz2h6RbPdCL/Lg LZcQ== MIME-Version: 1.0 X-Received: by 10.107.160.67 with SMTP id j64mr15589431ioe.128.1444412130684; Fri, 09 Oct 2015 10:35:30 -0700 (PDT) Received: by 10.107.141.194 with HTTP; Fri, 9 Oct 2015 10:35:30 -0700 (PDT) In-Reply-To: References: Date: Fri, 9 Oct 2015 10:35:30 -0700 Message-ID: Subject: Re: Best hardware for FreeBSD AP From: Sean Hamilton To: Possnfiffer Cc: freebsd-mips@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2015 17:35:31 -0000 On 9 October 2015 at 10:28, Possnfiffer wrote: > I also have an ERL running FreeBSD and an curious what your method is for > building packages, are you cross-building or compiling on the ERL or > something else? Also, what version of FreeBSD are you using? See this thread: http://lists.freebsd.org/pipermail/freebsd-mips/2014-August/003600.html 10.0-STABLE r270425 (now a year old.) I just build ports on the ERL, with some patience and INSTALL_TARGET=install. -- Sean Hamilton From owner-freebsd-mips@freebsd.org Fri Oct 9 17:51:47 2015 Return-Path: Delivered-To: freebsd-mips@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 BCCE79D12FD for ; Fri, 9 Oct 2015 17:51:47 +0000 (UTC) (envelope-from possnfiffer@snowboard.com) Received: from mail-io0-f179.google.com (mail-io0-f179.google.com [209.85.223.179]) (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 90D1FBD0 for ; Fri, 9 Oct 2015 17:51:47 +0000 (UTC) (envelope-from possnfiffer@snowboard.com) Received: by ioii196 with SMTP id i196so98131777ioi.3 for ; Fri, 09 Oct 2015 10:51:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=WVkUz8s1RWUbHwkDKlMh/kSBG+yQXSojeb8gGkefUCA=; b=HiBmleacCPGRzvI7268cmpOC36FwtowiMlXP0FzhF7Gk2R2R1CMw+/i2MmMiWC8zg7 0MF7s3m84Prvdl+OnJiOnGwfhoE+ITcHKZCzWIxqPW38Gh540ltalXRKIKWbg7UMGKuh Shsp4Bk8qKSgNyo4et2XPy+sUYwSIGZll4ODddJ9TmK5yeXMKI7pnpJ8kVej11gKRNUd 8TlbAi57DVVF+nNTR5M2tAhWTG9/V5Z4VwDy9kScSkugO7evm4LCEUPEm/BaoQ8u7KZq 2gaJ0WOjwX9IGKAcIkJihkLBuZo9yzNMijERxkAsfUiGqFQMbi/i/SotgNKQQ/tPffwT KxZQ== X-Gm-Message-State: ALoCoQmSWjfLT7TGl4uuWEXr1un+2jJjIiRa1NHt0T4y4lzW/IRATnAUcHwk16Ys6k2wn/ekRvOv MIME-Version: 1.0 X-Received: by 10.107.33.17 with SMTP id h17mr15199407ioh.108.1444413106210; Fri, 09 Oct 2015 10:51:46 -0700 (PDT) Received: by 10.36.104.196 with HTTP; Fri, 9 Oct 2015 10:51:46 -0700 (PDT) In-Reply-To: References: Date: Fri, 9 Oct 2015 11:51:46 -0600 Message-ID: Subject: Re: Best hardware for FreeBSD AP From: Possnfiffer To: Sean Hamilton Cc: freebsd-mips@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2015 17:51:47 -0000 awesome! Thank you. On Fri, Oct 9, 2015 at 11:35 AM, Sean Hamilton wrote: > On 9 October 2015 at 10:28, Possnfiffer wrote: > > I also have an ERL running FreeBSD and an curious what your method is for > > building packages, are you cross-building or compiling on the ERL or > > something else? Also, what version of FreeBSD are you using? > > See this thread: > http://lists.freebsd.org/pipermail/freebsd-mips/2014-August/003600.html > > 10.0-STABLE r270425 (now a year old.) I just build ports on the ERL, > with some patience and INSTALL_TARGET=install. > > -- > Sean Hamilton > From owner-freebsd-mips@freebsd.org Fri Oct 9 18:51:48 2015 Return-Path: Delivered-To: freebsd-mips@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 A8C389D20E8 for ; Fri, 9 Oct 2015 18:51:48 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x22d.google.com (mail-ig0-x22d.google.com [IPv6:2607:f8b0:4001:c05::22d]) (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 7594717D3 for ; Fri, 9 Oct 2015 18:51:48 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igcpe7 with SMTP id pe7so42542280igc.0 for ; Fri, 09 Oct 2015 11:51:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XUldewlF2cc5ClD8R1BPxdatfjf4cGB7psqpFkWLci8=; b=q8zRPckJTAR49RqXOTSazWupwJPWQ9bL0zKpmPuVy46cXaHtxoYay2yDbyy/ELFnAB PtJoynZz/JMl33XvmvIrRDFvg0RlJOBT9G0086coLVW90H4pxT2xFZMA32XrRb7gyTiZ GOo/McFoLOhbXj7aoEQ64V/cdphxlb6nxJkeuIIEMvzz2MC3IPtSaDMIIOXnsomarvSS Npw+e6tSjktJVoRjDGRhjjOoQkY1Tn42jaGBgTD7/AFQhzJB2AoTnmGOOFw/zXNEiK9P mQxtAPHasnrKpXLONsxOpRxivUrgjb8ROM5Xez7IgpfZgFO9WHq7Jf/zhK2HtdJrE34t XUEg== MIME-Version: 1.0 X-Received: by 10.50.61.243 with SMTP id t19mr982133igr.22.1444416707942; Fri, 09 Oct 2015 11:51:47 -0700 (PDT) Received: by 10.36.46.15 with HTTP; Fri, 9 Oct 2015 11:51:47 -0700 (PDT) In-Reply-To: <1504d9a6f5a.d8feaeb447696.5765071255082776385@zoho.com> References: <150491b33c5.bdb31e1d17499.4552977509659408892@zoho.com> <1504d9a6f5a.d8feaeb447696.5765071255082776385@zoho.com> Date: Fri, 9 Oct 2015 11:51:47 -0700 Message-ID: Subject: Re: Re: Unable to connect to AP on TL-WDR3600 From: Adrian Chadd To: leschmidtson Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2015 18:51:48 -0000 hi, Right. there's lots of 11n bugs in iwn in 10.x. :( -a On 9 October 2015 at 10:16, leschmidtson wrote: > Hello Adrian, > > thank you for reply. > The ifconfig output was collected after the test. Sorry for this. > > Here is the hostap.conf from router: > > interface=wlan0 > driver=bsd > ssid=GGWL030 > wpa=3 > wpa_key_mgmt=WPA-PSK > wpa_passphrase=abcd1234 > wpa_pairwise=CCMP TKIP > ctrl_interface=/var/svc/hostapd0/ctl > > > I did another test with some old notebook and it appeared to connect > perfectly to the router. This notebook has wireless chip Intel 3945ABG > (wpi). > The newer notebook (where problem is observed) has Intel Centrino Advanced-N > 6205 (iwn). Both notebooks are running FreeBSD 10.2. > > Hence it does not seem to be a WDR3600 problem. Apologizing for this false > alarm:) > > Thanks. > Georg > > > ---- On Thu, 08 Oct 2015 15:12:04 -0700 Adrian Chadd > wrote ---- > > Hi, > > There's no carrier on wlan0/wlan1 and they're not marked as "up". > What's your /etc/cfg/hostapd.conf look like on the AP? > > > -a > > > On 8 October 2015 at 13:18, leschmidtson wrote: >> Dear all, >> >> as per Wiki page the TL-WDR3600 should work fine under FreeBSD. So I gave >> it a try. >> Unfortunately there are some issues with my configuration. The painful one >> is with wireless: clients are unable to connect to AP on router. >> Tested with FreeBSD 10.2 and Windows7 clients. Currently r288948M is >> installed on router. The same problem was observed in few previous versions >> as well. >> >> In test hostapd was running on wlan0 only. (Problem persists with hostapd >> active on both wlan interfaces as well). >> >> >> ifconfig output: >> >> wlan0: flags=8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu >> 1500 >> ether e8:de:27:65:bc:8c >> media: IEEE 802.11 Wireless Ethernet autoselect <hostap> (autoselect >> <hostap>) >> status: no carrier >> ssid GGWL030 channel 4 (2427 MHz 11g ht/40+) >> country US ecm authmode AUTO privacy OFF deftxkey 2 txpower 27 >> scanvalid 60 protmode CTS ampdulimit 64k ampdudensity 8 shortgi wme >> burst dtimperiod 1 -dfs >> groups: wlan >> wlan1: flags=8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu >> 1500 >> ether e8:de:27:65:bc:8b >> media: IEEE 802.11 Wireless Ethernet autoselect <hostap> (autoselect >> <hostap>) >> status: no carrier >> ssid GGWL031 channel 52 (5260 MHz 11a ht/40+) >> country US ecm authmode WPA1+WPA2/802.11i privacy OFF deftxkey 2 >> TKIP 2:128-bit TKIP 3:128-bit txpower 23 mcastrate 6 mgmtrate 6 >> scanvalid 60 ampdulimit 64k ampdudensity 8 shortgi wme burst >> dtimperiod 1 -dfs >> groups: wlan >> >> hostapd.conf >> >> interface=wlan0 >> driver=bsd >> ssid=GGWL030 >> wpa=3 >> wpa_key_mgmt=WPA-PSK >> wpa_passphrase=abcd1234 >> wpa_pairwise=CCMP TKIP >> ctrl_interface=/var/svc/hostapd0/ctl >> >> >> Here is the relevant part of hostapd log >> >> 1444248053.841730: WPA: a4:4e:31:b9:34:08 WPA_PTK entering state >> AUTHENTICATION2 >> 1444248053.841776: Get randomness: len=32 entropy=1 >> 1444248053.843475: WPA: Assign ANonce - hexdump(len=32): 23 e5 60 0c 59 ae >> 1f 0b 3c b7 c7 a0 14 c9 22 39 5a 5b 0b a5 5c 64 3d a1 ee eb b5 >> 24 0f a8 69 1b >> 1444248053.843647: WPA: a4:4e:31:b9:34:08 WPA_PTK entering state INITPSK >> 1444248053.843694: Searching a PSK for a4:4e:31:b9:34:08 prev_psk=0x0 >> 1444248053.843744: Searching a PSK for a4:4e:31:b9:34:08 prev_psk=0x0 >> 1444248053.843790: WPA: a4:4e:31:b9:34:08 WPA_PTK entering state PTKSTART >> 1444248053.843905: 1444248053.843919: wlan0: STA a4:4e:31:b9:34:08 WPA: >> sending 1/4 msg of 4-Way Handshake >> 1444248053.843988: WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 >> install=0 pairwise=1 kde_len=0 keyidx=0 encr=0) >> 1444248053.844063: WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 >> 00 01 >> 1444248053.844150: TX EAPOL - hexdump(len=99): 02 03 00 5f 02 00 8a 00 10 >> 00 00 00 00 00 00 00 01 23 e5 60 0c 59 ae 1f 0b 3c b7 c7 a0 14 c >> 9 22 39 5a 5b 0b a5 5c 64 3d a1 ee eb b5 24 0f a8 69 1b 00 00 00 00 00 00 >> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0 >> 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 1444248053.877706: WPA: Use EAPOL-Key timeout of 1000 ms (retry counter 1) >> 1444248053.877832: hostapd_new_assoc_sta: reschedule ap_handle_timer >> timeout for a4:4e:31:b9:34:08 (300 seconds - ap_max_inactivity) >> 1444248054.899958: 1444248054.899977: wlan0: STA a4:4e:31:b9:34:08 WPA: >> EAPOL-Key timeout >> 1444248054.900086: WPA: a4:4e:31:b9:34:08 WPA_PTK entering state PTKSTART >> 1444248054.900228: 1444248054.900241: wlan0: STA a4:4e:31:b9:34:08 WPA: >> sending 1/4 msg of 4-Way Handshake >> 1444248054.900315: WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 >> install=0 pairwise=1 kde_len=0 keyidx=0 encr=0) >> 1444248054.900392: WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 >> 00 02 >> 1444248054.900464: TX EAPOL - hexdump(len=99): 02 03 00 5f 02 00 8a 00 10 >> 00 00 00 00 00 00 00 02 23 e5 60 0c 59 ae 1f 0b 3c b7 c7 a0 14 c >> 9 22 39 5a 5b 0b a5 5c 64 3d a1 ee eb b5 24 0f a8 69 1b 00 00 00 00 00 00 >> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0 >> 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 1444248054.901103: WPA: Use EAPOL-Key timeout of 1000 ms (retry counter 2) >> 1444248055.923954: 1444248055.923973: wlan0: STA a4:4e:31:b9:34:08 WPA: >> EAPOL-Key timeout >> 1444248055.924083: WPA: a4:4e:31:b9:34:08 WPA_PTK entering state PTKSTART >> 1444248055.924223: 1444248055.924237: wlan0: STA a4:4e:31:b9:34:08 WPA: >> sending 1/4 msg of 4-Way Handshake >> 1444248055.924310: WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 >> install=0 pairwise=1 kde_len=0 keyidx=0 encr=0) >> 1444248055.924401: WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 >> 00 03 >> 1444248055.924474: TX EAPOL - hexdump(len=99): 02 03 00 5f 02 00 8a 00 10 >> 00 00 00 00 00 00 00 03 23 e5 60 0c 59 ae 1f 0b 3c b7 c7 a0 14 c >> 9 22 39 5a 5b 0b a5 5c 64 3d a1 ee eb b5 24 0f a8 69 1b 00 00 00 00 00 00 >> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0 >> 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 1444248055.925098: WPA: Use EAPOL-Key timeout of 1000 ms (retry counter 3) >> 1444248056.947963: 1444248056.947982: wlan0: STA a4:4e:31:b9:34:08 WPA: >> EAPOL-Key timeout >> >> The last two lines imho indicate the problem. >> >> As per wpa_supplicant log the client is sending the EAPOL response (EAPOL: >> txStart line in the log), however it is interrupted by next EAPOL Key >> message from router (if I correctly read this log): >> >> wlan0: State: ASSOCIATED -> 4WAY_HANDSHAKE >> wlan0: WPA: RX message 1 of 4-Way Handshake from e8:de:27:65:bc:8c (ver=2) >> RSN: msg 1/4 key data - hexdump(len=0): >> WPA: Renewed SNonce - hexdump(len=32): 0d 96 79 d6 82 7b 6d 06 bc 93 12 b5 >> 64 7b 46 1b 36 92 7d 8e 90 82 85 ed c7 63 9f cf 52 b5 f8 8d >> WPA: PTK derivation - A1=a4:4e:31:b9:34:08 A2=e8:de:27:65:bc:8c >> WPA: Nonce1 - hexdump(len=32): 0d 96 79 d6 82 7b 6d 06 bc 93 12 b5 64 7b >> 46 1b 36 92 7d 8e 90 82 85 ed c7 63 9f cf 52 b5 f8 8d >> WPA: Nonce2 - hexdump(len=32): ba 52 4e b6 7a ee 46 3b 4e 19 8f b9 47 b8 >> 1c a6 d0 aa 94 69 a6 ef 36 94 a1 3b ed c7 b5 d4 70 1b >> WPA: PMK - hexdump(len=32): [REMOVED] >> WPA: PTK - hexdump(len=48): [REMOVED] >> WPA: WPA IE for msg 2/4 - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 >> 00 0f ac 04 01 00 00 0f ac 02 00 00 >> WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 01 >> wlan0: WPA: Sending EAPOL-Key 2/4 >> WPA: KCK - hexdump(len=16): [REMOVED] >> WPA: Derived Key MIC - hexdump(len=16): 89 1f b0 dc b0 aa dd c8 9d 13 1a >> 67 15 e2 fd a4 >> EAPOL: startWhen --> 0 >> EAPOL: disable timer tick >> EAPOL: SUPP_PAE entering state CONNECTING >> EAPOL: enable timer tick >> EAPOL: txStart >> WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0) >> wlan0: RX EAPOL from e8:de:27:65:bc:8c >> >> >> The client is able problem free to connect to another AP. >> >> Appreciate your advice on what/where to look next? >> >> Thanks. >> >> Georg >> >> _______________________________________________ >> 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" > > > From owner-freebsd-mips@freebsd.org Fri Oct 9 19:41:06 2015 Return-Path: Delivered-To: freebsd-mips@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 A09029D12EB for ; Fri, 9 Oct 2015 19:41:06 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8694F114 for ; Fri, 9 Oct 2015 19:41:05 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [192.168.200.208] (unknown [50.136.155.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 07264193E80; Fri, 9 Oct 2015 19:41:04 +0000 (UTC) Subject: Re: Jemalloc update breaks qemu-bsd-user for mips packages To: Alexander Kabaev References: <560EBA77.1010303@freebsd.org> <20151008235410.2e50ecba@kan> Cc: freebsd-mips@freebsd.org From: Sean Bruno Message-ID: <56181850.7080000@freebsd.org> Date: Fri, 9 Oct 2015 12:41:04 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20151008235410.2e50ecba@kan> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2015 19:41:06 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 10/08/15 20:54, Alexander Kabaev wrote: > On Fri, 2 Oct 2015 10:10:15 -0700 Sean Bruno > wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 >> >> I'm a bit stumped and have no recourse at this time. MIPS >> package building via qemu-bsd-user jails is currently broken >> after the jemalloc update at svn r286871. Just attempt to build >> ports-mgmt/pkg and you'll see a failure in jemalloc. This does >> *not* happen with . and is bsd-user specific. >> > > Please try this: > > https://reviews.freebsd.org/D385s I do not see how this can be > specific to qemu-user only, but I suspect our emulation of rdhwr on > trap is involved into munging the value to correct. If so, this > patch will break qemu-system-mips, could you verify if that is the > case? > Confirmed that updating the MIPS jail with https://reviews.freebsd.org/D3852 resolves the issues seen with build packages. We'll restart builds this weekend after the final version hits the tree. sean P.S. THANK YOU -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJWGBhNXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kPm4IAKxhF3lH5fZTLhUyZfVYQtjP 7sF9ofzc+WGOXbRw/41mXnFktm9DZ8sg6DQAPru5F3R+oKSr38jmekg6/bmELEJu /7dgA3OchA2mQim/qFGqqbQUjihlHPDIk+cmW0guPFSrVnAdGN4dXv0BGElBiNB7 lC6UE4Lj5PphUgGMcyVkH8SdzYdOkAxv13cayCG3ON7tB+B4DZWh55vW2JYt9qSD SJY+ZavNHARwSdu+00U2v5NyutwSjwnqQmMHngbVSBur28VT0t7/ZkNjb+W02ZxK 4XmK+JPPv+brfTw07SQ9wjlzudRB8CDhPAVE3G80yrKr2nybGukbWHMmCZSdmkQ= =Lzrc -----END PGP SIGNATURE----- From owner-freebsd-mips@freebsd.org Sat Oct 10 16:21:33 2015 Return-Path: Delivered-To: freebsd-mips@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 866B7A10F91 for ; Sat, 10 Oct 2015 16:21:33 +0000 (UTC) (envelope-from pkubaj@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 641861788; Sat, 10 Oct 2015 16:21:32 +0000 (UTC) (envelope-from pkubaj@riseup.net) Received: from piha.riseup.net (unknown [10.0.1.162]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id BDFCCC1FF6; Sat, 10 Oct 2015 09:21:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1444494086; bh=xjUtM07TbCguHl1wQilJpdjyGyjz1avKHQ7qvIi14R4=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=jDDAGgkIMjgDezlLz4xJ0phr1CZwHgPBtVjEb9hAFU7NdIUafRTk1CB5mt7aMi5Ua wC9/vdvs17q9aaI4H2RbUYX/rw1y8frldb0dpkkYiwzgkFXo6aoPzKqaJ3SUM7lBWw s451DLdO35K1UrNDGVplWcKWUrvB+/Wg/zzrOAjM= Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: pkubaj) with ESMTPSA id EC4911403DB Subject: Re: Kernel config for TPLink TL WDR3600 To: Adrian Chadd References: <5614D073.9060706@riseup.net> <5614E36E.6000803@grosbein.net> <5615F57E.1010405@riseup.net> <5615F697.6080700@riseup.net> Cc: freebsd-mips@freebsd.org From: Piotr Kubaj Message-ID: <56193AFD.90201@riseup.net> Date: Sat, 10 Oct 2015 18:21:17 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2bLxtrmxdILAfvpiLCNOlu1eNSu154Ned" X-Virus-Scanned: clamav-milter 0.98.7 at mx1.riseup.net X-Virus-Status: Clean X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Oct 2015 16:21:33 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --2bLxtrmxdILAfvpiLCNOlu1eNSu154Ned Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/08/2015 17:47, Adrian Chadd wrote: > I'll go try reflashing my tl-wr1043nd v1 today. >=20 > Which instrucitons are you following? >=20 >=20 > a >=20 >=20 > On 7 October 2015 at 21:52, Piotr Kubaj wrote: >> On 10/08/2015 06:47, Piotr Kubaj wrote: >>> On 10/07/2015 20:08, Adrian Chadd wrote: >>>> Hi, >>>> >>>> Just run -HEAD, or be prepared to MFC everything in the mips code an= d >>>> wifi stack/drivers to stable/10. >>>> >>>> -HEAD works fine. You should just try it. :) >>>> >>>> >>>> >>>> -adrian >>>> >>>> >>>> On 7 October 2015 at 02:18, Eugene Grosbein wro= te: >>>>> On 07.10.2015 14:57, Piotr Kubaj wrote: >>>>>> @eugen >>>>>> You could just copy//WDR3600's kernel config to sys/misc/conf in s= table/10. It's quite possible that it will work. >>>>> >>>>> I made diff between stable/10 and head for MIPS-related source file= s >>>>> and there are lots of non-trivial (for me) changes in head. >>>>> >>>>> I will create virtual machine with VBox and build head there >>>>> as I do not run head on my desktop but 10.2 >>>>> >>>>> >>> I've tried to upgrade my 1043nd to HEAD but it caused me just problem= s :P >>> >>> >>> Is this error known? >>> >>> >>> start_init: trying /sbin/init >>> rtl8366rb0port0: link state changed to UP >>> init died (signal 0, exit 1) >>> panic: Going nowhere without my init! >>> KDB: enter: panic >>> [ thread pid 1 tid 100001 ] >>> Stopped at kdb_enter+0x4c: lui at,0x804b >>> db> bt >>> Tracing pid 1 tid 100001 td 0x8064b000 >>> db_trace_thread+30 (?,?,?,?) ra c736b8a000000018 sp 0 sz 0 >>> 80088bf4+114 (0,?,ffffffff,?) ra c736b8b800000020 sp 100000000 sz 1 >>> 80088000+388 (?,?,?,?) ra c736b8d8000000a8 sp 0 sz 0 >>> db_command_loop+70 (?,?,?,?) ra c736b98000000018 sp 0 sz 0 >>> 8008ab08+f4 (?,?,?,?) ra c736b998000001a8 sp 0 sz 0 >>> kdb_trap+110 (?,?,?,?) ra c736bb4000000030 sp 0 sz 0 >>> trap+c7c (?,?,?,?) ra c736bb70000000c0 sp 0 sz 0 >>> MipsKernGenException+134 (0,0,0,0) ra c736bc30000000c8 sp 100000001 s= z 1 >>> kdb_enter+4c (?,?,?,?) ra c736bcf800000018 sp 0 sz 0 >>> vpanic+ec (?,?,?,?) ra c736bd1000000020 sp 0 sz 0 >>> panic+20 (?,0,0,0) ra c736bd3000000020 sp 1 sz 1 >>> exit1+6c (?,?,?,?) ra c736bd5000000058 sp 0 sz 0 >>> sys_sys_exit+14 (?,?,?,?) ra c736bda800000018 sp 0 sz 0 >>> trap+7a8 (?,?,?,?) ra c736bdc0000000c0 sp 0 sz 0 >>> MipsUserGenException+10c (?,?,?,4093bea0) ra c736be8000000000 sp 0 sz= 0 >>> pid 1 >>> >>> >>> >>> >>> >>> I'm not sure if that matters but I have 64 MB RAM, so I have changed >>> AR71XX_REALMEM to 64*1024*1024. >>> >> I've noticed that higher in the logs there is: >> MAP: No valid partition found at map/rootfs.uncompress >> Today I've updated my HEAD src (to r289115) and built another image and it seems to work. Unfortunately, I didn't check what revision I was at earlier. I just want to ask about a few things in boot logs: MAP: No valid partition found at map/rootfs.uncompress hwpmc: SOFT/16/64/0x67 MIPS24K/2/32/0x1ff Root mount waiting for: usbus0 uhub0: 1 port with 1 removable, self powered random: harvesting attach, 8 bytes (4 bits) from uhub0 Trying to mount root from ufs:map/rootfs.uncompress []... warning: no time-of-day clock registered, system time will not be set accurately start_init: trying /sbin/init rtl8366rb0port1: link state changed to UP Oct 10 16:01:31 init: login_getclass: unknown class 'daemon' MAP: No valid partition found at md0 random: unblocking device. MAP: No valid partition found at md0 MAP: No valid partition found at md1 MAP: No valid partition found at md1 MAP: No valid partition found at md2 MAP: No valid partition found at md2 *** Populating /var .. *** Loading configuration files .. *** Restoring from /dev/map/cfg .. gunzip: unknown compression format 1+0 records in 1+0 records out 65536 bytes transferred in 0.168223 secs (389578 bytes/sec) 0 blocks *** Completed. *** setting up hostname *** Load kernel modules .. bridgestp kldload: can't load bridgestp: module already loaded or in kernel .. if_bridge kldload: can't load if_bridge: No such file or directory .. random kldload: can't load random: No such file or directory Should there be those "No valid partition found"? Also, those "No such file or directory" when loading kernel modules also worries me. I'm not sure whether I had these errors before, but now it caught my attention. --2bLxtrmxdILAfvpiLCNOlu1eNSu154Ned Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJWGTsDAAoJEC9nKukRsfY+RbUP/jYZA/z1CGaH7PT+xnYrO6qQ 2S8+KIWg3aYYWIVX3j29NX9JP2tGm6ux06ZWj9kA+J9M9beMCKzx05n8A2UEOfrC wkS2UtKoLfuRLVDskBJ91OhUFUM+fwKgKMj0j9LwQz769Yk3tn/PUAsVjvmi/M3h tvMADIkNM5MEicFaP7msSN7d8HiVc7sy6ATbXFTUPxDxhLlx05WnKhn/tclcRznO HGST+ehdf+UVqV+pLd5RImWhjLLXRVQ4bC4YQ7a1ME3iBF9NvLCncVfpLd5HWGPq C7yA8YU3mWkDEUxK5y4ry6yOOBOS5gDaMgIPw9MLcjnoXzD3Z3wG3Et+ngflRFUp c/aH+vEJJtnT/OLi46uSXyK0w84JwGKN0U4CXRZWoLasopCGhibpnhZM3sxMRBJf m/ne9FmGGIUzkPl6lhMlFWC1MOPS7VORmmaMZr2llit72l5HiW7x0pFcOmjD7CeG ShMk6Rs5UjDwWDoKVWK8FjrCawQyv0I1JLCMEQTCFoesJVndO+I6WFrt0HABt+Lt WSX1vXDPhIwVf6caUN/CVV4GfelmPVHaOrTRyMcqJi1bNq33Fl/eACXJUmboyBXp 6ri2NjotUulTOGfpBXY6+Dowg9H2EuXEfxPSlq4/vXSHyavQQYv53wvm6iKwMsK5 QLzX0NNlO/6Xbr+oysgO =a/gp -----END PGP SIGNATURE----- --2bLxtrmxdILAfvpiLCNOlu1eNSu154Ned--