From owner-freebsd-arm@FreeBSD.ORG Sun May 26 01:12:29 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 31B4577C for ; Sun, 26 May 2013 01:12:29 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 108BC1EF for ; Sun, 26 May 2013 01:12:28 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r4Q1CQbp095286; Sun, 26 May 2013 01:12:26 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.123] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id 3bvr447pdk37zsyr64k83mtd86; Sun, 26 May 2013 01:12:26 +0000 (UTC) (envelope-from kientzle@freebsd.org) Subject: Re: Port: U-Boot for BeagleBone Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: Date: Sat, 25 May 2013 18:12:20 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <20130518100512.57c47fe6@bender> <534F7C76-12EF-4BF7-9872-0B2F366358E3@bsdimp.com> <879F5401-AC0D-494F-AE54-CE8B4AAF289F@freebsd.org> To: Warner Losh X-Mailer: Apple Mail (2.1283) Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2013 01:12:29 -0000 On May 25, 2013, at 2:29 PM, Warner Losh wrote: >=20 > On May 25, 2013, at 12:36 PM, Tim Kientzle wrote: >=20 >>=20 >> On May 25, 2013, at 10:08 AM, Warner Losh wrote: >>=20 >>>=20 >>> On May 25, 2013, at 1:02 AM, Tim Kientzle wrote: >>>=20 >>>>=20 >>>> On May 18, 2013, at 7:28 AM, Warner Losh wrote: >>>>=20 >>>>> A long time ago I was able to build u-boot using the cross-* = ports... They even have wrapper ports so you can get the write = dependencies.=20 >>>>=20 >>>> Which wrapper ports are you referring to? >>>>=20 >>>> I don't see anything that looks useful. >>>=20 >>> I think I used arm-rtems-{binutils,gcc} to do the building.... >>=20 >> That's what I was afraid of. arm-rtems-gcc is gone (or will be = shortly). >=20 > Why's that? All I know is what's in the port Makefile: >DEPRECATED=3D many issues; see = https://www.rtems.org/bugzilla/show_bug.cgi?id=3D2099#c5 >EXPIRATION_DATE=3D 2013-06-01 Tim From owner-freebsd-arm@FreeBSD.ORG Mon May 27 09:39:53 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 278547B9; Mon, 27 May 2013 09:39:53 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from nibbler.fubar.geek.nz (nibbler.fubar.geek.nz [199.48.134.198]) by mx1.freebsd.org (Postfix) with ESMTP id F244B9A; Mon, 27 May 2013 09:39:52 +0000 (UTC) Received: from bender.Home (unknown [176.252.108.73]) by nibbler.fubar.geek.nz (Postfix) with ESMTPSA id 070165E1D5; Mon, 27 May 2013 09:31:21 +0000 (UTC) Date: Mon, 27 May 2013 10:31:14 +0100 From: Andrew Turner To: Tim Kientzle Subject: Re: Git crash on EABI system. Message-ID: <20130527103114.3fbb00fb@bender.Home> In-Reply-To: <2290084B-D302-4489-BB01-817497901E2B@freebsd.org> References: <51949698.80205@thieprojects.ch> <2290084B-D302-4489-BB01-817497901E2B@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/CBSQ4FQ.nDxaB1VcRwI/jng" Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 09:39:53 -0000 --MP_/CBSQ4FQ.nDxaB1VcRwI/jng Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thu, 16 May 2013 05:04:29 -0400 Tim Kientzle wrote: > > On May 16, 2013, at 4:19 AM, Werner Thie wrote: > > >> Has anyone else seen this from git on a clang/EABI system? > >> > >> Assertion failed: (attr_stack->origin), function > >> prepare_attr_stack, file attr.c, line 630. > >> > >> Program received signal SIGABRT, Aborted. > >> [Switching to Thread 20c03300 (LWP 100076/git)] > >> 0x204b842c in thr_kill () from /lib/libc.so.7 > >> (gdb) bt > >> #0 0x204b842c in thr_kill () from /lib/libc.so.7 > >> #1 0x2044157c in raise () from /lib/libthr.so.3 > >> #2 0x20598130 in abort () from /lib/libc.so.7 > >> #3 0x20574630 in __assert () from /lib/libc.so.7 > >> #4 0x00076b28 in ?? () > >> > >> I'm planning to do a debug build and see if I can track down any > >> more details. > > > > Hi Tim > > > > just built git out of curiosity after your post on the BBone > > > > FreeBSD beaglebone 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r250144M: > > Sat May 4 14:18:20 CEST 2013 > > root@xtools:/usr/home/wthie/proj/crochet-freebsd/work/obj/arm.armv6/usr/local/src/sys/BEAGLEBONE-NOWITNESS > > arm > > > > git crashes exactly as advertised when cloning a project in > > > > Assertion failed: (attr_stack->origin), function > > prepare_attr_stack, file attr.c, line 630. > > Thanks for verifying that. > > Unfortunately, a debug build (make -DWITH_DEBUG) does > not crash for me. So I clearly have more work ahead of me > to narrow this down. Hello Tim, Can you test the attached patch for llvm. It should fix git to not crash. The patch is llvm r180609 [1]. The issue was llvm failed to correctly account for pre-indexed loads/stores. It would then use a subtraction to get the correct address of the last slash however it used the wrong subtract instruction. Andrew [1] http://llvm.org/viewvc/llvm-project?view=revision&revision=180609 --MP_/CBSQ4FQ.nDxaB1VcRwI/jng Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=llvm_180609.diff Index: lib/CodeGen/SelectionDAG/DAGCombiner.cpp =================================================================== --- lib/CodeGen/SelectionDAG/DAGCombiner.cpp (revision 180608) +++ lib/CodeGen/SelectionDAG/DAGCombiner.cpp (revision 180609) @@ -7152,25 +7152,40 @@ assert(OtherUses[i]->getOperand(!OffsetIdx).getNode() == BasePtr.getNode() && "Expected BasePtr operand"); - APInt OV = - cast(Offset)->getAPIntValue(); - if (AM == ISD::PRE_DEC) - OV = -OV; + // We need to replace ptr0 in the following expression: + // x0 * offset0 + y0 * ptr0 = t0 + // knowing that + // x1 * offset1 + y1 * ptr0 = t1 (the indexed load/store) + // + // where x0, x1, y0 and y1 in {-1, 1} are given by the types of the + // indexed load/store and the expresion that needs to be re-written. + // + // Therefore, we have: + // t0 = (x0 * offset0 - x1 * y0 * y1 *offset1) + (y0 * y1) * t1 ConstantSDNode *CN = cast(OtherUses[i]->getOperand(OffsetIdx)); - APInt CNV = CN->getAPIntValue(); - if (OtherUses[i]->getOpcode() == ISD::SUB && OffsetIdx == 1) - CNV += OV; - else - CNV -= OV; + int X0, X1, Y0, Y1; + APInt Offset0 = CN->getAPIntValue(); + APInt Offset1 = cast(Offset)->getAPIntValue(); - SDValue NewOp1 = Result.getValue(isLoad ? 1 : 0); - SDValue NewOp2 = DAG.getConstant(CNV, CN->getValueType(0)); - if (OffsetIdx == 0) - std::swap(NewOp1, NewOp2); + X0 = (OtherUses[i]->getOpcode() == ISD::SUB && OffsetIdx == 1) ? -1 : 1; + Y0 = (OtherUses[i]->getOpcode() == ISD::SUB && OffsetIdx == 0) ? -1 : 1; + X1 = (AM == ISD::PRE_DEC && !Swapped) ? -1 : 1; + Y1 = (AM == ISD::PRE_DEC && Swapped) ? -1 : 1; - SDValue NewUse = DAG.getNode(OtherUses[i]->getOpcode(), + unsigned Opcode = (Y0 * Y1 < 0) ? ISD::SUB : ISD::ADD; + + APInt CNV = Offset0; + if (X0 < 0) CNV = -CNV; + if (X1 * Y0 * Y1 < 0) CNV = CNV + Offset1; + else CNV = CNV - Offset1; + + // We can now generate the new expression. + SDValue NewOp1 = DAG.getConstant(CNV, CN->getValueType(0)); + SDValue NewOp2 = Result.getValue(isLoad ? 1 : 0); + + SDValue NewUse = DAG.getNode(Opcode, OtherUses[i]->getDebugLoc(), OtherUses[i]->getValueType(0), NewOp1, NewOp2); DAG.ReplaceAllUsesOfValueWith(SDValue(OtherUses[i], 0), NewUse); --MP_/CBSQ4FQ.nDxaB1VcRwI/jng-- From owner-freebsd-arm@FreeBSD.ORG Mon May 27 11:06:43 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 318FC30C for ; Mon, 27 May 2013 11:06:43 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 09EB86B0 for ; Mon, 27 May 2013 11:06:43 +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 r4RB6gao015948 for ; Mon, 27 May 2013 11:06:42 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4RB6gOs015946 for freebsd-arm@FreeBSD.org; Mon, 27 May 2013 11:06:42 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 27 May 2013 11:06:42 GMT Message-Id: <201305271106.r4RB6gOs015946@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-arm@FreeBSD.org Subject: Current problem reports assigned to freebsd-arm@FreeBSD.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 11:06:43 -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 arm/178495 arm buildworld fail on arm/raspberry pi o arm/177687 arm gdb gets installed but does not know the EABI version o arm/177686 arm assertion failed in ld-elf.so.1 when invoking telnet w o arm/177685 arm [kernel] [patch] Correct return type and usage of at91 o arm/177538 arm tunefs(8) and mount(8) can not access a newfs(8)'d fil o arm/176424 arm Compiler warning, TARGET_ARCH=armv6, make MALLOC_PRODU o arm/175803 arm building xdev for arm failing o arm/175605 arm please fix build binutils-2.23.1 in raspberry pi o arm/174461 arm [patch] Fix off-by-one in arm9/arm10 cache maintenance o arm/173617 arm Dreamplug exhibits eSATA file corruption using network o kern/171096 arm [arm][xscale][ixp]Allow 16bit access on PCI bus o arm/166256 arm build fail in pmap.c o arm/162159 arm [panic] USB errors leading to panic on DockStar 9.0-RC o arm/161110 arm /usr/src/sys/arm/include/signal.h is bad o arm/161044 arm devel/icu does not build on arm o arm/158950 arm arm/sheevaplug fails fsx when mmap operations are enab o arm/155894 arm [patch] Enable at91 booting from SDHC (high capacity) p arm/155214 arm [patch] MMC/SD IO slow on Atmel ARM with modern large o arm/154227 arm [geli] using GELI leads to panic on ARM o arm/153380 arm Panic / translation fault with wlan on ARM o arm/150581 arm [irq] Unknown error generates IRQ address decoding err o arm/149288 arm mail/dovecot causes panic during configure on Sheevapl o arm/134368 arm [new driver] [patch] nslu2_led driver for the LEDs on p arm/134338 arm [patch] Lock GPIO accesses on ixp425 24 problems total. From owner-freebsd-arm@FreeBSD.ORG Mon May 27 13:06:08 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C3B7EBF0 for ; Mon, 27 May 2013 13:06:08 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-qa0-x233.google.com (mail-qa0-x233.google.com [IPv6:2607:f8b0:400d:c00::233]) by mx1.freebsd.org (Postfix) with ESMTP id 8C661E0 for ; Mon, 27 May 2013 13:06:08 +0000 (UTC) Received: by mail-qa0-f51.google.com with SMTP id ii15so966319qab.17 for ; Mon, 27 May 2013 06:06:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=FJprEqTfrah2exVkuxlDM5eMTNETnlQmpvb93oe5scs=; b=fFj+OE6oJ6uVPtbhknv+zvBG/akElzYLNF0cncBSDHhQ89DlN8NIRd3XXBsJlhx78E 7CV55SC1jZTRcslq7m0zPSQeswLi8zgUriTTsuwxoV0iLppYBVjB4uWtrMZ+R3RqMNYv VDWcExsz0lHuLA1Pgh18FBn4Yj/7rnjdn6H6hLNiqJDxSWYlSTFCy2uJW+Pw8mqLXdln 20Btznbtn3SVk6cgeFlHj+6Iv+qI8VOHXopWtef/G2QZqJgREXQ2Ovds2NV3nu5wVwlL w8mnDU9FqlpVQX5X+R3GLhF6z2fhar/gbqrp57BBP19omBsAsgpdeEQ4a7WCFSJHdqyy vYUw== MIME-Version: 1.0 X-Received: by 10.229.90.131 with SMTP id i3mr10829877qcm.6.1369659967145; Mon, 27 May 2013 06:06:07 -0700 (PDT) Received: by 10.49.25.84 with HTTP; Mon, 27 May 2013 06:06:07 -0700 (PDT) Date: Mon, 27 May 2013 21:06:07 +0800 Message-ID: Subject: fetch: invalid size (ld-elf.so.1:) From: Alie Tan To: "freebsd-arm@freebsd.org" X-Gm-Message-State: ALoCoQnwskKSXPUvrprexZriVamCCVmAxZOG0rm2qHdshmtoq195HV8H/Lgrkfp+2hTkDCTgus0J Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 13:06:08 -0000 fetch: invalid size (ld-elf.so.1:) => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles/ and try again. *** Error code 1 I am getting error above while compiling pkgng on RasPi with ARM EABI Is there any way to solve the issue? From owner-freebsd-arm@FreeBSD.ORG Mon May 27 17:36:07 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 09945FF7 for ; Mon, 27 May 2013 17:36:07 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id C49E3B6 for ; Mon, 27 May 2013 17:36:06 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r4RHa2hr007526; Mon, 27 May 2013 17:36:02 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.123] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id gzsrgrmapis5vqyuq2qmu2itd2; Mon, 27 May 2013 17:36:02 +0000 (UTC) (envelope-from kientzle@freebsd.org) Subject: Re: Git crash on EABI system. Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: <20130527103114.3fbb00fb@bender.Home> Date: Mon, 27 May 2013 10:36:01 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <9A966CAF-AA93-4553-A718-C59EFF114785@freebsd.org> References: <51949698.80205@thieprojects.ch> <2290084B-D302-4489-BB01-817497901E2B@freebsd.org> <20130527103114.3fbb00fb@bender.Home> To: Andrew Turner X-Mailer: Apple Mail (2.1283) Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 17:36:07 -0000 On May 27, 2013, at 2:31 AM, Andrew Turner wrote: > On Thu, 16 May 2013 05:04:29 -0400 > Tim Kientzle wrote: >=20 >>=20 >> On May 16, 2013, at 4:19 AM, Werner Thie wrote: >>=20 >>>> Has anyone else seen this from git on a clang/EABI system? >>>>=20 >>>> Assertion failed: (attr_stack->origin), function >>>> prepare_attr_stack, file attr.c, line 630. >>>>=20 >>>> Program received signal SIGABRT, Aborted. >>>> [Switching to Thread 20c03300 (LWP 100076/git)] >>>> 0x204b842c in thr_kill () from /lib/libc.so.7 >>>> (gdb) bt >>>> #0 0x204b842c in thr_kill () from /lib/libc.so.7 >>>> #1 0x2044157c in raise () from /lib/libthr.so.3 >>>> #2 0x20598130 in abort () from /lib/libc.so.7 >>>> #3 0x20574630 in __assert () from /lib/libc.so.7 >>>> #4 0x00076b28 in ?? () >>>>=20 >>>> I'm planning to do a debug build and see if I can track down any >>>> more details. >>>=20 >>> Hi Tim >>>=20 >>> just built git out of curiosity after your post on the BBone >>>=20 >>> FreeBSD beaglebone 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r250144M: >>> Sat May 4 14:18:20 CEST 2013 >>> = root@xtools:/usr/home/wthie/proj/crochet-freebsd/work/obj/arm.armv6/usr/lo= cal/src/sys/BEAGLEBONE-NOWITNESS >>> arm >>>=20 >>> git crashes exactly as advertised when cloning a project in >>>=20 >>> Assertion failed: (attr_stack->origin), function >>> prepare_attr_stack, file attr.c, line 630. >>=20 >> Thanks for verifying that. >>=20 >> Unfortunately, a debug build (make -DWITH_DEBUG) does >> not crash for me. So I clearly have more work ahead of me >> to narrow this down. >=20 > Hello Tim, >=20 > Can you test the attached patch for llvm. It should fix git to not > crash. The patch is llvm r180609 [1]. >=20 > The issue was llvm failed to correctly account for pre-indexed > loads/stores. It would then use a subtraction to get the correct > address of the last slash however it used the wrong subtract > instruction. >=20 > Andrew >=20 > [1] = http://llvm.org/viewvc/llvm-project?view=3Drevision&revision=3D180609 Starting a new image build with your patch now. I probably won't get a chance to build git and test until tomorrow at = least. Tim From owner-freebsd-arm@FreeBSD.ORG Tue May 28 12:02:05 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 46C35D6B for ; Tue, 28 May 2013 12:02:05 +0000 (UTC) (envelope-from fbsd-arm@bzerk.org) Received: from eris.bzerk.org (unknown [IPv6:2001:980:18dd:1:192:168:179:45]) by mx1.freebsd.org (Postfix) with ESMTP id D144F2CF for ; Tue, 28 May 2013 12:02:04 +0000 (UTC) Received: from eris.bzerk.org (BOFH@localhost [127.0.0.1]) by eris.bzerk.org (8.14.6/8.14.5) with ESMTP id r4SC1uVH069950 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 28 May 2013 12:01:56 GMT (envelope-from fbsd-arm@bzerk.org) Received: (from bulk@localhost) by eris.bzerk.org (8.14.6/8.14.6/Submit) id r4SC1ufD069949 for freebsd-arm@freebsd.org; Tue, 28 May 2013 12:01:56 GMT (envelope-from fbsd-arm@bzerk.org) X-Authentication-Warning: eris.bzerk.org: bulk set sender to fbsd-arm@bzerk.org using -f Date: Tue, 28 May 2013 12:01:56 +0000 From: Ruben de Groot To: freebsd-arm@freebsd.org Subject: NETGRAPH not working on ARM? Message-ID: <20130528120155.GA69592@eris.bzerk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-11.0 required=5.0 tests=ALL_TRUSTED,AUTHD_RELAY autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eris.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (eris.bzerk.org [127.0.0.1]); Tue, 28 May 2013 12:02:03 +0000 (UTC) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 12:02:05 -0000 Hi, I'm trying to port an embedded bluetooth scanner running debian to FreeBSD on a RPi. De usb dongle is recognized as ubt0, but I can't get it to work. root@raspberry-pi:~ # service bluetooth start ubt0 /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0 In my custom kernel I have: # USB bluetooth options NETGRAPH # netgraph(4) system options NETGRAPH_BLUETOOTH # ng_bluetooth(4) options NETGRAPH_BLUETOOTH_UBT # ng_ubt(4) options NETGRAPH_BLUETOOTH_HCI # ng_hci(4) options NETGRAPH_BLUETOOTH_BT3C # ng_bt3c(4) options NETGRAPH_BLUETOOTH_L2CAP # ng_l2cap(4) options NETGRAPH_BLUETOOTH_SOCKET # ng_btsocket(4) options NETGRAPH_BLUETOOTH_UBTBCMFW # ubtbcmfw(4) But: root@raspberry-pi:~ # ngctl list ngctl: can't create node: No such file or directory Is Netgraph not supposed to work in freebsd-arm? The kernel is svn r251002M I appreciate your advice -- Ruben de Groot :(){ :|:& };: From owner-freebsd-arm@FreeBSD.ORG Tue May 28 13:24:36 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5F54E475; Tue, 28 May 2013 13:24:36 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.78]) by mx1.freebsd.org (Postfix) with ESMTP id 23AA7A68; Tue, 28 May 2013 13:24:35 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1UhJt5-0006DQ-Ml; Tue, 28 May 2013 15:24:28 +0200 Received: from [81.21.138.17] (helo=ronaldradial.versatec.local) by smtp.greenhost.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1UhJt2-0003nC-EY; Tue, 28 May 2013 15:24:25 +0200 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-arm@freebsd.org Subject: Re: NETGRAPH not working on ARM? References: <20130528120155.GA69592@eris.bzerk.org> Date: Tue, 28 May 2013 15:24:22 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: <20130528120155.GA69592@eris.bzerk.org> User-Agent: Opera Mail/12.15 (Win32) X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: - X-Spam-Score: -1.9 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.1 X-Scan-Signature: 4b95630a2805109a2fafe329e7ec4fd6 Cc: freebsd-bluetooth@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 13:24:36 -0000 I cc'ed freebsd-bluetooth in it for you. There are some knowledgeable people there. http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth Ronald. On Tue, 28 May 2013 14:01:56 +0200, Ruben de Groot wrote: > Hi, > > I'm trying to port an embedded bluetooth scanner running debian to > FreeBSD on a RPi. De usb dongle is recognized as ubt0, but I can't get > it to work. > > root@raspberry-pi:~ # service bluetooth start ubt0 > /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device > ubt0 > > In my custom kernel I have: > > # USB bluetooth > options NETGRAPH # netgraph(4) system > options NETGRAPH_BLUETOOTH # ng_bluetooth(4) > options NETGRAPH_BLUETOOTH_UBT # ng_ubt(4) > options NETGRAPH_BLUETOOTH_HCI # ng_hci(4) > options NETGRAPH_BLUETOOTH_BT3C # ng_bt3c(4) > options NETGRAPH_BLUETOOTH_L2CAP # ng_l2cap(4) > options NETGRAPH_BLUETOOTH_SOCKET # ng_btsocket(4) > options NETGRAPH_BLUETOOTH_UBTBCMFW # ubtbcmfw(4) > > But: > > root@raspberry-pi:~ # ngctl list > ngctl: can't create node: No such file or directory > > Is Netgraph not supposed to work in freebsd-arm? > > The kernel is svn r251002M > > I appreciate your advice > > -- > Ruben de Groot > > :(){ :|:& };: > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@FreeBSD.ORG Tue May 28 17:07:37 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A585A784; Tue, 28 May 2013 17:07:37 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-oa0-f51.google.com (mail-oa0-f51.google.com [209.85.219.51]) by mx1.freebsd.org (Postfix) with ESMTP id 69961959; Tue, 28 May 2013 17:07:37 +0000 (UTC) Received: by mail-oa0-f51.google.com with SMTP id f4so10194767oah.24 for ; Tue, 28 May 2013 10:07:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KCxOLsDkOeNvIio72j8i2oZWTHJcuywsUleeMn82ub8=; b=UwUzDl/IvhhUSnMSbJa1tRFLvMgkTldNFJE7U3U4dxVGUKk7d6eAcDB11rX6nTw/ME +XG+w/cbhn2c29VY2MuZPO+MUrQ5YavMt4SF63Z5wD8PtePhaWx44B1lrgxLc2YK0OZF 4CoU+9fxNWlAvrO1cGZM8iM2zYSXlJnjLhHwDbeLDxxv9L6XBIy2Py9cUl2mhjV0h0rp o6N+lS1kqqsj5fICJ/BKDEVsrUCEXQq6QSEt0wbnTHoOL3nINuMkpc5/H0QKpnYpiMdD fNGOF5W7YtdYTr6vXkElug//+qS4+nhvg+YXC9GRsOqsEG7lbZbeu1aL5bAYrPzer9An oI5Q== MIME-Version: 1.0 X-Received: by 10.60.38.197 with SMTP id i5mr21760965oek.66.1369760856523; Tue, 28 May 2013 10:07:36 -0700 (PDT) Received: by 10.76.166.133 with HTTP; Tue, 28 May 2013 10:07:36 -0700 (PDT) In-Reply-To: <20130528120155.GA69592@eris.bzerk.org> References: <20130528120155.GA69592@eris.bzerk.org> Date: Tue, 28 May 2013 10:07:36 -0700 Message-ID: Subject: Re: NETGRAPH not working on ARM? From: Maksim Yevmenkin To: Ruben de Groot Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-bluetooth@freebsd.org" , freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 17:07:37 -0000 On Tue, May 28, 2013 at 5:01 AM, Ruben de Groot wrote: > Hi, > > I'm trying to port an embedded bluetooth scanner running debian to FreeBSD on a RPi. De usb dongle is recognized as ubt0, but I can't get it to work. > > root@raspberry-pi:~ # service bluetooth start ubt0 > /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0 this should not be required if you are running devd(8). devd will automatically issue start when device is attached. > In my custom kernel I have: > > # USB bluetooth > options NETGRAPH # netgraph(4) system > options NETGRAPH_BLUETOOTH # ng_bluetooth(4) > options NETGRAPH_BLUETOOTH_UBT # ng_ubt(4) > options NETGRAPH_BLUETOOTH_HCI # ng_hci(4) > options NETGRAPH_BLUETOOTH_BT3C # ng_bt3c(4) > options NETGRAPH_BLUETOOTH_L2CAP # ng_l2cap(4) > options NETGRAPH_BLUETOOTH_SOCKET # ng_btsocket(4) > options NETGRAPH_BLUETOOTH_UBTBCMFW # ubtbcmfw(4) > > But: > > root@raspberry-pi:~ # ngctl list > ngctl: can't create node: No such file or directory > > Is Netgraph not supposed to work in freebsd-arm? you are missing more netgraph modules, NETGRAPH_SOCKET is missing for sure. would it be possible to try and use modular GENERIC kernel first and get it to work before try stripping things down. thanks max From owner-freebsd-arm@FreeBSD.ORG Tue May 28 20:32:33 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D2893745; Tue, 28 May 2013 20:32:33 +0000 (UTC) (envelope-from fbsd-arm@bzerk.org) Received: from eris.bzerk.org (unknown [IPv6:2001:980:18dd:1:192:168:179:45]) by mx1.freebsd.org (Postfix) with ESMTP id 492FA5E6; Tue, 28 May 2013 20:32:33 +0000 (UTC) Received: from eris.bzerk.org (BOFH@localhost [127.0.0.1]) by eris.bzerk.org (8.14.6/8.14.5) with ESMTP id r4SKWQCG074460 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 May 2013 20:32:27 GMT (envelope-from fbsd-arm@bzerk.org) Received: (from bulk@localhost) by eris.bzerk.org (8.14.6/8.14.6/Submit) id r4SKWQQl074459; Tue, 28 May 2013 20:32:26 GMT (envelope-from fbsd-arm@bzerk.org) X-Authentication-Warning: eris.bzerk.org: bulk set sender to fbsd-arm@bzerk.org using -f Date: Tue, 28 May 2013 20:32:26 +0000 From: Ruben de Groot To: Maksim Yevmenkin Subject: Re: NETGRAPH not working on ARM? Message-ID: <20130528203226.GA74208@eris.bzerk.org> References: <20130528120155.GA69592@eris.bzerk.org> 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-Spam-Status: No, score=-11.0 required=5.0 tests=ALL_TRUSTED,AUTHD_RELAY autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eris.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (eris.bzerk.org [127.0.0.1]); Tue, 28 May 2013 20:32:32 +0000 (UTC) Cc: "freebsd-bluetooth@freebsd.org" , freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 20:32:33 -0000 On Tue, May 28, 2013 at 10:07:36AM -0700, Maksim Yevmenkin typed: > On Tue, May 28, 2013 at 5:01 AM, Ruben de Groot wrote: > > Hi, > > > > I'm trying to port an embedded bluetooth scanner running debian to FreeBSD on a RPi. De usb dongle is recognized as ubt0, but I can't get it to work. > > > > root@raspberry-pi:~ # service bluetooth start ubt0 > > /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0 > > this should not be required if you are running devd(8). devd will > automatically issue start when device is attached. > > > In my custom kernel I have: > > > > # USB bluetooth > > options NETGRAPH # netgraph(4) system > > options NETGRAPH_BLUETOOTH # ng_bluetooth(4) > > options NETGRAPH_BLUETOOTH_UBT # ng_ubt(4) > > options NETGRAPH_BLUETOOTH_HCI # ng_hci(4) > > options NETGRAPH_BLUETOOTH_BT3C # ng_bt3c(4) > > options NETGRAPH_BLUETOOTH_L2CAP # ng_l2cap(4) > > options NETGRAPH_BLUETOOTH_SOCKET # ng_btsocket(4) > > options NETGRAPH_BLUETOOTH_UBTBCMFW # ubtbcmfw(4) > > > > But: > > > > root@raspberry-pi:~ # ngctl list > > ngctl: can't create node: No such file or directory > > > > Is Netgraph not supposed to work in freebsd-arm? > > you are missing more netgraph modules, NETGRAPH_SOCKET is missing for > sure. would it be possible to try and use modular GENERIC kernel first > and get it to work before try stripping things down. Thanks for your reply Max There is no GENERIC kernel ;). Unfortunately, on arm, my understanding is that loadable modules are not (yet?) supported. They are surely not being build. Therefore I am not stripping down, I'm trying to find the necessary modules to include in my monolithic freebsd-arm kernel to get this to work. At least yours and others remarks gives me hope my problem can be resolved without patches :) So I will now build another kernel with NETGRAPH_SOCKET. I will also check on an i386 system where modules are available to see which need to be loaded. Thanks again! -- Ruben de Groot :(){ :|:& };: > thanks > max From owner-freebsd-arm@FreeBSD.ORG Tue May 28 21:09:07 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A3DD97DF for ; Tue, 28 May 2013 21:09:07 +0000 (UTC) (envelope-from iz-rpi03@hs-karlsruhe.de) Received: from smtp.hs-karlsruhe.de (smtp.HS-Karlsruhe.DE [193.196.64.25]) by mx1.freebsd.org (Postfix) with ESMTP id 6A51B99B for ; Tue, 28 May 2013 21:09:07 +0000 (UTC) Received: from iz-wera01.hs-karlsruhe.de ([193.196.65.46]) by smtp.hs-karlsruhe.de with esmtp (Exim 4.80.1) (envelope-from ) id 1UhR8k-007Hqo-Di; Tue, 28 May 2013 23:09:06 +0200 X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.5 From: Ralf Wenk To: Ruben de Groot Subject: Re: NETGRAPH not working on ARM? In-reply-to: <20130528203226.GA74208@eris.bzerk.org> References: <20130528120155.GA69592@eris.bzerk.org> <20130528203226.GA74208@eris.bzerk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 28 May 2013 23:08:53 +0200 Message-Id: Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 21:09:07 -0000 Hi, Ruben de Groot wrote: > There is no GENERIC kernel ;). Unfortunately, on arm, my understanding is that loadable modules are not (yet?) supported. They are surely not being build. Therefore I am not stripping down, I'm trying to find the necessary modules to include in my monolithic freebsd-arm kernel to get this to work. At least yours and others remarks gives me hope my problem can be resolved without patches :) > So I will now build another kernel with NETGRAPH_SOCKET. I will also check on an i386 system where modules are available to see which need to be loaded. The default kernel configuration for RPi disable the building of modules. That is caused by the statement makeoptions MODULES_OVERRIDE="" in sys/arm/conf/RPI-B. If you change it e.g. to makeoptions MODULES_OVERRIDE="geom/geom_mirror" the named module will be build and installed into /boot/kernel/. root@raspberry-pi:~ # kldload geom_mirror root@raspberry-pi:~ # kldstat -v Id Refs Address Size Name 1 3 0xc0100000 4d6394 kernel (/boot/kernel/kernel) ... 2 1 0xc2db0000 19000 geom_mirror.ko (/boot/kernel/geom_mirror.ko) Contains modules: Id Name 89 g_mirror root@raspberry-pi:~ # Ralf From owner-freebsd-arm@FreeBSD.ORG Tue May 28 21:34:19 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D08356DE for ; Tue, 28 May 2013 21:34:19 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ob0-x235.google.com (mail-ob0-x235.google.com [IPv6:2607:f8b0:4003:c01::235]) by mx1.freebsd.org (Postfix) with ESMTP id 9C545B4D for ; Tue, 28 May 2013 21:34:19 +0000 (UTC) Received: by mail-ob0-f181.google.com with SMTP id 16so466127obc.12 for ; Tue, 28 May 2013 14:34:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=qIQ6BKeFOV1WlAhCDjVOFckLKHUlQJCDZURxTyvSS0g=; b=E+YBIs4tVJtjPPkyJTV3H4WJeD0Lxh+ksx26XUSk0S/KPXlc+nht9k213QjeVmCvtO FlnKGHQYa9hOK2/lYOwEpcV7LN/kQlunQFhLO3viGOaTFqK5jrDswgW61lwYw4RW5Hbl tZDQ73Xg72jgnwPqcsOvdohbgzP9yLE72UIAnpXPmefP7srfP7+TF4OQMtrWTkuRv6Bg koP0fottcBXLz6TsIizDa0PfOHtrGtvERQL+XfO+XFgb+mKbyawgxR2NZQBHxOCyc6Gd EnogsscWK4pdr9xVYuuXS7M9/BsgW8F3JqO2eIRr2GpHEskGm+VRk3/VFj3dLTIBIIi8 pk4A== X-Received: by 10.182.66.170 with SMTP id g10mr6987249obt.64.1369776859171; Tue, 28 May 2013 14:34:19 -0700 (PDT) Received: from monkey-bot.int.fusionio.com ([209.117.142.2]) by mx.google.com with ESMTPSA id kd10sm37667173oeb.7.2013.05.28.14.34.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 May 2013 14:34:17 -0700 (PDT) Sender: Warner Losh Subject: Re: NETGRAPH not working on ARM? Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <20130528203226.GA74208@eris.bzerk.org> Date: Tue, 28 May 2013 15:34:15 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20130528120155.GA69592@eris.bzerk.org> <20130528203226.GA74208@eris.bzerk.org> To: Ruben de Groot X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQncnx8ZQi8G7lf2yF8q9gsmd6tHx8bUqXxH90bPxZvoiuSHYKV3Z3lux5ahrDlnP9oamzDQ Cc: "freebsd-bluetooth@freebsd.org" , freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 21:34:20 -0000 On May 28, 2013, at 2:32 PM, Ruben de Groot wrote: > On Tue, May 28, 2013 at 10:07:36AM -0700, Maksim Yevmenkin typed: >> On Tue, May 28, 2013 at 5:01 AM, Ruben de Groot = wrote: >>> Hi, >>>=20 >>> I'm trying to port an embedded bluetooth scanner running debian to = FreeBSD on a RPi. De usb dongle is recognized as ubt0, but I can't get = it to work. >>>=20 >>> root@raspberry-pi:~ # service bluetooth start ubt0 >>> /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for = device ubt0 >>=20 >> this should not be required if you are running devd(8). devd will >> automatically issue start when device is attached. >>=20 >>> In my custom kernel I have: >>>=20 >>> # USB bluetooth >>> options NETGRAPH # netgraph(4) system >>> options NETGRAPH_BLUETOOTH # ng_bluetooth(4) >>> options NETGRAPH_BLUETOOTH_UBT # ng_ubt(4) >>> options NETGRAPH_BLUETOOTH_HCI # ng_hci(4) >>> options NETGRAPH_BLUETOOTH_BT3C # ng_bt3c(4) >>> options NETGRAPH_BLUETOOTH_L2CAP # ng_l2cap(4) >>> options NETGRAPH_BLUETOOTH_SOCKET # ng_btsocket(4) >>> options NETGRAPH_BLUETOOTH_UBTBCMFW # ubtbcmfw(4) >>>=20 >>> But: >>>=20 >>> root@raspberry-pi:~ # ngctl list >>> ngctl: can't create node: No such file or directory >>>=20 >>> Is Netgraph not supposed to work in freebsd-arm? >>=20 >> you are missing more netgraph modules, NETGRAPH_SOCKET is missing for >> sure. would it be possible to try and use modular GENERIC kernel = first >> and get it to work before try stripping things down. >=20 > Thanks for your reply Max > There is no GENERIC kernel ;). Unfortunately, on arm, my understanding = is that loadable modules are not (yet?) supported. They are surely not = being build. Therefore I am not stripping down, I'm trying to find the = necessary modules to include in my monolithic freebsd-arm kernel to get = this to work. At least yours and others remarks gives me hope my problem = can be resolved without patches :) Loadable modules on arm work, but on some platforms we don't have = /boot/loader support, which means on those platforms you can't load them = at boot time, but have to fall back to loading them from /etc/rc.d or on = demand. Warner > So I will now build another kernel with NETGRAPH_SOCKET. I will also = check on an i386 system where modules are available to see which need to = be loaded. >=20 > Thanks again! >=20 > -- > Ruben de Groot >=20 > :(){ :|:& };: >=20 >=20 >> thanks >> max > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@FreeBSD.ORG Tue May 28 22:17:32 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 816EA529; Tue, 28 May 2013 22:17:32 +0000 (UTC) (envelope-from zbb@semihalf.com) Received: from smtp.semihalf.com (smtp.semihalf.com [213.17.239.109]) by mx1.freebsd.org (Postfix) with ESMTP id BFC4FE24; Tue, 28 May 2013 22:17:31 +0000 (UTC) Received: from localhost (unknown [213.17.239.109]) by smtp.semihalf.com (Postfix) with ESMTP id 6FE5EC384A; Wed, 29 May 2013 00:17:24 +0200 (CEST) X-Virus-Scanned: by amavisd-new at semihalf.com Received: from smtp.semihalf.com ([213.17.239.109]) by localhost (smtp.semihalf.com [213.17.239.109]) (amavisd-new, port 10024) with ESMTP id LHJ9nEHDIm6X; Wed, 29 May 2013 00:17:23 +0200 (CEST) Received: from webmail.semihalf.com (semihalf.com [206.130.101.55]) by smtp.semihalf.com (Postfix) with ESMTPSA id 65A81C3833; Wed, 29 May 2013 00:17:22 +0200 (CEST) MIME-Version: 1.0 Date: Tue, 28 May 2013 16:17:19 -0600 From: Zbigniew Bodek To: Subject: =?UTF-8?Q?pmap=5Fcopy=20for=20ARMv=36/v=37?= Message-ID: X-Sender: zbb@semihalf.com User-Agent: RoundCube Webmail/0.2.2 Content-Type: multipart/mixed; boundary="=_19aa6322d7875fcf9bb1e310a4996ca6" Cc: Aleksandr Rybalko , Alan Cox X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 22:17:32 -0000 --=_19aa6322d7875fcf9bb1e310a4996ca6 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Hello Everyone, I would like to share with you the patch adding pmap_copy() functionality to pmap-v6.c. This is the last but not least of the pmap improvements done as a part of Semihalf work on Superpages support. We tried various technics to test the patch on our target. Apart from obvious long term stability tests and others, we used a simple benchmark to measure fork system call time and overhead. The program can be downloaded from here: http://berlin.ccc.de/~packet/fork_test.c A single fork time has increased as suspected (the program is not measuring a real-life fork situation where child process is actually doing something) but the average system overhead has decreased. For 10000 fork(), 10000 vfork() and 10000 pthread_create() calls we observe 100000 less vm_faults and shorter overall test time. If you have any suggestions or have an idea for benchmarking this feature please share. We will appreciate if you could test this patch on your ARM platforms and send us your review/feedback. Best regards Zbyszek Bodek --=_19aa6322d7875fcf9bb1e310a4996ca6 Content-Transfer-Encoding: base64 Content-Type: text/x-patch; charset="UTF-8"; name="0006-arm-Implement-pmap_copy-for-ARMv6-v7.patch"; Content-Disposition: attachment; filename="0006-arm-Implement-pmap_copy-for-ARMv6-v7.patch"; RnJvbSAyZjI3NWRmYWExYzk5NmZmOGY1NmU2ZGVkMzBhMmUzNzBhZTZmZDk2IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBaYmlnbmlldyBCb2RlayA8emJiQHNlbWloYWxmLmNvbT4KRGF0 ZTogVGh1LCAyMyBNYXkgMjAxMyAxMjo0MDo1NyArMDIwMApTdWJqZWN0OiBbUEFUQ0hdIGFybTog SW1wbGVtZW50IHBtYXBfY29weSgpIGZvciBBUk12Ni92Ny4KCkNvcHkgdGhlIGdpdmVuIHJhbmdl IG9mIG1hcHBpbmdzIGZyb20gdGhlIHNvdXJjZSBtYXAgdG8gdGhlCmRlc3RpbmF0aW9uIG1hcCwg dGhlcmVieSByZWR1Y2luZyB0aGUgbnVtYmVyIG9mIFZNIGZhdWx0cyBvbiBmb3JrLgotLS0KIHN5 cy9hcm0vYXJtL3BtYXAtdjYuYyB8IDEyMCArKysrKysrKysrKysrKysrKysrKysrKysrKysrKysr KysrKysrKysrKysrKysrKysrKwogMSBmaWxlIGNoYW5nZWQsIDEyMCBpbnNlcnRpb25zKCspCgpk aWZmIC0tZ2l0IGEvc3lzL2FybS9hcm0vcG1hcC12Ni5jIGIvc3lzL2FybS9hcm0vcG1hcC12Ni5j CmluZGV4IDU2YWNiM2EuLmIwYTQwYTggMTAwNjQ0Ci0tLSBhL3N5cy9hcm0vYXJtL3BtYXAtdjYu YworKysgYi9zeXMvYXJtL2FybS9wbWFwLXY2LmMKQEAgLTI5NjYsNiArMjk2NiwxMjYgQEAgdm9p ZAogcG1hcF9jb3B5KHBtYXBfdCBkc3RfcG1hcCwgcG1hcF90IHNyY19wbWFwLCB2bV9vZmZzZXRf dCBkc3RfYWRkciwKICAgICB2bV9zaXplX3QgbGVuLCB2bV9vZmZzZXRfdCBzcmNfYWRkcikKIHsK KwlzdHJ1Y3QgbDJfYnVja2V0ICpsMmJfc3JjLCAqbDJiX2RzdDsKKwlzdHJ1Y3QgcHZfZW50cnkg KnB2ZSA9IE5VTEw7CisJdm1fb2Zmc2V0X3QgYWRkcjsKKwl2bV9vZmZzZXRfdCBlbmRfYWRkciA9 IHNyY19hZGRyICsgbGVuOworCXZtX29mZnNldF90IG5leHRfYnVja2V0OworCXVfaW50IGZsYWdz OworCWJvb2xlYW5fdCBsMmJfYWxsb2M7CisKKwlDVFI0KEtUUl9QTUFQLCAiJXM6IFZBID0gMHgl MDh4LCBsZW4gPSAweCUwOHguIFdpbGwgJXNcbiIsIF9fZnVuY19fLAorCSAgICBzcmNfYWRkciwg bGVuLCAoZHN0X2FkZHIgIT0gc3JjX2FkZHIpID8gImV4aXQiIDogImNvcHkiKTsKKworCWlmIChk c3RfYWRkciAhPSBzcmNfYWRkcikKKwkJcmV0dXJuOworCisJcndfd2xvY2soJnB2aF9nbG9iYWxf bG9jayk7CisJaWYgKGRzdF9wbWFwIDwgc3JjX3BtYXApIHsKKwkJUE1BUF9MT0NLKGRzdF9wbWFw KTsKKwkJUE1BUF9MT0NLKHNyY19wbWFwKTsKKwl9IGVsc2UgeworCQlQTUFQX0xPQ0soc3JjX3Bt YXApOworCQlQTUFQX0xPQ0soZHN0X3BtYXApOworCX0KKworCWFkZHIgPSBzcmNfYWRkcjsKKwkv KgorCSAqIEl0ZXJhdGUgdGhyb3VnaCBhbGwgdXNlZAorCSAqIGwyX2J1Y2tldHMgaW4gYSBnaXZl biByYW5nZS4KKwkgKi8KKwl3aGlsZSAoYWRkciA8IGVuZF9hZGRyKSB7CisJCXB0X2VudHJ5X3Qg KnNyY19wdGVwLCAqZHN0X3B0ZXA7CisJCXB0X2VudHJ5X3Qgc3JjX3B0ZTsKKworCQluZXh0X2J1 Y2tldCA9IEwyX05FWFRfQlVDS0VUKGFkZHIpOworCQkvKgorCQkgKiBJZiB0aGUgbmV4dCBidWNr ZXQgVkEgaXMgb3V0IG9mIHRoZQorCQkgKiBjb3B5IHJhbmdlIHRoZW4gc2V0IGl0IHRvIGVuZF9h ZGRyIGluIG9yZGVyCisJCSAqIHRvIGNvcHkgYWxsIG1hcHBpbmdzIHVudGlsIHRoZSBnaXZlbiBs aW1pdC4KKwkJICovIAorCQlpZiAobmV4dF9idWNrZXQgPiBlbmRfYWRkcikKKwkJCW5leHRfYnVj a2V0ID0gZW5kX2FkZHI7CisKKwkJbDJiX3NyYyA9IHBtYXBfZ2V0X2wyX2J1Y2tldChzcmNfcG1h cCwgYWRkcik7CisJCWlmIChsMmJfc3JjID09IE5VTEwpIHsKKwkJCWFkZHIgPSBuZXh0X2J1Y2tl dDsKKwkJCWNvbnRpbnVlOworCQl9CisJCXNyY19wdGVwID0gJmwyYl9zcmMtPmwyYl9rdmFbbDJw dGVfaW5kZXgoYWRkcildOworCisJCXdoaWxlIChhZGRyIDwgbmV4dF9idWNrZXQpIHsKKwkJCXZt X3BhZ2VfdCBzcmNtcHRlOworCisJCQlzcmNfcHRlID0gKnNyY19wdGVwOworCQkJc3JjbXB0ZSA9 IFBIWVNfVE9fVk1fUEFHRShsMnB0ZV9wYShzcmNfcHRlKSk7CisJCQkvKgorCQkJICogV2Ugb25s eSB2aXJ0dWFsIGNvcHkgbWFuYWdlZCBwYWdlcworCQkJICovCisJCQlpZiAoc3JjbXB0ZSAmJiAo c3JjbXB0ZS0+b2ZsYWdzICYgVlBPX1VOTUFOQUdFRCkgPT0gMCkgeworCQkJCWwyYl9hbGxvYyA9 IEZBTFNFOworCQkJCWwyYl9kc3QgPSBwbWFwX2dldF9sMl9idWNrZXQoZHN0X3BtYXAsIGFkZHIp OworCQkJCS8qCisJCQkJICogQ2hlY2sgaWYgdGhlIGFsbG9jYXRpb24gb2YgYW5vdGhlcgorCQkJ CSAqIGwyX2J1Y2tldCBpcyBuZWNlc3NhcnkuCisJCQkJICovCisJCQkJaWYgKGwyYl9kc3QgPT0g TlVMTCkgeworCQkJCQlsMmJfZHN0ID0gcG1hcF9hbGxvY19sMl9idWNrZXQoZHN0X3BtYXAsCisJ CQkJCSAgICBhZGRyKTsKKwkJCQkJbDJiX2FsbG9jID0gVFJVRTsKKwkJCQl9CisJCQkJaWYgKGwy Yl9kc3QgPT0gTlVMTCkKKwkJCQkJZ290byBvdXQ7CisKKwkJCQlkc3RfcHRlcCA9ICZsMmJfZHN0 LT5sMmJfa3ZhW2wycHRlX2luZGV4KGFkZHIpXTsKKworCQkJCWlmICgqZHN0X3B0ZXAgPT0gMCAm JgorCQkJCSAgICAocHZlID0gcG1hcF9nZXRfcHZfZW50cnkoZHN0X3BtYXAsIFRSVUUpKSkgewor CQkJCQkvKgorCQkJCQkgKiBDaGVjayB3aGV0aGVyIHRoZSBzb3VyY2UgbWFwcGluZyBpcworCQkJ CQkgKiB3cml0YWJsZSBhbmQgc2V0IHRoZSBwcm9wZXIgZmxhZworCQkJCQkgKiBmb3IgYSBjb3Bp ZWQgbWFwcGluZyBzbyB0aGF0IHJpZ2h0CisJCQkJCSAqIHBlcm1pc3Npb25zIGNvdWxkIGJlIHNl dCBvbiB0aGUKKwkJCQkJICogYWNjZXNzIGZhdWx0LgorCQkJCQkgKi8KKwkJCQkJZmxhZ3MgPSAw OworCQkJCQlpZiAoKHNyY19wdGUgJiBMMl9BUFgpID09IDApCisJCQkJCQlmbGFncyA9IFBWRl9X UklURTsKKwkJCQkJcG1hcF9lbnRlcl9wdihzcmNtcHRlLCBwdmUsIGRzdF9wbWFwLAorCQkJCQkg ICAgYWRkciwgZmxhZ3MpOworCQkJCQkvKgorCQkJCQkgKiBDbGVhciB0aGUgbW9kaWZpZWQgYW5k CisJCQkJCSAqIGFjY2Vzc2VkIChyZWZlcmVuY2VkKSBmbGFncworCQkJCQkgKiBhbmQgZG9uJ3Qg c2V0IHRoZSB3aXJlZCBmbGFnCisJCQkJCSAqIGR1cmluZyB0aGUgY29weS4KKwkJCQkJICovCisJ CQkJCSpkc3RfcHRlcCA9IHNyY19wdGU7CisJCQkJCSpkc3RfcHRlcCAmPSB+TDJfU19SRUY7CisJ CQkJCSpkc3RfcHRlcCB8PSBMMl9BUFg7CisJCQkJCS8qCisJCQkJCSAqIFVwZGF0ZSBzdGF0cwor CQkJCQkgKi8KKwkJCQkJbDJiX2RzdC0+bDJiX29jY3VwYW5jeSsrOworCQkJCQlkc3RfcG1hcC0+ cG1fc3RhdHMucmVzaWRlbnRfY291bnQrKzsKKwkJCQl9IGVsc2UgeworCQkJCQkvKgorCQkJCQkg KiBJZiB0aGUgbDJfYnVja2V0IHdhcyBhY3F1aXJlZCBhcworCQkJCQkgKiBhIHJlc3VsdCBvZiBh bGxvY2F0aW9uIHRoZW4gZnJlZSBpdC4KKwkJCQkJICovCisJCQkJCWlmIChsMmJfYWxsb2MpCisJ CQkJCQlwbWFwX2ZyZWVfbDJfYnVja2V0KGRzdF9wbWFwLAorCQkJCQkJICAgIGwyYl9kc3QsIDEp OworCQkJCQlnb3RvIG91dDsKKwkJCQl9CisJCQl9CisJCQlhZGRyICs9IFBBR0VfU0laRTsKKwkJ CXNyY19wdGVwKys7CisJCX0KKwl9CitvdXQ6CisJcndfd3VubG9jaygmcHZoX2dsb2JhbF9sb2Nr KTsKKwlQTUFQX1VOTE9DSyhzcmNfcG1hcCk7CisJUE1BUF9VTkxPQ0soZHN0X3BtYXApOwogfQog CiAKLS0gCjEuOC4yCgo= --=_19aa6322d7875fcf9bb1e310a4996ca6-- From owner-freebsd-arm@FreeBSD.ORG Wed May 29 12:33:35 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 071FF7B5 for ; Wed, 29 May 2013 12:33:35 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-qa0-x231.google.com (mail-qa0-x231.google.com [IPv6:2607:f8b0:400d:c00::231]) by mx1.freebsd.org (Postfix) with ESMTP id C340484B for ; Wed, 29 May 2013 12:33:34 +0000 (UTC) Received: by mail-qa0-f49.google.com with SMTP id j11so2151271qag.1 for ; Wed, 29 May 2013 05:33:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=2PSiMj4M7cblVHTCt5wLKq1LgmjwX4OMfOTC4x/aclA=; b=d4180QDywv453onvMY1r77TaUEO54is4DCqY5/bcr3xYVkFZ6xaSThGGd+ml0LlJI9 4/qadrZOD6L4W55elJqfigTk8v/djUNLrKx9dgPpWH1gUx3N/IUi6pakLy28d+LfKa0i oAlRxEH/MHuxYw6yeR5T/JU6oShrz8iJ5QRerdyNDabyGY6/aY45+2rmEnjdaXeFvtbl E9hwV7wa2JgI3meTa6pkFdfbiL97As/OabJKDqzyM/J1v5AsCmml11WXFvABAy/hMMKd t5vmbYqXcmWXE9O2dmAtEyzn6SO4dLXOiLuiV5ucZ/xu0mABckSOK2VYk7RIHs8DYXSl 6J4A== MIME-Version: 1.0 X-Received: by 10.49.38.169 with SMTP id h9mr2523599qek.54.1369830814260; Wed, 29 May 2013 05:33:34 -0700 (PDT) Received: by 10.49.25.84 with HTTP; Wed, 29 May 2013 05:33:34 -0700 (PDT) Date: Wed, 29 May 2013 20:33:34 +0800 Message-ID: Subject: FreeBSD-CURRENT r251099 for RasPi stops at "warning: no time-of-day clock registered, system will not be set accurately" From: Alie Tan To: "freebsd-arm@freebsd.org" X-Gm-Message-State: ALoCoQkg+Lp6pxeKFMmiTKq/MrAMmi4IZHE85oem93CCO5TeUb6vBzOxUJhrIOYJmoTT4NjigwBP Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 12:33:35 -0000 Hi, I just built FreeBSD-CURRENT r251099 for RasPi with ARM EABI and GCC but unfortunately it stops at message below while booting: warning: no time-of-day clock registered, system will not be set accurately This thing happens if I build it with CLANG too. Regards, Alie T From owner-freebsd-arm@FreeBSD.ORG Wed May 29 13:19:43 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 097D52C2 for ; Wed, 29 May 2013 13:19:43 +0000 (UTC) (envelope-from werner@thieprojects.ch) Received: from newton.metanet.ch (newton2.metanet.ch [80.74.158.131]) by mx1.freebsd.org (Postfix) with ESMTP id 4FFD4D83 for ; Wed, 29 May 2013 13:19:41 +0000 (UTC) Received: (qmail 32334 invoked from network); 29 May 2013 15:19:33 +0200 Received: from 217-071-083-008.ip-tech.ch (HELO ?192.168.11.88?) (217.71.83.8) by newton.metanet.ch with ESMTPSA (DHE-RSA-AES256-SHA encrypted, authenticated); 29 May 2013 15:19:33 +0200 Message-ID: <51A60065.5010104@thieprojects.ch> Date: Wed, 29 May 2013 15:19:33 +0200 From: Werner Thie User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Alie Tan Subject: Re: FreeBSD-CURRENT r251099 for RasPi stops at "warning: no time-of-day clock registered, system will not be set accurately" References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 13:19:43 -0000 Hi do you have by any chance ntpd enabled and no network connection? Werner On 5/29/13 2:33 PM, Alie Tan wrote: > Hi, > > I just built FreeBSD-CURRENT r251099 for RasPi with ARM EABI and GCC but > unfortunately it stops at message below while booting: > warning: no time-of-day clock registered, system will not be set accurately > > This thing happens if I build it with CLANG too. > > Regards, > Alie T > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > From owner-freebsd-arm@FreeBSD.ORG Wed May 29 13:33:30 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EF45369E for ; Wed, 29 May 2013 13:33:30 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-qc0-x234.google.com (mail-qc0-x234.google.com [IPv6:2607:f8b0:400d:c01::234]) by mx1.freebsd.org (Postfix) with ESMTP id B4FADE7D for ; Wed, 29 May 2013 13:33:30 +0000 (UTC) Received: by mail-qc0-f180.google.com with SMTP id a10so4767624qcx.11 for ; Wed, 29 May 2013 06:33:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=GQVCGTNuPliizXQJ+w+pcv6Po4k0dqLRV5TH3DQwKB8=; b=LA2Fbgq/3TtD6RPLOF7tLt/Gelh3bkBO9tLzgPHim0DMs70JA2gp0geyAfKB+b6C0f GeUno5vOtrjcJiEv+NEXdud55JWXzEXAswzG/PuLhr6ejViptVv7I6k3ZFhohyXCsIhQ A6eLJ2hJbGjF22+f+LfBrKTder17t+UvdA/OgZLWxn8shI5RbaLhEszBV33wckVdiQ+3 Asizg3VUpVmNJ1soUytKsAshYH1BMipnrxbFHi7ATPH35IfojbUCuI3PhsnzVZPuZebj k3msz7zNInHhVme/ysqa5Mh5ocL5OIp1yq7jWwXKtHB1uh+l06d3QR75T5HwMjSR7nHq KuKw== MIME-Version: 1.0 X-Received: by 10.224.37.134 with SMTP id x6mr2826420qad.98.1369834410244; Wed, 29 May 2013 06:33:30 -0700 (PDT) Received: by 10.49.25.84 with HTTP; Wed, 29 May 2013 06:33:30 -0700 (PDT) In-Reply-To: <51A60065.5010104@thieprojects.ch> References: <51A60065.5010104@thieprojects.ch> Date: Wed, 29 May 2013 21:33:30 +0800 Message-ID: Subject: Re: FreeBSD-CURRENT r251099 for RasPi stops at "warning: no time-of-day clock registered, system will not be set accurately" From: Alie Tan To: Werner Thie X-Gm-Message-State: ALoCoQli61S9uJIeIwt5ovQfdafwV5mzay6hjs+AzD+Zvwdsp/qmZlWLdEaFpleSAozTJ+I47j39 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 13:33:31 -0000 Hi, I have network connection and ntpd enabled but there is another boot message before the warning message: "Trying to mount root from ufs:/dev/mmcsd0s2a [rw,noatime]..." The image will run properly if I turned off ARM EABI but it will fail to boot for the first time with error 19 and it will nicely subsequently after the first boot. Regards, Alie T On Wed, May 29, 2013 at 9:19 PM, Werner Thie wrote: > Hi > > do you have by any chance ntpd enabled and no network connection? > > Werner > > On 5/29/13 2:33 PM, Alie Tan wrote: > >> Hi, >> >> I just built FreeBSD-CURRENT r251099 for RasPi with ARM EABI and GCC but >> unfortunately it stops at message below while booting: >> warning: no time-of-day clock registered, system will not be set >> accurately >> >> This thing happens if I build it with CLANG too. >> >> Regards, >> Alie T >> ______________________________**_________________ >> freebsd-arm@freebsd.org mailing list >> http://lists.freebsd.org/**mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@**freebsd.org >> " >> >> > From owner-freebsd-arm@FreeBSD.ORG Wed May 29 13:33:37 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E28AF6D6 for ; Wed, 29 May 2013 13:33:37 +0000 (UTC) (envelope-from onlinesjournals@gmail.com) Received: from mail-bk0-x243.google.com (mail-bk0-x243.google.com [IPv6:2a00:1450:4008:c01::243]) by mx1.freebsd.org (Postfix) with ESMTP id 62D93E7F for ; Wed, 29 May 2013 13:33:37 +0000 (UTC) Received: by mail-bk0-f67.google.com with SMTP id jc10so1317438bkc.2 for ; Wed, 29 May 2013 06:33:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:reply-to:from:to:subject:date:mime-version:content-type :content-transfer-encoding:x-priority; bh=dsyZItvfVn5IylE6yrlPUKZwt/glDkRaYG4rLG/wUpU=; b=b9Oy/lFudHgg7B0E/HoYySgj/Zv+aR/iG6Kf5PqZhYQ+3PQajspt5r/u2VeAnTRrp+ NcrSRgc5aKOI4wUmBORN/GXHZV38DuVricaMw1rZIn11kJcH4S/GaInni+V/TTKAMNLN PeTqBRG2dx5MQEzm5zGCwO1GCiei/oROIYyB2XGY4W51tM/O7FF9RCk1pPLzhPkPVIcN pOXqmN44zWxMZukVxBuCD6B5sFw6s6Gr+5em0L4dyjzu5Cnqo+9yg4rSt6KJIelBsCf/ UzntNzr/gZOCmNjWN5JHyUqcRW7XftNMUdcyQXHpmsZvspGAC55j7FGaV1T9p0XxtNsj HA7w== X-Received: by 10.205.25.198 with SMTP id rj6mr694822bkb.2.1369834416526; Wed, 29 May 2013 06:33:36 -0700 (PDT) Received: from Benyamin-PC ([2.187.52.102]) by mx.google.com with ESMTPSA id v6sm11993651bko.3.2013.05.29.06.33.32 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 29 May 2013 06:33:36 -0700 (PDT) Message-ID: <0324d51a-41423-01fa2732937963@benyamin-pc> From: "Sjournals" To: freebsd-arm@freebsd.org Subject: Sjournals Services (Open Journal Management system, Sjournals Index, ...) Date: Wed, 29 May 2013 06:32:40 -0700 X-Priority: 3 MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Sjournals List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 13:33:37 -0000 Dear Researchers We provide high quality services and strive to ease all steps from submission to publication of high quality research work. 1. [1]Sjournals Manager (FREE of charge) The [2]Sjournals Manager manages the overall publishing system. The [3]Sjournals Manager does the setup for the journal, and enrolls the Editors, Section Editors, Copyeditors, Layout Editors, Proofreaders, and Reviewers. The [4]Sjournals Manager cordially invites you to join the peer reviewed journals of the Open Journal Management system and help us to produce good quality research in your area of expertise. With Sjournals Manager you can easily start your own journal. Scholars, institutions, conference organizers and scientific societies can all propose and launch new scientific journals. 2. Call for Paper (Vol 2 | Issue 6 | June 2013) We invite you to submit your manuscript(s) at [5]http://www.sjournals.com for rapid publication (via online submission system). Our objective is to inform author(s) of the decision on their manuscript (s) within one week of submission (All of Fields). Some of Indexing/Abstracting DOAJ, CABI Abstract, Global health, TEEAL (Cornell University), HINARI, CAS, ISC, Genamic JournalSeek, JournalTOCs, Academic Journals Database, PKP, Google scholar, SCIRUS, Index Copernicus, Academic keys, ResearchBib, Newjour, Electronic journals library, WorldCat, ProQuest, Open J-gate, library information service, GIF, Free journals act, etc. Submit your thesis abstract (*FREE*) Abstracts of all Master, Doctoral thesis will be submitted for inclusion in Sjournals Thesis, an online database used by researchers around the world. ST can be searched by author name, subject terms, and all words in the title and abstract. 3. [6]Sjournals Index (FREE of charge) The [7]Sjournals Index provides quantitative and qualitative tool for ranking, evaluating and categorizing the journals for academic evaluation and excellence. This factor is used for evaluating the prestige of journals. The evaluation is carried out by considering the factors like peer review originality, scientific quality, technical editing quality, editorial quality and regularity. 4. [8]Sjournals Conference Management System (FREE of charge) [9]Sjournals Conference Management System (SCMS) is a Web publishing tool that will create a complete Web presence for your scholarly conference. Don't hesitate to contact us if you have any questions. --- Kind Regards Sjournals Team Email: [10]Onlinesjournals@gmail.com [11]Onlinesjournals@yahoo.com [12]www.sjournals.com [13]www.sjournals.net [14]http://sjournals.net/ojs/index.php/index/about (Sjournals Manager) [15]http://sjournals.net/onlineconferencesystem/ (Sjournals Conference Management System) [16]http://sjournals.net/sjournalsindex (Sjournals Index) --------------------------------------------------------------------- ----------------------------------- P Think Green - don't print this email unless you really need to References 1. http://sjournals.net/ojs/ 2. http://sjournals.net/ojs/ 3. http://sjournals.net/ojs/ 4. http://sjournals.net/ojs/ 5. http://www.sjournals.com/ 6. http://sjournals.net/sjournalsindex/ 7. http://sjournals.net/sjournalsindex/ 8. http://sjournals.net/onlineconferencesystem 9. http://sjournals.net/onlineconferencesystem 10. mailto:Onlinesjournals@gmail.com 11. mailto:Onlinesjournals@gmail.com 12. http://www.sjournals.com/ 13. http://www.sjournals.net/ 14. http://sjournals.net/ojs/index.php/index/about 15. http://sjournals.net/onlineconferencesystem/ 16. http://sjournals.net/sjournalsindex From owner-freebsd-arm@FreeBSD.ORG Wed May 29 15:24:03 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CB8DD156 for ; Wed, 29 May 2013 15:24:03 +0000 (UTC) (envelope-from matthew.alton@gmail.com) Received: from mail-wg0-x235.google.com (mail-wg0-x235.google.com [IPv6:2a00:1450:400c:c00::235]) by mx1.freebsd.org (Postfix) with ESMTP id 6A9B5F8F for ; Wed, 29 May 2013 15:24:03 +0000 (UTC) Received: by mail-wg0-f53.google.com with SMTP id m15so6382509wgh.8 for ; Wed, 29 May 2013 08:24:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=BVYw2ozorxDUU+ivySe5ZA/2COCMMCljZGvUUJi9jt4=; b=IXHGzoM+trosFIFyKcPNhaWQQVmnHfbJFy327rn1CZZP5QIGoK3AwpAbxkumu1TVkx ATQBzHeMO4RErfBp5vD+Rhk03Zgrai6wkb5irlBsH5IAvMS+GBsFc67beU8HWylQul6q KsJolsVyG94eWuS85ab62D1DlT3ZcNCm4K8tzd0fHmttwnoIvT/p6/6WvdCWNfwgBkBW pE1DJR7lR0TT8H6syPEy+zU9UDF3xSMIx/EWkl41HXcXrYlJ5XmJJrB5mKUJi/nV7Fxk gtmkaqEAUH+rRyc0WpUIrW4kUSF0H0cXsMUth9QDaiGTAcE12BLIowTLyGDpTP7w5zUO WBSg== MIME-Version: 1.0 X-Received: by 10.180.206.205 with SMTP id lq13mr16035460wic.56.1369841042648; Wed, 29 May 2013 08:24:02 -0700 (PDT) Received: by 10.194.162.4 with HTTP; Wed, 29 May 2013 08:24:02 -0700 (PDT) Date: Wed, 29 May 2013 10:24:02 -0500 Message-ID: Subject: Cortex A50 Series? From: Matthew Alton To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 15:24:03 -0000 Hi, everybody. Is there any work underway to port FreeBSD to the ARM Cortex A-50 series 64-bit CPUs? I would like to help with this. Thanks! -- Matthew Alton UNIX Systems Programming & Administration "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth From owner-freebsd-arm@FreeBSD.ORG Wed May 29 15:50:36 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C908EFA5; Wed, 29 May 2013 15:50:36 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 8E72037E; Wed, 29 May 2013 15:50:36 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r4TFo63I023523; Wed, 29 May 2013 15:50:06 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.123] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id znqygajh8vcm7if9tm8z7syxxn; Wed, 29 May 2013 15:50:06 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: NETGRAPH not working on ARM? Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=windows-1252 From: Tim Kientzle In-Reply-To: <20130528203226.GA74208@eris.bzerk.org> Date: Wed, 29 May 2013 08:50:05 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <130AE27E-F4C1-414B-890E-2F3B1458C6B4@kientzle.com> References: <20130528120155.GA69592@eris.bzerk.org> <20130528203226.GA74208@eris.bzerk.org> To: Ruben de Groot X-Mailer: Apple Mail (2.1283) Cc: "freebsd-bluetooth@freebsd.org" , freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 15:50:36 -0000 On May 28, 2013, at 1:32 PM, Ruben de Groot wrote: > On Tue, May 28, 2013 at 10:07:36AM -0700, Maksim Yevmenkin typed: >> On Tue, May 28, 2013 at 5:01 AM, Ruben de Groot = wrote: >>> Hi, >>>=20 >>> I'm trying to port an embedded bluetooth scanner running debian to = FreeBSD on a RPi. De usb dongle is recognized as ubt0, but I can't get = it to work. >>>=20 >>> root@raspberry-pi:~ # service bluetooth start ubt0 >>> /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for = device ubt0 >>=20 >> this should not be required if you are running devd(8). devd will >> automatically issue start when device is attached. >>=20 >>> In my custom kernel I have: >>>=20 >>> # USB bluetooth >>> options NETGRAPH # netgraph(4) system >>> options NETGRAPH_BLUETOOTH # ng_bluetooth(4) >>> options NETGRAPH_BLUETOOTH_UBT # ng_ubt(4) >>> options NETGRAPH_BLUETOOTH_HCI # ng_hci(4) >>> options NETGRAPH_BLUETOOTH_BT3C # ng_bt3c(4) >>> options NETGRAPH_BLUETOOTH_L2CAP # ng_l2cap(4) >>> options NETGRAPH_BLUETOOTH_SOCKET # ng_btsocket(4) >>> options NETGRAPH_BLUETOOTH_UBTBCMFW # ubtbcmfw(4) >>>=20 >>> But: >>>=20 >>> root@raspberry-pi:~ # ngctl list >>> ngctl: can't create node: No such file or directory >>>=20 >>> Is Netgraph not supposed to work in freebsd-arm? >>=20 >> you are missing more netgraph modules, NETGRAPH_SOCKET is missing for >> sure. would it be possible to try and use modular GENERIC kernel = first >> and get it to work before try stripping things down. >=20 > Thanks for your reply Max > There is no GENERIC kernel ;). Unfortunately, on arm, my understanding = is that loadable modules are not (yet?) supported. They are surely not = being build.=20 We should be building modules for RPi and a few other popular boards by default. We should run some build tests to see how broken it is before committing the one-line change. It's been a while since I tried building "all modules" =85. Tim From owner-freebsd-arm@FreeBSD.ORG Wed May 29 15:52:06 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E730318D for ; Wed, 29 May 2013 15:52:06 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id C7B43397 for ; Wed, 29 May 2013 15:52:06 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r4TFq4Li023548; Wed, 29 May 2013 15:52:04 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.123] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id kj4dwtrix6azzmc8v648789fce; Wed, 29 May 2013 15:52:04 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: FreeBSD-CURRENT r251099 for RasPi stops at "warning: no time-of-day clock registered, system will not be set accurately" Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: Date: Wed, 29 May 2013 08:52:04 -0700 Content-Transfer-Encoding: 7bit Message-Id: References: To: Alie Tan X-Mailer: Apple Mail (2.1283) Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 15:52:07 -0000 On May 29, 2013, at 5:33 AM, Alie Tan wrote: > Hi, > > I just built FreeBSD-CURRENT r251099 for RasPi with ARM EABI and GCC but > unfortunately it stops at message below while booting: > warning: no time-of-day clock registered, system will not be set accurately > > This thing happens if I build it with CLANG too. This warning is meaningless. The RPi doesn't have RTC hardware. It sounds like it's unable to mount root. Tim From owner-freebsd-arm@FreeBSD.ORG Wed May 29 16:13:19 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 438D0632 for ; Wed, 29 May 2013 16:13:19 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ob0-x232.google.com (mail-ob0-x232.google.com [IPv6:2607:f8b0:4003:c01::232]) by mx1.freebsd.org (Postfix) with ESMTP id 0E7CF6DC for ; Wed, 29 May 2013 16:13:19 +0000 (UTC) Received: by mail-ob0-f178.google.com with SMTP id fb19so3412526obc.23 for ; Wed, 29 May 2013 09:13:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=HfDL8wOGg1nGGAxP0BHoL79ib3XEUPTCOdMcW4yaLPM=; b=Kbd3J7FTRJtMyoPfAJ0bSQbDjh9GLfIjJFVsJ0Knin8BlrEh+5OEB2J6rkd5/CaUc3 D8QYQxNkC4tWMJmGlGLyJAojxf/yE3nxDK0wWkMlZ8PgV0ZgCdPd7E8Fbe5iHFbsq4tN YJa6DoTQF1NXPixsRsYi0E4vthfwoC39gMXW+SFpvrlVyvxnff/ugqI57yTX/9nh2S5X QCGXMZ+apw+aIw8fpdjDEJEe9atQRyF5VelPgQeKvZbwMPtJSqEYLR4s7w9wGZwmCrF7 F7697bI7T0dn7TK2cdpihk1euEPiFDEme5AO1Z80na2eYfXoIO0+19QNd5xCS+IU+lTy f2QQ== X-Received: by 10.182.56.131 with SMTP id a3mr2071965obq.38.1369843998508; Wed, 29 May 2013 09:13:18 -0700 (PDT) Received: from monkey-bot.int.fusionio.com ([209.117.142.2]) by mx.google.com with ESMTPSA id p3sm33059713oel.0.2013.05.29.09.13.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 May 2013 09:13:17 -0700 (PDT) Sender: Warner Losh Subject: Re: FreeBSD-CURRENT r251099 for RasPi stops at "warning: no time-of-day clock registered, system will not be set accurately" Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Wed, 29 May 2013 10:13:15 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <8AA83AB9-6291-4E5B-9368-2ED75C86B532@bsdimp.com> References: To: Tim Kientzle X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQn8+yMiSPAEOcVNkB+DbL92iKzEcGXufI0dAJtbo5tcFeQjc5xVKTcXgtdcSwUpw06UspiB Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 16:13:19 -0000 On May 29, 2013, at 9:52 AM, Tim Kientzle wrote: >=20 > On May 29, 2013, at 5:33 AM, Alie Tan wrote: >=20 >> Hi, >>=20 >> I just built FreeBSD-CURRENT r251099 for RasPi with ARM EABI and GCC = but >> unfortunately it stops at message below while booting: >> warning: no time-of-day clock registered, system will not be set = accurately >>=20 >> This thing happens if I build it with CLANG too. >=20 > This warning is meaningless. The RPi doesn't have > RTC hardware. >=20 > It sounds like it's unable to mount root. Yes, the warning means that there's no RTC on the RPi... When things hang after this message it usually means that something is = wrong with the driver for the root device. The best way to track this = down is to change the root device and see if it persists. You can also = make sysinit verbose, which also helps track things down, at the expense = of a lot of spew on boot. Warner From owner-freebsd-arm@FreeBSD.ORG Thu May 30 08:15:40 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 21B0B9C2 for ; Thu, 30 May 2013 08:15:40 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from nibbler.fubar.geek.nz (nibbler.fubar.geek.nz [199.48.134.198]) by mx1.freebsd.org (Postfix) with ESMTP id 09B24A93 for ; Thu, 30 May 2013 08:15:39 +0000 (UTC) Received: from bender.Home (unknown [176.252.108.73]) by nibbler.fubar.geek.nz (Postfix) with ESMTPSA id A93755E1D5; Thu, 30 May 2013 08:15:32 +0000 (UTC) Date: Thu, 30 May 2013 09:15:25 +0100 From: Andrew Turner To: Matthew Alton Subject: Re: Cortex A50 Series? Message-ID: <20130530091525.00b5be20@bender.Home> In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 08:15:40 -0000 On Wed, 29 May 2013 10:24:02 -0500 Matthew Alton wrote: > Hi, everybody. Is there any work underway to port FreeBSD to the ARM > Cortex A-50 series 64-bit CPUs? I would like to help with this. > > Thanks! > There is not support for AArch64 yet. I have started looking at it, however this is still in the early stages as not all required documentation was available from ARM, for example how to initialise the MMU. I can figure out some of this from Linux but not the meaning of some of the magic numbers they used. Andrew From owner-freebsd-arm@FreeBSD.ORG Thu May 30 13:57:50 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A606A504 for ; Thu, 30 May 2013 13:57:50 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-x22e.google.com (mail-ie0-x22e.google.com [IPv6:2607:f8b0:4001:c03::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 78C6038D for ; Thu, 30 May 2013 13:57:50 +0000 (UTC) Received: by mail-ie0-f174.google.com with SMTP id aq17so653842iec.33 for ; Thu, 30 May 2013 06:57:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=AcafUrUeeDTYetNdNeez6y3y0XtitF+/Pd/lpXeYY0g=; b=PTmwppAe5i02vxeqvWDpLcbKmuw72LUN3+cLDQPOmjXIx8XY3/u2lYEQEzN0c4OI9m KbOpQqCKrxrlkcxrTjiYfWni+JXcuvJg/VuOduWLNXXKL1yjzIG0j/BMez7nzDAV3poM 6RfYlFARVSih5+fT5gUeM4SWWiykf1gVfEIw4kob5pe+15vpQjgZjyFnv+bzCE3CBkYj ZXj8wBKki4vlti2ha0QwSuuOsyjcGeBAb8yqCsP0WLkKXDbV7feSyVkdQmTUBJnoM8zr ODtKfrD80X/GStR9UfCy2B53bFy2R1A4M/HWZ4Q1HjtqkftCCdhTwmwEbymCdZALWhQI yjwQ== X-Received: by 10.50.109.231 with SMTP id hv7mr3861458igb.103.1369922270174; Thu, 30 May 2013 06:57:50 -0700 (PDT) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id n5sm27516946igx.1.2013.05.30.06.57.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 May 2013 06:57:49 -0700 (PDT) Sender: Warner Losh Subject: Re: Cortex A50 Series? Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <20130530091525.00b5be20@bender.Home> Date: Thu, 30 May 2013 07:57:47 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <3F4EA2FC-FC2D-471E-8133-1D3AF603F908@bsdimp.com> References: <20130530091525.00b5be20@bender.Home> To: Andrew Turner X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQlgK4Zo9cPNTa6grURuUSHjFPxwvJa+SkI/AbXo1z3j23jOnLL6xlV94CzmpR/Mdm+lydrT Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 13:57:50 -0000 On May 30, 2013, at 2:15 AM, Andrew Turner wrote: > On Wed, 29 May 2013 10:24:02 -0500 > Matthew Alton wrote: >=20 >> Hi, everybody. Is there any work underway to port FreeBSD to the ARM >> Cortex A-50 series 64-bit CPUs? I would like to help with this. >>=20 >> Thanks! >>=20 >=20 > There is not support for AArch64 yet. I have started looking at it, > however this is still in the early stages as not all required > documentation was available from ARM, for example how to initialise = the > MMU. I can figure out some of this from Linux but not the meaning of > some of the magic numbers they used. There's also a port being done by Semihalf that's under NDA with access = to simulators and such until certain chips ship, I've been told. Warner From owner-freebsd-arm@FreeBSD.ORG Thu May 30 15:10:52 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8FAA7F31 for ; Thu, 30 May 2013 15:10:52 +0000 (UTC) (envelope-from matthew.alton@gmail.com) Received: from mail-we0-x230.google.com (mail-we0-x230.google.com [IPv6:2a00:1450:400c:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id 2C16BB6B for ; Thu, 30 May 2013 15:10:52 +0000 (UTC) Received: by mail-we0-f176.google.com with SMTP id p58so344541wes.21 for ; Thu, 30 May 2013 08:10:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WQw3kGVxKKosYaEpbfOiku62/zE5fW7YiC3wVVxT7P8=; b=lK2y5/WXKPn6jyqFQ45vWJCTBwSXGDAzEn9etdO7dxMC7uY8GQFWVGRWoGDztvKym/ kz9kTTw+z6blaEe502zCzcy9NpCrTRWVXtyr//7t1QNqX1jmyHlrGbFyviddTMQq6ovw iZSbvQaemvoTQvlEYFejIr9KW3Tb9Bcy88eKW10uuDkkRcPJaTGoGLTaHXmy05ICGydb v1UniPja1Abap19DFiCZSeF1e/uVcyrfYdC+2gvrEft9r3Qq1arkgGmhpYn1uncGBdNV vuX5xdSmm0wpc9tMMQpULxjGQUwx8aCOHey4q+V9HCjNqkkxI2szaRy5gK3L/fCdxdOf /Hxw== MIME-Version: 1.0 X-Received: by 10.180.97.106 with SMTP id dz10mr19019847wib.2.1369926651402; Thu, 30 May 2013 08:10:51 -0700 (PDT) Received: by 10.194.162.4 with HTTP; Thu, 30 May 2013 08:10:51 -0700 (PDT) In-Reply-To: <20130530091525.00b5be20@bender.Home> References: <20130530091525.00b5be20@bender.Home> Date: Thu, 30 May 2013 10:10:51 -0500 Message-ID: Subject: Re: Cortex A50 Series? From: Matthew Alton To: Andrew Turner Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 15:10:52 -0000 This is precisely as far as I have managed to get. Please let me know if there is any preliminary work I can do for the project before ARM releases the specs. Thanks. On Thu, May 30, 2013 at 3:15 AM, Andrew Turner wrote: > On Wed, 29 May 2013 10:24:02 -0500 > Matthew Alton wrote: > > > Hi, everybody. Is there any work underway to port FreeBSD to the ARM > > Cortex A-50 series 64-bit CPUs? I would like to help with this. > > > > Thanks! > > > > There is not support for AArch64 yet. I have started looking at it, > however this is still in the early stages as not all required > documentation was available from ARM, for example how to initialise the > MMU. I can figure out some of this from Linux but not the meaning of > some of the magic numbers they used. > > Andrew > -- Matthew Alton UNIX Systems Programming & Administration "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth From owner-freebsd-arm@FreeBSD.ORG Thu May 30 18:10:14 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5235E204; Thu, 30 May 2013 18:10:14 +0000 (UTC) (envelope-from alc@rice.edu) Received: from pp1.rice.edu (proofpoint1.mail.rice.edu [128.42.201.100]) by mx1.freebsd.org (Postfix) with ESMTP id 25FC1AC1; Thu, 30 May 2013 18:10:13 +0000 (UTC) Received: from pps.filterd (pp1.rice.edu [127.0.0.1]) by pp1.rice.edu (8.14.5/8.14.5) with SMTP id r4UH71eu004843; Thu, 30 May 2013 12:27:19 -0500 Received: from mh2.mail.rice.edu (mh2.mail.rice.edu [128.42.201.21]) by pp1.rice.edu with ESMTP id 1cpavq80d2-1; Thu, 30 May 2013 12:27:19 -0500 X-Virus-Scanned: by amavis-2.7.0 at mh2.mail.rice.edu, auth channel Received: from adsl-216-63-78-18.dsl.hstntx.swbell.net (adsl-216-63-78-18.dsl.hstntx.swbell.net [216.63.78.18]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: alc) by mh2.mail.rice.edu (Postfix) with ESMTPSA id 969B0500116; Thu, 30 May 2013 12:27:18 -0500 (CDT) Message-ID: <51A78BF5.5000901@rice.edu> Date: Thu, 30 May 2013 12:27:17 -0500 From: Alan Cox User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130127 Thunderbird/17.0.2 MIME-Version: 1.0 To: Zbigniew Bodek Subject: Re: pmap_copy for ARMv6/v7 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org, Alan Cox , Aleksandr Rybalko X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 18:10:14 -0000 On 05/28/2013 17:17, Zbigniew Bodek wrote: > Hello Everyone, > > I would like to share with you the patch adding pmap_copy() > functionality to pmap-v6.c. This is the last but not least of > the pmap improvements done as a part of Semihalf work on > Superpages support. > > We tried various technics to test the patch on our target. > Apart from obvious long term stability tests and others, > we used a simple benchmark to measure fork system call time and overhead. > > The program can be downloaded from here: > http://berlin.ccc.de/~packet/fork_test.c > > A single fork time has increased as suspected (the program is not measuring > a real-life fork situation where child process is actually doing something) > but the average system overhead has decreased. > For 10000 fork(), 10000 vfork() and 10000 pthread_create() calls we observe > 100000 less vm_faults and shorter overall test time. > > If you have any suggestions or have an idea for benchmarking this > feature please share. >From what you describe above, I think that you've done a reasonable job of testing. The performance results are in line with what I would expect. I wouldn't worry too much about obtaining further test results. > We will appreciate if you could test this patch on your ARM platforms and > send > us your review/feedback. > The patch looks fine. Alan From owner-freebsd-arm@FreeBSD.ORG Fri May 31 00:10:01 2013 Return-Path: Delivered-To: freebsd-arm@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BD7307DE for ; Fri, 31 May 2013 00:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 93F32788 for ; Fri, 31 May 2013 00:10:01 +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 r4V0A1gJ098784 for ; Fri, 31 May 2013 00:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4V0A0Bd098781; Fri, 31 May 2013 00:10:00 GMT (envelope-from gnats) Date: Fri, 31 May 2013 00:10:00 GMT Message-Id: <201305310010.r4V0A0Bd098781@freefall.freebsd.org> To: freebsd-arm@FreeBSD.org Cc: From: Michael Moll Subject: Re: arm/149288: mail/dovecot causes panic during configure on Sheevaplug (ARM) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Michael Moll List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 00:10:01 -0000 The following reply was made to PR arm/149288; it has been noted by GNATS. From: Michael Moll To: bug-followup@FreeBSD.org Cc: Subject: Re: arm/149288: mail/dovecot causes panic during configure on Sheevaplug (ARM) Date: Fri, 31 May 2013 02:07:53 +0200 I can't reproduce this anymore with r251168 on a Sheevaplug, so this PR could be closed. From owner-freebsd-arm@FreeBSD.ORG Fri May 31 01:17:27 2013 Return-Path: Delivered-To: freebsd-arm@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2163F8C5; Fri, 31 May 2013 01:17:27 +0000 (UTC) (envelope-from jmg@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id EF1D4AFC; Fri, 31 May 2013 01:17:26 +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 r4V1HQ2s014764; Fri, 31 May 2013 01:17:26 GMT (envelope-from jmg@freefall.freebsd.org) Received: (from jmg@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4V1HQnh014763; Fri, 31 May 2013 01:17:26 GMT (envelope-from jmg) Date: Fri, 31 May 2013 01:17:26 GMT Message-Id: <201305310117.r4V1HQnh014763@freefall.freebsd.org> To: yds@CoolRat.org, root@cooltrainer.org, jmg@FreeBSD.org, freebsd-arm@FreeBSD.org From: jmg@FreeBSD.org Subject: Re: arm/149288: mail/dovecot causes panic during configure on Sheevaplug (ARM) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 01:17:27 -0000 Synopsis: mail/dovecot causes panic during configure on Sheevaplug (ARM) State-Changed-From-To: open->closed State-Changed-By: jmg State-Changed-When: Fri May 31 01:15:04 UTC 2013 State-Changed-Why: two others report that this is fixed... If it isn't, we can reopen it... Thanks for your help. http://www.freebsd.org/cgi/query-pr.cgi?pr=149288 From owner-freebsd-arm@FreeBSD.ORG Sat Jun 1 18:59:42 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A2964A03; Sat, 1 Jun 2013 18:59:42 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 80819B23; Sat, 1 Jun 2013 18:59:41 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r51Ixf9U049001; Sat, 1 Jun 2013 18:59:41 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.123] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id psj92tirnan97rx2k6we7dp2ue; Sat, 01 Jun 2013 18:59:41 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: Port: U-Boot for BeagleBone Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: multipart/signed; boundary="Apple-Mail=_51C7CBE3-65DD-4922-B3F3-374457091713"; protocol="application/pgp-signature"; micalg=pgp-sha1 From: Tim Kientzle In-Reply-To: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> Date: Sat, 1 Jun 2013 11:59:37 -0700 Message-Id: <6F19F757-534F-485E-BAF6-877711D2BFA9@kientzle.com> References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> To: Tim Kientzle X-Mailer: Apple Mail (2.1283) Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 18:59:42 -0000 --Apple-Mail=_51C7CBE3-65DD-4922-B3F3-374457091713 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On May 17, 2013, at 1:22 PM, Tim Kientzle wrote: > I'm trying to move the actual building of boot loaders out of Crochet = and into FreeBSD ports. Second iteration: http://people.freebsd.org/~kientzle/u-boot-beaglebone-eabi.tgz http://people.freebsd.org/~kientzle/cross-gcc-arm-eabi.tgz The U-Boot port now depends on devel/cross-gcc-arm-eabi (which is just the obvious wrapper around devel/cross-gcc) which allows it to build seamlessly. I have a little more testing to do but hope to submit these two ports this week. I would especially appreciate anyone who has actually built U-Boot to take a look at the port and see if they can envision using this as a template for other U-Boot ports. Tim P.S. Yes, the ABI does matter since ubldr makes calls to U-Boot. --Apple-Mail=_51C7CBE3-65DD-4922-B3F3-374457091713 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) iQEcBAEBAgAGBQJRqkSaAAoJEGMNyGo0rfFBazwH/RlzkiEbBMlUj9vNHltUBRgU ehMYG5ZWt3m44rMQXrFO1OG6a4j7aIJqNwKSQR0SCEoF8ljUUW7yvj2yP4QYuMjK nFJmTj0ihxOa36NwKvAQo79Fjp69f8vzCydVrHni5kZd16SENvYZ1/HMok9Vx3Y9 zNalfCaO3JSGR+h1o+MCTf+IEdTsYtgmVt70yCgG0ifcus2Ihcy55t9wr0hH8+Xk eHj1dxEj3qVZqRfVRR5TZEf+hH3eySazdr4aDiMmPvIemObp2ou+O+X57UKRP/rg VVQwc85OoeaowA6KvKaXKEqrYgBjq+bdKJ3YAZRivqYDPFJyEmrlESIL0ftE6SI= =zaIm -----END PGP SIGNATURE----- --Apple-Mail=_51C7CBE3-65DD-4922-B3F3-374457091713-- From owner-freebsd-arm@FreeBSD.ORG Sat Jun 1 19:13:07 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0D1E7E63 for ; Sat, 1 Jun 2013 19:13:07 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from nibbler.fubar.geek.nz (nibbler.fubar.geek.nz [199.48.134.198]) by mx1.freebsd.org (Postfix) with ESMTP id E9D53BEC for ; Sat, 1 Jun 2013 19:13:06 +0000 (UTC) Received: from bender.Home (unknown [176.252.108.73]) by nibbler.fubar.geek.nz (Postfix) with ESMTPSA id 555DE5E1FE for ; Sat, 1 Jun 2013 19:13:00 +0000 (UTC) Date: Sat, 1 Jun 2013 20:12:53 +0100 From: Andrew Turner To: freebsd-arm@freebsd.org Subject: Updating setjmp/longjmp Message-ID: <20130601201253.47daf4a1@bender.Home> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 19:13:07 -0000 Hello, I'm updating the setjmp/longjmp functions on ARM to reduce the diff to NetBSD and to store the VFP registers when they are available. As part of this I will be removeing support for storing the FPA (floating point accelerator) registers. Does anyone have any objections to this? The first patch is at [1]. It updates out code to remove the FPA support but doesn't yet add the VFP as that will require other libc changes. (If you don't know what the FPA is this patch probably doesn't affect you, it was an old floating-point device in only a few chips. Modern CPUs use a different piece of hardware for floating point operations.) Andrew [1] http://people.freebsd.org/~andrew/arm_setjmp.diff