From owner-freebsd-ppc@FreeBSD.ORG Sun May 17 14:32:37 2009 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E68C81065676 for ; Sun, 17 May 2009 14:32:37 +0000 (UTC) (envelope-from mike.gordon@primus.ca) Received: from matrix.start.ca (matrix.start.ca [204.101.248.1]) by mx1.freebsd.org (Postfix) with ESMTP id BC5C68FC19 for ; Sun, 17 May 2009 14:32:37 +0000 (UTC) (envelope-from mike.gordon@primus.ca) Received: from rti (pool7-157.adsl.user.start.ca [207.236.142.157]) by matrix.start.ca (8.13.6/8.12.11) with SMTP id n4HDUrBG025565 for ; Sun, 17 May 2009 09:30:56 -0400 Message-Id: <200905171330.n4HDUrBG025565@matrix.start.ca> From: "mike gordon" To: "freebsd-ppc" Date: Sun, 17 May 2009 09:30:53 -0400 Organization: repharm MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Technology - Oracle, IBM, ERP - SAP, QAD, CRM - Siebel, Communication - Cisco, Manufacturing, Healthcare customer lists X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2009 14:32:38 -0000 This email is to introduce our company Repharm and services we offer. Repharm is an international leader of sales and marketing database products for high technology businesses. We provide installed customer lists for companies such as Oracle, PeopleSoft, Siebel, etc. Our lists are continuously maintained to ensure the highest level of accuracy and completeness. We have hundreds of industry leaders as customers today - many whose names you would recognize. If you are interested, we could send you a sample of one of our lists complete with summary information, so that you could evaluate our content. To find out about the various lists we have available, in preparation for any sales or marketing campaigns that your organization may be considering in future, we'd love to hear from you. Or, perhaps you'd be interested in acquiring your competitors' customer lists? If you would like more information, please contact us at (905) 721-8456 or email us at repharm1@aol.com Below are just some of the lists available: ERP (ENTERPRISE RESOURCE PLANNING): Baan JD Edwards Lawson Made2Manage Mapics Marcam Oracle Peoplesoft SAP SSA E-BUSINESS APPLICATIONS: Ariba BMC BroadVision Commerce One Webtrends MIDDLEWARE/CONNECTIVITY/APP SERVERS/WEB SERVERS: Bea Systems Iona Unisys OPERATING SYSTEMS/HARDWARE/SOFTWARE: COMPAQ HP 3000 HP 9000 HP-UX IBM AS/400 IBM OS/390 Lotus Notes Microsoft Sun Microsystems DATABASE: DB2 FileMaker Informix Oracle SQL SybaseCRM (CUSTOMER RELATIONSHIP MANAGEMENT): Clarify E.piphany HNC Onyx Pivotal Siebel Vantive Xchange SUPPLY CHAIN: Agile i2 Technologies Manugistics QAD Webplan COMMUNICATIONS: Nortel Cisco 3com Siemens Alcatel Telecom Vars ASP’s CLECS ISP’s E-COMMERCE: Dot Com Directory Consultant Directory Software Directory EXECUTIVE DIRECTORIES: Chief Executive Officer Chief Financial Officer Chief Information Officer Engineering Human Resources Purchasing Sales/Marketing INDUSTRY SPECIFIC LISTS: Agriculture, Forestry and Fishing, Communications, Construction, Finance, Insurance and Real Estate, Manufacturing, Mining, Public Administration, Retail Trade, Services, Transportation, Utilities, Wholesale Trade From owner-freebsd-ppc@FreeBSD.ORG Mon May 18 11:06:58 2009 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B6781065675 for ; Mon, 18 May 2009 11:06:58 +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 66E068FC25 for ; Mon, 18 May 2009 11:06:58 +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 n4IB6wRj075762 for ; Mon, 18 May 2009 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4IB6v7o075758 for freebsd-ppc@FreeBSD.org; Mon, 18 May 2009 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 18 May 2009 11:06:57 GMT Message-Id: <200905181106.n4IB6v7o075758@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-ppc@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2009 11:06:59 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o power/133503 ppc Sound stutter after switching ttys o power/133383 ppc firefox thr_kill crash with heavy vm load o power/133382 ppc [install] Installer gets signal 11 o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer a power/121407 ppc [panic] Won't boot up; strange error message. o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o power/93203 ppc FreeBSD PPC Can't Write to Partitions. 7 problems total. From owner-freebsd-ppc@FreeBSD.ORG Thu May 21 02:05:36 2009 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 588E41065676; Thu, 21 May 2009 02:05:36 +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 0AF858FC46; Thu, 21 May 2009 02:05:35 +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.3/8.14.3) with ESMTP id n4L25XGn011133; Wed, 20 May 2009 22:05:33 -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.3/8.14.3) with ESMTP id n4L25XQJ097665; Wed, 20 May 2009 22:05:33 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id E03037302F; Wed, 20 May 2009 22:05:32 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090521020532.E03037302F@freebsd-current.sentex.ca> Date: Wed, 20 May 2009 22:05:32 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp1.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 205.211.164.50 Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2009 02:05:37 -0000 TB --- 2009-05-21 00:29:43 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-05-21 00:29:43 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-05-21 00:29:43 - cleaning the object tree TB --- 2009-05-21 00:30:15 - cvsupping the source tree TB --- 2009-05-21 00:30:15 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-05-21 00:30:34 - building world TB --- 2009-05-21 00:30:34 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-21 00:30:34 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-21 00:30:34 - TARGET=powerpc TB --- 2009-05-21 00:30:34 - TARGET_ARCH=powerpc TB --- 2009-05-21 00:30:34 - TZ=UTC TB --- 2009-05-21 00:30:34 - __MAKE_CONF=/dev/null TB --- 2009-05-21 00:30:34 - cd /src TB --- 2009-05-21 00:30:34 - /usr/bin/make -B buildworld >>> World build started on Thu May 21 00:30:35 UTC 2009 >>> 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 >>> World build completed on Thu May 21 01:57:31 UTC 2009 TB --- 2009-05-21 01:57:31 - generating LINT kernel config TB --- 2009-05-21 01:57:31 - cd /src/sys/powerpc/conf TB --- 2009-05-21 01:57:31 - /usr/bin/make -B LINT TB --- 2009-05-21 01:57:31 - building LINT kernel TB --- 2009-05-21 01:57:31 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-21 01:57:31 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-21 01:57:31 - TARGET=powerpc TB --- 2009-05-21 01:57:31 - TARGET_ARCH=powerpc TB --- 2009-05-21 01:57:31 - TZ=UTC TB --- 2009-05-21 01:57:31 - __MAKE_CONF=/dev/null TB --- 2009-05-21 01:57:31 - cd /src TB --- 2009-05-21 01:57:31 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu May 21 01:57:31 UTC 2009 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/sound/pcm/mixer.c awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/sound/pcm/mixer_if.m -c ; cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror mixer_if.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/sound/pcm/sndstat.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/sound/pcm/sound.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/sound/pcm/vchan.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/sound/usb/uaudio.c /src/sys/dev/sound/usb/uaudio.c: In function 'uaudio_probe': /src/sys/dev/sound/usb/uaudio.c:535: error: 'struct usb2_attach_arg' has no member named 'usb2_mode' *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-05-21 02:05:32 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-05-21 02:05:32 - ERROR: failed to build lint kernel TB --- 2009-05-21 02:05:32 - 4466.52 user 421.21 system 5749.09 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Thu May 21 16:50:00 2009 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5B2D1065688 for ; Thu, 21 May 2009 16:50:00 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout016.mac.com (asmtpout016.mac.com [17.148.16.91]) by mx1.freebsd.org (Postfix) with ESMTP id D24238FC19 for ; Thu, 21 May 2009 16:50:00 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed Received: from MacBook-Pro.lan.xcllnt.net (mail.xcllnt.net [75.101.29.67]) by asmtp016.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KK000M5N6RALW20@asmtp016.mac.com> for freebsd-ppc@freebsd.org; Thu, 21 May 2009 09:50:00 -0700 (PDT) Message-id: <6C962FE0-657A-4072-B050-903D54C712D4@mac.com> From: Marcel Moolenaar To: FreeBSD PowerPC ML Date: Thu, 21 May 2009 09:49:57 -0700 X-Mailer: Apple Mail (2.935.3) Subject: [patch] __syncicache: eliminate D-cache flush X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2009 16:50:01 -0000 All, I'd like to commit the following change, which basically removes the D-cache flush from syncicache. This gave me a 6% performance improvement on my SMP xserve (but YMMV): Index: sys/powerpc/powerpc/syncicache.c =================================================================== --- sys/powerpc/powerpc/syncicache.c (revision 192134) +++ sys/powerpc/powerpc/syncicache.c (working copy) @@ -50,23 +50,14 @@ void __syncicache(void *from, int len) { - int l, off; - char *p; + char *p, *lim; - off = (u_int)from & (cacheline_size - 1); - l = len += off; - p = (char *)from - off; + p = (char *)((uintptr_t)from & (cacheline_size - 1)); + lim = (char *)from + len; - do { - __asm __volatile ("dcbst 0,%0" :: "r"(p)); - p += cacheline_size; - } while ((l -= cacheline_size) > 0); - __asm __volatile ("sync"); - p = (char *)from - off; - do { + while (p < lim) { __asm __volatile ("icbi 0,%0" :: "r"(p)); p += cacheline_size; - } while ((len -= cacheline_size) > 0); + } __asm __volatile ("sync; isync"); } - I tested a make buildworld/buildkernel and a make release. I can't test the image because I'm having difficulty booting from the CD (I think that's mostly related to using a serial console and none of the standard Open Firmware key combinations works). Can someone try and boot (and preferably go through a real install): http://people.freebsd.org/~marcel/8.0-CURRENT-200905-powerpc-disc1.iso In the mean time, I'll try a make buildworld across NFS to see if we need to implement cpu_flush_dcache() to compensate... -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-ppc@FreeBSD.ORG Thu May 21 17:37:50 2009 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7393F10656C1; Thu, 21 May 2009 17:37:50 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout015.mac.com (asmtpout015.mac.com [17.148.16.90]) by mx1.freebsd.org (Postfix) with ESMTP id 601AA8FC13; Thu, 21 May 2009 17:37:50 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed Received: from MacBook-Pro.lan.xcllnt.net (mail.xcllnt.net [75.101.29.67]) by asmtp015.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KK000KQL8YI3L20@asmtp015.mac.com>; Thu, 21 May 2009 10:37:32 -0700 (PDT) Message-id: <15E5E194-708A-4FA6-B105-2A85EE8B6982@mac.com> From: Marcel Moolenaar To: Peter Grehan In-reply-to: <20090522032558.ETR51534@dommail.onthenet.com.au> Date: Thu, 21 May 2009 10:37:29 -0700 References: <20090522032558.ETR51534@dommail.onthenet.com.au> X-Mailer: Apple Mail (2.935.3) Cc: FreeBSD PowerPC ML Subject: Re: [patch] __syncicache: eliminate D-cache flush X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2009 17:37:50 -0000 On May 21, 2009, at 10:25 AM, Peter Grehan wrote: > Hi Marcel, > >> I'd like to commit the following change, which basically >> removes the D-cache flush from syncicache. > > Isn't that required so that future instruction fetches will > always pull in the value from memory and not have it sitting > in the d-cache waiting to be flushed ? We make sure that D-caches are flushed elsewhere. On the one hand we have DMA-based I/O, for which the platform guarantees coherency (if not, then busdma(9) fills the gap). On the other hand we have md(4), NFS, etc, which use bcopy(9). For those I recently added cpu_flush_dcache() so that they flush the D-cache explicitly (needed because you sometimes need to flush the D-cache based on the VA used for the copy) At this time cpu_flush_dcache() is not implemented for AIM nor booke. So far it doesn't look like it's needed on my Xserve G4, but the email was to make sure that I have the full picture. We may need to implement cpu_flush_dcache() for G3 or G5 processors... The bottomline is that D-caches are already flushed (if needed) and all we need to do is synchronize the I-cache. FYI, -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-ppc@FreeBSD.ORG Thu May 21 17:43:19 2009 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8943A1065676 for ; Thu, 21 May 2009 17:43:19 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 4BE808FC16 for ; Thu, 21 May 2009 17:43:19 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTP id 787EB1223F; Fri, 22 May 2009 03:25:58 +1000 (EST) Received: (from dommail.onthenet.com.au [198.95.226.224]) by dommail.onthenet.com.au (MOS 3.8.6-GA) with HTTP/1.1 id ETR51534 (AUTH peterg@ptree32.com.au); Fri, 22 May 2009 03:25:58 +1000 (EST) From: Peter Grehan To: Marcel Moolenaar , FreeBSD PowerPC ML X-Mailer: Mirapoint Webmail Direct 3.8.6-GA MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20090522032558.ETR51534@dommail.onthenet.com.au> Date: Fri, 22 May 2009 03:25:58 +1000 (EST) Cc: Subject: Re: [patch] __syncicache: eliminate D-cache flush X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2009 17:43:19 -0000 Hi Marcel, >I'd like to commit the following change, which basically >removes the D-cache flush from syncicache. Isn't that required so that future instruction fetches will always pull in the value from memory and not have it sitting in the d-cache waiting to be flushed ? Or is the d-cache policy always write-through on AIM systems of interest ? later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Thu May 21 18:16:21 2009 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 433CA106564A for ; Thu, 21 May 2009 18:16:21 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 03CEF8FC17 for ; Thu, 21 May 2009 18:16:20 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTP id 0954C1223E; Fri, 22 May 2009 04:16:19 +1000 (EST) Received: (from dommail.onthenet.com.au [198.95.226.224]) by dommail.onthenet.com.au (MOS 3.8.6-GA) with HTTP/1.1 id ETR54808 (AUTH peterg@ptree32.com.au); Fri, 22 May 2009 04:16:19 +1000 (EST) From: Peter Grehan To: Marcel Moolenaar X-Mailer: Mirapoint Webmail Direct 3.8.6-GA MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20090522041619.ETR54808@dommail.onthenet.com.au> Date: Fri, 22 May 2009 04:16:19 +1000 (EST) Cc: FreeBSD PowerPC ML Subject: Re: [patch] __syncicache: eliminate D-cache flush X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2009 18:16:22 -0000 Hi Marcel, >We make sure that D-caches are flushed elsewhere. You might want to have a look at the ppc MD run-time linker code to see if the syncicache libc calls aren't necessary. From memory, Xorg's run-time linker also has a syncicache call in it, though if you're not touching the libc version that should be OK. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Thu May 21 21:49:58 2009 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD38B106566B for ; Thu, 21 May 2009 21:49:58 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id B13F18FC15 for ; Thu, 21 May 2009 21:49:58 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 17CDA581C0; Thu, 21 May 2009 16:23:16 -0500 (CDT) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id dvrBC8fzoGHT; Thu, 21 May 2009 16:23:16 -0500 (CDT) Received: from wanderer.tachypleus.net (p5B06FF52.dip.t-dialin.net [91.6.255.82]) by mail.icecube.wisc.edu (Postfix) with ESMTP id A9B6258043; Thu, 21 May 2009 16:23:14 -0500 (CDT) Message-ID: <4A15C63F.60505@freebsd.org> Date: Thu, 21 May 2009 23:23:11 +0200 From: Nathan Whitehorn User-Agent: Thunderbird 2.0.0.21 (X11/20090410) MIME-Version: 1.0 To: Marcel Moolenaar References: <20090522032558.ETR51534@dommail.onthenet.com.au> <15E5E194-708A-4FA6-B105-2A85EE8B6982@mac.com> In-Reply-To: <15E5E194-708A-4FA6-B105-2A85EE8B6982@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Peter Grehan , FreeBSD PowerPC ML Subject: Re: [patch] __syncicache: eliminate D-cache flush X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2009 21:49:59 -0000 Marcel Moolenaar wrote: > > On May 21, 2009, at 10:25 AM, Peter Grehan wrote: > >> Hi Marcel, >> >>> I'd like to commit the following change, which basically >>> removes the D-cache flush from syncicache. >> >> Isn't that required so that future instruction fetches will >> always pull in the value from memory and not have it sitting >> in the d-cache waiting to be flushed ? > > We make sure that D-caches are flushed elsewhere. On the > one hand we have DMA-based I/O, for which the platform > guarantees coherency (if not, then busdma(9) fills the gap). > On the other hand we have md(4), NFS, etc, which use bcopy(9). > For those I recently added cpu_flush_dcache() so that they > flush the D-cache explicitly (needed because you sometimes > need to flush the D-cache based on the VA used for the copy) > At this time cpu_flush_dcache() is not implemented for AIM > nor booke. So far it doesn't look like it's needed on my > Xserve G4, but the email was to make sure that I have the > full picture. We may need to implement cpu_flush_dcache() > for G3 or G5 processors... I'm currently out of town (working in Germany at DESY Zeuthen), and won't be able to test this on G5s before the 8.0 feature freeze. Does anyone else have a G5 system where this can be tested? -Nathan From owner-freebsd-ppc@FreeBSD.ORG Fri May 22 10:21:55 2009 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78E71106564A for ; Fri, 22 May 2009 10:21:55 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from semihalf.com (semihalf.com [206.130.101.55]) by mx1.freebsd.org (Postfix) with ESMTP id 43BCD8FC14 for ; Fri, 22 May 2009 10:21:55 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by semihalf.com (8.13.1/8.13.1) with ESMTP id n4MALoWY027449; Fri, 22 May 2009 04:21:51 -0600 Message-Id: From: Rafal Jaworowski To: Peter Czanik In-Reply-To: <4A0824E3.8070606@fang.fa.gau.hu> Content-Type: text/plain; charset=ISO-8859-2; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v935.3) Date: Fri, 22 May 2009 12:21:01 +0200 References: <35914876-0CFF-427B-8F80-B1BEEA5A7A18@semihalf.com> <4A0824E3.8070606@fang.fa.gau.hu> X-Mailer: Apple Mail (2.935.3) Cc: freebsd-ppc@freebsd.org Subject: Re: FreeBSD/powerpc on MPC5200 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 May 2009 10:21:55 -0000 On 2009-05-11, at 15:15, Peter Czanik wrote: > Rafal Jaworowski =EDrta: >> I'd like to let people know that FreeBSD/powerpc is now able to boot >> into single user on the Freescale MPC5200 system-on-chip (EFIKA >> board). The environment is very simplistic: RAM disk based root fs, =20= >> as >> there's no peripherals drivers besides serial console and the built-=20= >> in >> PIC. See this log: http://people.freebsd.org/~raj/logs/efika.log > Wow, great news! Two questions: > - are there any plans to support additional devices? We don't have immediate plans for other devices drivers, but this =20 basic support will be merged into SVN, and it would be greatly welcome =20= to see people help with remaining items. > - is it possible to download the booted image from somewhere? (So I > could boot my favorite OS on my favorite machine :-) ) Sorry for a delayed answer. You can try the minimalistic kernel=20 +ramdisk from here: http://people.freebsd.org/~raj/misc/efika-kernel.gz - unzip and put onto your TFTP host server - execute from Efika SmartFirmware prompt: boot eth:,efika-kernel, E.g.: boot eth:10.0.0.204,efika-kernel,10.0.2.11 Rafal From owner-freebsd-ppc@FreeBSD.ORG Sat May 23 05:41:36 2009 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 201AE1065675 for ; Sat, 23 May 2009 05:41:36 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from farnsworth.fubar.geek.nz (farnsworth.fubar.geek.nz [69.55.236.47]) by mx1.freebsd.org (Postfix) with ESMTP id B081A8FC15 for ; Sat, 23 May 2009 05:41:33 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: by farnsworth.fubar.geek.nz (Postfix, from userid 65534) id 7EC9E33C1C; Fri, 22 May 2009 22:21:42 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on farnsworth.fubar.geek.nz X-Spam-Level: * X-Spam-Status: No, score=1.7 required=5.0 tests=AWL,BAYES_00,HELO_LOCALHOST, RCVD_IN_PBL,RDNS_DYNAMIC autolearn=no version=3.2.5 Received: from localhost (125-238-22-134.broadband-telecom.global-gateway.net.nz [125.238.22.134]) by farnsworth.fubar.geek.nz (Postfix) with ESMTP id 045B233C1B; Fri, 22 May 2009 22:21:35 -0700 (PDT) Date: Sat, 23 May 2009 17:21:28 +1200 From: Andrew Turner To: freebsd-ppc@freebsd.org Message-ID: <20090523172128.2e0a3f2b@fubar.geek.nz> In-Reply-To: References: <35914876-0CFF-427B-8F80-B1BEEA5A7A18@semihalf.com> <4A0824E3.8070606@fang.fa.gau.hu> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.1; amd64-portbld-freebsd7.1) X-Pirate: Arrrr Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: FreeBSD/powerpc on MPC5200 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2009 05:41:36 -0000 On Fri, 22 May 2009 12:21:01 +0200 Rafal Jaworowski wrote: >=20 > On 2009-05-11, at 15:15, Peter Czanik wrote: >=20 > > Rafal Jaworowski =C3=ADrta: > >> I'd like to let people know that FreeBSD/powerpc is now able to > >> boot into single user on the Freescale MPC5200 system-on-chip > >> (EFIKA board). The environment is very simplistic: RAM disk based > >> root fs, as > >> there's no peripherals drivers besides serial console and the > >> built- in > >> PIC. See this log: http://people.freebsd.org/~raj/logs/efika.log > > Wow, great news! Two questions: > > - are there any plans to support additional devices? >=20 > We don't have immediate plans for other devices drivers, but this =20 > basic support will be merged into SVN, and it would be greatly > welcome to see people help with remaining items. Is there a patch available? I would like to get back to working on the EFIKA. Andrew