From owner-freebsd-ppc@FreeBSD.ORG Mon Apr 2 11:11:55 2012 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 E1D211065672 for ; Mon, 2 Apr 2012 11:11:54 +0000 (UTC) (envelope-from freebsd-ppc@dino.sk) Received: from loki.netlab.sk (loki.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id 4DD648FC19 for ; Mon, 2 Apr 2012 11:11:53 +0000 (UTC) Received: from zeta.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by loki.netlab.sk with ESMTPSA; Mon, 02 Apr 2012 13:10:34 +0200 id 00005C2E.4F79892A.00004754 Date: Mon, 2 Apr 2012 13:11:32 +0200 From: Milan Obuch To: freebsd-ppc@freebsd.org Message-ID: <20120402131132.78578915@zeta.dino.sk> In-Reply-To: <4F798459.4000301@amiga-hardware.com> References: <4F798459.4000301@amiga-hardware.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: ak5rwz4-aUa>hPFZlcg,bXxn.(TN}e9DGFrKU\.i_'B[&5=pAd9o"j)5VSUYW:BRQG#^42Ev$Il|; Ztn=,C X-Operating-System: FreeBSD/amd64 8.2-STABLE Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Newbie - Mac G5 Dual PPC 970 @ 2Ghz 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, 02 Apr 2012 11:11:55 -0000 On Mon, 02 Apr 2012 18:50:01 +0800 Ian Chapman wrote: [ snip ] > spawning processors was horrendously slow. I recompiled the kernel > and disabled these options as they seemed to be enabled by default > for the 64bit kernel but not the 32bit. > > #options KDB #Enable the kernel debugger > #options DDB #Support DDB > #options DEADLKRES #Enable the deadlock resolver > #options INVARIANTS #Enable calls of extra sanity > checking > #options INVARIANT_SUPPORT #Extra sanity checks of > internal structures, required by INVARIANTS > #options WITNESS #Enable checks to detect > deadlocks and cycles > #options WITNESS_SKIPSPIN #Don't run witness on > spinlocks for speed > #options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones > > and it appears and feels much faster now. I was wondering if these > debugging options are on for a reason or whether it was an oversight? > I think this could be an oversight... those are option for debugging using mostly in -CURRENT, so probably they should be taken out in 9-STABLE... We are already after 9.0 RELEASE. > Secondly I noticed the system always booted up with a processor speed > of 1333mhz. I searched the archives and found that auto-booting > FreeBSD from OF and not using either the OF prompt or the 'Alt' menu > brought the system up at the full speed of 2Ghz. I guess that what's > powerd doesn't work either - no dynamic frequency scaling for this > mac. > > Anyway the real stumbling block is getting X to work. I did see a > similar issue in the archives but wondered if anyone at resolve it. > My graphics card is as follows: > > vgapci0@pci0:0:16:0: class=0x030000 card=0x41521002 > chip=0x41521002 rev=0x00 hdr=0x00 > vendor = 'ATI Technologies Inc' > device = 'RV350 AR [Radeon 9600]' > class = display > subclass = VGA > bar [10] = type Prefetchable Memory, range 32, base > 0xb0000000, size 268435456, enabled > bar [14] = type I/O Port, range 32, base 0x400, size 256, > enabled bar [18] = type Memory, range 32, base 0xa0000000, size > 65536, enabled > cap 02[58] = AGP v3 8x 4x SBA disabled > cap 01[50] = powerspec 2 supports D0 D1 D2 D3 current D0 > Can't help much here - I did not yet reach that far. It would be interesting to see your full dmesg output somewhere, at least for comparing hardware. Regards, Milan