From owner-freebsd-arm@FreeBSD.ORG Sun Dec 10 21:01:43 2006 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 ED48316A40F for ; Sun, 10 Dec 2006 21:01:43 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFEF443CAF for ; Sun, 10 Dec 2006 21:00:29 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id kBAL1c3p001679; Sun, 10 Dec 2006 22:01:38 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id kBAL1ScI017406 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 10 Dec 2006 22:01:28 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id kBAL1R61067610; Sun, 10 Dec 2006 22:01:27 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id kBAL1RjX067609; Sun, 10 Dec 2006 22:01:27 +0100 (CET) (envelope-from ticso) Date: Sun, 10 Dec 2006 22:01:27 +0100 From: Bernd Walter To: "M. Warner Losh" Message-ID: <20061210210127.GF54209@cicely12.cicely.de> References: <20061208131314.GQ54209@cicely12.cicely.de> <20061208.085456.-1548240230.imp@bsdimp.com> <20061208161425.GU54209@cicely12.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061208161425.GU54209@cicely12.cicely.de> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on cicely12.cicely.de Cc: ticso@cicely12.cicely.de, freebsd-arm@freebsd.org, ticso@cicely.de Subject: Re: bootspi parameters X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Dec 2006 21:01:44 -0000 On Fri, Dec 08, 2006 at 05:14:25PM +0100, Bernd Walter wrote: > On Fri, Dec 08, 2006 at 08:54:56AM -0700, M. Warner Losh wrote: > > In message: <20061208131314.GQ54209@cicely12.cicely.de> > > Bernd Walter writes: > > : It seems that you've put the boot commands into an external eeprom > > : instead of the previously hardcoded values. > > : Am I right with this assumption? > > : Since I don't have an additional eeprom on board I'll still need > > : hardcoded values - or put them into SPI-flash. > > > > What device are you booting from? > > currently network via bootspi. > This works after updating as usual. > Still no SD card however. > > Now I'm trying boot2 and SD card: > MAC 0:e:42:2:0:21 > > Default: /boot/kernel/kernel.gz.tramp > boot: > No /boot/kernel/kernel.gz.tramp > > Default: /boot/kernel/kernel.gz.tramp > boot: MAC 0:e:42:2:0:21 > > Default: /boot/kernel/kernel.gz.tramp > boot: Strange - now that this is an UFS formated media: MAC 0:e:42:2:0:21 Not ufs Default: /boot/kernel/kernel.gz.tramp boot: No /boot/kernel/kernel.gz.tramp Default: /boot/kernel/kernel.gz.tramp boot: I've found -DUFS1_ONLY in the boot2 Makefile. Sounds like I should newfs the media and restart... -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de From owner-freebsd-arm@FreeBSD.ORG Sun Dec 10 23:37:44 2006 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 26C5616A505 for ; Sun, 10 Dec 2006 23:37:44 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0545843CED for ; Sun, 10 Dec 2006 23:35:49 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id kBANZ4ev080444; Sun, 10 Dec 2006 16:35:04 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 10 Dec 2006 16:36:00 -0700 (MST) Message-Id: <20061210.163600.1102529578.imp@bsdimp.com> To: ticso@cicely.de, ticso@cicely12.cicely.de From: "M. Warner Losh" In-Reply-To: <20061210210127.GF54209@cicely12.cicely.de> References: <20061208.085456.-1548240230.imp@bsdimp.com> <20061208161425.GU54209@cicely12.cicely.de> <20061210210127.GF54209@cicely12.cicely.de> 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]); Sun, 10 Dec 2006 16:35:04 -0700 (MST) Cc: freebsd-arm@freebsd.org Subject: Re: bootspi parameters 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: Sun, 10 Dec 2006 23:37:44 -0000 In message: <20061210210127.GF54209@cicely12.cicely.de> Bernd Walter writes: : On Fri, Dec 08, 2006 at 05:14:25PM +0100, Bernd Walter wrote: : > On Fri, Dec 08, 2006 at 08:54:56AM -0700, M. Warner Losh wrote: : > > In message: <20061208131314.GQ54209@cicely12.cicely.de> : > > Bernd Walter writes: : > > : It seems that you've put the boot commands into an external eeprom : > > : instead of the previously hardcoded values. : > > : Am I right with this assumption? : > > : Since I don't have an additional eeprom on board I'll still need : > > : hardcoded values - or put them into SPI-flash. : > > : > > What device are you booting from? : > : > currently network via bootspi. : > This works after updating as usual. : > Still no SD card however. : > : > Now I'm trying boot2 and SD card: : > MAC 0:e:42:2:0:21 : > : > Default: /boot/kernel/kernel.gz.tramp : > boot: : > No /boot/kernel/kernel.gz.tramp : > : > Default: /boot/kernel/kernel.gz.tramp : > boot: MAC 0:e:42:2:0:21 : > : > Default: /boot/kernel/kernel.gz.tramp : > boot: : : Strange - now that this is an UFS formated media: : MAC 0:e:42:2:0:21 : Not ufs : : Default: /boot/kernel/kernel.gz.tramp : boot: : No /boot/kernel/kernel.gz.tramp : : Default: /boot/kernel/kernel.gz.tramp : boot: : : I've found -DUFS1_ONLY in the boot2 Makefile. : Sounds like I should newfs the media and restart... That would help a lot... I did that originally to make things fit, but now that I've whacked a lot of the extra junk out of there we can likely remove it... Re 5MHz vs 30Mhz. I've had no reliability problems running at 30MHz on two different boards (two instances of the KB9202, and 4 different of our boards). Maybe there's a little noise introduced somehow that's throwing things off... Warner From owner-freebsd-arm@FreeBSD.ORG Sun Dec 10 23:49:59 2006 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 B83CF16A40F for ; Sun, 10 Dec 2006 23:49:59 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id E402243CBA for ; Sun, 10 Dec 2006 23:47:01 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id kBANm0lJ005678; Mon, 11 Dec 2006 00:48:00 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id kBANlqCn019072 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 11 Dec 2006 00:47:53 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id kBANlqPM068055; Mon, 11 Dec 2006 00:47:52 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id kBANlqQN068054; Mon, 11 Dec 2006 00:47:52 +0100 (CET) (envelope-from ticso) Date: Mon, 11 Dec 2006 00:47:52 +0100 From: Bernd Walter To: "M. Warner Losh" Message-ID: <20061210234751.GI54209@cicely12.cicely.de> References: <20061208.085456.-1548240230.imp@bsdimp.com> <20061208161425.GU54209@cicely12.cicely.de> <20061210210127.GF54209@cicely12.cicely.de> <20061210.163600.1102529578.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061210.163600.1102529578.imp@bsdimp.com> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on cicely12.cicely.de Cc: ticso@cicely12.cicely.de, freebsd-arm@freebsd.org, ticso@cicely.de Subject: Re: bootspi parameters X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Dec 2006 23:49:59 -0000 On Sun, Dec 10, 2006 at 04:36:00PM -0700, M. Warner Losh wrote: > In message: <20061210210127.GF54209@cicely12.cicely.de> > Bernd Walter writes: > : On Fri, Dec 08, 2006 at 05:14:25PM +0100, Bernd Walter wrote: > : > On Fri, Dec 08, 2006 at 08:54:56AM -0700, M. Warner Losh wrote: > : I've found -DUFS1_ONLY in the boot2 Makefile. > : Sounds like I should newfs the media and restart... > > That would help a lot... I did that originally to make things fit, > but now that I've whacked a lot of the extra junk out of there we can > likely remove it... UFS1 vs UFS2 shouldn't make a big difference on SD I assume, so it's more to give newfs the right options. It's booting now - UFS1 was the last point. > Re 5MHz vs 30Mhz. I've had no reliability problems running at 30MHz > on two different boards (two instances of the KB9202, and 4 different > of our boards). Maybe there's a little noise introduced somehow > that's throwing things off... I will measure the signals once I find time. For now VLAN_MTU has higher priority. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de From owner-freebsd-arm@FreeBSD.ORG Mon Dec 11 01:08:09 2006 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 7615016A528 for ; Mon, 11 Dec 2006 01:08:09 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id F081943F88 for ; Mon, 11 Dec 2006 01:05:26 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id kBB15THV081442; Sun, 10 Dec 2006 18:05:29 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 10 Dec 2006 18:06:25 -0700 (MST) Message-Id: <20061210.180625.24901340.imp@bsdimp.com> To: ticso@cicely.de, ticso@cicely12.cicely.de From: "M. Warner Losh" In-Reply-To: <20061210234751.GI54209@cicely12.cicely.de> References: <20061210210127.GF54209@cicely12.cicely.de> <20061210.163600.1102529578.imp@bsdimp.com> <20061210234751.GI54209@cicely12.cicely.de> 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]); Sun, 10 Dec 2006 18:05:29 -0700 (MST) Cc: freebsd-arm@freebsd.org Subject: Re: bootspi parameters 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, 11 Dec 2006 01:08:09 -0000 In message: <20061210234751.GI54209@cicely12.cicely.de> Bernd Walter writes: : On Sun, Dec 10, 2006 at 04:36:00PM -0700, M. Warner Losh wrote: : > In message: <20061210210127.GF54209@cicely12.cicely.de> : > Bernd Walter writes: : > : On Fri, Dec 08, 2006 at 05:14:25PM +0100, Bernd Walter wrote: : > : > On Fri, Dec 08, 2006 at 08:54:56AM -0700, M. Warner Losh wrote: : > : I've found -DUFS1_ONLY in the boot2 Makefile. : > : Sounds like I should newfs the media and restart... : > : > That would help a lot... I did that originally to make things fit, : > but now that I've whacked a lot of the extra junk out of there we can : > likely remove it... : : UFS1 vs UFS2 shouldn't make a big difference on SD I assume, so it's : more to give newfs the right options. : It's booting now - UFS1 was the last point. It has tripped me up a couple of times... The savings isn't that huge, but for a while I was in the mindset of if it isn't absolutely required, delete it. : > Re 5MHz vs 30Mhz. I've had no reliability problems running at 30MHz : > on two different boards (two instances of the KB9202, and 4 different : > of our boards). Maybe there's a little noise introduced somehow : > that's throwing things off... : : I will measure the signals once I find time. : For now VLAN_MTU has higher priority. OK. Please let me know when you get back to this. Warner From owner-freebsd-arm@FreeBSD.ORG Wed Dec 13 19:26:20 2006 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 B753F16A4FD for ; Wed, 13 Dec 2006 19:26:20 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53BD643CF0 for ; Wed, 13 Dec 2006 19:23:41 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id kBDJP8xX070764 for ; Wed, 13 Dec 2006 20:25:09 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id kBDJP1uF061028 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Dec 2006 20:25:01 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id kBDJP0Ld080166; Wed, 13 Dec 2006 20:25:00 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id kBDJP0Jx080165; Wed, 13 Dec 2006 20:25:00 +0100 (CET) (envelope-from ticso) Date: Wed, 13 Dec 2006 20:25:00 +0100 From: Bernd Walter To: freebsd-arm@freebsd.org Message-ID: <20061213192500.GX75351@cicely12.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on cicely12.cicely.de Cc: Bernd Walter Subject: atomic_add_long and others missing X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Dec 2006 19:26:20 -0000 Netgraph expects further atomic functions: ../../../netgraph/ng_base.c: In function `ng_dequeue': ../../../netgraph/ng_base.c:1944: warning: implicit declaration of function `atomic_add_long' ../../../netgraph/ng_base.c:1944: warning: nested extern declaration of `atomic_add_long' ../../../netgraph/ng_base.c:1951: warning: nested extern declaration of `atomic_add_long' ../../../netgraph/ng_base.c:1944: warning: redundant redeclaration of 'atomic_add_long' ../../../netgraph/ng_base.c:1944: warning: previous implicit declaration of 'atomic_add_long' was here ../../../netgraph/ng_base.c: In function `ng_queue_rw': ../../../netgraph/ng_base.c:1991: warning: nested extern declaration of `atomic_add_long' ../../../netgraph/ng_base.c:1944: warning: redundant redeclaration of 'atomic_add_long' ../../../netgraph/ng_base.c:1944: warning: previous implicit declaration of 'atomic_add_long' was here ../../../netgraph/ng_base.c: In function `ng_acquire_read': ../../../netgraph/ng_base.c:2031: warning: nested extern declaration of `atomic_add_long' ../../../netgraph/ng_base.c:1944: warning: redundant redeclaration of 'atomic_add_long' ../../../netgraph/ng_base.c:1944: warning: previous implicit declaration of 'atomic_add_long' was here ../../../netgraph/ng_base.c:2039: warning: implicit declaration of function `atomic_subtract_long' ../../../netgraph/ng_base.c:2039: warning: nested extern declaration of `atomic_subtract_long' ../../../netgraph/ng_base.c: In function `ng_acquire_write': ../../../netgraph/ng_base.c:2083: warning: nested extern declaration of `atomic_add_long' ../../../netgraph/ng_base.c:1944: warning: redundant redeclaration of 'atomic_add_long' ../../../netgraph/ng_base.c:1944: warning: previous implicit declaration of 'atomic_add_long' was here ../../../netgraph/ng_base.c:2087: warning: nested extern declaration of `atomic_subtract_long' ../../../netgraph/ng_base.c:2039: warning: redundant redeclaration of 'atomic_subtract_long' ../../../netgraph/ng_base.c:2039: warning: previous implicit declaration of 'atomic_subtract_long' was here ../../../netgraph/ng_base.c: In function `ng_leave_read': ../../../netgraph/ng_base.c:2107: warning: nested extern declaration of `atomic_subtract_long' ../../../netgraph/ng_base.c:2039: warning: redundant redeclaration of 'atomic_subtract_long' ../../../netgraph/ng_base.c:2039: warning: previous implicit declaration of 'atomic_subtract_long' was here ../../../netgraph/ng_base.c: In function `ng_leave_write': ../../../netgraph/ng_base.c:2113: warning: nested extern declaration of `atomic_subtract_long' ../../../netgraph/ng_base.c:2039: warning: redundant redeclaration of 'atomic_subtract_long' ../../../netgraph/ng_base.c:2039: warning: previous implicit declaration of 'atomic_subtract_long' was here ../../../netgraph/ng_base.c: In function `ng_flush_input_queue': ../../../netgraph/ng_base.c:2127: warning: nested extern declaration of `atomic_add_long' ../../../netgraph/ng_base.c:1944: warning: redundant redeclaration of 'atomic_add_long' ../../../netgraph/ng_base.c:1944: warning: previous implicit declaration of 'atomic_add_long' was here *** Error code 1 I've #define'ed them localy to _32, but I suspect that there are more missing. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de From owner-freebsd-arm@FreeBSD.ORG Wed Dec 13 20:24:36 2006 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 8E2FA16A492 for ; Wed, 13 Dec 2006 20:24:36 +0000 (UTC) (envelope-from mlfbsd@dong.ci0.org) Received: from dong.ci0.org (cognet.ci0.org [80.65.224.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F7BA43FC5 for ; Wed, 13 Dec 2006 20:17:24 +0000 (GMT) (envelope-from mlfbsd@dong.ci0.org) Received: from dong.ci0.org (localhost.ci0.org [127.0.0.1]) by dong.ci0.org (8.13.7/8.13.4) with ESMTP id kBDKTdhk026727; Wed, 13 Dec 2006 21:29:39 +0100 (CET) (envelope-from mlfbsd@dong.ci0.org) Received: (from mlfbsd@localhost) by dong.ci0.org (8.13.7/8.13.4/Submit) id kBDKTc0C026726; Wed, 13 Dec 2006 21:29:38 +0100 (CET) (envelope-from mlfbsd) Date: Wed, 13 Dec 2006 21:29:38 +0100 From: Olivier Houchard To: ticso@cicely.de Message-ID: <20061213202938.GA26703@ci0.org> References: <20061213192500.GX75351@cicely12.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061213192500.GX75351@cicely12.cicely.de> User-Agent: Mutt/1.4.1i Cc: freebsd-arm@freebsd.org Subject: Re: atomic_add_long and others missing 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: Wed, 13 Dec 2006 20:24:36 -0000 On Wed, Dec 13, 2006 at 08:25:00PM +0100, Bernd Walter wrote: > Netgraph expects further atomic functions: > ../../../netgraph/ng_base.c: In function `ng_dequeue': > ../../../netgraph/ng_base.c:1944: warning: implicit declaration of function `atomic_add_long' > ../../../netgraph/ng_base.c:1944: warning: nested extern declaration of `atomic_add_long' > ../../../netgraph/ng_base.c:1951: warning: nested extern declaration of `atomic_add_long' > ../../../netgraph/ng_base.c:1944: warning: redundant redeclaration of 'atomic_add_long' > ../../../netgraph/ng_base.c:1944: warning: previous implicit declaration of 'atomic_add_long' was here > ../../../netgraph/ng_base.c: In function `ng_queue_rw': > ../../../netgraph/ng_base.c:1991: warning: nested extern declaration of `atomic_add_long' > ../../../netgraph/ng_base.c:1944: warning: redundant redeclaration of 'atomic_add_long' > ../../../netgraph/ng_base.c:1944: warning: previous implicit declaration of 'atomic_add_long' was here > ../../../netgraph/ng_base.c: In function `ng_acquire_read': > ../../../netgraph/ng_base.c:2031: warning: nested extern declaration of `atomic_add_long' > ../../../netgraph/ng_base.c:1944: warning: redundant redeclaration of 'atomic_add_long' > ../../../netgraph/ng_base.c:1944: warning: previous implicit declaration of 'atomic_add_long' was here > ../../../netgraph/ng_base.c:2039: warning: implicit declaration of function `atomic_subtract_long' > ../../../netgraph/ng_base.c:2039: warning: nested extern declaration of `atomic_subtract_long' > ../../../netgraph/ng_base.c: In function `ng_acquire_write': > ../../../netgraph/ng_base.c:2083: warning: nested extern declaration of `atomic_add_long' > ../../../netgraph/ng_base.c:1944: warning: redundant redeclaration of 'atomic_add_long' > ../../../netgraph/ng_base.c:1944: warning: previous implicit declaration of 'atomic_add_long' was here > ../../../netgraph/ng_base.c:2087: warning: nested extern declaration of `atomic_subtract_long' > ../../../netgraph/ng_base.c:2039: warning: redundant redeclaration of 'atomic_subtract_long' > ../../../netgraph/ng_base.c:2039: warning: previous implicit declaration of 'atomic_subtract_long' was here > ../../../netgraph/ng_base.c: In function `ng_leave_read': > ../../../netgraph/ng_base.c:2107: warning: nested extern declaration of `atomic_subtract_long' > ../../../netgraph/ng_base.c:2039: warning: redundant redeclaration of 'atomic_subtract_long' > ../../../netgraph/ng_base.c:2039: warning: previous implicit declaration of 'atomic_subtract_long' was here > ../../../netgraph/ng_base.c: In function `ng_leave_write': > ../../../netgraph/ng_base.c:2113: warning: nested extern declaration of `atomic_subtract_long' > ../../../netgraph/ng_base.c:2039: warning: redundant redeclaration of 'atomic_subtract_long' > ../../../netgraph/ng_base.c:2039: warning: previous implicit declaration of 'atomic_subtract_long' was here > ../../../netgraph/ng_base.c: In function `ng_flush_input_queue': > ../../../netgraph/ng_base.c:2127: warning: nested extern declaration of `atomic_add_long' > ../../../netgraph/ng_base.c:1944: warning: redundant redeclaration of 'atomic_add_long' > ../../../netgraph/ng_base.c:1944: warning: previous implicit declaration of 'atomic_add_long' was here > *** Error code 1 > > I've #define'ed them localy to _32, but I suspect that there are > more missing. > Yes a bunch of those are missing. I remember des@ posting a patch to complete atomic.h, but I've never heard back from him. Olivier From owner-freebsd-arm@FreeBSD.ORG Wed Dec 13 21:53:56 2006 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 AD7B216A407 for ; Wed, 13 Dec 2006 21:53:56 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id B115843CBD for ; Wed, 13 Dec 2006 21:52:13 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id kBDLra9r073008; Wed, 13 Dec 2006 22:53:36 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id kBDLrRNC062591 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Dec 2006 22:53:28 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id kBDLrRfX080569; Wed, 13 Dec 2006 22:53:27 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id kBDLrRFo080568; Wed, 13 Dec 2006 22:53:27 +0100 (CET) (envelope-from ticso) Date: Wed, 13 Dec 2006 22:53:27 +0100 From: Bernd Walter To: Olivier Houchard Message-ID: <20061213215326.GA75351@cicely12.cicely.de> References: <20061213192500.GX75351@cicely12.cicely.de> <20061213202938.GA26703@ci0.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061213202938.GA26703@ci0.org> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on cicely12.cicely.de Cc: freebsd-arm@freebsd.org, ticso@cicely.de Subject: Re: atomic_add_long and others missing X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Dec 2006 21:53:56 -0000 On Wed, Dec 13, 2006 at 09:29:38PM +0100, Olivier Houchard wrote: > On Wed, Dec 13, 2006 at 08:25:00PM +0100, Bernd Walter wrote: > > Netgraph expects further atomic functions: > > ../../../netgraph/ng_base.c: In function `ng_dequeue': > > ../../../netgraph/ng_base.c:1944: warning: implicit declaration of function `atomic_add_long' > > ../../../netgraph/ng_base.c:1944: warning: nested extern declaration of `atomic_add_long' > > ../../../netgraph/ng_base.c:1951: warning: nested extern declaration of `atomic_add_long' > > ../../../netgraph/ng_base.c:1944: warning: redundant redeclaration of 'atomic_add_long' > > ../../../netgraph/ng_base.c:1944: warning: previous implicit declaration of 'atomic_add_long' was here > > ../../../netgraph/ng_base.c: In function `ng_queue_rw': > > ../../../netgraph/ng_base.c:1991: warning: nested extern declaration of `atomic_add_long' > > ../../../netgraph/ng_base.c:1944: warning: redundant redeclaration of 'atomic_add_long' > > ../../../netgraph/ng_base.c:1944: warning: previous implicit declaration of 'atomic_add_long' was here > > ../../../netgraph/ng_base.c: In function `ng_acquire_read': > > ../../../netgraph/ng_base.c:2031: warning: nested extern declaration of `atomic_add_long' > > ../../../netgraph/ng_base.c:1944: warning: redundant redeclaration of 'atomic_add_long' > > ../../../netgraph/ng_base.c:1944: warning: previous implicit declaration of 'atomic_add_long' was here > > ../../../netgraph/ng_base.c:2039: warning: implicit declaration of function `atomic_subtract_long' > > ../../../netgraph/ng_base.c:2039: warning: nested extern declaration of `atomic_subtract_long' > > ../../../netgraph/ng_base.c: In function `ng_acquire_write': > > ../../../netgraph/ng_base.c:2083: warning: nested extern declaration of `atomic_add_long' > > ../../../netgraph/ng_base.c:1944: warning: redundant redeclaration of 'atomic_add_long' > > ../../../netgraph/ng_base.c:1944: warning: previous implicit declaration of 'atomic_add_long' was here > > ../../../netgraph/ng_base.c:2087: warning: nested extern declaration of `atomic_subtract_long' > > ../../../netgraph/ng_base.c:2039: warning: redundant redeclaration of 'atomic_subtract_long' > > ../../../netgraph/ng_base.c:2039: warning: previous implicit declaration of 'atomic_subtract_long' was here > > ../../../netgraph/ng_base.c: In function `ng_leave_read': > > ../../../netgraph/ng_base.c:2107: warning: nested extern declaration of `atomic_subtract_long' > > ../../../netgraph/ng_base.c:2039: warning: redundant redeclaration of 'atomic_subtract_long' > > ../../../netgraph/ng_base.c:2039: warning: previous implicit declaration of 'atomic_subtract_long' was here > > ../../../netgraph/ng_base.c: In function `ng_leave_write': > > ../../../netgraph/ng_base.c:2113: warning: nested extern declaration of `atomic_subtract_long' > > ../../../netgraph/ng_base.c:2039: warning: redundant redeclaration of 'atomic_subtract_long' > > ../../../netgraph/ng_base.c:2039: warning: previous implicit declaration of 'atomic_subtract_long' was here > > ../../../netgraph/ng_base.c: In function `ng_flush_input_queue': > > ../../../netgraph/ng_base.c:2127: warning: nested extern declaration of `atomic_add_long' > > ../../../netgraph/ng_base.c:1944: warning: redundant redeclaration of 'atomic_add_long' > > ../../../netgraph/ng_base.c:1944: warning: previous implicit declaration of 'atomic_add_long' was here > > *** Error code 1 > > > > I've #define'ed them localy to _32, but I suspect that there are > > more missing. > > > > Yes a bunch of those are missing. > I remember des@ posting a patch to complete atomic.h, but I've never heard back > from him. Ok - I've found his definition and clean it up in respect of casts, but while doing I noticed something else possibly missing. I'm not that familar with ARM yet, but doesn't ARM need memory barriers for acq and rel? Currently they are all mapped to the standard functions without barriers. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de From owner-freebsd-arm@FreeBSD.ORG Thu Dec 14 16:24:12 2006 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 DBC6716A98D; Thu, 14 Dec 2006 16:24:11 +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 B561043D67; Thu, 14 Dec 2006 16:21:09 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.13.6/8.13.6) with ESMTP id kBEGMjUN006205; Thu, 14 Dec 2006 11:22:45 -0500 (EST) (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 kBEGMijL001123; Thu, 14 Dec 2006 11:22:44 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 52CCA73034; Thu, 14 Dec 2006 11:22:44 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20061214162244.52CCA73034@freebsd-current.sentex.ca> Date: Thu, 14 Dec 2006 11:22:44 -0500 (EST) X-Virus-Scanned: ClamAV version 0.88.3, clamav-milter version 0.88.3 on clamscanner2 X-Virus-Scanned: ClamAV version 0.88.7, clamav-milter version 0.88.7 on clamscanner4 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: Thu, 14 Dec 2006 16:24:12 -0000 TB --- 2006-12-14 15:55:01 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2006-12-14 15:55:01 - starting HEAD tinderbox run for arm/arm TB --- 2006-12-14 15:55:01 - cleaning the object tree TB --- 2006-12-14 15:55:32 - checking out the source tree TB --- 2006-12-14 15:55:32 - cd /tinderbox/HEAD/arm/arm TB --- 2006-12-14 15:55:32 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2006-12-14 16:04:48 - building world (CFLAGS=-O2 -pipe) TB --- 2006-12-14 16:04:48 - cd /src TB --- 2006-12-14 16:04:48 - /usr/bin/make -B buildworld >>> World build started on Thu Dec 14 16:04:50 UTC 2006 >>> 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 [...] cc -O2 -pipe -I/src/lib/libc/include -I/src/lib/libc/../../include -I/src/lib/libc/arm -DSOFTFLOAT -D__DBINTERFACE_PRIVATE -I/src/lib/libc/../../contrib/gdtoa -DINET6 -I/obj/arm/src/lib/libc -I/src/lib/libc/resolv -DPOSIX_MISTAKE -I/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/src/lib/libc/rpc -I/src/lib/libc/arm/softfloat -I/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -DYP -DNS_CACHING -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/lib/libc/gen/statvfs.c cc -O2 -pipe -I/src/lib/libc/include -I/src/lib/libc/../../include -I/src/lib/libc/arm -DSOFTFLOAT -D__DBINTERFACE_PRIVATE -I/src/lib/libc/../../contrib/gdtoa -DINET6 -I/obj/arm/src/lib/libc -I/src/lib/libc/resolv -DPOSIX_MISTAKE -I/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/src/lib/libc/rpc -I/src/lib/libc/arm/softfloat -I/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -DYP -DNS_CACHING -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/lib/libc/gen/stringlist.c cc -O2 -pipe -I/src/lib/libc/include -I/src/lib/libc/../../include -I/src/lib/libc/arm -DSOFTFLOAT -D__DBINTERFACE_PRIVATE -I/src/lib/libc/../../contrib/gdtoa -DINET6 -I/obj/arm/src/lib/libc -I/src/lib/libc/resolv -DPOSIX_MISTAKE -I/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/src/lib/libc/rpc -I/src/lib/libc/arm/softfloat -I/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -DYP -DNS_CACHING -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/lib/libc/gen/strtofflags.c cc -O2 -pipe -I/src/lib/libc/include -I/src/lib/libc/../../include -I/src/lib/libc/arm -DSOFTFLOAT -D__DBINTERFACE_PRIVATE -I/src/lib/libc/../../contrib/gdtoa -DINET6 -I/obj/arm/src/lib/libc -I/src/lib/libc/resolv -DPOSIX_MISTAKE -I/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/src/lib/libc/rpc -I/src/lib/libc/arm/softfloat -I/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -DYP -DNS_CACHING -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/lib/libc/gen/sysconf.c /src/lib/libc/gen/sysconf.c: In function `sysconf': /src/lib/libc/gen/sysconf.c:579: error: `_SC_PHYS_PAGES' undeclared (first use in this function) /src/lib/libc/gen/sysconf.c:579: error: (Each undeclared identifier is reported only once /src/lib/libc/gen/sysconf.c:579: error: for each function it appears in.) *** Error code 1 Stop in /src/lib/libc. *** Error code 1 Stop in /src/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 --- 2006-12-14 16:22:43 - WARNING: /usr/bin/make returned exit code 1 TB --- 2006-12-14 16:22:43 - ERROR: failed to build world TB --- 2006-12-14 16:22:43 - tinderbox aborted TB --- 0.45 user 1.61 system 1662.91 real http://tinderbox.des.no/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Thu Dec 14 18:34:48 2006 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 E2F6916A407; Thu, 14 Dec 2006 18:34:47 +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 00726442C7; Thu, 14 Dec 2006 18:15:58 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.13.6/8.13.6) with ESMTP id kBEIHSv9038953; Thu, 14 Dec 2006 13:17:29 -0500 (EST) (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 kBEIHSWj038231; Thu, 14 Dec 2006 13:17:28 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id DE71773034; Thu, 14 Dec 2006 13:17:27 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20061214181727.DE71773034@freebsd-current.sentex.ca> Date: Thu, 14 Dec 2006 13:17:27 -0500 (EST) X-Virus-Scanned: ClamAV version 0.88.3, clamav-milter version 0.88.3 on clamscanner1 X-Virus-Scanned: ClamAV version 0.88.7, clamav-milter version 0.88.7 on clamscanner1 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: Thu, 14 Dec 2006 18:34:48 -0000 TB --- 2006-12-14 17:50:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2006-12-14 17:50:00 - starting HEAD tinderbox run for arm/arm TB --- 2006-12-14 17:50:00 - cleaning the object tree TB --- 2006-12-14 17:50:22 - checking out the source tree TB --- 2006-12-14 17:50:22 - cd /tinderbox/HEAD/arm/arm TB --- 2006-12-14 17:50:22 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2006-12-14 17:59:28 - building world (CFLAGS=-O2 -pipe) TB --- 2006-12-14 17:59:28 - cd /src TB --- 2006-12-14 17:59:28 - /usr/bin/make -B buildworld >>> World build started on Thu Dec 14 17:59:30 UTC 2006 >>> 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 [...] cc -O2 -pipe -I/src/lib/libc/include -I/src/lib/libc/../../include -I/src/lib/libc/arm -DSOFTFLOAT -D__DBINTERFACE_PRIVATE -I/src/lib/libc/../../contrib/gdtoa -DINET6 -I/obj/arm/src/lib/libc -I/src/lib/libc/resolv -DPOSIX_MISTAKE -I/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/src/lib/libc/rpc -I/src/lib/libc/arm/softfloat -I/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -DYP -DNS_CACHING -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/lib/libc/gen/statvfs.c cc -O2 -pipe -I/src/lib/libc/include -I/src/lib/libc/../../include -I/src/lib/libc/arm -DSOFTFLOAT -D__DBINTERFACE_PRIVATE -I/src/lib/libc/../../contrib/gdtoa -DINET6 -I/obj/arm/src/lib/libc -I/src/lib/libc/resolv -DPOSIX_MISTAKE -I/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/src/lib/libc/rpc -I/src/lib/libc/arm/softfloat -I/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -DYP -DNS_CACHING -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/lib/libc/gen/stringlist.c cc -O2 -pipe -I/src/lib/libc/include -I/src/lib/libc/../../include -I/src/lib/libc/arm -DSOFTFLOAT -D__DBINTERFACE_PRIVATE -I/src/lib/libc/../../contrib/gdtoa -DINET6 -I/obj/arm/src/lib/libc -I/src/lib/libc/resolv -DPOSIX_MISTAKE -I/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/src/lib/libc/rpc -I/src/lib/libc/arm/softfloat -I/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -DYP -DNS_CACHING -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/lib/libc/gen/strtofflags.c cc -O2 -pipe -I/src/lib/libc/include -I/src/lib/libc/../../include -I/src/lib/libc/arm -DSOFTFLOAT -D__DBINTERFACE_PRIVATE -I/src/lib/libc/../../contrib/gdtoa -DINET6 -I/obj/arm/src/lib/libc -I/src/lib/libc/resolv -DPOSIX_MISTAKE -I/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/src/lib/libc/rpc -I/src/lib/libc/arm/softfloat -I/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -DYP -DNS_CACHING -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/lib/libc/gen/sysconf.c /src/lib/libc/gen/sysconf.c: In function `sysconf': /src/lib/libc/gen/sysconf.c:579: error: `_SC_PHYS_PAGES' undeclared (first use in this function) /src/lib/libc/gen/sysconf.c:579: error: (Each undeclared identifier is reported only once /src/lib/libc/gen/sysconf.c:579: error: for each function it appears in.) *** Error code 1 Stop in /src/lib/libc. *** Error code 1 Stop in /src/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 --- 2006-12-14 18:17:27 - WARNING: /usr/bin/make returned exit code 1 TB --- 2006-12-14 18:17:27 - ERROR: failed to build world TB --- 2006-12-14 18:17:27 - tinderbox aborted TB --- 0.24 user 0.62 system 1646.57 real http://tinderbox.des.no/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Thu Dec 14 20:12:44 2006 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 0DB0D16A407; Thu, 14 Dec 2006 20:12:44 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38B8843CE9; Thu, 14 Dec 2006 20:10:38 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.13.8/8.13.8) with ESMTP id kBEKCEQv079440; Thu, 14 Dec 2006 15:12:14 -0500 (EST) (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 kBEKCELg074620; Thu, 14 Dec 2006 15:12:14 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 42AC673034; Thu, 14 Dec 2006 15:12:14 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20061214201214.42AC673034@freebsd-current.sentex.ca> Date: Thu, 14 Dec 2006 15:12:14 -0500 (EST) X-Virus-Scanned: ClamAV version 0.88.7, clamav-milter version 0.88.7 on clamscanner1 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: Thu, 14 Dec 2006 20:12:44 -0000 TB --- 2006-12-14 19:45:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2006-12-14 19:45:00 - starting HEAD tinderbox run for arm/arm TB --- 2006-12-14 19:45:00 - cleaning the object tree TB --- 2006-12-14 19:45:13 - checking out the source tree TB --- 2006-12-14 19:45:13 - cd /tinderbox/HEAD/arm/arm TB --- 2006-12-14 19:45:13 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2006-12-14 19:54:16 - building world (CFLAGS=-O2 -pipe) TB --- 2006-12-14 19:54:16 - cd /src TB --- 2006-12-14 19:54:16 - /usr/bin/make -B buildworld >>> World build started on Thu Dec 14 19:54:17 UTC 2006 >>> 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 [...] cc -O2 -pipe -I/src/lib/libc/include -I/src/lib/libc/../../include -I/src/lib/libc/arm -DSOFTFLOAT -D__DBINTERFACE_PRIVATE -I/src/lib/libc/../../contrib/gdtoa -DINET6 -I/obj/arm/src/lib/libc -I/src/lib/libc/resolv -DPOSIX_MISTAKE -I/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/src/lib/libc/rpc -I/src/lib/libc/arm/softfloat -I/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -DYP -DNS_CACHING -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/lib/libc/gen/statvfs.c cc -O2 -pipe -I/src/lib/libc/include -I/src/lib/libc/../../include -I/src/lib/libc/arm -DSOFTFLOAT -D__DBINTERFACE_PRIVATE -I/src/lib/libc/../../contrib/gdtoa -DINET6 -I/obj/arm/src/lib/libc -I/src/lib/libc/resolv -DPOSIX_MISTAKE -I/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/src/lib/libc/rpc -I/src/lib/libc/arm/softfloat -I/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -DYP -DNS_CACHING -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/lib/libc/gen/stringlist.c cc -O2 -pipe -I/src/lib/libc/include -I/src/lib/libc/../../include -I/src/lib/libc/arm -DSOFTFLOAT -D__DBINTERFACE_PRIVATE -I/src/lib/libc/../../contrib/gdtoa -DINET6 -I/obj/arm/src/lib/libc -I/src/lib/libc/resolv -DPOSIX_MISTAKE -I/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/src/lib/libc/rpc -I/src/lib/libc/arm/softfloat -I/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -DYP -DNS_CACHING -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/lib/libc/gen/strtofflags.c cc -O2 -pipe -I/src/lib/libc/include -I/src/lib/libc/../../include -I/src/lib/libc/arm -DSOFTFLOAT -D__DBINTERFACE_PRIVATE -I/src/lib/libc/../../contrib/gdtoa -DINET6 -I/obj/arm/src/lib/libc -I/src/lib/libc/resolv -DPOSIX_MISTAKE -I/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/src/lib/libc/rpc -I/src/lib/libc/arm/softfloat -I/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -DYP -DNS_CACHING -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/lib/libc/gen/sysconf.c /src/lib/libc/gen/sysconf.c: In function `sysconf': /src/lib/libc/gen/sysconf.c:579: error: `_SC_PHYS_PAGES' undeclared (first use in this function) /src/lib/libc/gen/sysconf.c:579: error: (Each undeclared identifier is reported only once /src/lib/libc/gen/sysconf.c:579: error: for each function it appears in.) *** Error code 1 Stop in /src/lib/libc. *** Error code 1 Stop in /src/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 --- 2006-12-14 20:12:13 - WARNING: /usr/bin/make returned exit code 1 TB --- 2006-12-14 20:12:13 - ERROR: failed to build world TB --- 2006-12-14 20:12:13 - tinderbox aborted TB --- 0.24 user 0.58 system 1633.23 real http://tinderbox.des.no/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Thu Dec 14 22:08:05 2006 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 E2EE016A47E; Thu, 14 Dec 2006 22:08:04 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C20C43CC1; Thu, 14 Dec 2006 22:05:52 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2.sentex.ca [199.212.134.9]) by smarthost2.sentex.ca (8.13.8/8.13.8) with ESMTP id kBEM7URi005768; Thu, 14 Dec 2006 17:07:30 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.13.8/8.13.8) with ESMTP id kBEM7TjS037412; Thu, 14 Dec 2006 17:07:29 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id A1EEF73034; Thu, 14 Dec 2006 17:07:29 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20061214220729.A1EEF73034@freebsd-current.sentex.ca> Date: Thu, 14 Dec 2006 17:07:29 -0500 (EST) X-Virus-Scanned: ClamAV version 0.88.1, clamav-milter version 0.88.1 on clamscanner4 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: Thu, 14 Dec 2006 22:08:05 -0000 TB --- 2006-12-14 21:40:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2006-12-14 21:40:00 - starting HEAD tinderbox run for arm/arm TB --- 2006-12-14 21:40:00 - cleaning the object tree TB --- 2006-12-14 21:40:20 - checking out the source tree TB --- 2006-12-14 21:40:20 - cd /tinderbox/HEAD/arm/arm TB --- 2006-12-14 21:40:20 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2006-12-14 21:49:26 - building world (CFLAGS=-O2 -pipe) TB --- 2006-12-14 21:49:26 - cd /src TB --- 2006-12-14 21:49:26 - /usr/bin/make -B buildworld >>> World build started on Thu Dec 14 21:49:28 UTC 2006 >>> 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 [...] cc -O2 -pipe -I/src/lib/libc/include -I/src/lib/libc/../../include -I/src/lib/libc/arm -DSOFTFLOAT -D__DBINTERFACE_PRIVATE -I/src/lib/libc/../../contrib/gdtoa -DINET6 -I/obj/arm/src/lib/libc -I/src/lib/libc/resolv -DPOSIX_MISTAKE -I/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/src/lib/libc/rpc -I/src/lib/libc/arm/softfloat -I/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -DYP -DNS_CACHING -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/lib/libc/gen/statvfs.c cc -O2 -pipe -I/src/lib/libc/include -I/src/lib/libc/../../include -I/src/lib/libc/arm -DSOFTFLOAT -D__DBINTERFACE_PRIVATE -I/src/lib/libc/../../contrib/gdtoa -DINET6 -I/obj/arm/src/lib/libc -I/src/lib/libc/resolv -DPOSIX_MISTAKE -I/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/src/lib/libc/rpc -I/src/lib/libc/arm/softfloat -I/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -DYP -DNS_CACHING -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/lib/libc/gen/stringlist.c cc -O2 -pipe -I/src/lib/libc/include -I/src/lib/libc/../../include -I/src/lib/libc/arm -DSOFTFLOAT -D__DBINTERFACE_PRIVATE -I/src/lib/libc/../../contrib/gdtoa -DINET6 -I/obj/arm/src/lib/libc -I/src/lib/libc/resolv -DPOSIX_MISTAKE -I/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/src/lib/libc/rpc -I/src/lib/libc/arm/softfloat -I/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -DYP -DNS_CACHING -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/lib/libc/gen/strtofflags.c cc -O2 -pipe -I/src/lib/libc/include -I/src/lib/libc/../../include -I/src/lib/libc/arm -DSOFTFLOAT -D__DBINTERFACE_PRIVATE -I/src/lib/libc/../../contrib/gdtoa -DINET6 -I/obj/arm/src/lib/libc -I/src/lib/libc/resolv -DPOSIX_MISTAKE -I/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/src/lib/libc/rpc -I/src/lib/libc/arm/softfloat -I/src/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC -DYP -DNS_CACHING -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/lib/libc/gen/sysconf.c /src/lib/libc/gen/sysconf.c: In function `sysconf': /src/lib/libc/gen/sysconf.c:579: error: `_SC_PHYS_PAGES' undeclared (first use in this function) /src/lib/libc/gen/sysconf.c:579: error: (Each undeclared identifier is reported only once /src/lib/libc/gen/sysconf.c:579: error: for each function it appears in.) *** Error code 1 Stop in /src/lib/libc. *** Error code 1 Stop in /src/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 --- 2006-12-14 22:07:29 - WARNING: /usr/bin/make returned exit code 1 TB --- 2006-12-14 22:07:29 - ERROR: failed to build world TB --- 2006-12-14 22:07:29 - tinderbox aborted TB --- 0.20 user 0.62 system 1648.70 real http://tinderbox.des.no/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Sat Dec 16 13:10:27 2006 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 07C2316A407 for ; Sat, 16 Dec 2006 13:10:27 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5788243CC0 for ; Sat, 16 Dec 2006 13:10:17 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id kBGDAFAe023350 for ; Sat, 16 Dec 2006 14:10:15 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id kBGD9wvp097524 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 16 Dec 2006 14:09:59 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id kBGD9w9i091818; Sat, 16 Dec 2006 14:09:58 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id kBGD9wSw091817; Sat, 16 Dec 2006 14:09:58 +0100 (CET) (envelope-from ticso) Date: Sat, 16 Dec 2006 14:09:58 +0100 From: Bernd Walter To: freebsd-arm@freebsd.org Message-ID: <20061216130957.GL75351@cicely12.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on cicely12.cicely.de Cc: Bernd Walter Subject: Bus error with ppp X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Dec 2006 13:10:27 -0000 ktrace isn't that usefull: [...] 888 ppp GIO fd 7 wrote 60 bytes "<30>Dec 16 02:28:04 ppp[888]: tun0: LCP: deflink: LayerStart" 888 ppp RET sendto 60/0x3c 888 ppp PSIG SIGALRM caught handler=0x3fab8 mask=0x0 code=0x0 888 ppp CALL sigreturn(0xbfffdb80) 888 ppp RET sigreturn JUSTRETURN 888 ppp CALL sigprocmask(SIG_BLOCK,0xbfffeab4,0xbfffeaa4) 888 ppp RET sigprocmask 0 888 ppp CALL sigprocmask(SIG_SETMASK,0xbfffeaa4,0) 888 ppp RET sigprocmask 0 888 ppp CALL gettimeofday(0xbfffdb7c,0) 888 ppp RET gettimeofday 0 888 ppp CALL getpid 888 ppp RET getpid 888/0x378 888 ppp CALL sendto(0x7,0xbfffe064,0x52,0,0,0) 888 ppp GIO fd 7 wrote 82 bytes "<30>Dec 16 02:28:04 ppp[888]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped" 888 ppp RET sendto 82/0x52 888 ppp CALL gettimeofday(0xbfffd89c,0) 888 ppp RET gettimeofday 0 888 ppp CALL getpid 888 ppp RET getpid 888/0x378 888 ppp CALL sendto(0x7,0xbfffdd84,0x35,0,0,0) 888 ppp GIO fd 7 wrote 53 bytes "<30>Dec 16 02:28:04 ppp[888]: tun0: LCP: MRU[4] 1286" 888 ppp RET sendto 53/0x35 888 ppp CALL gettimeofday(0xbfffd89c,0) 888 ppp RET gettimeofday 0 888 ppp CALL getpid 888 ppp RET getpid 888/0x378 888 ppp CALL sendto(0x7,0xbfffdd84,0x40,0,0,0) 888 ppp GIO fd 7 wrote 64 bytes "<30>Dec 16 02:28:05 ppp[888]: tun0: LCP: MAGICNUM[6] 0xc5880408" 888 ppp RET sendto 64/0x40 888 ppp PSIG SIGBUS SIG_DFL 888 ppp NAMI "ppp.core" # gdb /usr/sbin/ppp ppp.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "arm-marcel-freebsd"...(no debugging symbols found)... Core was generated by `ppp'. Program terminated with signal 10, Bus error. Reading symbols from /lib/libcrypt.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypt.so.3 Reading symbols from /lib/libmd.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libmd.so.3 Reading symbols from /lib/libutil.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libutil.so.6 Reading symbols from /lib/libz.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.3 Reading symbols from /lib/libalias.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libalias.so.5 Reading symbols from /lib/libcrypto.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypto.so.5 Reading symbols from /usr/lib/libradius.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libradius.so.2 Reading symbols from /usr/lib/libnetgraph.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libnetgraph.so.2 Reading symbols from /usr/lib/libpam.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libpam.so.3 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /lib/libalias_cuseeme.so...(no debugging symbols found)...done. Loaded symbols for /lib/libalias_cuseeme.so Reading symbols from /lib/libalias_ftp.so...(no debugging symbols found)...done. Loaded symbols for /lib/libalias_ftp.so Reading symbols from /lib/libalias_irc.so...(no debugging symbols found)...done. Loaded symbols for /lib/libalias_irc.so Reading symbols from /lib/libalias_nbt.so...(no debugging symbols found)...done. Loaded symbols for /lib/libalias_nbt.so Reading symbols from /lib/libalias_pptp.so...(no debugging symbols found)...done. Loaded symbols for /lib/libalias_pptp.so Reading symbols from /lib/libalias_skinny.so...(no debugging symbols found)...done. Loaded symbols for /lib/libalias_skinny.so Reading symbols from /lib/libalias_smedia.so...(no debugging symbols found)...done. Loaded symbols for /lib/libalias_smedia.so Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x0002fd64 in ?? () (gdb) bt #0 0x0002fd64 in ?? () (gdb) I have no clue where to start debugging now. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de From owner-freebsd-arm@FreeBSD.ORG Sat Dec 16 18:36:18 2006 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 011C716A47B for ; Sat, 16 Dec 2006 18:36:18 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A08F43CB9 for ; Sat, 16 Dec 2006 18:36:17 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id kBGIXRCL095956; Sat, 16 Dec 2006 11:33:27 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sat, 16 Dec 2006 11:34:27 -0700 (MST) Message-Id: <20061216.113427.-490997164.imp@bsdimp.com> To: ticso@cicely.de, ticso@cicely12.cicely.de From: "M. Warner Losh" In-Reply-To: <20061216130957.GL75351@cicely12.cicely.de> References: <20061216130957.GL75351@cicely12.cicely.de> 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]); Sat, 16 Dec 2006 11:33:28 -0700 (MST) Cc: freebsd-arm@freebsd.org Subject: Re: Bus error with ppp 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: Sat, 16 Dec 2006 18:36:18 -0000 In message: <20061216130957.GL75351@cicely12.cicely.de> Bernd Walter writes: : I have no clue where to start debugging now. The following are issues for arm that are differences with x86: o unaligned access (which I think generates a SEGV, not BUS) o Different packing and alignment of data structures causing mismatches between x86 and arm representations (x86 may match external ones, while arm doesn't w/o __packed). o Characters are unsigned on arm and signed on i386. You might want to try a ppp with symbols to see where it is dying. Warner From owner-freebsd-arm@FreeBSD.ORG Sat Dec 16 19:29:16 2006 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 4B4D416A4A7 for ; Sat, 16 Dec 2006 19:29:16 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id D947C43CA1 for ; Sat, 16 Dec 2006 19:29:06 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id kBGJT1sF027957; Sat, 16 Dec 2006 20:29:01 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id kBGJSrJT000615 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 16 Dec 2006 20:28:53 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id kBGJSrTe092795; Sat, 16 Dec 2006 20:28:53 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id kBGJSrqt092794; Sat, 16 Dec 2006 20:28:53 +0100 (CET) (envelope-from ticso) Date: Sat, 16 Dec 2006 20:28:52 +0100 From: Bernd Walter To: "M. Warner Losh" Message-ID: <20061216192852.GP75351@cicely12.cicely.de> References: <20061216130957.GL75351@cicely12.cicely.de> <20061216.113427.-490997164.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061216.113427.-490997164.imp@bsdimp.com> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on cicely12.cicely.de Cc: ticso@cicely12.cicely.de, freebsd-arm@freebsd.org, ticso@cicely.de Subject: Re: Bus error with ppp X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Dec 2006 19:29:16 -0000 On Sat, Dec 16, 2006 at 11:34:27AM -0700, M. Warner Losh wrote: > In message: <20061216130957.GL75351@cicely12.cicely.de> > Bernd Walter writes: > : I have no clue where to start debugging now. > > The following are issues for arm that are differences with x86: > o unaligned access (which I think generates a SEGV, not BUS) So unaligned access from userland are not corrected. Ok - on alpha SIGBUS is send in case you disable correction. > o Different packing and alignment of data structures causing > mismatches between x86 and arm representations (x86 may > match external ones, while arm doesn't w/o __packed). Interesting point - I often forget about this. > o Characters are unsigned on arm and signed on i386. > > You might want to try a ppp with symbols to see where it is dying. #0 0x0002fd64 in ?? () Doesn't sound like a valid code address. Maybe single step tracing... Will recompile ppp with symbols and without optimization. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de