From owner-freebsd-arm@FreeBSD.ORG Sun May 4 02:05:57 2008 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3EB41065673; Sun, 4 May 2008 02:05:57 +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 8E85F8FC18; Sun, 4 May 2008 02:05:57 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m4425ugl086597; Sat, 3 May 2008 22:05:56 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.2/8.14.2) with ESMTP id m4425uBq080469; Sat, 3 May 2008 22:05:56 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 8E92173039; Sat, 3 May 2008 22:05:56 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080504020556.8E92173039@freebsd-current.sentex.ca> Date: Sat, 3 May 2008 22:05:56 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93/7015/Sat May 3 07:57:16 2008 clamav-milter version 0.93 on clamscanner2 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: Sun, 04 May 2008 02:05:58 -0000 TB --- 2008-05-04 01:20:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-05-04 01:20:00 - starting HEAD tinderbox run for arm/arm TB --- 2008-05-04 01:20:00 - cleaning the object tree TB --- 2008-05-04 01:20:21 - cvsupping the source tree TB --- 2008-05-04 01:20:21 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/arm/arm/supfile TB --- 2008-05-04 01:20:28 - building world (CFLAGS=-O -pipe) TB --- 2008-05-04 01:20:28 - cd /src TB --- 2008-05-04 01:20:28 - /usr/bin/make -B buildworld >>> World build started on Sun May 4 01:20:31 UTC 2008 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O -pipe -DHAVE_CONFIG_H -DHAVE_LANGINFO_H=1 -DHAVE_NL_LANGINFO=1 -I/src/gnu/usr.bin/sort -I/src/gnu/usr.bin/sort/../../../contrib/gnu-sort/lib -c /src/gnu/usr.bin/sort/../../../contrib/gnu-sort/lib/xalloc-die.c cc -O -pipe -DHAVE_CONFIG_H -DHAVE_LANGINFO_H=1 -DHAVE_NL_LANGINFO=1 -I/src/gnu/usr.bin/sort -I/src/gnu/usr.bin/sort/../../../contrib/gnu-sort/lib -c /src/gnu/usr.bin/sort/../../../contrib/gnu-sort/lib/xmalloc.c cc -O -pipe -DHAVE_CONFIG_H -DHAVE_LANGINFO_H=1 -DHAVE_NL_LANGINFO=1 -I/src/gnu/usr.bin/sort -I/src/gnu/usr.bin/sort/../../../contrib/gnu-sort/lib -c /src/gnu/usr.bin/sort/../../../contrib/gnu-sort/lib/xmemcoll.c cc -O -pipe -DHAVE_CONFIG_H -DHAVE_LANGINFO_H=1 -DHAVE_NL_LANGINFO=1 -I/src/gnu/usr.bin/sort -I/src/gnu/usr.bin/sort/../../../contrib/gnu-sort/lib -c /src/gnu/usr.bin/sort/../../../contrib/gnu-sort/lib/xstrtoul.c cc -O -pipe -DHAVE_CONFIG_H -DHAVE_LANGINFO_H=1 -DHAVE_NL_LANGINFO=1 -I/src/gnu/usr.bin/sort -I/src/gnu/usr.bin/sort/../../../contrib/gnu-sort/lib -c /src/gnu/usr.bin/sort/../../../contrib/gnu-sort/lib/xstrtoumax.c cc -O -pipe -DHAVE_CONFIG_H -DHAVE_LANGINFO_H=1 -DHAVE_NL_LANGINFO=1 -I/src/gnu/usr.bin/sort -I/src/gnu/usr.bin/sort/../../../contrib/gnu-sort/lib -o sort sort.o __fpending.o argmatch.o closeout.o dup-safer.o error.o exitfail.o fopen-safer.o hard-locale.o human.o long-options.o memcoll.o physmem.o posixver.o quote.o quotearg.o strnlen.o umaxtostr.o version-etc.o xalloc-die.o xmalloc.o xmemcoll.o xstrtoul.o xstrtoumax.o __fpending.o(.text+0xc): In function `__fpending': : undefined reference to `__fgetpendout' *** Error code 1 Stop in /src/gnu/usr.bin/sort. *** Error code 1 Stop in /src/gnu/usr.bin. *** Error code 1 Stop in /src/gnu. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-05-04 02:05:56 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-05-04 02:05:56 - ERROR: failed to build world TB --- 2008-05-04 02:05:56 - tinderbox aborted TB --- 2055.02 user 262.25 system 2755.46 real http://tinderbox.des.no/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Sun May 4 05:21:16 2008 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38F2D106567D; Sun, 4 May 2008 05:21:16 +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 EB0BF8FC13; Sun, 4 May 2008 05:21:15 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m445LFr2095849; Sun, 4 May 2008 01:21:15 -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.14.2/8.14.2) with ESMTP id m445LFjE001393; Sun, 4 May 2008 01:21:15 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id D74A073039; Sun, 4 May 2008 01:21:14 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080504052114.D74A073039@freebsd-current.sentex.ca> Date: Sun, 4 May 2008 01:21:14 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93/7015/Sat May 3 07:57:16 2008 clamav-milter version 0.93 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: Sun, 04 May 2008 05:21:16 -0000 TB --- 2008-05-04 04:35:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-05-04 04:35:00 - starting HEAD tinderbox run for arm/arm TB --- 2008-05-04 04:35:00 - cleaning the object tree TB --- 2008-05-04 04:35:25 - cvsupping the source tree TB --- 2008-05-04 04:35:25 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/arm/arm/supfile TB --- 2008-05-04 04:35:32 - building world (CFLAGS=-O -pipe) TB --- 2008-05-04 04:35:32 - cd /src TB --- 2008-05-04 04:35:32 - /usr/bin/make -B buildworld >>> World build started on Sun May 4 04:35:34 UTC 2008 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O -pipe -DHAVE_CONFIG_H -DHAVE_LANGINFO_H=1 -DHAVE_NL_LANGINFO=1 -I/src/gnu/usr.bin/sort -I/src/gnu/usr.bin/sort/../../../contrib/gnu-sort/lib -c /src/gnu/usr.bin/sort/../../../contrib/gnu-sort/lib/xalloc-die.c cc -O -pipe -DHAVE_CONFIG_H -DHAVE_LANGINFO_H=1 -DHAVE_NL_LANGINFO=1 -I/src/gnu/usr.bin/sort -I/src/gnu/usr.bin/sort/../../../contrib/gnu-sort/lib -c /src/gnu/usr.bin/sort/../../../contrib/gnu-sort/lib/xmalloc.c cc -O -pipe -DHAVE_CONFIG_H -DHAVE_LANGINFO_H=1 -DHAVE_NL_LANGINFO=1 -I/src/gnu/usr.bin/sort -I/src/gnu/usr.bin/sort/../../../contrib/gnu-sort/lib -c /src/gnu/usr.bin/sort/../../../contrib/gnu-sort/lib/xmemcoll.c cc -O -pipe -DHAVE_CONFIG_H -DHAVE_LANGINFO_H=1 -DHAVE_NL_LANGINFO=1 -I/src/gnu/usr.bin/sort -I/src/gnu/usr.bin/sort/../../../contrib/gnu-sort/lib -c /src/gnu/usr.bin/sort/../../../contrib/gnu-sort/lib/xstrtoul.c cc -O -pipe -DHAVE_CONFIG_H -DHAVE_LANGINFO_H=1 -DHAVE_NL_LANGINFO=1 -I/src/gnu/usr.bin/sort -I/src/gnu/usr.bin/sort/../../../contrib/gnu-sort/lib -c /src/gnu/usr.bin/sort/../../../contrib/gnu-sort/lib/xstrtoumax.c cc -O -pipe -DHAVE_CONFIG_H -DHAVE_LANGINFO_H=1 -DHAVE_NL_LANGINFO=1 -I/src/gnu/usr.bin/sort -I/src/gnu/usr.bin/sort/../../../contrib/gnu-sort/lib -o sort sort.o __fpending.o argmatch.o closeout.o dup-safer.o error.o exitfail.o fopen-safer.o hard-locale.o human.o long-options.o memcoll.o physmem.o posixver.o quote.o quotearg.o strnlen.o umaxtostr.o version-etc.o xalloc-die.o xmalloc.o xmemcoll.o xstrtoul.o xstrtoumax.o __fpending.o(.text+0xc): In function `__fpending': : undefined reference to `__fgetpendout' *** Error code 1 Stop in /src/gnu/usr.bin/sort. *** Error code 1 Stop in /src/gnu/usr.bin. *** Error code 1 Stop in /src/gnu. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-05-04 05:21:14 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-05-04 05:21:14 - ERROR: failed to build world TB --- 2008-05-04 05:21:14 - tinderbox aborted TB --- 2057.76 user 260.12 system 2774.33 real http://tinderbox.des.no/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Mon May 5 10:40:49 2008 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43F481065672 for ; Mon, 5 May 2008 10:40:49 +0000 (UTC) (envelope-from ray@dlink.ua) Received: from dlink.ua (d-link-145.cs0-nan.kv.wnet.ua [217.20.171.145]) by mx1.freebsd.org (Postfix) with ESMTP id E923C8FC29 for ; Mon, 5 May 2008 10:40:48 +0000 (UTC) (envelope-from ray@dlink.ua) Received: from [192.168.10.90] (helo=terran.mk.farlep.net) by dlink.ua with smtp (Exim 4.63) (envelope-from ) id 1Jsxyk-0001Bw-Pn; Mon, 05 May 2008 13:31:30 +0300 Date: Mon, 5 May 2008 13:40:45 +0300 From: Alexandr Rybalko To: Mark Tinguely Message-Id: <20080505134045.0cf93a8d.ray@dlink.ua> In-Reply-To: <200804252019.m3PKJYXv025292@casselton.net> References: <200804251650.m3PGotrp009557@casselton.net> <200804252019.m3PKJYXv025292@casselton.net> Organization: D-Link X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.5; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org Subject: Re: FreeBSD on PXA255 board 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, 05 May 2008 10:40:49 -0000 On Fri, 25 Apr 2008 15:19:34 -0500 (CDT) Mark Tinguely wrote: >> >> I was wrong, you are still initializing the UMA, the vm_page >> structure happens next. >> >> the virtual address 0xbfecf000 would be the correct >> ARM_USE_SMALL_ALLOC address for physical address 0xa3fcf000 with >> 64MB of RAM. >> >> --Mark Tinguely. >> Thanks for answers. After viewing large part of sources, I found what 0xbfecf000 is a correct virtual address for physical address 0xa3fcf000 with ARM_USE_SMALL_ALLOC. But I don`t know why kernel freeze one time on bzero for physical address 0xa3fcf000, second time on uma_startup(bfecf000, 00000030) No panic, no error messages, just freeze. WBW Alex RAY From owner-freebsd-arm@FreeBSD.ORG Mon May 5 13:55:31 2008 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EB49106566C for ; Mon, 5 May 2008 13:55:31 +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 EE9CC8FC19 for ; Mon, 5 May 2008 13:55:30 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m45DpEmF045464; Mon, 5 May 2008 07:51:14 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 05 May 2008 07:52:28 -0600 (MDT) Message-Id: <20080505.075228.1655384591.imp@bsdimp.com> To: ray@dlink.ua From: "M. Warner Losh" In-Reply-To: <20080505134045.0cf93a8d.ray@dlink.ua> References: <200804251650.m3PGotrp009557@casselton.net> <200804252019.m3PKJYXv025292@casselton.net> <20080505134045.0cf93a8d.ray@dlink.ua> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: tinguely@casselton.net, freebsd-arm@FreeBSD.org Subject: Re: FreeBSD on PXA255 board 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, 05 May 2008 13:55:31 -0000 In message: <20080505134045.0cf93a8d.ray@dlink.ua> Alexandr Rybalko writes: : On Fri, 25 Apr 2008 15:19:34 -0500 (CDT) : Mark Tinguely wrote: : : >> : >> I was wrong, you are still initializing the UMA, the vm_page : >> structure happens next. : >> : >> the virtual address 0xbfecf000 would be the correct : >> ARM_USE_SMALL_ALLOC address for physical address 0xa3fcf000 with : >> 64MB of RAM. : >> : >> --Mark Tinguely. : >> : : Thanks for answers. : After viewing large part of sources, I found what 0xbfecf000 is a : correct virtual address for physical address 0xa3fcf000 with : ARM_USE_SMALL_ALLOC. : : But I don`t know why kernel freeze one time on bzero for physical : address 0xa3fcf000, second time on uma_startup(bfecf000, 00000030) : : No panic, no error messages, just freeze. Freezes early in boot are almost always the result of an exception being taken before the new exception handlers are copied down to the low addresses. For some reason, you are still faulting... Warner From owner-freebsd-arm@FreeBSD.ORG Mon May 5 14:34:47 2008 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F359B1065677 for ; Mon, 5 May 2008 14:34:47 +0000 (UTC) (envelope-from ray@dlink.ua) Received: from dlink.ua (d-link-145.cs0-nan.kv.wnet.ua [217.20.171.145]) by mx1.freebsd.org (Postfix) with ESMTP id 292DB8FC19 for ; Mon, 5 May 2008 14:34:46 +0000 (UTC) (envelope-from ray@dlink.ua) Received: from [192.168.10.90] (helo=terran.mk.farlep.net) by dlink.ua with smtp (Exim 4.63) (envelope-from ) id 1Jt1d1-0003GD-Ng; Mon, 05 May 2008 17:25:19 +0300 Date: Mon, 5 May 2008 17:34:34 +0300 From: Alexandr Rybalko To: "M. Warner Losh" Message-Id: <20080505173434.dc4e1b36.ray@dlink.ua> In-Reply-To: <20080505.075228.1655384591.imp@bsdimp.com> References: <200804251650.m3PGotrp009557@casselton.net> <200804252019.m3PKJYXv025292@casselton.net> <20080505134045.0cf93a8d.ray@dlink.ua> <20080505.075228.1655384591.imp@bsdimp.com> Organization: D-Link X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.5; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: tinguely@casselton.net, freebsd-arm@FreeBSD.org Subject: Re: FreeBSD on PXA255 board 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, 05 May 2008 14:34:48 -0000 On Mon, 05 May 2008 07:52:28 -0600 (MDT) "M. Warner Losh" wrote: >> In message: <20080505134045.0cf93a8d.ray@dlink.ua> >> Alexandr Rybalko writes: >> : On Fri, 25 Apr 2008 15:19:34 -0500 (CDT) >> : Mark Tinguely wrote: >> : >> : >> >> : >> I was wrong, you are still initializing the UMA, the vm_page >> : >> structure happens next. >> : >> >> : >> the virtual address 0xbfecf000 would be the correct >> : >> ARM_USE_SMALL_ALLOC address for physical address 0xa3fcf000 with >> : >> 64MB of RAM. >> : >> >> : >> --Mark Tinguely. >> : >> >> : >> : Thanks for answers. >> : After viewing large part of sources, I found what 0xbfecf000 is a >> : correct virtual address for physical address 0xa3fcf000 with >> : ARM_USE_SMALL_ALLOC. >> : >> : But I don`t know why kernel freeze one time on bzero for physical >> : address 0xa3fcf000, second time on uma_startup(bfecf000, 00000030) >> : >> : No panic, no error messages, just freeze. >> >> Freezes early in boot are almost always the result of an exception >> being taken before the new exception handlers are copied down to the >> low addresses. For some reason, you are still faulting... >> Thanks Warner. I understand it, but I don`t know why it`s happen in two different locations, sometime in bzero, sometime in uma_startup. I`m try to change 0xd0000000 to 0xc4000000 in pmap_bootstrap (pmap_curmaxkvaddr, 0xc4000000, &kernel_l1pt) call, and replace bzero call to memset((char *)(mapped), 0, end - new_end) After it machine freeze in first iteration of loop: for (i = 0; i < boot_pages; i++) { slab = (uma_slab_t)((u_int8_t *)bootmem + (i * UMA_SLAB_SIZE)); slab->us_data = (u_int8_t *)slab; slab->us_flags = UMA_SLAB_BOOT; LIST_INSERT_HEAD(&uma_boot_pages, slab, us_link); } As result, I see we can do memset on this memory region, but we can`t do simple assignment to the data structures in this region. I`m don`t fully understand it, but maybe problem in not word aligned access to memory? >> Warner >> Thanks to all! WBW Alex RAY From owner-freebsd-arm@FreeBSD.ORG Wed May 7 00:19:51 2008 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B5881065676; Wed, 7 May 2008 00:19:51 +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 F1EE38FC27; Wed, 7 May 2008 00:19:50 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m470JofK072570; Tue, 6 May 2008 20:19:50 -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.14.2/8.14.2) with ESMTP id m470JoLp067286; Tue, 6 May 2008 20:19:50 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 1EA7773039; Tue, 6 May 2008 20:19:50 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080507001950.1EA7773039@freebsd-current.sentex.ca> Date: Tue, 6 May 2008 20:19:50 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93/7040/Mon May 5 21:52:15 2008 clamav-milter version 0.93 on clamscanner2 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: Wed, 07 May 2008 00:19:51 -0000 TB --- 2008-05-06 23:50:01 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-05-06 23:50:01 - starting HEAD tinderbox run for arm/arm TB --- 2008-05-06 23:50:01 - cleaning the object tree TB --- 2008-05-06 23:50:30 - cvsupping the source tree TB --- 2008-05-06 23:50:30 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/arm/arm/supfile TB --- 2008-05-06 23:50:36 - building world (CFLAGS=-O -pipe) TB --- 2008-05-06 23:50:36 - cd /src TB --- 2008-05-06 23:50:36 - /usr/bin/make -B buildworld >>> World build started on Tue May 6 23:50:38 UTC 2008 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies [...] sh /src/usr.bin/kdump/mksubr /obj/arm/src/tmp/usr/include > kdump_subr.c rm -f .depend mkdep -f .depend -a -I/src/usr.bin/kdump/../ktrace -I/src/usr.bin/kdump -I/src/usr.bin/kdump/../.. /src/usr.bin/kdump/kdump.c ioctl.c kdump_subr.c /src/usr.bin/kdump/../ktrace/subr.c In file included from ioctl.c:114: /obj/arm/src/tmp/usr/include/sys/mpt_ioctl.h:38:37: error: dev/mpt/mpilib/mpi_type.h: No such file or directory /obj/arm/src/tmp/usr/include/sys/mpt_ioctl.h:39:32: error: dev/mpt/mpilib/mpi.h: No such file or directory /obj/arm/src/tmp/usr/include/sys/mpt_ioctl.h:40:37: error: dev/mpt/mpilib/mpi_cnfg.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /src/usr.bin/kdump. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-05-07 00:19:49 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-05-07 00:19:49 - ERROR: failed to build world TB --- 2008-05-07 00:19:49 - tinderbox aborted TB --- 1315.88 user 189.45 system 1788.91 real http://tinderbox.des.no/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Wed May 7 02:24:32 2008 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A997106566B; Wed, 7 May 2008 02:24:32 +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 C96D58FC0C; Wed, 7 May 2008 02:24:31 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m472OV2e082211; Tue, 6 May 2008 22:24:31 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.2/8.14.2) with ESMTP id m472OVMP038266; Tue, 6 May 2008 22:24:31 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id D52BA73039; Tue, 6 May 2008 22:24:30 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080507022430.D52BA73039@freebsd-current.sentex.ca> Date: Tue, 6 May 2008 22:24:30 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93/7040/Mon May 5 21:52:15 2008 clamav-milter version 0.93 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: Wed, 07 May 2008 02:24:32 -0000 TB --- 2008-05-07 01:55:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-05-07 01:55:00 - starting HEAD tinderbox run for arm/arm TB --- 2008-05-07 01:55:00 - cleaning the object tree TB --- 2008-05-07 01:55:16 - cvsupping the source tree TB --- 2008-05-07 01:55:16 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/arm/arm/supfile TB --- 2008-05-07 01:55:22 - building world (CFLAGS=-O -pipe) TB --- 2008-05-07 01:55:22 - cd /src TB --- 2008-05-07 01:55:22 - /usr/bin/make -B buildworld >>> World build started on Wed May 7 01:55:25 UTC 2008 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies [...] sh /src/usr.bin/kdump/mksubr /obj/arm/src/tmp/usr/include > kdump_subr.c rm -f .depend mkdep -f .depend -a -I/src/usr.bin/kdump/../ktrace -I/src/usr.bin/kdump -I/src/usr.bin/kdump/../.. /src/usr.bin/kdump/kdump.c ioctl.c kdump_subr.c /src/usr.bin/kdump/../ktrace/subr.c In file included from ioctl.c:114: /obj/arm/src/tmp/usr/include/sys/mpt_ioctl.h:38:37: error: dev/mpt/mpilib/mpi_type.h: No such file or directory /obj/arm/src/tmp/usr/include/sys/mpt_ioctl.h:39:32: error: dev/mpt/mpilib/mpi.h: No such file or directory /obj/arm/src/tmp/usr/include/sys/mpt_ioctl.h:40:37: error: dev/mpt/mpilib/mpi_cnfg.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /src/usr.bin/kdump. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-05-07 02:24:30 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-05-07 02:24:30 - ERROR: failed to build world TB --- 2008-05-07 02:24:30 - tinderbox aborted TB --- 1316.84 user 188.34 system 1770.04 real http://tinderbox.des.no/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Wed May 7 04:29:33 2008 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A69A6106566C; Wed, 7 May 2008 04:29:33 +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 481158FC12; Wed, 7 May 2008 04:29:33 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.14.2/8.14.2) with ESMTP id m474TWTi082421; Wed, 7 May 2008 00:29:32 -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.14.2/8.14.2) with ESMTP id m474TWVi052588; Wed, 7 May 2008 00:29:32 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 42B3F73039; Wed, 7 May 2008 00:29:32 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080507042932.42B3F73039@freebsd-current.sentex.ca> Date: Wed, 7 May 2008 00:29:32 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93/7040/Mon May 5 21:52:15 2008 clamav-milter version 0.93 on clamscanner2 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: Wed, 07 May 2008 04:29:33 -0000 TB --- 2008-05-07 04:00:01 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-05-07 04:00:01 - starting HEAD tinderbox run for arm/arm TB --- 2008-05-07 04:00:01 - cleaning the object tree TB --- 2008-05-07 04:00:16 - cvsupping the source tree TB --- 2008-05-07 04:00:16 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/arm/arm/supfile TB --- 2008-05-07 04:00:23 - building world (CFLAGS=-O -pipe) TB --- 2008-05-07 04:00:23 - cd /src TB --- 2008-05-07 04:00:23 - /usr/bin/make -B buildworld >>> World build started on Wed May 7 04:00:26 UTC 2008 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies [...] sh /src/usr.bin/kdump/mksubr /obj/arm/src/tmp/usr/include > kdump_subr.c rm -f .depend mkdep -f .depend -a -I/src/usr.bin/kdump/../ktrace -I/src/usr.bin/kdump -I/src/usr.bin/kdump/../.. /src/usr.bin/kdump/kdump.c ioctl.c kdump_subr.c /src/usr.bin/kdump/../ktrace/subr.c In file included from ioctl.c:114: /obj/arm/src/tmp/usr/include/sys/mpt_ioctl.h:38:37: error: dev/mpt/mpilib/mpi_type.h: No such file or directory /obj/arm/src/tmp/usr/include/sys/mpt_ioctl.h:39:32: error: dev/mpt/mpilib/mpi.h: No such file or directory /obj/arm/src/tmp/usr/include/sys/mpt_ioctl.h:40:37: error: dev/mpt/mpilib/mpi_cnfg.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /src/usr.bin/kdump. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-05-07 04:29:32 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-05-07 04:29:32 - ERROR: failed to build world TB --- 2008-05-07 04:29:32 - tinderbox aborted TB --- 1318.13 user 186.74 system 1771.03 real http://tinderbox.des.no/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Wed May 7 15:03:31 2008 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00A1E1065671 for ; Wed, 7 May 2008 15:03:31 +0000 (UTC) (envelope-from tinguely@casselton.net) Received: from casselton.net (casselton.net [63.165.140.2]) by mx1.freebsd.org (Postfix) with ESMTP id AE0BC8FC15 for ; Wed, 7 May 2008 15:03:30 +0000 (UTC) (envelope-from tinguely@casselton.net) Received: from casselton.net (localhost [127.0.0.1]) by casselton.net (8.14.2/8.14.2) with ESMTP id m47F3PMp053837; Wed, 7 May 2008 10:03:25 -0500 (CDT) (envelope-from tinguely@casselton.net) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=casselton.net; s=ccnMail; t=1210172605; bh=F4SX9hNyzjpxxPlGOk/wzAG70hc=; h=Date: From:Message-Id:To:Subject:Cc:In-Reply-To; b=icrIEJeI0sz8gOJTv0kwY IYUzMAUjpmnetqJCWyR8qdP0/Li52Efe9uptN4mGG8sSUZfD0UzQ2QGK7/zetEo/uSy w+AAWYB01vXiI54VQw2Mlot9ezcLmVFs7EkR7OBJXz01KuSVmY23LH8k6gEy2etC/es tTVLYolRHJWeWWqI= Received: (from tinguely@localhost) by casselton.net (8.14.2/8.14.2/Submit) id m47F3Puo053836; Wed, 7 May 2008 10:03:25 -0500 (CDT) (envelope-from tinguely) Date: Wed, 7 May 2008 10:03:25 -0500 (CDT) From: Mark Tinguely Message-Id: <200805071503.m47F3Puo053836@casselton.net> To: ray@dlink.ua, tinguely@casselton.net In-Reply-To: <20080505134045.0cf93a8d.ray@dlink.ua> Cc: freebsd-arm@freebsd.org Subject: ARM_USE_SMALL_ALLOC question 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, 07 May 2008 15:03:31 -0000 Alexandr Rybalko's PXA255 boot problems has tiggered a wonder that I have had about the ARM_USE_SMALL_ALLOC option for Xscale processor. I guess I am not a big fan of the ARM_USE_SMALL_ALLOC, so filter this email with that bias. ----- the Xscale machdep initialization routines set the dump_avail array to look like: dump_avail[0] = SDRAM_START; dump_avail[1] = SDRAM_START + memsize; in arm/vm_machdep.c the arm_init_smallalloc() and arm_ptovirt() calculate sizes of the memory as: (dump_avail[i + 1] & S_FRAME) + S_SIZE - (dump_avail[i] & S_FRAME); It seems to me, that in most cases, SDRAM_START will be S_FRAME (1M boundary) aligned and memsize will be a multiple of S_SIZE (1M), so my conclusion is that these calculations in the general case will be 1MB too big. ----- Of course there is the ARM_HAVE_SUPERSECTIONS case, but I bet the same general case would apply that SDRAM_START will be on a 16M boundary aligned and memsize will be a multiple of 16M also. This is an observation, I do not think this has caused any problems. --Mark Tinguely.