From owner-freebsd-mips@FreeBSD.ORG Mon Nov 8 12:23:09 2010 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B91BA106566B; Mon, 8 Nov 2010 12:23:09 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 5E0858FC17; Mon, 8 Nov 2010 12:23:09 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id oA8CN886093074; Mon, 8 Nov 2010 07:23:08 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id oA8CN8hd093069; Mon, 8 Nov 2010 12:23:08 GMT (envelope-from tinderbox@freebsd.org) Date: Mon, 8 Nov 2010 12:23:08 GMT Message-Id: <201011081223.oA8CN8hd093069@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on mips/mips X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 12:23:09 -0000 TB --- 2010-11-08 11:38:37 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-11-08 11:38:37 - starting HEAD tinderbox run for mips/mips TB --- 2010-11-08 11:38:37 - cleaning the object tree TB --- 2010-11-08 11:38:51 - cvsupping the source tree TB --- 2010-11-08 11:38:51 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2010-11-08 11:39:15 - building world TB --- 2010-11-08 11:39:15 - MAKEOBJDIRPREFIX=/obj TB --- 2010-11-08 11:39:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-11-08 11:39:15 - TARGET=mips TB --- 2010-11-08 11:39:15 - TARGET_ARCH=mips TB --- 2010-11-08 11:39:15 - TZ=UTC TB --- 2010-11-08 11:39:15 - __MAKE_CONF=/dev/null TB --- 2010-11-08 11:39:15 - cd /src TB --- 2010-11-08 11:39:15 - /usr/bin/make -B buildworld >>> World build started on Mon Nov 8 11:39:16 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] Making grotty.1 from /src/gnu/usr.bin/groff/src/devices/grotty/../../../../../../contrib/groff/src/devices/grotty/grotty.man gzip -cn grotty.1 > grotty.1.gz ===> gnu/usr.bin/groff/src/preproc (all) ===> gnu/usr.bin/groff/src/preproc/eqn (all) c++ -O -pipe -G0 -I/src/gnu/usr.bin/groff/src/preproc/eqn/../../../../../../contrib/groff/src/preproc/eqn -I. -DHAVE_CONFIG_H -I/src/gnu/usr.bin/groff/src/preproc/eqn/../../../../../../contrib/groff/src/include -I/src/gnu/usr.bin/groff/src/preproc/eqn/../../../src/include -fno-rtti -fno-exceptions -c eqn.cpp y.tab.c: In function 'int yygrowstack()': y.tab.c:703: error: invalid conversion from 'void*' to 'short int*' y.tab.c:709: error: invalid conversion from 'void*' to 'YYSTYPE*' *** Error code 1 Stop in /src/gnu/usr.bin/groff/src/preproc/eqn. *** Error code 1 Stop in /src/gnu/usr.bin/groff/src/preproc. *** Error code 1 Stop in /src/gnu/usr.bin/groff/src. *** Error code 1 Stop in /src/gnu/usr.bin/groff. *** Error code 1 Stop in /src/gnu/usr.bin. *** Error code 1 Stop in /src/gnu. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-11-08 12:23:08 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-11-08 12:23:08 - ERROR: failed to build world TB --- 2010-11-08 12:23:08 - 1815.44 user 524.55 system 2671.33 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Tue Nov 9 06:02:57 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21367106567A for ; Tue, 9 Nov 2010 06:02:57 +0000 (UTC) (envelope-from bounce@bounce.quepasa.com) Received: from sm-70-42-226-216.quepasa.com (sm-70-42-226-216.quepasa.com [70.42.226.216]) by mx1.freebsd.org (Postfix) with ESMTP id CF7108FC1A for ; Tue, 9 Nov 2010 06:02:56 +0000 (UTC) Received: from localhost.localdomain ([10.42.226.54]) by sm-70-42-226-216.quepasa.com (StrongMail Enterprise 4.1.1(4.1.1-44201)); Mon, 08 Nov 2010 21:02:53 -0700 X-VirtualServer: Default, sm-70-42-226-216.quepasa.com, 70.42.226.216 X-MailingID: 00000::00000::00000::00000::4::5866844 X-SMHeaderMap: mid="X-MailingID" X-Mailer: StrongMail Enterprise 4.1.1(4.1.1-44201) X-Destination-ID: freebsd-mips@freebsd.org X-SMFBL: ZnJlZWJzZC1taXBzQGZyZWVic2Qub3Jn DomainKey-Signature: a=rsa-sha1; c=nofws; s=sm; d=quepasa.com; q=dns; b=f/XUqHSmkuUBZsIj4UILig3kZrMjXQIzjpvI6MUdcleiNL+mYBLt4wLtVTXTFW5yhW7Q0JPc1PAivWxpo6ybVvOSrK+z5DF99+pTnKaFjzi/FeS4DCVcvWey2/LYW16PWmtXgfh+jXewX9AshIbUtHie270hKXfwh7oBC63Gc4w= DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=quepasa.com; s=sm; i=@quepasa.com; h=To:From:Subject:Date:X-LibVersion:MIME-Version: Content-Type:Content-Transfer-Encoding:X-QPEmailID: X-QPTemplateID:X-MailLocation:X-VirtualServerGroup:X-Client: Return-path:Reply-to:Sender:List-Unsubscribe:Message-ID; bh=lhb6 nb3kwrMFdHfNLovdW0LNyKQ=; b=EgE1GDWFDPabrCvsL5IYop8YZRsUCX/2Hu2a YKvNzQw0py2fY4IYeL8nIWHsC1oJeZCt4uetlkHR88cOzsZLeKqwAe00J32pTnhp uQggLtBnXTyv0iyzZAhTFg9bM0udHjH7aL5TddlTIdXyI2R31Xv5gvXbcqSNLILI Q6gdLS8= To: freebsd-mips@freebsd.org From: Jarupon Mahiphot Date: Mon, 08 Nov 2010 21:00:48 -0700 X-LibVersion: 3.3.2 Content-Transfer-Encoding: quoted-printable X-QPEmailID: 15078556671 X-QPTemplateID: 4 X-MailLocation: Strongmail X-VirtualServerGroup: Default X-Client: 0 Sender: info@quepasa.com Message-ID: <20101109040253.27106.810472406.swift@te-me-001> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format="flowed" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: I added you as a friend on Quepasa.com X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noreply@quepasa.com List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2010 06:02:57 -0000 = = From owner-freebsd-mips@FreeBSD.ORG Wed Nov 10 07:32:04 2010 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DFFB106566C; Wed, 10 Nov 2010 07:32:04 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 5189A8FC1F; Wed, 10 Nov 2010 07:32:04 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id oAA7W3sl084412; Wed, 10 Nov 2010 02:32:03 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id oAA7W3PE084407; Wed, 10 Nov 2010 07:32:03 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 10 Nov 2010 07:32:03 GMT Message-Id: <201011100732.oAA7W3PE084407@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on mips/mips X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2010 07:32:04 -0000 TB --- 2010-11-10 07:31:37 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-11-10 07:31:37 - starting HEAD tinderbox run for mips/mips TB --- 2010-11-10 07:31:37 - cleaning the object tree TB --- 2010-11-10 07:31:46 - cvsupping the source tree TB --- 2010-11-10 07:31:46 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2010-11-10 07:32:02 - building world TB --- 2010-11-10 07:32:02 - MAKEOBJDIRPREFIX=/obj TB --- 2010-11-10 07:32:02 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-11-10 07:32:02 - TARGET=mips TB --- 2010-11-10 07:32:02 - TARGET_ARCH=mips TB --- 2010-11-10 07:32:02 - TZ=UTC TB --- 2010-11-10 07:32:02 - __MAKE_CONF=/dev/null TB --- 2010-11-10 07:32:02 - cd /src TB --- 2010-11-10 07:32:02 - /usr/bin/make -B buildworld "/src/Makefile.inc1", line 138: Unknown target mips:mips. *** Error code 1 Stop in /src. TB --- 2010-11-10 07:32:03 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-11-10 07:32:03 - ERROR: failed to build world TB --- 2010-11-10 07:32:03 - 2.52 user 10.20 system 25.35 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Wed Nov 10 12:44:17 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17CAB106566C for ; Wed, 10 Nov 2010 12:44:17 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id C3B8E8FC0C for ; Wed, 10 Nov 2010 12:44:16 +0000 (UTC) Received: by ywj3 with SMTP id 3so317838ywj.13 for ; Wed, 10 Nov 2010 04:44:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=QtJSsKcllPAzsVg9EwvJDuS4tDhMGcK+HAA7H2Z3CYY=; b=cNXq2XdPs03Na1SkXKCjfFJZW6KbR/h0rcbJilDPwqfldrS7IpayQu9hW45xhkHS9R iINxA2fIhTZmwKkXZfWxCCuAPcFwG5d270dqGTFnbb2OVd2PxPjlbnQVH1iicD7cD+Fp kEtYUCytnqvdhOwBKmfnk0K96Ja3v+d1QW2rQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=HhlkIAslySdNUPjoalCHFlESH9g51Xv/bkYEBVTGjM2BSBuUaW4c3Q3TD+MImiwIUj xzFQrPnf1HfHMH/h2WFHW+lME5X4T2chO9+IURIyUGn7BGaYCP8kKD5i65+UHqiyDe0P NxuWLeyeN9ZhpLutn3ZkhK74R/0DZFlJq+qHY= Received: by 10.100.109.8 with SMTP id h8mr4884692anc.106.1289391720600; Wed, 10 Nov 2010 04:22:00 -0800 (PST) Received: from [192.168.0.86] ([187.39.25.246]) by mx.google.com with ESMTPS id w3sm793861anw.25.2010.11.10.04.21.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 10 Nov 2010 04:21:59 -0800 (PST) From: Luiz Otavio O Souza Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Wed, 10 Nov 2010 10:21:55 -0200 Message-Id: To: freebsd-mips@freebsd.org, =?iso-8859-1?Q?=22Lista_Brasileira_de_Discuss=E3o_sobre_FreeBSD_?= =?iso-8859-1?Q?=28FUG-BR=29=22?= Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) Cc: Subject: First RSPRO deployed ! X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2010 12:44:17 -0000 Hello everyone, This is just a FYI about my first RSPRO deployed and my satisfaction = with it :) I'm running a slightly modified version of current (for the RTC support = and basic multi-phy/switch support - still without vlan support). I've replaced my old P4 server and my (also old) wireless AP by this = RSPRO with a ubiquiti SR-2 card. The only problem i had was with the WPA - hostapd - setup (never did it = before, so i probably have screwed the setup). Here is the dmesg: http://pastebin.com/BGsAun6b The ifconfig: http://pastebin.com/Vf5pqaQs Disks and slices: http://pastebin.com/2jc0fJPh GPIO devices: http://pastebin.com/FvhQW5iL All installed ports: http://pastebin.com/yHcszFpR It's running fully static, booting a gziped kernel from onboard flash = and with a full system on a 8GB SD card (i've another two 4GB memsticks, = one is used for ports and the other for sources and obj). Thanks to everyone involved ! Cheers, Luiz= From owner-freebsd-mips@FreeBSD.ORG Wed Nov 10 15:27:13 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4B331065695 for ; Wed, 10 Nov 2010 15:27:13 +0000 (UTC) (envelope-from freebsd-mips@dino.sk) Received: from loki.netlab.sk (loki.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id 96DEA8FC16 for ; Wed, 10 Nov 2010 15:27:13 +0000 (UTC) Received: from door.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: PLAIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by loki.netlab.sk with esmtp; Wed, 10 Nov 2010 16:25:56 +0100 id 00033C18.4CDAB984.00003753 From: Milan Obuch To: freebsd-mips@freebsd.org Date: Wed, 10 Nov 2010 16:16:56 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.5.3; i386; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201011101616.59156.freebsd-mips@dino.sk> Cc: Subject: Re: First RSPRO deployed ! X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2010 15:27:13 -0000 On Wednesday 10 November 2010 13:21:55 Luiz Otavio O Souza wrote: > Hello everyone, > > This is just a FYI about my first RSPRO deployed and my satisfaction with > it :) > Hi, > I'm running a slightly modified version of current (for the RTC support and > basic multi-phy/switch support - still without vlan support). > Could you share your changes/patches? I have this board too and could benefit from it too... you did a bit more already than me... > I've replaced my old P4 server and my (also old) wireless AP by this RSPRO > with a ubiquiti SR-2 card. > Hm, interesting, What do you use it for? > The only problem i had was with the WPA - hostapd - setup (never did it > before, so i probably have screwed the setup). > If you could show config, maybe someone could help you. I have tested WPA setup with two FreeBSD systems and Atheros cards and it worked. I could use my FreeBSD AP as an internet gateway for wifi enabled Nokia E66, too, so I think a verified it a bit :) and this kind of things should not be arch dependent :) > Here is the dmesg: http://pastebin.com/BGsAun6b > > The ifconfig: http://pastebin.com/Vf5pqaQs > > Disks and slices: http://pastebin.com/2jc0fJPh > > GPIO devices: http://pastebin.com/FvhQW5iL > > All installed ports: http://pastebin.com/yHcszFpR > > It's running fully static, booting a gziped kernel from onboard flash and > with a full system on a 8GB SD card (i've another two 4GB memsticks, one > is used for ports and the other for sources and obj). > Again, it would be great if you could share your experience - I would like to run from flash too, but did not came there yet, I am still only at netboot stage with USB flasdisk based file system. Regards, Milan From owner-freebsd-mips@FreeBSD.ORG Wed Nov 10 16:19:07 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19D0F1065679 for ; Wed, 10 Nov 2010 16:19:07 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id C38C58FC19 for ; Wed, 10 Nov 2010 16:19:06 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id oAAG9T8X038108 for ; Wed, 10 Nov 2010 09:09:29 -0700 (MST) (envelope-from imp@bsdimp.com) Message-ID: <4CDAC3B9.20002@bsdimp.com> Date: Wed, 10 Nov 2010 09:09:29 -0700 From: Warner Losh User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.9) Gecko/20100918 Thunderbird/3.1.4 MIME-Version: 1.0 To: freebsd-mips@freebsd.org References: <201011100732.oAA7W3PE084407@freebsd-current.sentex.ca> In-Reply-To: <201011100732.oAA7W3PE084407@freebsd-current.sentex.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [head tinderbox] failure on mips/mips X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2010 16:19:07 -0000 On 11/10/2010 00:32, FreeBSD Tinderbox wrote: > TB --- 2010-11-10 07:31:37 - tinderbox 2.6 running on freebsd-current.sentex.ca > TB --- 2010-11-10 07:31:37 - starting HEAD tinderbox run for mips/mips > TB --- 2010-11-10 07:31:37 - cleaning the object tree > TB --- 2010-11-10 07:31:46 - cvsupping the source tree > TB --- 2010-11-10 07:31:46 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile > TB --- 2010-11-10 07:32:02 - building world > TB --- 2010-11-10 07:32:02 - MAKEOBJDIRPREFIX=/obj > TB --- 2010-11-10 07:32:02 - PATH=/usr/bin:/usr/sbin:/bin:/sbin > TB --- 2010-11-10 07:32:02 - TARGET=mips > TB --- 2010-11-10 07:32:02 - TARGET_ARCH=mips > TB --- 2010-11-10 07:32:02 - TZ=UTC > TB --- 2010-11-10 07:32:02 - __MAKE_CONF=/dev/null > TB --- 2010-11-10 07:32:02 - cd /src > TB --- 2010-11-10 07:32:02 - /usr/bin/make -B buildworld > "/src/Makefile.inc1", line 138: Unknown target mips:mips. This is my fault. I'll get this taken care of. Warner > *** Error code 1 > > Stop in /src. > TB --- 2010-11-10 07:32:03 - WARNING: /usr/bin/make returned exit code 1 > TB --- 2010-11-10 07:32:03 - ERROR: failed to build world > TB --- 2010-11-10 07:32:03 - 2.52 user 10.20 system 25.35 real > > > http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://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 Nov 10 22:22:11 2010 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BC3E106566B; Wed, 10 Nov 2010 22:22:11 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 19F298FC0C; Wed, 10 Nov 2010 22:22:10 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id oAAMMA6q016348; Wed, 10 Nov 2010 17:22:10 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id oAAMMAQf016347; Wed, 10 Nov 2010 22:22:10 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 10 Nov 2010 22:22:10 GMT Message-Id: <201011102222.oAAMMAQf016347@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on mips/mips X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2010 22:22:11 -0000 TB --- 2010-11-10 22:21:49 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-11-10 22:21:49 - starting HEAD tinderbox run for mips/mips TB --- 2010-11-10 22:21:49 - cleaning the object tree TB --- 2010-11-10 22:21:49 - cvsupping the source tree TB --- 2010-11-10 22:21:49 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2010-11-10 22:22:07 - building world TB --- 2010-11-10 22:22:07 - MAKEOBJDIRPREFIX=/obj TB --- 2010-11-10 22:22:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-11-10 22:22:07 - TARGET=mips TB --- 2010-11-10 22:22:07 - TARGET_ARCH=mips TB --- 2010-11-10 22:22:07 - TZ=UTC TB --- 2010-11-10 22:22:07 - __MAKE_CONF=/dev/null TB --- 2010-11-10 22:22:07 - cd /src TB --- 2010-11-10 22:22:07 - /usr/bin/make -B buildworld "/src/Makefile.inc1", line 138: Unknown target mips:mips. *** Error code 1 Stop in /src. TB --- 2010-11-10 22:22:10 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-11-10 22:22:10 - ERROR: failed to build world TB --- 2010-11-10 22:22:10 - 2.12 user 6.92 system 20.59 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Thu Nov 11 08:49:56 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DAD31065672 for ; Thu, 11 Nov 2010 08:49:56 +0000 (UTC) (envelope-from larry.vaden@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id E928C8FC0A for ; Thu, 11 Nov 2010 08:49:55 +0000 (UTC) Received: by wwi18 with SMTP id 18so807374wwi.31 for ; Thu, 11 Nov 2010 00:49:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=n996QM5SRSYa3US24sEsFdxSqc7Wwba+FRqrve+qSr0=; b=wJP/OriAkEsgl1HhltHey713eqSd4KfkfeH+ja6KRuilt/mPuj47tms7lizne352j/ Sh2m7v7NhKIQLD0hAbhdr/KOV02F7gkF1d9+LVgH5CRXoJhYxrKC0H2QUq1scchbOY32 EszeXwb7RuojLV8bmh+uJk6GINeSweHsFcZd8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=gkH2nlzhEZpjqPsPGXoVDtlhBlocpucbGgcrGPm2Xw6cpDKRuNYTNqSRwbhgrNUwTq zxQdXw1GfGtK2Hkgsqan69WbX53NNyeJ6Pbl14Hvr2HA63PoQYSUKZDpMUq/PAEoRe+l 04t7dzpc+FxrXaRG4DUbGnfcBpzO8Xw1g56As= MIME-Version: 1.0 Received: by 10.216.235.41 with SMTP id t41mr2062930weq.55.1289463719029; Thu, 11 Nov 2010 00:21:59 -0800 (PST) Sender: larry.vaden@gmail.com Received: by 10.216.242.12 with HTTP; Thu, 11 Nov 2010 00:21:59 -0800 (PST) Date: Thu, 11 Nov 2010 02:21:59 -0600 X-Google-Sender-Auth: 21vkyCPiOneJR6fojLexjNQ_iJw Message-ID: From: Larry Vaden To: freebsd-mips@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: does anyone have a recommendation for a solid FreeBSD-based 802.11b/g/n AP package for MIPS-based APs and CPEs? X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2010 08:49:56 -0000 We are seeing the "stuck beacon" problem and the NETDEV WATCHDOG problem on Rocket M2 and Bullet M2 running AirOS 5.3-beta2 and the "stuck beacon" problem on Bullet 2 HP running AirOS 3.5.1 Both AirOS 3.x and 5.x are based on openwrt. Does anyone have a recommendation for a solid FreeBSD-based 802.11b/g/n AP package for the Ubiquiti family and for the Tranzeo EX2-8? Your input is really appreciated. kind regards/ldv Larry Vaden Internet Texoma, Inc. Serving Rural Texomaland Since 1995 We Care About Your Connection! XM.v5.3-beta2.6873.101018.1811# dmesg | grep -i "stuck beacon" | wc -l 91 [94009.052000] ath_bstuck_tasklet: stuck beacon; resetting (bmiss count 9) XM.v5.3-beta2.6873.101018.1811# dmesg | grep -i "watchdog" [ 7945.985000] NETDEV WATCHDOG: wifi0: transmit timed out XM.v5.3-beta2.6873.101018.1811# From owner-freebsd-mips@FreeBSD.ORG Thu Nov 11 11:14:36 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 952A21065670 for ; Thu, 11 Nov 2010 11:14:36 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4A39C8FC1C for ; Thu, 11 Nov 2010 11:14:36 +0000 (UTC) Received: by ywa8 with SMTP id 8so567627ywa.13 for ; Thu, 11 Nov 2010 03:14:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=7hgMBY/zWsZ9sX4J7rSgr5bhbClIZU18jdX17e0E89U=; b=dzZwfxNVpoJIGxOXCrs56UJOOcbJ90CRXGtngvwKgshcclZZDwGIIVP07oGeovaWou A26s2giOKlFf3sbpMxkZXLJ5oshuMPTaBnNy2X+Wk2ngIFMhEWqE5H4t2bCW5ZkScX8c uR4LJmk9RiibOoyFUYzP9x8jx+kNhlHUQFsTM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=XKcZDD3tiQxu5p/nfjGbClZmRM3EHgqDcBQg+zP3JHqhhpTPI0P6cwGeeRN7Xg65+n YkXxWSCMQXxXE8ybDbTfV6ZV715d6o79xEntCxGchaMQi6z0CMFXQTLF7cK/oozPnCj+ EzMZztaJU6oBTgQ+1wRgLSWur0Z78R+7x2LY8= Received: by 10.150.50.11 with SMTP id x11mr1565555ybx.106.1289474075201; Thu, 11 Nov 2010 03:14:35 -0800 (PST) Received: from [192.168.0.86] ([187.39.25.246]) by mx.google.com with ESMTPS id z30sm1418157yhc.9.2010.11.11.03.14.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 11 Nov 2010 03:14:34 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Luiz Otavio O Souza In-Reply-To: <201011101616.59156.freebsd-mips@dino.sk> Date: Thu, 11 Nov 2010 09:14:30 -0200 Content-Transfer-Encoding: quoted-printable Message-Id: <2ECB603F-5E21-424E-8EF7-5F7189887AEC@gmail.com> References: <201011101616.59156.freebsd-mips@dino.sk> To: Milan Obuch X-Mailer: Apple Mail (2.1081) Cc: freebsd-mips@freebsd.org Subject: Re: First RSPRO deployed ! X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2010 11:14:36 -0000 On Nov 10, 2010, at 1:16 PM, Milan Obuch wrote: > On Wednesday 10 November 2010 13:21:55 Luiz Otavio O Souza wrote: >> Hello everyone, >>=20 >> This is just a FYI about my first RSPRO deployed and my satisfaction = with >> it :) >>=20 >=20 > Hi, >=20 >> I'm running a slightly modified version of current (for the RTC = support and >> basic multi-phy/switch support - still without vlan support). >>=20 >=20 > Could you share your changes/patches? I have this board too and could = benefit=20 > from it too... you did a bit more already than me... Hi Milan, Sure, all my patches/changes are available, but as i said, it's only = small changes... >> I've replaced my old P4 server and my (also old) wireless AP by this = RSPRO >> with a ubiquiti SR-2 card. >>=20 >=20 > Hm, interesting, What do you use it for? >=20 It is just a home/office router with low traffic (cheap cable = connection) but with a few 24x7 connections (so i'm more for stability = and features than speed). >> The only problem i had was with the WPA - hostapd - setup (never did = it >> before, so i probably have screwed the setup). >>=20 >=20 > If you could show config, maybe someone could help you. I have tested = WPA=20 > setup with two FreeBSD systems and Atheros cards and it worked. I = could use my=20 > FreeBSD AP as an internet gateway for wifi enabled Nokia E66, too, so = I think=20 > a verified it a bit :) and this kind of things should not be arch = dependent :) Here is my config (ifconfig - rc.conf): hostapd_enable=3D"YES" wlans_ath0=3D"wlan1" create_args_wlan1=3D"wlanmode hostap mode 11g descr wireless-ap" ifconfig_wlan1=3D"ssid wpa-test channel 1" My hostapd.conf: http://pastebin.com/fz6pNfHX (have tried with and without preamble, with eapol_version =3D 1 and 2 = and with wpa =3D 1 and 3) Here is the syslog output: http://pastebin.com/YaQHtfVr The problem is, i've only an iphone to test this atm... I've another ubiquiti card and another rspro, i'll try to test the wpa = setup using a freebsd client and check if something changes (that's why = i did not asked for help at first time, i've not tried everything yet - = but help is always welcome). >=20 >> Here is the dmesg: http://pastebin.com/BGsAun6b >>=20 >> The ifconfig: http://pastebin.com/Vf5pqaQs >>=20 >> Disks and slices: http://pastebin.com/2jc0fJPh >>=20 >> GPIO devices: http://pastebin.com/FvhQW5iL >>=20 >> All installed ports: http://pastebin.com/yHcszFpR >>=20 >> It's running fully static, booting a gziped kernel from onboard flash = and >> with a full system on a 8GB SD card (i've another two 4GB memsticks, = one >> is used for ports and the other for sources and obj). >>=20 >=20 > Again, it would be great if you could share your experience - I would = like to=20 > run from flash too, but did not came there yet, I am still only at = netboot=20 > stage with USB flasdisk based file system. >=20 > Regards, > Milan adrian@ keeps a wiki page with some information about this: = http://wiki.freebsd.org/AdrianChadd/UbiquityRouterstationPro I'll poke him about a port for this flash tool, it's very simple to use. I'll also send some of my patches to mailing list. If you need anything else (or if i forget something), just ask :) Regards, Luiz PS: i need some days to rebuild my development environment, it's all off = now... i'm enjoying the silence :)= From owner-freebsd-mips@FreeBSD.ORG Thu Nov 11 13:07:10 2010 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EFF5106566B; Thu, 11 Nov 2010 13:07:10 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 1214A8FC0A; Thu, 11 Nov 2010 13:07:09 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id oABD7998052295; Thu, 11 Nov 2010 08:07:09 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id oABD79og052286; Thu, 11 Nov 2010 13:07:09 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 11 Nov 2010 13:07:09 GMT Message-Id: <201011111307.oABD79og052286@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on mips/mips X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2010 13:07:10 -0000 TB --- 2010-11-11 13:06:50 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-11-11 13:06:50 - starting HEAD tinderbox run for mips/mips TB --- 2010-11-11 13:06:50 - cleaning the object tree TB --- 2010-11-11 13:06:50 - cvsupping the source tree TB --- 2010-11-11 13:06:50 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2010-11-11 13:07:08 - building world TB --- 2010-11-11 13:07:08 - MAKEOBJDIRPREFIX=/obj TB --- 2010-11-11 13:07:08 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-11-11 13:07:08 - TARGET=mips TB --- 2010-11-11 13:07:08 - TARGET_ARCH=mips TB --- 2010-11-11 13:07:08 - TZ=UTC TB --- 2010-11-11 13:07:08 - __MAKE_CONF=/dev/null TB --- 2010-11-11 13:07:08 - cd /src TB --- 2010-11-11 13:07:08 - /usr/bin/make -B buildworld "/src/Makefile.inc1", line 138: Unknown target mips:mips. *** Error code 1 Stop in /src. TB --- 2010-11-11 13:07:09 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-11-11 13:07:09 - ERROR: failed to build world TB --- 2010-11-11 13:07:09 - 2.20 user 7.94 system 18.30 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Thu Nov 11 23:00:06 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16FE31065670 for ; Thu, 11 Nov 2010 23:00:06 +0000 (UTC) (envelope-from freebsd-mips@dino.sk) Received: from loki.netlab.sk (loki.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id 975908FC15 for ; Thu, 11 Nov 2010 23:00:05 +0000 (UTC) Received: from door.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: PLAIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by loki.netlab.sk with esmtp; Fri, 12 Nov 2010 00:08:43 +0100 id 00033C0F.4CDC777B.0000AF57 From: Milan Obuch To: lists.br@gmail.com Date: Thu, 11 Nov 2010 23:59:57 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.5.3; i386; ; ) References: <201011101616.59156.freebsd-mips@dino.sk> <2ECB603F-5E21-424E-8EF7-5F7189887AEC@gmail.com> In-Reply-To: <2ECB603F-5E21-424E-8EF7-5F7189887AEC@gmail.com> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_vVH3M1NU77jX/5V" Message-Id: <201011112359.59958.freebsd-mips@dino.sk> Cc: freebsd-mips@freebsd.org Subject: Re: First RSPRO deployed ! X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2010 23:00:06 -0000 --Boundary-00=_vVH3M1NU77jX/5V Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit On Thursday 11 November 2010 12:14:30 Luiz Otavio O Souza wrote: [snip] > >> I'm running a slightly modified version of current (for the RTC support > >> and basic multi-phy/switch support - still without vlan support). > > > > Could you share your changes/patches? I have this board too and could > > benefit from it too... you did a bit more already than me... > > Hi Milan, > > Sure, all my patches/changes are available, but as i said, it's only small > changes... > Do you have a summary somewhere? [snip] > >> The only problem i had was with the WPA - hostapd - setup (never did it > >> before, so i probably have screwed the setup). > > > > If you could show config, maybe someone could help you. I have tested WPA > > setup with two FreeBSD systems and Atheros cards and it worked. I could > > use my FreeBSD AP as an internet gateway for wifi enabled Nokia E66, > > too, so I think a verified it a bit :) and this kind of things should > > not be arch dependent :) > > Here is my config (ifconfig - rc.conf): > > hostapd_enable="YES" > wlans_ath0="wlan1" > create_args_wlan1="wlanmode hostap mode 11g descr wireless-ap" > ifconfig_wlan1="ssid wpa-test channel 1" > In my case, rc.conf is this: cloned_interfaces="bridge0" wlans_ath0="wlan0" create_args_wlan0="wlanmode ap" ifconfig_fxp0="DHCP" autobridge_interfaces="bridge0" autobridge_bridge0="fxp0 wlan0" ifconfig_bridge0="up" hostapd_enable="YES" > My hostapd.conf: http://pastebin.com/fz6pNfHX > > (have tried with and without preamble, with eapol_version = 1 and 2 and > with wpa = 1 and 3) > and my: interface=wlan0 debug=2 ctrl_interface=/var/run/hostapd ctrl_interface_group=wheel ssid=testus wpa=1 wpa_passphrase=testap wpa_key_mgmt=WPA-PSK wpa_pairwise=CCMP TKIP This is all and it works... tested with Nokia E66. [snip] > >> It's running fully static, booting a gziped kernel from onboard flash > >> and with a full system on a 8GB SD card (i've another two 4GB > >> memsticks, one is used for ports and the other for sources and obj). > > > > Again, it would be great if you could share your experience - I would > > like to run from flash too, but did not came there yet, I am still only > > at netboot stage with USB flasdisk based file system. > > > > Regards, > > Milan > > adrian@ keeps a wiki page with some information about this: > http://wiki.freebsd.org/AdrianChadd/UbiquityRouterstationPro > I know about this page... actually, I am using patches mentioned there, downloaded from http://people.freebsd.org/~kan/usb_rspro.diff so I can use USB. Also, I use attached kernel config, but this needs some changes. For RTC a patch is probably necessary. GPIO definition needs to be changed a bit. I did not test any miniPCI card yet. Maybe again some patch is needed... I found http://people.freebsd.org/~adrian/rspro/ - do you use any patch from there? Last thing coming from your dmesg - where did you get driver for switch connected to arge1 and what could you do with it? Regards, Milan --Boundary-00=_vVH3M1NU77jX/5V Content-Type: text/plain; charset="ISO-8859-1"; name="RSPRO" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="RSPRO" ident AR71XX cpu CPU_MIPS4KC options ISA_MIPS32 makeoptions TARGET_BIG_ENDIAN makeoptions KERNLOADADDR=0x80050000 options HZ=1000 files "../atheros/files.ar71xx" hints "AR71XX.hints" makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols makeoptions MODULES_OVERRIDE="" options DDB options KDB options SCHED_4BSD # 4BSD scheduler options INET # InterNETworking options PSEUDOFS # Pseudo-filesystem framework options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions device pci device mii device arge device usb options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order device ohci device ehci device umass device scbus device da device gpio device gpioled device spibus device ar71xx_spi device mx25l device geom_label options ROOTDEVNAME=\"ufs:/dev/ufs/MIPSroot\" device ar71xx_wdog device uart device loop device ether device md device bpf device random device if_bridge --Boundary-00=_vVH3M1NU77jX/5V-- From owner-freebsd-mips@FreeBSD.ORG Fri Nov 12 03:51:43 2010 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 834181065674; Fri, 12 Nov 2010 03:51:43 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 42C5E8FC1D; Fri, 12 Nov 2010 03:51:42 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id oAC3pg2N096272; Thu, 11 Nov 2010 22:51:42 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id oAC3pgs9096267; Fri, 12 Nov 2010 03:51:42 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 12 Nov 2010 03:51:42 GMT Message-Id: <201011120351.oAC3pgs9096267@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on mips/mips X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2010 03:51:43 -0000 TB --- 2010-11-12 03:51:12 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-11-12 03:51:12 - starting HEAD tinderbox run for mips/mips TB --- 2010-11-12 03:51:12 - cleaning the object tree TB --- 2010-11-12 03:51:12 - cvsupping the source tree TB --- 2010-11-12 03:51:12 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2010-11-12 03:51:41 - building world TB --- 2010-11-12 03:51:41 - MAKEOBJDIRPREFIX=/obj TB --- 2010-11-12 03:51:41 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-11-12 03:51:41 - TARGET=mips TB --- 2010-11-12 03:51:41 - TARGET_ARCH=mips TB --- 2010-11-12 03:51:41 - TZ=UTC TB --- 2010-11-12 03:51:41 - __MAKE_CONF=/dev/null TB --- 2010-11-12 03:51:41 - cd /src TB --- 2010-11-12 03:51:41 - /usr/bin/make -B buildworld "/src/Makefile.inc1", line 138: Unknown target mips:mips. *** Error code 1 Stop in /src. TB --- 2010-11-12 03:51:42 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-11-12 03:51:42 - ERROR: failed to build world TB --- 2010-11-12 03:51:42 - 2.14 user 7.21 system 29.84 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Fri Nov 12 11:32:21 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 207D7106566B for ; Fri, 12 Nov 2010 11:32:21 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id C5D758FC15 for ; Fri, 12 Nov 2010 11:32:20 +0000 (UTC) Received: by gwj20 with SMTP id 20so1408445gwj.13 for ; Fri, 12 Nov 2010 03:32:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type:subject :date:message-id:to:mime-version:x-mailer; bh=Kz5ujOgfaG1HGXp6hPGftABcr5NNmmDYtgKncosn4Ak=; b=wehzcjYPpGB8fZ1O7gZgX7DXlxURXBbu0RZG3100XwxJEEEq6dfqAqIlmbOCmL7S1X 8Tu9jgYf11B6oVrBydksDOB7IXN4as1nP9Z7zp0NQovzP7ffUyCanDBB/d8tDs3bVMwT J+tU3vIc2VvIVbuJCfZ3KJQXNTZN3JCwQokZQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:subject:date:message-id:to:mime-version:x-mailer; b=EDFrhVGcpZaP0+DDfLB11kvtPEUh6WaQJ1lIvR5clL8xQTl0/umWHUkOoF/q8AbW9H KZViJu2s9BgpB3m5NlYcKMgugcqkkN9WtdaQq56bfoy9XQNJazWxTW0JOxAzS9weLib2 qTzgSXN4J0hbG7f4WKP23pzXgFKnXxS3VeoMg= Received: by 10.150.212.11 with SMTP id k11mr3629647ybg.162.1289561540025; Fri, 12 Nov 2010 03:32:20 -0800 (PST) Received: from [192.168.0.86] ([187.39.25.246]) by mx.google.com with ESMTPS id v8sm824720yba.14.2010.11.12.03.32.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 12 Nov 2010 03:32:18 -0800 (PST) From: Luiz Otavio O Souza Content-Type: multipart/mixed; boundary=Apple-Mail-68--130794239 Date: Fri, 12 Nov 2010 09:32:14 -0200 Message-Id: <10D25047-014A-4FC9-B74D-655729053704@gmail.com> To: freebsd-mips@freebsd.org Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) Subject: [patch] RSPRO RTC hack X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2010 11:32:21 -0000 --Apple-Mail-68--130794239 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hello mips, Here are my patches for the RTC on RSPRO. Please apply the ar71xx_spi_cs_mux.diff first and then the = rspro-rtc.diff. The first patch (ar71xx_spi_cs_mux.diff) is just a cleanup on code that = does the CS selection on SPI driver. It _will_ change the CS number for = onboard flash (please check the RSPRO.hints sample), but other than that = it don't change the behaviour of spi driver (i.e. it doesn't fix the RTC = problem). The real fix (which is a hack) is the second patch (rspro-rtc.diff). The problem with RSPRO RTC is that ar71xx_spi_chip_deactivate() wants to = disable all chips in spi bus by setting all CS pins to high, but in = RSPRO case the CS0 high enables the RTC chip, so (in short) it will = never be disabled (well it is disabled only when flash is used)... With this cenario the RTC chip got lost and fail to understand the first = byte sent as 'command'. My patch simply disables the chip for a while (100ms) before it get = enabled again (it works on activate time). That is the simplest solution = i've found, but it applies only for RSPRO and right now we don't have = anything to track the board model we're running on and enable this (and = others) software hacks as needed. It should not break others boards, but it will add a 100ms delay for = every spi access (without any good reason). Cheers, Luiz --Apple-Mail-68--130794239 Content-Disposition: attachment; filename=ar71xx_spi_cs_mux.diff Content-Type: application/octet-stream; name="ar71xx_spi_cs_mux.diff" Content-Transfer-Encoding: 7bit Index: mips/atheros/ar71xx_spi.c =================================================================== --- mips/atheros/ar71xx_spi.c (revision 215172) +++ mips/atheros/ar71xx_spi.c (working copy) @@ -83,6 +83,7 @@ static int ar71xx_spi_probe(device_t dev) { + device_set_desc(dev, "AR71XX SPI"); return (0); } @@ -102,11 +103,10 @@ return (ENXIO); } - SPI_WRITE(sc, AR71XX_SPI_FS, 1); - sc->sc_reg_ctrl = SPI_READ(sc, AR71XX_SPI_CTRL); + sc->sc_reg_ctrl = SPI_READ(sc, AR71XX_SPI_CTRL); SPI_WRITE(sc, AR71XX_SPI_CTRL, 0x43); - SPI_WRITE(sc, AR71XX_SPI_IO_CTRL, SPI_IO_CTRL_CSMASK); + SPI_WRITE(sc, AR71XX_SPI_IO_CTRL, SPI_IO_CTRL_CS(0)); device_add_child(dev, "spibus", 0); return (bus_generic_attach(dev)); @@ -115,34 +115,37 @@ static void ar71xx_spi_chip_activate(struct ar71xx_spi_softc *sc, int cs) { - uint32_t ioctrl = SPI_IO_CTRL_CSMASK; + /* - * Put respective CSx to low + * Activate the respective device (we have three CS pins allowing + * 7 muxed devices on bus). + * At any given moment only one device should be selected on bus. + * if cs is set to 0 it will be the same as SPI_IO_CTRL_CSMASK + * (0x7 - all pins high - no device selected). */ - ioctrl &= ~(SPI_IO_CTRL_CS0 << cs); - - SPI_WRITE(sc, AR71XX_SPI_IO_CTRL, ioctrl); + SPI_WRITE(sc, AR71XX_SPI_IO_CTRL, SPI_IO_CTRL_CS(cs)); } static void ar71xx_spi_chip_deactivate(struct ar71xx_spi_softc *sc, int cs) { + /* - * Put all CSx to high + * Deactivate all devices, put all CSx to high */ - SPI_WRITE(sc, AR71XX_SPI_IO_CTRL, SPI_IO_CTRL_CSMASK); + SPI_WRITE(sc, AR71XX_SPI_IO_CTRL, SPI_IO_CTRL_CS(0)); } static uint8_t ar71xx_spi_txrx(struct ar71xx_spi_softc *sc, int cs, uint8_t data) { int bit; - /* CS0 */ - uint32_t ioctrl = SPI_IO_CTRL_CSMASK; + uint32_t ioctrl; + /* - * low-level for selected CS + * activate the selected CS */ - ioctrl &= ~(SPI_IO_CTRL_CS0 << cs); + ioctrl = SPI_IO_CTRL_CS(cs); uint32_t iod, rds; for (bit = 7; bit >=0; bit--) { Index: mips/atheros/ar71xxreg.h =================================================================== --- mips/atheros/ar71xxreg.h (revision 215172) +++ mips/atheros/ar71xxreg.h (working copy) @@ -480,7 +480,7 @@ #define SPI_IO_CTRL_CS2 (1 << 18) #define SPI_IO_CTRL_CS1 (1 << 17) #define SPI_IO_CTRL_CS0 (1 << 16) -#define SPI_IO_CTRL_CSMASK (7 << 16) +#define SPI_IO_CTRL_CS(cs) ((7 - cs) << 16) #define SPI_IO_CTRL_CLK (1 << 8) #define SPI_IO_CTRL_DO 1 #define AR71XX_SPI_RDS 0x0C --Apple-Mail-68--130794239 Content-Disposition: attachment; filename=rspro-rtc.diff Content-Type: application/octet-stream; name="rspro-rtc.diff" Content-Transfer-Encoding: 7bit --- mips/atheros/ar71xx_spi.c.orig 2010-11-12 08:14:40.000000000 -0200 +++ mips/atheros/ar71xx_spi.c 2010-11-12 08:49:12.000000000 -0200 @@ -117,6 +117,14 @@ { /* + * This is a hack to deactivate the chip before it get really + * activate right bellow. + * This is only needed by RSPRO RTC (active with high CS0). + */ + SPI_WRITE(sc, AR71XX_SPI_IO_CTRL, SPI_IO_CTRL_CS(cs + 1)); + DELAY(100); + + /* * Activate the respective device (we have three CS pins allowing * 7 muxed devices on bus). * At any given moment only one device should be selected on bus. --Apple-Mail-68--130794239 Content-Disposition: attachment; filename=RSPRO.hints Content-Type: application/octet-stream; name="RSPRO.hints" Content-Transfer-Encoding: 7bit # $FreeBSD: head/sys/mips/conf/AR71XX.hints 202839 2010-01-22 22:14:12Z gonzo $ hint.apb.0.at="nexus0" hint.apb.0.irq=4 # uart0 hint.uart.0.at="apb0" # see atheros/uart_cpu_ar71xx.c why +3 hint.uart.0.maddr=0x18020003 hint.uart.0.msize=0x18 hint.uart.0.irq=3 #ohci hint.ohci.0.at="apb0" hint.ohci.0.maddr=0x1c000000 hint.ohci.0.msize=0x01000000 hint.ohci.0.irq=6 #ehci hint.ehci.0.at="nexus0" hint.ehci.0.maddr=0x1b000000 hint.ehci.0.msize=0x01000000 hint.ehci.0.irq=1 # pci hint.pcib.0.at="nexus0" hint.pcib.0.irq=0 hint.arge.0.at="nexus0" hint.arge.0.maddr=0x19000000 hint.arge.0.msize=0x1000 hint.arge.0.irq=2 # PHY4 = 1 << 4 hint.arge.0.phymask=0x10 hint.arge.1.at="nexus0" hint.arge.1.maddr=0x1a000000 hint.arge.1.msize=0x1000 hint.arge.1.irq=3 # PHY1, PHY2, PHY3 hint.arge.1.phymask=0x0e hint.arge.1.media=1000 hint.arge.1.fduplex=1 # RSPRO _really_ need the above two lines ! # SPIBUS hint.spi.0.at="nexus0" hint.spi.0.maddr=0x1f000000 hint.spi.0.msize=0x10 # SPI flash hint.mx25l.0.at="spibus0" hint.mx25l.0.cs=1 # shares the same bus with mx25l. # CE low for flash, CE high for RTC hint.rtc.0.at="spibus0" hint.rtc.0.cs=0 # Watchdog hint.ar71xx_wdog.0.at="nexus0" # GPIO hint.gpio.0.at="apb0" hint.gpio.0.maddr=0x18040000 hint.gpio.0.msize=0x1000 hint.gpio.0.irq=2 # RF led - pin 2 hint.gpioled.0.at="gpiobus0" hint.gpioled.0.name="rfled" hint.gpioled.0.pins=0x0004 # gpio i2c # Pin 1 - SCL # Pin 2 - SDA hint.gpioiic.0.at="gpiobus0" hint.gpioiic.0.pins=0x0003 --Apple-Mail-68--130794239-- From owner-freebsd-mips@FreeBSD.ORG Fri Nov 12 18:36:39 2010 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 606B3106566C; Fri, 12 Nov 2010 18:36:39 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 224D38FC13; Fri, 12 Nov 2010 18:36:38 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id oACIaclG033988; Fri, 12 Nov 2010 13:36:38 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id oACIacOi033982; Fri, 12 Nov 2010 18:36:38 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 12 Nov 2010 18:36:38 GMT Message-Id: <201011121836.oACIacOi033982@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on mips/mips X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2010 18:36:39 -0000 TB --- 2010-11-12 18:36:20 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-11-12 18:36:20 - starting HEAD tinderbox run for mips/mips TB --- 2010-11-12 18:36:20 - cleaning the object tree TB --- 2010-11-12 18:36:20 - cvsupping the source tree TB --- 2010-11-12 18:36:20 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2010-11-12 18:36:37 - building world TB --- 2010-11-12 18:36:37 - MAKEOBJDIRPREFIX=/obj TB --- 2010-11-12 18:36:37 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-11-12 18:36:37 - TARGET=mips TB --- 2010-11-12 18:36:37 - TARGET_ARCH=mips TB --- 2010-11-12 18:36:37 - TZ=UTC TB --- 2010-11-12 18:36:37 - __MAKE_CONF=/dev/null TB --- 2010-11-12 18:36:37 - cd /src TB --- 2010-11-12 18:36:37 - /usr/bin/make -B buildworld "/src/Makefile.inc1", line 138: Unknown target mips:mips. *** Error code 1 Stop in /src. TB --- 2010-11-12 18:36:38 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-11-12 18:36:38 - ERROR: failed to build world TB --- 2010-11-12 18:36:38 - 2.14 user 7.11 system 17.56 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Sat Nov 13 04:40:49 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A4F51065674 for ; Sat, 13 Nov 2010 04:40:49 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 88ACE8FC12 for ; Sat, 13 Nov 2010 04:40:48 +0000 (UTC) Received: by wwj40 with SMTP id 40so677155wwj.31 for ; Fri, 12 Nov 2010 20:40:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=4kBMWRWKJVbKpbgN0knrv9C8JuS9sqfde6PdgpIRgFM=; b=GcpsNbexvLHvmov8xcRQStWolW1rBdQNCozl9SZLMGIU8KRG3VvbFSTVeUwXuKiTNx NlSwvKeqH80qesmwB3+qwHRQRsBCvyCZgOjuVdZmXODwO/zV9cw4G8O2Oi4bhdjpM8q/ D1vSYgJh1tP6gp1JcfMm/g+25x5OaV2JeydYM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=cOliIXZaTKr2rQw7HdefF2ld2cuYN47BNOwh87GMsWg4x2E1NXYSkz+tUMFdyHvWcF T8DaME8xR8oYljePDIpeBAAFVXN0oIJxdfQj4QcAdc1KQfDWI29vAX0gpqI7pDCpu3oV ZkPC1LLw6c0ysmGSvxuZuRwukewCjk/lm7K1I= MIME-Version: 1.0 Received: by 10.216.157.6 with SMTP id n6mr2823838wek.35.1289621558726; Fri, 12 Nov 2010 20:12:38 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.65.210 with HTTP; Fri, 12 Nov 2010 20:12:38 -0800 (PST) In-Reply-To: References: Date: Sat, 13 Nov 2010 12:12:38 +0800 X-Google-Sender-Auth: lwRedFOmaafzMgTObabq_LzOjU8 Message-ID: From: Adrian Chadd To: Larry Vaden Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-mips@freebsd.org Subject: Re: does anyone have a recommendation for a solid FreeBSD-based 802.11b/g/n AP package for MIPS-based APs and CPEs? X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Nov 2010 04:40:49 -0000 Hiya, I have a Bullet M2 here on loan (I'm not sure how long I'll have it for though.) I've done some initial investigation into what it'd take to get FreeBSD up and running on it. In short: * It's a different SoC than what's currently supported (ar71xx/ar724x/ar913x) - we'd have to port the SoC framework, ethernet device and the Atheros Peripheral Bus glue (APB) * I'm not yet sure on the radio - maybe our HAL supports it? * It has very limited RAM/flash; squeezing FreeBSD into that won't be impossible but it'll be a challenge. I've been working out the kinks in the AR9160 support at the moment in preparation for some further 11n work. Since I'm mostly doing that in my spare time at the moment, I've no ETA on it. IIRC, AirOS is based on openwrt but with a local, closed-source atheros driver. :/ Ask me about the Bullet M2 in a couple weeks. I'll have finished my exams then and I'll see if I can bring up FreeBSD on this particular SoC. Adrian On 11 November 2010 16:21, Larry Vaden wrote: > We are seeing the "stuck beacon" problem and the NETDEV WATCHDOG > problem on Rocket M2 and Bullet M2 running AirOS 5.3-beta2 and the > "stuck beacon" problem on Bullet 2 HP running AirOS 3.5.1 Both AirOS > 3.x and 5.x are based on openwrt. > > Does anyone have a recommendation for a solid FreeBSD-based > 802.11b/g/n AP package for the Ubiquiti family and for the Tranzeo > EX2-8? > > Your input is really appreciated. > > kind regards/ldv > > Larry Vaden > Internet Texoma, Inc. > Serving Rural Texomaland Since 1995 > We Care About Your Connection! > > XM.v5.3-beta2.6873.101018.1811# dmesg | grep -i "stuck beacon" | wc -l > 91 > > [94009.052000] ath_bstuck_tasklet: stuck beacon; resetting (bmiss count 9) > > XM.v5.3-beta2.6873.101018.1811# dmesg | grep -i "watchdog" > [ 7945.985000] NETDEV WATCHDOG: wifi0: transmit timed out > XM.v5.3-beta2.6873.101018.1811# > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" > From owner-freebsd-mips@FreeBSD.ORG Sat Nov 13 04:42:29 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78082106566C for ; Sat, 13 Nov 2010 04:42:29 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0351A8FC0C for ; Sat, 13 Nov 2010 04:42:28 +0000 (UTC) Received: by wyb36 with SMTP id 36so679815wyb.13 for ; Fri, 12 Nov 2010 20:42:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=PcajgLhjD/FMylXLaOVvDR25+ttJPkCyoW9VemCVNro=; b=O31ks8bDPVmKe13s1nUUaO40KzdDh698I9jNoA9lpDSjFjKu4t5eiC3YuyjIRQbrFH qQP6M2j5NKL22OTcIN3kVPt354DVRWWxf3dzmQV6wc0iGxE13hTF4A7HrHO91Q0AD2gj jt1QbXBPZoHBOJn9PVBiNBUGvJdmzDGvkgs7c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=vyMR+4gAkPTAzobcptS8KSKcsMiy/Js8DyQWcvTTkVjJzjboKhd0Z94TYG4q4nDKt8 Di9YKl+9PaJfDRdRTaVd4HuVfOzhqbTLa8cSG8Bck9LUyKraFhA9S05ZKsXoE9zrZBYK 4FPC28jnmSVZI/L9t5Bq6q6FgTfUy/Z+i1Qbo= MIME-Version: 1.0 Received: by 10.216.157.6 with SMTP id n6mr2824395wek.35.1289621623946; Fri, 12 Nov 2010 20:13:43 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.65.210 with HTTP; Fri, 12 Nov 2010 20:13:43 -0800 (PST) In-Reply-To: References: Date: Sat, 13 Nov 2010 12:13:43 +0800 X-Google-Sender-Auth: GnlRQ76rKKLDR72DZ3zXwwKkUxs Message-ID: From: Adrian Chadd To: Larry Vaden Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-mips@freebsd.org Subject: Re: does anyone have a recommendation for a solid FreeBSD-based 802.11b/g/n AP package for MIPS-based APs and CPEs? X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Nov 2010 04:42:29 -0000 Btw - in a lot of cases, "stuck beacon" is your card telling you "your RF environment is such that I'm unable to find a quiet period to consider the medium suitable to transmit." HTH, Adrian On 13 November 2010 12:12, Adrian Chadd wrote: > Hiya, > > I have a Bullet M2 here on loan (I'm not sure how long I'll have it for > though.) I've done some initial investigation into what it'd take to get > FreeBSD up and running on it. > > In short: > > * It's a different SoC than what's currently supported > (ar71xx/ar724x/ar913x) - we'd have to port the SoC framework, ethernet > device and the Atheros Peripheral Bus glue (APB) > * I'm not yet sure on the radio - maybe our HAL supports it? > * It has very limited RAM/flash; squeezing FreeBSD into that won't be > impossible but it'll be a challenge. > > I've been working out the kinks in the AR9160 support at the moment in > preparation for some further 11n work. Since I'm mostly doing that in my > spare time at the moment, I've no ETA on it. > > IIRC, AirOS is based on openwrt but with a local, closed-source atheros > driver. :/ > > Ask me about the Bullet M2 in a couple weeks. I'll have finished my exams > then and I'll see if I can bring up FreeBSD on this particular SoC. > > > > Adrian > > > On 11 November 2010 16:21, Larry Vaden wrote: > >> We are seeing the "stuck beacon" problem and the NETDEV WATCHDOG >> problem on Rocket M2 and Bullet M2 running AirOS 5.3-beta2 and the >> "stuck beacon" problem on Bullet 2 HP running AirOS 3.5.1 Both AirOS >> 3.x and 5.x are based on openwrt. >> >> Does anyone have a recommendation for a solid FreeBSD-based >> 802.11b/g/n AP package for the Ubiquiti family and for the Tranzeo >> EX2-8? >> >> Your input is really appreciated. >> >> kind regards/ldv >> >> Larry Vaden >> Internet Texoma, Inc. >> Serving Rural Texomaland Since 1995 >> We Care About Your Connection! >> >> XM.v5.3-beta2.6873.101018.1811# dmesg | grep -i "stuck beacon" | wc -l >> 91 >> >> [94009.052000] ath_bstuck_tasklet: stuck beacon; resetting (bmiss count 9) >> >> XM.v5.3-beta2.6873.101018.1811# dmesg | grep -i "watchdog" >> [ 7945.985000] NETDEV WATCHDOG: wifi0: transmit timed out >> XM.v5.3-beta2.6873.101018.1811# >> _______________________________________________ >> freebsd-mips@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-mips >> To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" >> > > From owner-freebsd-mips@FreeBSD.ORG Sat Nov 13 08:24:41 2010 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 303931065695; Sat, 13 Nov 2010 08:24:41 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id DDE348FC1B; Sat, 13 Nov 2010 08:24:40 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id oAD8OeBd090179; Sat, 13 Nov 2010 03:24:40 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id oAD8OepA090170; Sat, 13 Nov 2010 08:24:40 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 13 Nov 2010 08:24:40 GMT Message-Id: <201011130824.oAD8OepA090170@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on mips/mips X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Nov 2010 08:24:41 -0000 TB --- 2010-11-13 08:23:58 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-11-13 08:23:58 - starting HEAD tinderbox run for mips/mips TB --- 2010-11-13 08:23:58 - cleaning the object tree TB --- 2010-11-13 08:23:58 - cvsupping the source tree TB --- 2010-11-13 08:23:58 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2010-11-13 08:24:39 - building world TB --- 2010-11-13 08:24:39 - MAKEOBJDIRPREFIX=/obj TB --- 2010-11-13 08:24:39 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-11-13 08:24:39 - TARGET=mips TB --- 2010-11-13 08:24:39 - TARGET_ARCH=mips TB --- 2010-11-13 08:24:39 - TZ=UTC TB --- 2010-11-13 08:24:39 - __MAKE_CONF=/dev/null TB --- 2010-11-13 08:24:39 - cd /src TB --- 2010-11-13 08:24:39 - /usr/bin/make -B buildworld "/src/Makefile.inc1", line 138: Unknown target mips:mips. *** Error code 1 Stop in /src. TB --- 2010-11-13 08:24:40 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-11-13 08:24:40 - ERROR: failed to build world TB --- 2010-11-13 08:24:40 - 2.07 user 5.94 system 41.88 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Sat Nov 13 14:11:17 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC843106564A; Sat, 13 Nov 2010 14:11:17 +0000 (UTC) (envelope-from larry.vaden@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 342DB8FC16; Sat, 13 Nov 2010 14:11:16 +0000 (UTC) Received: by wyb36 with SMTP id 36so970671wyb.13 for ; Sat, 13 Nov 2010 06:11:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=87H3GC46+SX4BL4CE7hfizbwWvnLercFhXuqfoTRsxY=; b=TQgdQlIBQisU5nlFo4nPC1p3TYnljJzPTkAYaHgdrq8X4n+LWytlBpUwsBk/2dh3jC vNKVClUpLlyRK+/gA3m1YwotYqUg61QClFuqYwj8riuuW0tFunYeq7DjhJOqWDN8rfIr RcWddgsHupgJ2SCRZ81dJ2wd8u2l/U3+orQCA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=GlS67iv/3/Iz38WQPqNzoUJ5WABekg+S5Pcur606JlISstfWkHo3soeay4k37/Yh3M 9RV9RrtlrDEkjrqo6PtvHEr7f43ok02XK4pTM8t6wnhq3r7jRGqhql67+J/YJA4rK9Y9 s4/25korrSgYSiDAOTrcGMi/nmyQF7ZGlO19M= MIME-Version: 1.0 Received: by 10.216.70.4 with SMTP id o4mr4790793wed.25.1289657475856; Sat, 13 Nov 2010 06:11:15 -0800 (PST) Sender: larry.vaden@gmail.com Received: by 10.216.242.12 with HTTP; Sat, 13 Nov 2010 06:11:15 -0800 (PST) In-Reply-To: References: Date: Sat, 13 Nov 2010 08:11:15 -0600 X-Google-Sender-Auth: KZOn4iJmPxBcduQnn5DWKMHARlo Message-ID: From: Larry Vaden To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Michael Ford , Neal Midgley , "Robert J. Pera" , freebsd-mips@freebsd.org, Damian Wallace Subject: Re: does anyone have a recommendation for a solid FreeBSD-based 802.11b/g/n AP package for MIPS-based APs and CPEs? X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Nov 2010 14:11:17 -0000 Adrian, Agreed, but also see . I have also proposed to the gentlemen on the cc: that the AP application search for suitable RF operating parameters within the guidelines set by the WISP operator, to include,but not limited to channel, channel width and beacon interval. In fixed wireless, there is no need for such short beacon intervals. In 2003, Cisco published a work around which suggested a beacon interval of 4 seconds. kind regards/ldv On Fri, Nov 12, 2010 at 10:13 PM, Adrian Chadd wrote: > Btw - in a lot of cases, "stuck beacon" is your card telling you "your RF > environment is such that I'm unable to find a quiet period to consider th= e > medium suitable to transmit." > > HTH, > > > Adrian > > On 13 November 2010 12:12, Adrian Chadd wrote: >> >> Hiya, >> >> I have a Bullet M2 here on loan (I'm not sure how long I'll have it for >> though.) I've done some initial investigation into what it'd take to get >> FreeBSD up and running on it. >> >> In short: >> >> * It's a different SoC than what's currently supported >> (ar71xx/ar724x/ar913x) - we'd have to port the SoC framework, ethernet >> device and the Atheros Peripheral Bus glue (APB) >> * I'm not yet sure on the radio - maybe our HAL supports it? >> * It has very limited RAM/flash; squeezing FreeBSD into that won't be >> impossible but it'll be a challenge. >> >> I've been working out the kinks in the AR9160 support at the moment in >> preparation for some further 11n work. Since I'm mostly doing that in my >> spare time at the moment, I've no ETA on it. >> >> IIRC, AirOS is based on openwrt but with a local, closed-source atheros >> driver. :/ >> >> Ask me about the Bullet M2 in a couple weeks. I'll have finished my exam= s >> then and I'll see if I can bring up FreeBSD on this particular SoC. >> >> >> >> Adrian >> >> On 11 November 2010 16:21, Larry Vaden wrote: >>> >>> We are seeing the "stuck beacon" problem and the =C2=A0NETDEV WATCHDOG >>> problem on Rocket M2 and Bullet M2 running AirOS 5.3-beta2 and the >>> "stuck beacon" problem on Bullet 2 HP running AirOS 3.5.1 =C2=A0Both Ai= rOS >>> 3.x and 5.x are based on openwrt. >>> >>> Does anyone have a recommendation for a solid FreeBSD-based >>> 802.11b/g/n AP package for the Ubiquiti family and for the Tranzeo >>> EX2-8? >>> >>> Your input is really appreciated. >>> >>> kind regards/ldv >>> >>> Larry Vaden >>> Internet Texoma, Inc. >>> Serving Rural Texomaland Since 1995 >>> We Care About Your Connection! >>> >>> XM.v5.3-beta2.6873.101018.1811# dmesg | grep -i "stuck beacon" | wc -l >>> 91 >>> >>> [94009.052000] ath_bstuck_tasklet: stuck beacon; resetting (bmiss count >>> 9) >>> >>> XM.v5.3-beta2.6873.101018.1811# dmesg | grep -i "watchdog" >>> [ 7945.985000] NETDEV WATCHDOG: wifi0: transmit timed out >>> XM.v5.3-beta2.6873.101018.1811# >>> _______________________________________________ >>> freebsd-mips@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-mips >>> To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" >> > >