From owner-freebsd-arm@FreeBSD.ORG Mon May 14 17:52:26 2007 Return-Path: X-Original-To: freebsd-arm@freebsd.org Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 500CD16A405 for ; Mon, 14 May 2007 17:52:26 +0000 (UTC) (envelope-from michael@fuckner.net) Received: from dedihh.fuckner.net (dedihh.fuckner.net [81.209.183.161]) by mx1.freebsd.org (Postfix) with ESMTP id 1147713C469 for ; Mon, 14 May 2007 17:52:26 +0000 (UTC) (envelope-from michael@fuckner.net) Received: from localhost (localhost [127.0.0.1]) by dedihh.fuckner.net (Postfix) with ESMTP id DA7B661CCB for ; Mon, 14 May 2007 19:35:37 +0200 (CEST) X-Virus-Scanned: amavisd-new at fuckner.net Received: from dedihh.fuckner.net ([127.0.0.1]) by localhost (dedihh.fuckner.net [127.0.0.1]) (amavisd-new, port 10024) with SMTP id K1pE-GSfgJL1 for ; Mon, 14 May 2007 19:35:33 +0200 (CEST) Received: from c64.rebootking.de (e176129159.adsl.alicedsl.de [85.176.129.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by dedihh.fuckner.net (Postfix) with ESMTP id A194461CC8 for ; Mon, 14 May 2007 19:35:33 +0200 (CEST) Message-ID: <46489DE6.6020105@fuckner.net> Date: Mon, 14 May 2007 19:35:34 +0200 From: Michael Fuckner User-Agent: Thunderbird 2.0.0.0 (X11/20070421) MIME-Version: 1.0 To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: FreeBSD/arm on NSLU2 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 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, 14 May 2007 17:52:26 -0000 Hi, I read the howto about installing FreeBSD/Arm on an Avila-machine, but I'd like to know if this is possible for NSLU2(IXP425), too. I have a serial interface, if this is a requirement- JTAG can be done, too. Another thing is: where can I get IxNpeMicrocode.dat? I registered at Intels site, but I can't find it- is it just included in older versions of Intels Access Library Software? Or do I have to build it from IxNpeMicrocode.c? And how? Regards, Michael Fuckner From owner-freebsd-arm@FreeBSD.ORG Mon May 14 18:06:48 2007 Return-Path: X-Original-To: freebsd-arm@freebsd.org Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2A48E16A403 for ; Mon, 14 May 2007 18:06:48 +0000 (UTC) (envelope-from jim@netgate.com) Received: from netgate.com (mail.netgate.com [64.62.194.115]) by mx1.freebsd.org (Postfix) with ESMTP id 1AB3F13C480 for ; Mon, 14 May 2007 18:06:47 +0000 (UTC) (envelope-from jim@netgate.com) Received: from widget.local (udp149783uds.hawaiiantel.net [72.234.242.111]) by netgate.com (Postfix) with ESMTP id 5D47228002F; Mon, 14 May 2007 11:06:35 -0700 (PDT) Message-ID: <4648A51F.2070909@netgate.com> Date: Mon, 14 May 2007 08:06:23 -1000 From: Jim Thompson User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: Michael Fuckner References: <46489DE6.6020105@fuckner.net> In-Reply-To: <46489DE6.6020105@fuckner.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org Subject: Re: FreeBSD/arm on NSLU2 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 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, 14 May 2007 18:06:48 -0000 Michael Fuckner wrote: > Hi, > > I read the howto about installing FreeBSD/Arm on an Avila-machine, but > I'd like to know if this is possible for NSLU2(IXP425), too. I have a > serial interface, if this is a requirement- JTAG can be done, too. Its certainly possible. You would probably still need to boot the kernel out of the on-board flash, but could then mount a UFS filesystem over USB. There are currently some build problems in ports. jim From owner-freebsd-arm@FreeBSD.ORG Tue May 15 01:09:10 2007 Return-Path: X-Original-To: freebsd-arm@freebsd.org Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 66F7816A403 for ; Tue, 15 May 2007 01:09:10 +0000 (UTC) (envelope-from fate10@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.224]) by mx1.freebsd.org (Postfix) with ESMTP id 29F2213C455 for ; Tue, 15 May 2007 01:09:10 +0000 (UTC) (envelope-from fate10@gmail.com) Received: by nz-out-0506.google.com with SMTP id s1so2112101nze for ; Mon, 14 May 2007 18:09:09 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Thu3oUbbmXUJfaAFOn0eh0t+3CeJFVyNIY5QDZSWyjEICqW8N12GrC8dqNGbtLfEpnnsp50FmYqyNcDD2MaA9RBYMhX188J4HDWtHcDq2cw6boRM5AOeTepwOhQ4f2O8oy/s7MoRFL3lzITAvNyv7MhoSnJ/WeggQBjg4aJeX9Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=CEK8D1seqooMtnFtl3c1n+j7MjohELVg3YbvM9KeI0zAuYiN2FUHZMeMnoCeskc16Xy1cLv/Jo+D3oYGAnOw6SSWwPDuY++V9zKSS4WQTtRG1vorf1HUzmE3IwhdNn75xlVqzL6JOPJ8voULAq2pC8Sg62Ludb6gK0LcTedhgFc= Received: by 10.65.250.11 with SMTP id c11mr11449017qbs.1179189669507; Mon, 14 May 2007 17:41:09 -0700 (PDT) Received: by 10.65.74.5 with HTTP; Mon, 14 May 2007 17:41:09 -0700 (PDT) Message-ID: <7b8b6fbc0705141741n4ee98fateb5ab34a2f307a6c@mail.gmail.com> Date: Tue, 15 May 2007 04:41:09 +0400 From: fate To: freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: missing M_ZERO malloc flag in src/sys/arm/arm/busdma_machdep.c X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 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, 15 May 2007 01:09:10 -0000 Hi, It would be good to apply this small patch: *** busdma_machdep.c.orig --- busdma_machdep.c *************** *** 345,351 **** if (!parent) parent = arm_root_dma_tag; ! newtag = (bus_dma_tag_t)malloc(sizeof(*newtag), M_DEVBUF, M_NOWAIT); if (newtag == NULL) { CTR4(KTR_BUSDMA, "%s returned tag %p tag flags 0x%x error %d", __func__, newtag, 0, error); --- 345,351 ---- if (!parent) parent = arm_root_dma_tag; ! newtag = (bus_dma_tag_t)malloc(sizeof(*newtag), M_DEVBUF, M_NOWAIT | M_ZERO); if (newtag == NULL) { CTR4(KTR_BUSDMA, "%s returned tag %p tag flags 0x%x error %d", __func__, newtag, 0, error); or the structure newtag would not be initialized correctly in case of dirty memory and failed on this if block: if (dmat->bounce_zone == NULL) { if ((error = alloc_bounce_zone(dmat)) != 0) { _busdma_free_dmamap(newmap); *mapp = NULL; return (error); } } left bounce_zone unallocated with kernel crash as result SY, Vladimir Belian From owner-freebsd-arm@FreeBSD.ORG Tue May 15 13:30:48 2007 Return-Path: X-Original-To: freebsd-arm@freebsd.org Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E1EE716A405; Tue, 15 May 2007 13:30:48 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from mx.bulinfo.net (mx.bulinfo.net [193.194.156.1]) by mx1.freebsd.org (Postfix) with ESMTP id B0F3913C458; Tue, 15 May 2007 13:30:47 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from localhost (localhost [127.0.0.1]) by mx.bulinfo.net (Postfix) with ESMTP id 42025200E9; Tue, 15 May 2007 16:30:39 +0300 (EEST) Received: from mx.bulinfo.net ([127.0.0.1]) by localhost (mx.bulinfo.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 43234-01; Tue, 15 May 2007 16:30:35 +0300 (EEST) Received: from [192.168.2.188] (pythia.bulinfo.net [212.72.195.5]) by mx.bulinfo.net (Postfix) with ESMTP id D509A200E3; Tue, 15 May 2007 16:30:35 +0300 (EEST) Message-ID: <4649B5FB.2060808@bulinfo.net> Date: Tue, 15 May 2007 16:30:35 +0300 From: Krassimir Slavchev User-Agent: Thunderbird 1.5 (X11/20060201) MIME-Version: 1.0 To: freebsd-arm@freebsd.org References: <4649A81A.60609@bulinfo.net> In-Reply-To: <4649A81A.60609@bulinfo.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at mx.bulinfo.net Cc: freebsd-current@freebsd.org Subject: Re: csh on arm failure? X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 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, 15 May 2007 13:30:49 -0000 (gdb) bt #0 0x20204bb0 in kill () from /lib/libc.so.7 #1 0x20200370 in abort () from /lib/libc.so.7 #2 0x00045fe4 in malloc (nbytes=16) at /work/arm/src/bin/csh/../../contrib/tcsh/tc.alloc.c:213 #3 0x00045fe4 in malloc (nbytes=16) at /work/arm/src/bin/csh/../../contrib/tcsh/tc.alloc.c:213 (gdb) Krassimir Slavchev wrote: > After upgrade to latest -current I have problems with csh: > > login: root > May 15 15:21:28 centipad login: ROOT LOGIN (root) ON ttyu0 > Last login: Tue May 15 13:55:02 on ttyu0 > Copyright (c) 1992-2007 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > > FreeBSD 7.0-CURRENT (CENTIPAD) #1: Tue May 15 10:04:50 EEST 2007 > > Welcome to FreeBSD! > > Before seeking technical support, please use the following resources: > > o Security advisories and updated errata information for all releases > are > at http://www.FreeBSD.org/releases/ - always consult the ERRATA section > for your release first as it's updated frequently. > > o The Handbook and FAQ documents are at http://www.FreeBSD.org/ and, > along with the mailing lists, can be searched by going to > http://www.FreeBSD.org/search/. If the doc distribution has > been installed, they're also available formatted in /usr/share/doc. > > If you still have a question or problem, please take the output of > `uname -a', along with any relevant error messages, and email it > as a question to the questions@FreeBSD.org mailing list. If you are > unfamiliar with FreeBSD's directory layout, please refer to the hier(7) > manual page. If you are not familiar with manual pages, type `man man'. > > You may also use sysinstall(8) to re-enter the installation and > configuration utility. Edit /etc/motd to change this login announcement. > > (nil) current memory allocation: > free: 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 > used: 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 > Total in use: 0, total free: 0 > Allocated memory from 0xffffffff to 0xffffffff. Real top at > 0xffffffff > nbytes=16: Out of memory > > FreeBSD/arm (centipad) (ttyu0) > > login: > > I am able to log in using /bin/sh and top shows: > > last pid: 533; load averages: 0.65, 0.32, 0.13 up 0+00:02:34 > 15:28:07 > 12 processes: 1 running, 11 sleeping > CPU states: 1.0% user, 0.0% nice, 1.5% system, 2.0% interrupt, > 95.6% idle > Mem: 4188K Active, 4160K Inact, 7936K Wired, 28K Cache, 6976K Buf, 44M > Free > Swap: 180M Total, 180M Free > > What is wrong with csh? > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" > From owner-freebsd-arm@FreeBSD.ORG Thu May 17 03:18:22 2007 Return-Path: X-Original-To: freebsd-arm@freebsd.org Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 30F7316A405; Thu, 17 May 2007 03:18:22 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id CB1B613C455; Thu, 17 May 2007 03:18:21 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l4H3Gssp071472; Wed, 16 May 2007 21:16:57 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 16 May 2007 23:16:58 -0400 (EDT) Message-Id: <20070516.231658.-399286370.imp@bsdimp.com> To: krassi@bulinfo.net From: "M. Warner Losh" In-Reply-To: <4649B5FB.2060808@bulinfo.net> References: <4649A81A.60609@bulinfo.net> <4649B5FB.2060808@bulinfo.net> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Wed, 16 May 2007 21:16:58 -0600 (MDT) Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org Subject: Re: csh on arm failure? X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 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, 17 May 2007 03:18:22 -0000 FWIW: I'm seeing this too. Warner From owner-freebsd-arm@FreeBSD.ORG Sat May 19 10:51:17 2007 Return-Path: X-Original-To: arm@freebsd.org Delivered-To: freebsd-arm@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 81BC916A400; Sat, 19 May 2007 10:51:17 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 5BE4813C43E; Sat, 19 May 2007 10:51:17 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id l4JApG3n072402; Sat, 19 May 2007 06:51:16 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.13.8/8.13.8) with ESMTP id l4JApGr7094435; Sat, 19 May 2007 06:51:16 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 342D573068; Sat, 19 May 2007 06:51:16 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070519105116.342D573068@freebsd-current.sentex.ca> Date: Sat, 19 May 2007 06:51:16 -0400 (EDT) X-Virus-Scanned: ClamAV version devel-20070102, clamav-milter version devel-111206 on clamscanner3 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on arm/arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 May 2007 10:51:17 -0000 TB --- 2007-05-19 10:20:01 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-05-19 10:20:01 - starting HEAD tinderbox run for arm/arm TB --- 2007-05-19 10:20:01 - cleaning the object tree TB --- 2007-05-19 10:20:18 - checking out the source tree TB --- 2007-05-19 10:20:18 - cd /tinderbox/HEAD/arm/arm TB --- 2007-05-19 10:20:18 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-05-19 10:30:39 - building world (CFLAGS=-O2 -pipe) TB --- 2007-05-19 10:30:39 - cd /src TB --- 2007-05-19 10:30:39 - /usr/bin/make -B buildworld >>> World build started on Sat May 19 10:30:41 UTC 2007 >>> 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 [...] ===> gnu/lib/libreadline/history/doc (depend) ===> gnu/lib/libreadline/readline (depend) rm -f .depend mkdep -f .depend -a -I/src/gnu/lib/libreadline/readline/.. -I/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline -DHAVE_CONFIG_H -DRL_LIBRARY_VERSION='"5.2"' /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/readline.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/vi_mode.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/funmap.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/keymaps.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/parens.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/search.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/rltty.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/complete.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/bind.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/isearch.c /src/gnu/lib/libreadline/readline/../../../../contrib/libread line/display.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/signals.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/util.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/kill.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/undo.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/macro.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/input.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/callback.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/terminal.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/text.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/nls.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/misc.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/compat.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/xmalloc.c /src/gnu /lib/libreadline/readline/../../../../contrib/libreadline/history.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/histexpand.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/histfile.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/histsearch.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/shell.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/mbutil.c /src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/tilde.c echo libreadline.so.6: /obj/arm/src/tmp/usr/lib/libtermcap.a >> .depend ===> gnu/lib/libreadline/readline/doc (depend) ===> gnu/lib/libstdc++ (depend) make: don't know how to make /src/gnu/lib/libstdc++/../../../contrib/libstdc++/config/cpu/generic/atomicity.h. Stop *** Error code 2 Stop in /src/gnu/lib. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-05-19 10:51:15 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-05-19 10:51:15 - ERROR: failed to build world TB --- 2007-05-19 10:51:15 - tinderbox aborted TB --- 0.40 user 1.88 system 1874.59 real http://tinderbox.des.no/tinderbox-head-HEAD-arm-arm.full