From owner-freebsd-mips@FreeBSD.ORG Sun Feb 2 03:13:39 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9FA228B0; Sun, 2 Feb 2014 03:13:39 +0000 (UTC) Received: from mail.lhr1.as41113.net (mail.lhr1.as41113.net [91.208.177.22]) by mx1.freebsd.org (Postfix) with ESMTP id 619331673; Sun, 2 Feb 2014 03:13:38 +0000 (UTC) Received: from [10.193.246.16] (unknown [91.208.177.186]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lhr1.as41113.net (Postfix) with ESMTPS id 3fGy170fwcz7vXM; Sun, 2 Feb 2014 03:13:31 +0000 (UTC) Message-ID: <52EDB7D8.50808@rewt.org.uk> Date: Sun, 02 Feb 2014 03:13:28 +0000 From: Joe Holden User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Adrian Chadd , Warner Losh Subject: Re: More trapframe panics References: <52E42A1B.3040907@rewt.org.uk> <6354182D-B1D3-4B2E-BEEC-37A2A725A099@bsdimp.com> <52E67F45.20402@rewt.org.uk> <2912AEFA-AA0C-456A-A814-363478BFC900@bsdimp.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-mips@freebsd.org" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Feb 2014 03:13:39 -0000 On 27/01/2014 17:03, Adrian Chadd wrote: > Hi joe, > > Can you post the backtrace? And resolve the symbol names for each of > the stackframes that show up? > > It could be that there's some code doing dumb crap with stack frames > that we can fix in the source. > > > > -a > I tried to get a backtrace (it fell on its arse within 10 hrs of being booted), doing minimal traffic (3 meg at most) and basic pf nat... I actually have one from a few months ago that is fine on 10.0-CURRENT, doing 100+ meg so something must have changed. Since this is my only access to the internet here it is a bit of a PITA when it breaks and I couldn't actually get a useful backtrace as it just spewed multiple pages of perhaps relevant info but I didn't have the ability to capture it then, will try again next time... From owner-freebsd-mips@FreeBSD.ORG Sun Feb 2 16:25:42 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 437A1AD4 for ; Sun, 2 Feb 2014 16:25:42 +0000 (UTC) Received: from hydra.pix.net (hydra.pix.net [IPv6:2001:470:e254::4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A1D38189B for ; Sun, 2 Feb 2014 16:25:41 +0000 (UTC) Received: from torb.pix.net (torb.pix.net [IPv6:2001:470:e254:10:12dd:b1ff:febf:eca9]) (authenticated bits=0) by hydra.pix.net (8.14.5/8.14.5) with ESMTP id s12GPdO9065314; Sun, 2 Feb 2014 11:25:40 -0500 (EST) (envelope-from lidl@pix.net) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.98 at mail.pix.net Message-ID: <52EE7183.1070806@pix.net> Date: Sun, 02 Feb 2014 11:25:39 -0500 From: Kurt Lidl User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-mips@freebsd.org Subject: Re: FreeBSD 10.0 image and build script for EdgeRouter Lite References: <20140125210308.GA6936@rtfm.net> In-Reply-To: <20140125210308.GA6936@rtfm.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Feb 2014 16:25:42 -0000 > Hello all, > > I have a little thing that might be useful for anyone who wants to give > FreeBSD a try on the Ubiquiti EdgeRouter Lite, a ~US$90 Octeon-based 3-port > Ethernet router[1]. Thanks for posting this! I was able to retrieve this image and get it installed on my ERL without any issues. > Hopefully, someone out there gets some enjoyment from this. If you need more > info about the serial console, boot loader, or any other step in the > process, there is also a (hopefully) very easy step by step guide one level > up, at http://rtfm.net/FreeBSD/ERL In booting this up, I see the warning: warning: no time-of-day clock registered, system time will not be set accurately I don't see anything in the kernel config file for a realtime clock or time-of-day chip on these boards. Does anybody know anything about what TOD/RTC these boards have on them. I've got a secondhand report that the clock on these keeps very good time when running the UBNT supplied linux system. Looking at the '/var/log/dmesg' from one of these running the linux system, I didn't see anything related to a RTC/TOD clock, but I might have just missed it in my quick scan of the devices. Any help would be appreciated! Thanks. -Kurt From owner-freebsd-mips@FreeBSD.ORG Mon Feb 3 11:06:49 2014 Return-Path: Delivered-To: freebsd-mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9DA9E116 for ; Mon, 3 Feb 2014 11:06:49 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 892051A4D for ; Mon, 3 Feb 2014 11:06:49 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s13B6nIR022684 for ; Mon, 3 Feb 2014 11:06:49 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s13B6nmE022682 for freebsd-mips@FreeBSD.org; Mon, 3 Feb 2014 11:06:49 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 3 Feb 2014 11:06:49 GMT Message-Id: <201402031106.s13B6nmE022682@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-mips@FreeBSD.org Subject: Current problem reports assigned to freebsd-mips@FreeBSD.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Feb 2014 11:06:49 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/177876 mips [mips] kernel stack overflow panic on mips64, EdgeRout o kern/165951 mips [ar913x] [ath] DDR flush isn't being done for the WMAC 2 problems total. From owner-freebsd-mips@FreeBSD.ORG Tue Feb 4 15:11:15 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D2582EFD; Tue, 4 Feb 2014 15:11:15 +0000 (UTC) Received: from mail.lhr1.as41113.net (mail.lhr1.as41113.net [91.208.177.22]) by mx1.freebsd.org (Postfix) with ESMTP id 97DA71726; Tue, 4 Feb 2014 15:11:14 +0000 (UTC) Received: from [172.21.87.41] (unknown [212.9.98.195]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: lists@rewt.org.uk) by mail.lhr1.as41113.net (Postfix) with ESMTPSA id 3fJTrB6DXXz7v2m; Tue, 4 Feb 2014 15:11:06 +0000 (UTC) Message-ID: <52F10309.2010407@rewt.org.uk> Date: Tue, 04 Feb 2014 15:11:05 +0000 From: Joe Holden User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: "freebsd-mips@freebsd.org" Subject: Quagga[-re] on mips64 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Feb 2014 15:11:15 -0000 Hi chaps, On mips64 (at least), the port produces object files instead of executable binaries, building with --disable-pie fixes that... before I raise a PR, does this look good? --- Makefile.orig 2014-02-04 12:52:20.740310244 +0000 +++ Makefile 2014-02-04 15:04:34.719614897 +0000 @@ -61,6 +61,10 @@ ENABLE_GROUP=quagga .endif +.if ${ARCH:Mmips*} +CONFIGURE_ARGS+=--disable-pie +.endif + CONFIGURE_ARGS+=--enable-user=${ENABLE_USER} CONFIGURE_ARGS+=--enable-group=${ENABLE_GROUP} This produces a working build/package for me at least, only thing I'm not sure on is how that will work if mips packages are ever built for installation by pkg and cross-built. Cheers, Joe From owner-freebsd-mips@FreeBSD.ORG Tue Feb 4 22:24:59 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 601D2593 for ; Tue, 4 Feb 2014 22:24:59 +0000 (UTC) Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2838D13D1 for ; Tue, 4 Feb 2014 22:24:59 +0000 (UTC) Received: by mail-ob0-f175.google.com with SMTP id wn1so10242990obc.34 for ; Tue, 04 Feb 2014 14:24:58 -0800 (PST) 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=XylcHCq+1tYOAMWyn8pCavUXWNEMasyJBWMCWk2ICl4=; b=QlR64Yr3wOLdjoOMKLXgrXQMUKzNeKVATBUeFsgK8wBvJZ7B98WEohx1q2vc1z1X0L R2pM4dbcLGZI6/J35Mj+iKIMdRmzrT3ohUeJ9LtsgSt0dVj+VYRoAWC6ziqpL0c6Ah0t W6g5CalUMeML4bd2taCbszIReyAeS5TjDnvlxw7UzH9OlBiYUB6lFNFwGBTyFF4iGyB1 sdlLrUxEnB5vWCo7rrsOJD5UFQHNCid6/bUrNW2jdJmBYufje7VcGP8DEmqTQutOzM1b hFSjKiU8LqD37zk+ICDF8RHrosh8gP9XJoq+bmLqqhGQ6Hu9YBCdYKD8RSQMkRZMiLl+ krAQ== MIME-Version: 1.0 X-Received: by 10.182.88.69 with SMTP id be5mr4789304obb.55.1391552698319; Tue, 04 Feb 2014 14:24:58 -0800 (PST) Sender: ndorfman@gmail.com Received: by 10.60.74.101 with HTTP; Tue, 4 Feb 2014 14:24:58 -0800 (PST) In-Reply-To: <52EE7183.1070806@pix.net> References: <20140125210308.GA6936@rtfm.net> <52EE7183.1070806@pix.net> Date: Tue, 4 Feb 2014 17:24:58 -0500 X-Google-Sender-Auth: bG5Gss57S_fSKHWsgOfhT7zUpMI Message-ID: Subject: Re: FreeBSD 10.0 image and build script for EdgeRouter Lite From: Nathan Dorfman To: Kurt Lidl Content-Type: text/plain; charset=UTF-8 Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Feb 2014 22:24:59 -0000 On Sun, Feb 2, 2014 at 11:25 AM, Kurt Lidl wrote: > In booting this up, I see the warning: > > warning: no time-of-day clock registered, system time will not be set > accurately > > I don't see anything in the kernel config file for a realtime clock > or time-of-day chip on these boards. Does anybody know anything about > what TOD/RTC these boards have on them. I've got a secondhand report > that the clock on these keeps very good time when running the UBNT > supplied linux system. > > Looking at the '/var/log/dmesg' from one of these running the linux > system, I didn't see anything related to a RTC/TOD clock, but I might > have just missed it in my quick scan of the devices. Hi Kurt, I don't think there is a hardware clock on the device, though I could be wrong. I bet the vendor firmware has NTP on by default, though. You can enable it on FreeBSD by placing these lines in your /etc/rc.conf: ntpd_enable="YES" ntpd_sync_on_start="YES" Then either 'service ntpd start' or just reboot. -nd. From owner-freebsd-mips@FreeBSD.ORG Wed Feb 5 09:21:23 2014 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CCA596DD; Wed, 5 Feb 2014 09:21:23 +0000 (UTC) Received: from worker01.tb.des.no (worker01.tb.des.no [41.154.2.147]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AC90412DE; Wed, 5 Feb 2014 09:21:21 +0000 (UTC) Received: from worker01.tb.des.no (localhost [127.0.0.1]) by worker01.tb.des.no (8.14.5/8.14.5) with ESMTP id s159LHIQ045928; Wed, 5 Feb 2014 11:21:17 +0200 (SAST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by worker01.tb.des.no (8.14.5/8.14.5/Submit) id s159LGdI045818; Wed, 5 Feb 2014 09:21:16 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 5 Feb 2014 09:21:16 GMT Message-Id: <201402050921.s159LGdI045818@worker01.tb.des.no> X-Authentication-Warning: worker01.tb.des.no: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [releng_10 tinderbox] failure on mips/mips Precedence: bulk X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2014 09:21:23 -0000 TB --- 2014-02-05 07:20:43 - tinderbox 2.20 running on worker01.tb.des.no TB --- 2014-02-05 07:20:43 - FreeBSD worker01.tb.des.no 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:42:37 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2014-02-05 07:20:43 - starting RELENG_10 tinderbox run for mips/mips TB --- 2014-02-05 07:20:43 - cleaning the object tree TB --- 2014-02-05 07:20:43 - /usr/local/bin/svn stat --no-ignore /src TB --- 2014-02-05 07:21:34 - At svn revision 261504 TB --- 2014-02-05 07:21:35 - building world TB --- 2014-02-05 07:21:35 - CROSS_BUILD_TESTING=YES TB --- 2014-02-05 07:21:35 - MAKEOBJDIRPREFIX=/obj TB --- 2014-02-05 07:21:35 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2014-02-05 07:21:35 - SRCCONF=/dev/null TB --- 2014-02-05 07:21:35 - TARGET=mips TB --- 2014-02-05 07:21:35 - TARGET_ARCH=mips TB --- 2014-02-05 07:21:35 - TZ=UTC TB --- 2014-02-05 07:21:35 - __MAKE_CONF=/dev/null TB --- 2014-02-05 07:21:35 - cd /src TB --- 2014-02-05 07:21:35 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Wed Feb 5 07:21:45 UTC 2014 >>> 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 >>> World build completed on Wed Feb 5 08:45:27 UTC 2014 TB --- 2014-02-05 08:45:27 - cd /src/sys/mips/conf TB --- 2014-02-05 08:45:27 - /usr/sbin/config -m ADM5120 TB --- 2014-02-05 08:45:27 - skipping ADM5120 kernel TB --- 2014-02-05 08:45:27 - cd /src/sys/mips/conf TB --- 2014-02-05 08:45:27 - /usr/sbin/config -m ALCHEMY TB --- 2014-02-05 08:45:27 - skipping ALCHEMY kernel TB --- 2014-02-05 08:45:27 - cd /src/sys/mips/conf TB --- 2014-02-05 08:45:27 - /usr/sbin/config -m AP121 TB --- 2014-02-05 08:45:27 - building AP121 kernel TB --- 2014-02-05 08:45:27 - CROSS_BUILD_TESTING=YES TB --- 2014-02-05 08:45:27 - MAKEOBJDIRPREFIX=/obj TB --- 2014-02-05 08:45:27 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2014-02-05 08:45:27 - SRCCONF=/dev/null TB --- 2014-02-05 08:45:27 - TARGET=mips TB --- 2014-02-05 08:45:27 - TARGET_ARCH=mips TB --- 2014-02-05 08:45:27 - TZ=UTC TB --- 2014-02-05 08:45:27 - __MAKE_CONF=/dev/null TB --- 2014-02-05 08:45:27 - cd /src TB --- 2014-02-05 08:45:27 - /usr/bin/make -B buildkernel KERNCONF=AP121 >>> Kernel build for AP121 started on Wed Feb 5 08:45:27 UTC 2014 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for AP121 completed on Wed Feb 5 08:50:13 UTC 2014 TB --- 2014-02-05 08:50:13 - cd /src/sys/mips/conf TB --- 2014-02-05 08:50:13 - /usr/sbin/config -m AP91 TB --- 2014-02-05 08:50:13 - building AP91 kernel TB --- 2014-02-05 08:50:13 - CROSS_BUILD_TESTING=YES TB --- 2014-02-05 08:50:13 - MAKEOBJDIRPREFIX=/obj TB --- 2014-02-05 08:50:13 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2014-02-05 08:50:13 - SRCCONF=/dev/null TB --- 2014-02-05 08:50:13 - TARGET=mips TB --- 2014-02-05 08:50:13 - TARGET_ARCH=mips TB --- 2014-02-05 08:50:13 - TZ=UTC TB --- 2014-02-05 08:50:13 - __MAKE_CONF=/dev/null TB --- 2014-02-05 08:50:13 - cd /src TB --- 2014-02-05 08:50:13 - /usr/bin/make -B buildkernel KERNCONF=AP91 >>> Kernel build for AP91 started on Wed Feb 5 08:50:13 UTC 2014 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for AP91 completed on Wed Feb 5 08:57:03 UTC 2014 TB --- 2014-02-05 08:57:03 - cd /src/sys/mips/conf TB --- 2014-02-05 08:57:03 - /usr/sbin/config -m AP93 TB --- 2014-02-05 08:57:03 - building AP93 kernel TB --- 2014-02-05 08:57:03 - CROSS_BUILD_TESTING=YES TB --- 2014-02-05 08:57:03 - MAKEOBJDIRPREFIX=/obj TB --- 2014-02-05 08:57:03 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2014-02-05 08:57:03 - SRCCONF=/dev/null TB --- 2014-02-05 08:57:03 - TARGET=mips TB --- 2014-02-05 08:57:03 - TARGET_ARCH=mips TB --- 2014-02-05 08:57:03 - TZ=UTC TB --- 2014-02-05 08:57:03 - __MAKE_CONF=/dev/null TB --- 2014-02-05 08:57:03 - cd /src TB --- 2014-02-05 08:57:03 - /usr/bin/make -B buildkernel KERNCONF=AP93 >>> Kernel build for AP93 started on Wed Feb 5 08:57:04 UTC 2014 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for AP93 completed on Wed Feb 5 09:04:20 UTC 2014 TB --- 2014-02-05 09:04:20 - cd /src/sys/mips/conf TB --- 2014-02-05 09:04:20 - /usr/sbin/config -m AP94 TB --- 2014-02-05 09:04:20 - building AP94 kernel TB --- 2014-02-05 09:04:20 - CROSS_BUILD_TESTING=YES TB --- 2014-02-05 09:04:20 - MAKEOBJDIRPREFIX=/obj TB --- 2014-02-05 09:04:20 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2014-02-05 09:04:20 - SRCCONF=/dev/null TB --- 2014-02-05 09:04:20 - TARGET=mips TB --- 2014-02-05 09:04:20 - TARGET_ARCH=mips TB --- 2014-02-05 09:04:20 - TZ=UTC TB --- 2014-02-05 09:04:20 - __MAKE_CONF=/dev/null TB --- 2014-02-05 09:04:20 - cd /src TB --- 2014-02-05 09:04:20 - /usr/bin/make -B buildkernel KERNCONF=AP94 >>> Kernel build for AP94 started on Wed Feb 5 09:04:21 UTC 2014 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for AP94 completed on Wed Feb 5 09:12:56 UTC 2014 TB --- 2014-02-05 09:12:56 - cd /src/sys/mips/conf TB --- 2014-02-05 09:12:56 - /usr/sbin/config -m AP96 TB --- 2014-02-05 09:12:56 - building AP96 kernel TB --- 2014-02-05 09:12:56 - CROSS_BUILD_TESTING=YES TB --- 2014-02-05 09:12:56 - MAKEOBJDIRPREFIX=/obj TB --- 2014-02-05 09:12:56 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2014-02-05 09:12:56 - SRCCONF=/dev/null TB --- 2014-02-05 09:12:56 - TARGET=mips TB --- 2014-02-05 09:12:56 - TARGET_ARCH=mips TB --- 2014-02-05 09:12:56 - TZ=UTC TB --- 2014-02-05 09:12:56 - __MAKE_CONF=/dev/null TB --- 2014-02-05 09:12:56 - cd /src TB --- 2014-02-05 09:12:56 - /usr/bin/make -B buildkernel KERNCONF=AP96 >>> Kernel build for AP96 started on Wed Feb 5 09:12:56 UTC 2014 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for AP96 completed on Wed Feb 5 09:21:09 UTC 2014 TB --- 2014-02-05 09:21:09 - cd /src/sys/mips/conf TB --- 2014-02-05 09:21:09 - /usr/sbin/config -m AR71XX_BASE TB --- 2014-02-05 09:21:09 - building AR71XX_BASE kernel TB --- 2014-02-05 09:21:09 - CROSS_BUILD_TESTING=YES TB --- 2014-02-05 09:21:09 - MAKEOBJDIRPREFIX=/obj TB --- 2014-02-05 09:21:09 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2014-02-05 09:21:09 - SRCCONF=/dev/null TB --- 2014-02-05 09:21:09 - TARGET=mips TB --- 2014-02-05 09:21:09 - TARGET_ARCH=mips TB --- 2014-02-05 09:21:09 - TZ=UTC TB --- 2014-02-05 09:21:09 - __MAKE_CONF=/dev/null TB --- 2014-02-05 09:21:09 - cd /src TB --- 2014-02-05 09:21:09 - /usr/bin/make -B buildkernel KERNCONF=AR71XX_BASE >>> Kernel build for AR71XX_BASE started on Wed Feb 5 09:21:09 UTC 2014 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools [...] cd /src/sys/modules/aic7xxx/aicasm; PATH=/obj/mips.mips/src/tmp/legacy/usr/sbin:/obj/mips.mips/src/tmp/legacy/usr/bin:/obj/mips.mips/src/tmp/legacy/usr/games:/obj/mips.mips/src/tmp/legacy/bin:/sbin:/bin:/usr/sbin:/usr/bin MAKEOBJDIRPREFIX=/obj/mips.mips/src/sys/AR71XX_BASE/modules /obj/src/make.amd64/bmake SSP_CFLAGS= -DNO_CPU_CFLAGS -DNO_CTF -DEARLY_BUILD all cc -O2 -pipe -I. -I/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-pointer-sign -c /src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm/aicasm.c cc -O2 -pipe -I. -I/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-pointer-sign -c /src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm/aicasm_symbol.c /src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm/aicasm_symbol.c: In function 'symtable_dump': /src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm/aicasm_symbol.c:461: internal compiler error: in var_ann, at tree-flow-inline.h:127 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. *** Error code 1 Stop. bmake[1]: stopped in /src/sys/modules/aic7xxx/aicasm *** Error code 1 Stop. bmake: stopped in /src *** [buildkernel] Error code 1 Stop in /src. TB --- 2014-02-05 09:21:15 - WARNING: /usr/bin/make returned exit code 1 TB --- 2014-02-05 09:21:15 - ERROR: failed to build AR71XX_BASE kernel TB --- 2014-02-05 09:21:15 - 5011.88 user 2561.99 system 7232.70 real http://tinderbox.des.no/tinderbox-freebsd10-build-RELENG_10-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Wed Feb 5 19:05:09 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2F61E766 for ; Wed, 5 Feb 2014 19:05:09 +0000 (UTC) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EA38F1C41 for ; Wed, 5 Feb 2014 19:05:08 +0000 (UTC) Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 9C48D2151B for ; Wed, 5 Feb 2014 14:04:56 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 05 Feb 2014 14:04:56 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=afflictions.org; h=date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=9zpzKtiYN/6wOSAIqyrUvS7Y /5A=; b=Vqn3Mz301ZDrDEuZy8HZThqwBwH+G+05Gc57FcMcYbcbVGZdbed0cHWE FuxBXuiu9IE2CkfehyvDg7AvkoD8r9xojnyNTkQ40A5Zwl5BHR9YYNmS/xNLsPg+ mCooiw2NDqXnpBMYGwMRyhHn0JnywRrKcsFxRFR8myeC/U73OTk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:subject:message-id :references:mime-version:content-type:in-reply-to; s=smtpout; bh=9zpzKtiYN/6wOSAIqyrUvS7Y/5A=; b=UELfJycJvYmHHqJMkgadYuqcfnjL jvKLZrQsKbrjKvsPt6gPtRTfEQKo5dXF48CAigPLyYXbNHAdWzV4VcLhBPTnEzVZ Xv5sQNg1MKXV22S8MJB3PGi6NjmNlp+Y43eQqL2fiM3mPcZgnlGOhWAqFGtqzAe0 QGYLN6uAC/RJBO0= X-Sasl-enc: 9do236/6H8xVPRP4NIkHK6E1UzvYK/WByrY4yFQc/bzb 1391627096 Received: from plebeian.afflictions.org (unknown [142.162.57.117]) by mail.messagingengine.com (Postfix) with ESMTPA id 564ABC007B3 for ; Wed, 5 Feb 2014 14:04:56 -0500 (EST) Received: by plebeian.afflictions.org (Postfix, from userid 1000) id 906DF1EE7; Wed, 5 Feb 2014 15:34:56 -0330 (NST) Date: Wed, 5 Feb 2014 15:34:56 -0330 From: Damian Gerow To: freebsd-mips@freebsd.org Subject: Re: FreeBSD 10.0 image and build script for EdgeRouter Lite Message-ID: <20140205190456.GA15313@plebeian.afflictions.org> References: <20140125210308.GA6936@rtfm.net> <52EE7183.1070806@pix.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2014 19:05:09 -0000 Nathan Dorfman wrote: > > Looking at the '/var/log/dmesg' from one of these running the linux > > system, I didn't see anything related to a RTC/TOD clock, but I might > > have just missed it in my quick scan of the devices. > > I don't think there is a hardware clock on the device, though I could > be wrong. There doesn't appear to be one. 'hwclock' can't find a clock at /dev/rtc0?, and there's nothing in the dmesg relating to any form of hardware clock. As well, looking at the board, there's no battery present. So even if there was a clock, it would be reset anytime the board lost power. > I bet the vendor firmware has NTP on by default, though. They do, using n.ubnt.pool.ntp.org. From owner-freebsd-mips@FreeBSD.ORG Thu Feb 6 22:12:02 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A921ADC9 for ; Thu, 6 Feb 2014 22:12:02 +0000 (UTC) Received: from hydra.pix.net (hydra.pix.net [IPv6:2001:470:e254::4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 81F061AC1 for ; Thu, 6 Feb 2014 22:12:02 +0000 (UTC) Received: from torb.pix.net (torb.pix.net [IPv6:2001:470:e254:10:12dd:b1ff:febf:eca9]) (authenticated bits=0) by hydra.pix.net (8.14.5/8.14.5) with ESMTP id s16MC0oY006484; Thu, 6 Feb 2014 17:12:00 -0500 (EST) (envelope-from lidl@pix.net) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.98 at mail.pix.net Message-ID: <52F408B0.3090202@pix.net> Date: Thu, 06 Feb 2014 17:12:00 -0500 From: Kurt Lidl User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: freebsd-mips@freebsd.org Subject: media for a EdgeRouter Lite Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Feb 2014 22:12:02 -0000 Just a note -- I was successful in getting the EdgeRouter Lite up and running using a 32GB SanDisk Cruzer Fit drive. I didn't really want to destroy the original media that came in the machine, so I got one of these drives to try. Since some people noted that not all USB drives work in these machines, I thought I'd just say that this drive does work. It identifies itself like this on the ERL: da0: Fixed Direct Access SCSI-6 device da0: Serial Number da0: 40.000MB/s transfers da0: 30532MB (62530624 512 byte sectors: 255H 63S/T 3892C) da0: quirks=0x2 da0: Delete methods: The specifics of the drive I bought: SanDisk Cruzer Fit CZ33 32GB USB Flash Drive (SDCZ33-032G-B35) Happy Hacking! -Kurt From owner-freebsd-mips@FreeBSD.ORG Thu Feb 6 22:52:12 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 89619B92 for ; Thu, 6 Feb 2014 22:52:12 +0000 (UTC) Received: from mail-oa0-x233.google.com (mail-oa0-x233.google.com [IPv6:2607:f8b0:4003:c02::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4EEAD1E0A for ; Thu, 6 Feb 2014 22:52:12 +0000 (UTC) Received: by mail-oa0-f51.google.com with SMTP id h16so3204871oag.38 for ; Thu, 06 Feb 2014 14:52:11 -0800 (PST) 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=ROrJCF75/3bIEW8ENFTONHHBkBsgmUJz4S/88TKDKAU=; b=G0mfCcnTvfnENGdxWn7IONDM1CSLtGWY2nhFLVs0OL15QUKuRjViw/VPEibZO4RPdz SDiKtJoIATAHUqf6LXK+klFm/fSz69rPuVngnn2qBiK0wz/4EzyQCmPXsyrBqjKxqZeE +6ZXAmliXDQRnUVQactb402cpwpOWXy1gYkFwvswpAuEmd6ErzzwVpj5P3mdp2pJMPWj IqE1rxNHiBCOtw6M01xcCY7vQRv8AKA4wh5sRQt6vw1BbAHjEKZhzppqnNVZSSDyUFkJ 5NaAf8vY7UHzSANc0FslAuqAv/Kt+XQwj3ATBoCC26VKaqYHKksZ3I5qZdOuNb2Hzxeo M1Gw== MIME-Version: 1.0 X-Received: by 10.60.165.72 with SMTP id yw8mr4503506oeb.71.1391727131138; Thu, 06 Feb 2014 14:52:11 -0800 (PST) Received: by 10.76.3.11 with HTTP; Thu, 6 Feb 2014 14:52:11 -0800 (PST) In-Reply-To: <52F408B0.3090202@pix.net> References: <52F408B0.3090202@pix.net> Date: Thu, 6 Feb 2014 17:52:11 -0500 Message-ID: Subject: Re: media for a EdgeRouter Lite From: Outback Dingo To: Kurt Lidl Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Feb 2014 22:52:12 -0000 On Thu, Feb 6, 2014 at 5:12 PM, Kurt Lidl wrote: > Just a note -- I was successful in getting the > EdgeRouter Lite up and running using a 32GB > SanDisk Cruzer Fit drive. I didn't really want to > destroy the original media that came in the machine, > so I got one of these drives to try. > > Since some people noted that not all USB drives > work in these machines, I thought I'd just say > that this drive does work. > > It identifies itself like this on the ERL: > > da0: Fixed Direct Access SCSI-6 device > da0: Serial Number > da0: 40.000MB/s transfers > da0: 30532MB (62530624 512 byte sectors: 255H 63S/T 3892C) > da0: quirks=0x2 > da0: Delete methods: > > The specifics of the drive I bought: > SanDisk Cruzer Fit CZ33 32GB USB Flash Drive (SDCZ33-032G-B35) > > Happy Hacking! > > Nice, ill be buying one on monday just for FreeBSD... > -Kurt > _______________________________________________ > 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 Fri Feb 7 01:01:18 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E2F4F7C2 for ; Fri, 7 Feb 2014 01:01:18 +0000 (UTC) Received: from mailstore06.sysedata.no (b.mail.tornado.no [195.159.29.130]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A134D1970 for ; Fri, 7 Feb 2014 01:01:17 +0000 (UTC) Received: from [195.159.29.130] (helo=www.eposttjener.no) by mailstore06.sysedata.no with esmtpa (Exim 4.71) (envelope-from ) id 1WBZog-0002DN-BF for freebsd-mips@freebsd.org; Fri, 07 Feb 2014 02:01:14 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 07 Feb 2014 02:01:14 +0100 From: Daniel Engberg To: freebsd-mips@freebsd.org Subject: EdgeRouter Lite - ALTQ support, patch =?UTF-8?Q?available=3F?= Message-ID: X-Sender: daniel.engberg.lists@pyret.net User-Agent: Roundcube Webmail/0.9.4 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2014 01:01:18 -0000 Hi, As this box is getting a bit more attention than before I'm going to ask (again) if anyone have a patched octe driver that supports ALTQ. As far as I can tell its probably one or two lines need but it's far above my knowledge. I'm also up for testing patches if anyone wants to give it a try. Best regards, Daniel Engberg From owner-freebsd-mips@FreeBSD.ORG Fri Feb 7 01:03:27 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 745738DF for ; Fri, 7 Feb 2014 01:03:27 +0000 (UTC) Received: from mailstore06.sysedata.no (b.mail.tornado.no [195.159.29.130]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 34DAA1987 for ; Fri, 7 Feb 2014 01:03:27 +0000 (UTC) Received: from [195.159.29.130] (helo=www.eposttjener.no) by mailstore06.sysedata.no with esmtpa (Exim 4.71) (envelope-from ) id 1WBZkH-0001YE-Qr for freebsd-mips@freebsd.org; Fri, 07 Feb 2014 01:56:41 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 07 Feb 2014 01:56:41 +0100 From: Daniel Engberg To: freebsd-mips@freebsd.org Subject: media for a EdgeRouter Lite Message-ID: <0d530b5443516105f46f90597edf1157@pyret.net> X-Sender: daniel.engberg.lists@pyret.net User-Agent: Roundcube Webmail/0.9.4 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2014 01:03:27 -0000 Hi, While we're at it I can also confirm that Sandisk 16Gb Extreme USB 3.0 (SDCZ80-016G-X46) also works fine and is rather fast. Keep in mind that these sticks will not fit inside the case so you'll need a small extension cable and cut out a small hole in the case. Been running a couple of boxes like that for a few months without any issues. All boxes are running -HEAD with similar performance reported on the list. If there's an interest I can provide a "clean" image for 16Gb or larger sticks. Be a bit careful with applications that log a lot as you're using low-end flash drives. I can also tell you in advance that this router doesn't like USB-hubs so don't bother, I've tried several powered and non powered and if u-boot doesn't crash you will get panics randomly when storage drive drops. Best regards, Daniel Engberg From owner-freebsd-mips@FreeBSD.ORG Sat Feb 8 00:20:03 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 52340744 for ; Sat, 8 Feb 2014 00:20:03 +0000 (UTC) Received: from mail-ob0-x22c.google.com (mail-ob0-x22c.google.com [IPv6:2607:f8b0:4003:c01::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 17A601899 for ; Sat, 8 Feb 2014 00:20:03 +0000 (UTC) Received: by mail-ob0-f172.google.com with SMTP id vb8so4914878obc.31 for ; Fri, 07 Feb 2014 16:20:02 -0800 (PST) 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=IgXqyqeZtsVyrieTKV/gnYMdA6cSseTkTU2Te6Tvqs8=; b=SkmFBvInUiPGH4x+VJ61y5nCFGQmIxcUiVLWndrN0p+C6/ANCK9DWOHqAbJqMgnDJU JpRnhVsr7QbdYB/ZHPkO5AF1TiNCTTjmU5Q4DnokjR3HFNkZ9UWpNYmiUvNZK0Umratq UuDxsFcKILGRQyB2KOuKGGEMju0BW1Fi2q8dGUedqFQeBB1Qo0GLk7waS0xljTAQhZP5 LKrWVU9MX58rzCtmBJPNhdJP40Jsf/RBw6NaUpk++EBvdNjygM0vxcw/7EDoX7FQAahQ ifeLyWyD+oXCZ3r/x58bZRQjpBCB9ZHRm+awcXejGyG6QwP2kBENn/7z8QB9xGe12QeA gqUQ== MIME-Version: 1.0 X-Received: by 10.60.103.239 with SMTP id fz15mr15258912oeb.22.1391818802295; Fri, 07 Feb 2014 16:20:02 -0800 (PST) Received: by 10.76.3.11 with HTTP; Fri, 7 Feb 2014 16:20:02 -0800 (PST) In-Reply-To: <20140205190456.GA15313@plebeian.afflictions.org> References: <20140125210308.GA6936@rtfm.net> <52EE7183.1070806@pix.net> <20140205190456.GA15313@plebeian.afflictions.org> Date: Fri, 7 Feb 2014 19:20:02 -0500 Message-ID: Subject: Re: FreeBSD 10.0 image and build script for EdgeRouter Lite From: Outback Dingo To: Damian Gerow Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Feb 2014 00:20:03 -0000 On Wed, Feb 5, 2014 at 2:04 PM, Damian Gerow wrote: > Nathan Dorfman wrote: > > > Looking at the '/var/log/dmesg' from one of these running the linux > > > system, I didn't see anything related to a RTC/TOD clock, but I might > > > have just missed it in my quick scan of the devices. > > > > I don't think there is a hardware clock on the device, though I could > > be wrong. > > There doesn't appear to be one. 'hwclock' can't find a clock at > /dev/rtc0?, > and there's nothing in the dmesg relating to any form of hardware clock. > > As well, looking at the board, there's no battery present. So even if > there > was a clock, it would be reset anytime the board lost power. > > > I bet the vendor firmware has NTP on by default, though. > > They do, using n.ubnt.pool.ntp.org. > i see this is working on the edgerouter lite version, any chance it will also work on the pro version??? > _______________________________________________ > 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 Feb 8 00:23:40 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 992C4914 for ; Sat, 8 Feb 2014 00:23:40 +0000 (UTC) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1A029191E for ; Sat, 8 Feb 2014 00:23:39 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id w7so3296353lbi.27 for ; Fri, 07 Feb 2014 16:23:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=osWWesfPFeHC7OgCj5A3wBDWd2kL5aLPTStBQr+OJAA=; b=QyixfU3wEhXc+IwbJu/M3BUIMQkbZU5JCbNF32/ZWSs/6IFCTp6q5NcgvxvvKewbFJ kpLqHuzCck2zEfRsa8jWUeO24+XuVAUiizectWcLKdNKzlUvGqXs/eyB8sNxEwZxGgmU eOV3HhUItOScwpWwq13PFD3tiJCxZGRtiftBgWyUhYR3VS0tftPdh22zL+uRy64W4r90 QVxxV5pi510Hpyk+Ivh69GGMMO7pjs7tdxeWIPpb08iO7AkORJyQ7fL8hs+oI9BE8h+M 0omh2qb72RVRYs38PWBmBY6GaEstj+ldienxYFrQjoPCWzf/g0VXF47r94BKz/uz6Zbw Q6Rg== X-Gm-Message-State: ALoCoQlVuq2iSjFyluGc7O/eRtTdeYxbkeoVvpkeZNuNz44FRBQa/5E77O3++M2kD0IwvNdREVc2 X-Received: by 10.112.204.104 with SMTP id kx8mr11394010lbc.12.1391819012334; Fri, 07 Feb 2014 16:23:32 -0800 (PST) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.152.130.72 with HTTP; Fri, 7 Feb 2014 16:23:12 -0800 (PST) In-Reply-To: References: <20140125210308.GA6936@rtfm.net> <52EE7183.1070806@pix.net> <20140205190456.GA15313@plebeian.afflictions.org> From: Juli Mallett Date: Fri, 7 Feb 2014 16:23:12 -0800 X-Google-Sender-Auth: IOrH57mesoev6eO3bQ8UO7qIlb4 Message-ID: Subject: Re: FreeBSD 10.0 image and build script for EdgeRouter Lite To: Outback Dingo Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-mips@FreeBSD.org" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Feb 2014 00:23:40 -0000 On Fri, Feb 7, 2014 at 4:20 PM, Outback Dingo wrote: > On Wed, Feb 5, 2014 at 2:04 PM, Damian Gerow > wrote: > > > Nathan Dorfman wrote: > > > > Looking at the '/var/log/dmesg' from one of these running the linux > > > > system, I didn't see anything related to a RTC/TOD clock, but I might > > > > have just missed it in my quick scan of the devices. > > > > > > I don't think there is a hardware clock on the device, though I could > > > be wrong. > > > > There doesn't appear to be one. 'hwclock' can't find a clock at > > /dev/rtc0?, > > and there's nothing in the dmesg relating to any form of hardware clock. > > > > As well, looking at the board, there's no battery present. So even if > > there > > was a clock, it would be reset anytime the board lost power. > > > > > I bet the vendor firmware has NTP on by default, though. > > > > They do, using n.ubnt.pool.ntp.org. > > > > i see this is working on the edgerouter lite version, any chance it will > also work on the pro version??? The most likely scenario is that very minor changes will be required to support the additional model, possibly as little as just recognizing its model identifier. Juli.... From owner-freebsd-mips@FreeBSD.ORG Sat Feb 8 14:44:41 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 27236A45 for ; Sat, 8 Feb 2014 14:44:41 +0000 (UTC) Received: from mail.lhr1.as41113.net (mail.lhr1.as41113.net [91.208.177.22]) by mx1.freebsd.org (Postfix) with ESMTP id DB90E11EA for ; Sat, 8 Feb 2014 14:44:40 +0000 (UTC) Received: from [10.193.246.16] (unknown [91.208.177.186]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.lhr1.as41113.net (Postfix) with ESMTPS id 3fLwvX2yz0z7vXM for ; Sat, 8 Feb 2014 14:37:28 +0000 (UTC) Message-ID: <52F64128.7010000@rewt.org.uk> Date: Sat, 08 Feb 2014 14:37:28 +0000 From: Joe Holden User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: freebsd-mips@freebsd.org Subject: Re: FreeBSD 10.0 image and build script for EdgeRouter Lite References: <20140125210308.GA6936@rtfm.net> <52EE7183.1070806@pix.net> <20140205190456.GA15313@plebeian.afflictions.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Feb 2014 14:44:41 -0000 On 08/02/2014 00:23, Juli Mallett wrote: > On Fri, Feb 7, 2014 at 4:20 PM, Outback Dingo wrote: > >> On Wed, Feb 5, 2014 at 2:04 PM, Damian Gerow >> wrote: >> >>> Nathan Dorfman wrote: >>>>> Looking at the '/var/log/dmesg' from one of these running the linux >>>>> system, I didn't see anything related to a RTC/TOD clock, but I might >>>>> have just missed it in my quick scan of the devices. >>>> >>>> I don't think there is a hardware clock on the device, though I could >>>> be wrong. >>> >>> There doesn't appear to be one. 'hwclock' can't find a clock at >>> /dev/rtc0?, >>> and there's nothing in the dmesg relating to any form of hardware clock. >>> >>> As well, looking at the board, there's no battery present. So even if >>> there >>> was a clock, it would be reset anytime the board lost power. >>> >>>> I bet the vendor firmware has NTP on by default, though. >>> >>> They do, using n.ubnt.pool.ntp.org. >>> >> >> i see this is working on the edgerouter lite version, any chance it will >> also work on the pro version??? > > > The most likely scenario is that very minor changes will be required to > support the additional model, possibly as little as just recognizing its > model identifier. > > Juli.... IIRC the bigger variants are Octeon II with hardware switches (likely marvell/broadcom) - what are the chances of getting support for either given the NDA requirements? From owner-freebsd-mips@FreeBSD.ORG Sat Feb 8 18:40:14 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2BA0DA28 for ; Sat, 8 Feb 2014 18:40:14 +0000 (UTC) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com [209.85.215.52]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 921FC1468 for ; Sat, 8 Feb 2014 18:40:13 +0000 (UTC) Received: by mail-la0-f52.google.com with SMTP id c6so3704249lan.11 for ; Sat, 08 Feb 2014 10:40:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=2jY97uIHbrWMTIbndUbHXdKwAUBdU2xry3stz2QFuXc=; b=DnQCKasoTFoezuEK3RB400Ndt+njo/lgzlNZA2Nevr/jJOe7XZ60idJLzUTjaaAucm r092w4wplXr2KsN70y3JC2zvRP6IwVi3Xdk1NRChIz6NozIpDBpZcJ/FWNx9Yk9Meuqc VF7ZNpz8wTkf4raYMeftwz5Z+Brmg76njxDwY3ralSr4NtyjBMfL1e4Z3VHPzWOVlCSq qoHvzSPw9rWaZbUj2YHGffEhBu5D4j9KjlVUyg8oUvqRo708gnp2b0u6IUtf+Z0l0ljy R42zZcojKAGAbD9PfaNGa/sdsSQ9TXOB+q7p/xFF8iGL9ykCM1XaJt84xmtRa+CnI+10 UcmA== X-Gm-Message-State: ALoCoQn8cpzC+eEA8JeXEOqLvTIA40eFszg8Ne77uw94GHMb41heNDAgbcvVFtLCqgZ7H6+FBQl9 X-Received: by 10.112.132.102 with SMTP id ot6mr14080255lbb.27.1391884805968; Sat, 08 Feb 2014 10:40:05 -0800 (PST) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.152.130.72 with HTTP; Sat, 8 Feb 2014 10:39:45 -0800 (PST) In-Reply-To: <52F64128.7010000@rewt.org.uk> References: <20140125210308.GA6936@rtfm.net> <52EE7183.1070806@pix.net> <20140205190456.GA15313@plebeian.afflictions.org> <52F64128.7010000@rewt.org.uk> From: Juli Mallett Date: Sat, 8 Feb 2014 10:39:45 -0800 X-Google-Sender-Auth: 3QhuwbebcxfFQlsE7qEz7Q0uQe8 Message-ID: Subject: Re: FreeBSD 10.0 image and build script for EdgeRouter Lite To: Joe Holden Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-mips@FreeBSD.org" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Feb 2014 18:40:14 -0000 On Sat, Feb 8, 2014 at 6:37 AM, Joe Holden wrote: > On 08/02/2014 00:23, Juli Mallett wrote: >> >> The most likely scenario is that very minor changes will be required to >> support the additional model, possibly as little as just recognizing its >> model identifier. >> >> Juli.... >> > > IIRC the bigger variants are Octeon II with hardware switches (likely > marvell/broadcom) - what are the chances of getting support for either > given the NDA requirements? Well, Octeon II is already kind-of supported; some ancillary hardware may need new drivers written, and depending on the specific device we may or may not have Ethernet support already. NDA is not even remotely required to add support for any of that. In my experience, I'd say it takes someone being funded to make that kind of work happen, though. If anyone on the list wants to fund that kind of work, I can point them in the direction of several people who could do it. It happening on a volunteer basis (even if provided with hardware) is a bit less of a given, unfortunately. At least, that's my most honest appraisal at the moment. I was working with an engineer at Cavium to support all of the Octeon II hardware, but unfortunately haven't heard back from him in some time, after asking for the code to be reworked. Still, it's much easier to support a device from a company that already heeds their GPL obligations, and so one can see in their Linux sources very, very easily whatever the nature of their own funky quirks and modifications may be. Unlike companies like Radisys who flagrantly violate the GPL because they consider anything they do on things like packet processors to be a trade secret, or who think that their GPL obligations don't apply to people who buy second-hand hardware. Ubiquiti is much, much better on that front. As to hardware switches, the question gets trickier, because support for them is not a binary yes/no. And, for added irony, even big companies often have to settle for support for them being in the form of a binary blob. We could probably do basic configuration, but hopefully it's not required. Some things like switches (though I've never seen this be the case with a hardware switch, more things like link aggregators) require a huge amount of work just to put them into a default state where they do nothing. Support for mucking about with weird configuration may just never happen. More basic configuration, well, that's a different story. Sometimes it requires an NDA. Often one can find support for the same or similar hardware online, though, and if one has a very controlled environment and a lot of patience it may even be possible to do some very oldschool reverse engineering (that is, send in a packet, look at a bunch of places in memory to see what changes, repeat; or use a JTAG to watch crucial moments when the switch is being configured.) If you can find code in some obscure project that does it, it's not that hard to add the basics to FreeBSD. If that kind of work happens on a volunteer basis I'd be shocked, because (1) it sucks (2) it involves a lot of disappointment (3) FreeBSD still doesn't even come close to having configuration *concepts* like things like switches have and like people who configure switches are used to (4) the only pressing reason to really want to is because of business reasons, and not getting paid for that kind of work can be tough, and also it's not always clear what the motivation would be[1]. Thanks, Juli. 1: (Of course, people can surprise you; I wrote the first open source WAN Optimization package because I was broke and had an awful network card and figured deduplication would help, and eventually kept working on it because I felt that it was a really basic kind of network infrastructure that ought to be available to everyone, even people who can't afford the high cost of making their networks in remote areas more efficient. But of course, then it's tough because everyone using it is doing so for their own urgent business purposes, and sometimes they find they need the kind of support a commercial organization would provide, and it can be very frustrating for them that there isn't a team of people waiting to solve all their problems. I know some people avoid work that's going to get that kind of user, and I can see work supporting hardware switches falling into that category.)