From owner-freebsd-arm@FreeBSD.ORG Mon Nov 10 11:06:48 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 4C877106568E for ; Mon, 10 Nov 2008 11:06:48 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1A6378FC20 for ; Mon, 10 Nov 2008 11:06:48 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mAAB6lT8049663 for ; Mon, 10 Nov 2008 11:06:47 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mAAB6lfT049659 for freebsd-arm@FreeBSD.org; Mon, 10 Nov 2008 11:06:47 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 Nov 2008 11:06:47 GMT Message-Id: <200811101106.mAAB6lfT049659@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-arm@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-arm@FreeBSD.org 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, 10 Nov 2008 11:06:48 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- p arm/128095 arm Sizeof(pointer) bug . 1 problem total. From owner-freebsd-arm@FreeBSD.ORG Mon Nov 10 17:02:24 2008 Return-Path: Delivered-To: freebsd-arm@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3B5F1065676; Mon, 10 Nov 2008 17:02:24 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AB9728FC23; Mon, 10 Nov 2008 17:02:24 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from freefall.freebsd.org (sam@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mAAH2ONw021037; Mon, 10 Nov 2008 17:02:24 GMT (envelope-from sam@freefall.freebsd.org) Received: (from sam@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mAAH2O2r021033; Mon, 10 Nov 2008 17:02:24 GMT (envelope-from sam) Date: Mon, 10 Nov 2008 17:02:24 GMT Message-Id: <200811101702.mAAH2O2r021033@freefall.freebsd.org> To: henning.petersen@t-online.de, sam@FreeBSD.org, freebsd-arm@FreeBSD.org From: sam@FreeBSD.org Cc: Subject: Re: arm/128095: Sizeof(pointer) bug . 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, 10 Nov 2008 17:02:24 -0000 Synopsis: Sizeof(pointer) bug . State-Changed-From-To: patched->closed State-Changed-By: sam State-Changed-When: Mon Nov 10 17:02:01 UTC 2008 State-Changed-Why: fix was committed http://www.freebsd.org/cgi/query-pr.cgi?pr=128095 From owner-freebsd-arm@FreeBSD.ORG Sat Nov 15 17:10:05 2008 Return-Path: Delivered-To: freebsd-arm@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4BFD1065677 for ; Sat, 15 Nov 2008 17:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B41738FC19 for ; Sat, 15 Nov 2008 17:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mAFHA50r011901 for ; Sat, 15 Nov 2008 17:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mAFHA5Ma011900; Sat, 15 Nov 2008 17:10:05 GMT (envelope-from gnats) Resent-Date: Sat, 15 Nov 2008 17:10:05 GMT Resent-Message-Id: <200811151710.mAFHA5Ma011900@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-arm@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pavel Pankov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CF6F106564A for ; Sat, 15 Nov 2008 17:08:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 7E1858FC13 for ; Sat, 15 Nov 2008 17:08:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id mAFH8fNi093843 for ; Sat, 15 Nov 2008 17:08:41 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id mAFH8fnk093842; Sat, 15 Nov 2008 17:08:41 GMT (envelope-from nobody) Message-Id: <200811151708.mAFH8fnk093842@www.freebsd.org> Date: Sat, 15 Nov 2008 17:08:41 GMT From: Pavel Pankov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: arm/128891: [PATCH] Fix for spelling error in arm machdep code 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, 15 Nov 2008 17:10:06 -0000 >Number: 128891 >Category: arm >Synopsis: [PATCH] Fix for spelling error in arm machdep code >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-arm >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 15 17:10:05 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Pavel Pankov >Release: 8.0-CURRENT >Organization: MPEI >Environment: FreeBSD tionfather 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Oct 29 13:12:21 MSK 2008 root@tionfather:/usr/obj/usr/src/sys/TIONFATHER i386 >Description: Machdep files for all arm platforms contain a small typo: "reloations" instead of "relocations". >How-To-Repeat: Try reading the arm machdep source code :) >Fix: Apply the attached patch. Patch attached with submission follows: Index: at91/kb920x_machdep.c =================================================================== RCS file: /home/ncvs/src/sys/arm/at91/kb920x_machdep.c,v retrieving revision 1.31 diff -u -r1.31 kb920x_machdep.c --- at91/kb920x_machdep.c 5 Sep 2008 22:23:41 -0000 1.31 +++ at91/kb920x_machdep.c 15 Nov 2008 16:50:25 -0000 @@ -384,7 +384,7 @@ * but since we are boot strapping the addresses used for the read * may have just been remapped and thus the cache could be out * of sync. A re-clean after the switch will cure this. - * After booting there are no gross reloations of the kernel thus + * After booting there are no gross relocations of the kernel thus * this problem will not occur after initarm(). */ cpu_idcache_wbinv_all(); Index: mv/mv_machdep.c =================================================================== RCS file: /home/ncvs/src/sys/arm/mv/mv_machdep.c,v retrieving revision 1.2 diff -u -r1.2 mv_machdep.c --- mv/mv_machdep.c 6 Nov 2008 16:25:12 -0000 1.2 +++ mv/mv_machdep.c 15 Nov 2008 16:50:26 -0000 @@ -579,7 +579,7 @@ * but since we are boot strapping the addresses used for the read * may have just been remapped and thus the cache could be out * of sync. A re-clean after the switch will cure this. - * After booting there are no gross reloations of the kernel thus + * After booting there are no gross relocations of the kernel thus * this problem will not occur after initarm(). */ cpu_idcache_wbinv_all(); Index: sa11x0/assabet_machdep.c =================================================================== RCS file: /home/ncvs/src/sys/arm/sa11x0/assabet_machdep.c,v retrieving revision 1.25 diff -u -r1.25 assabet_machdep.c --- sa11x0/assabet_machdep.c 8 Apr 2008 10:24:41 -0000 1.25 +++ sa11x0/assabet_machdep.c 15 Nov 2008 16:50:28 -0000 @@ -375,7 +375,7 @@ * but since we are boot strapping the addresses used for the read * may have just been remapped and thus the cache could be out * of sync. A re-clean after the switch will cure this. - * After booting there are no gross reloations of the kernel thus + * After booting there are no gross relocations of the kernel thus * this problem will not occur after initarm(). */ cpu_idcache_wbinv_all(); Index: xscale/i80321/ep80219_machdep.c =================================================================== RCS file: /home/ncvs/src/sys/arm/xscale/i80321/ep80219_machdep.c,v retrieving revision 1.11 diff -u -r1.11 ep80219_machdep.c --- xscale/i80321/ep80219_machdep.c 18 Jul 2008 06:14:36 -0000 1.11 +++ xscale/i80321/ep80219_machdep.c 15 Nov 2008 16:50:30 -0000 @@ -352,7 +352,7 @@ * but since we are boot strapping the addresses used for the read * may have just been remapped and thus the cache could be out * of sync. A re-clean after the switch will cure this. - * After booting there are no gross reloations of the kernel thus + * After booting there are no gross relocations of the kernel thus * this problem will not occur after initarm(). */ cpu_idcache_wbinv_all(); Index: xscale/i80321/iq31244_machdep.c =================================================================== RCS file: /home/ncvs/src/sys/arm/xscale/i80321/iq31244_machdep.c,v retrieving revision 1.32 diff -u -r1.32 iq31244_machdep.c --- xscale/i80321/iq31244_machdep.c 18 Jul 2008 06:14:36 -0000 1.32 +++ xscale/i80321/iq31244_machdep.c 15 Nov 2008 16:50:30 -0000 @@ -350,7 +350,7 @@ * but since we are boot strapping the addresses used for the read * may have just been remapped and thus the cache could be out * of sync. A re-clean after the switch will cure this. - * After booting there are no gross reloations of the kernel thus + * After booting there are no gross relocations of the kernel thus * this problem will not occur after initarm(). */ cpu_idcache_wbinv_all(); Index: xscale/i8134x/crb_machdep.c =================================================================== RCS file: /home/ncvs/src/sys/arm/xscale/i8134x/crb_machdep.c,v retrieving revision 1.8 diff -u -r1.8 crb_machdep.c --- xscale/i8134x/crb_machdep.c 18 Jul 2008 06:14:36 -0000 1.8 +++ xscale/i8134x/crb_machdep.c 15 Nov 2008 16:50:31 -0000 @@ -332,7 +332,7 @@ * but since we are boot strapping the addresses used for the read * may have just been remapped and thus the cache could be out * of sync. A re-clean after the switch will cure this. - * After booting there are no gross reloations of the kernel thus + * After booting there are no gross relocations of the kernel thus * this problem will not occur after initarm(). */ cpu_idcache_wbinv_all(); Index: xscale/ixp425/avila_machdep.c =================================================================== RCS file: /home/ncvs/src/sys/arm/xscale/ixp425/avila_machdep.c,v retrieving revision 1.12 diff -u -r1.12 avila_machdep.c --- xscale/ixp425/avila_machdep.c 2 Oct 2008 22:31:30 -0000 1.12 +++ xscale/ixp425/avila_machdep.c 15 Nov 2008 16:50:33 -0000 @@ -418,7 +418,7 @@ * but since we are boot strapping the addresses used for the read * may have just been remapped and thus the cache could be out * of sync. A re-clean after the switch will cure this. - * After booting there are no gross reloations of the kernel thus + * After booting there are no gross relocations of the kernel thus * this problem will not occur after initarm(). */ cpu_idcache_wbinv_all(); Index: xscale/pxa/pxa_machdep.c =================================================================== RCS file: /home/ncvs/src/sys/arm/xscale/pxa/pxa_machdep.c,v retrieving revision 1.3 diff -u -r1.3 pxa_machdep.c --- xscale/pxa/pxa_machdep.c 18 Jul 2008 06:14:36 -0000 1.3 +++ xscale/pxa/pxa_machdep.c 15 Nov 2008 16:50:34 -0000 @@ -330,7 +330,7 @@ * but since we are boot strapping the addresses used for the read * may have just been remapped and thus the cache could be out * of sync. A re-clean after the switch will cure this. - * After booting there are no gross reloations of the kernel thus + * After booting there are no gross relocations of the kernel thus * this problem will not occur after initarm(). */ cpu_idcache_wbinv_all(); >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-arm@FreeBSD.ORG Sat Nov 15 21:10:06 2008 Return-Path: Delivered-To: freebsd-arm@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA08B1065676 for ; Sat, 15 Nov 2008 21:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C7D158FC0C for ; Sat, 15 Nov 2008 21:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mAFLA64v091776 for ; Sat, 15 Nov 2008 21:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mAFLA6H9091775; Sat, 15 Nov 2008 21:10:06 GMT (envelope-from gnats) Resent-Date: Sat, 15 Nov 2008 21:10:06 GMT Resent-Message-Id: <200811152110.mAFLA6H9091775@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-arm@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pankov Pavel Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96468106567F for ; Sat, 15 Nov 2008 21:02:47 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 862D98FC13 for ; Sat, 15 Nov 2008 21:02:47 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id mAFL2khj011192 for ; Sat, 15 Nov 2008 21:02:46 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id mAFL2kLY011191; Sat, 15 Nov 2008 21:02:46 GMT (envelope-from nobody) Message-Id: <200811152102.mAFL2kLY011191@www.freebsd.org> Date: Sat, 15 Nov 2008 21:02:46 GMT From: Pankov Pavel To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: arm/128897: [PATCH] Failture to build arm kernel with "options KTR" 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, 15 Nov 2008 21:10:07 -0000 >Number: 128897 >Category: arm >Synopsis: [PATCH] Failture to build arm kernel with "options KTR" >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-arm >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 15 21:10:06 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Pankov Pavel >Release: 8.0-CURRENT >Organization: MPEI >Environment: FreeBSD tionfather 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Oct 29 13:12:21 MSK 2008 root@tionfather:/usr/obj/usr/src/sys/TIONFATHER i386 >Description: Building ktr(4)-enabled ARM kernel results in error because of use of undefined variable Maxmem in _bus_dmamap_count_pages function. >How-To-Repeat: Add "options KTR" to any ARM kernel config try building kernel. >Fix: Apply the attached patch. Patch attached with submission follows: Index: sys/arm/arm/busdma_machdep.c =================================================================== RCS file: /home/ncvs/src/sys/arm/arm/busdma_machdep.c,v retrieving revision 1.39 diff -u -r1.39 busdma_machdep.c --- sys/arm/arm/busdma_machdep.c 13 Oct 2008 18:59:59 -0000 1.39 +++ sys/arm/arm/busdma_machdep.c 15 Nov 2008 15:35:46 -0000 @@ -673,8 +673,8 @@ bus_addr_t paddr; if ((map->pagesneeded == 0)) { - CTR4(KTR_BUSDMA, "lowaddr= %d Maxmem= %d, boundary= %d, " - "alignment= %d", dmat->lowaddr, ptoa((vm_paddr_t)Maxmem), + CTR3(KTR_BUSDMA, "lowaddr= %d, boundary= %d, " + "alignment= %d", dmat->lowaddr, dmat->boundary, dmat->alignment); CTR2(KTR_BUSDMA, "map= %p, pagesneeded= %d", map, map->pagesneeded); >Release-Note: >Audit-Trail: >Unformatted: