From owner-freebsd-ppc@FreeBSD.ORG Thu Jan 23 04:49:22 2014 Return-Path: Delivered-To: powerpc@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 81EE0EA0; Thu, 23 Jan 2014 04:49:22 +0000 (UTC) Date: Thu, 23 Jan 2014 04:49:22 +0000 From: Alexey Dokuchaev To: Justin Hibbits Subject: Re: Tightening kernel for Mac Mini G4 Message-ID: <20140123044922.GA29547@FreeBSD.org> References: <20140122153323.GA3637@FreeBSD.org> <20140122082542.745de133@zhabar.gateway.2wire.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140122082542.745de133@zhabar.gateway.2wire.net> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: powerpc@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2014 04:49:22 -0000 On Wed, Jan 22, 2014 at 08:25:42AM -0800, Justin Hibbits wrote: > ata_macio and ata_kauai aren't available as modules. It's probably > trivial to make them such, but currently they're not. Just keep the > devices in kernel config. OK, I can live with "device ATA" for a while; but ultimately I do think that ata_macio and ata_kauai should be factored out as modules (similar with our existing x86 ata stuff). Ideally, all hardware-dependent stuff should be modular. > Neither of these are necessary for you. I should probably eventually > modularize windtunnel driver (and give it a better name). SMU is for > G5 systems, PMU is for G4 and G3 systems. Great, I've removed entire "Misc" section of the config. I'm wondering if I can do the same for ADB support? There are no ADB connectors for peripherals on Mac Mini; is ADB still required (used internally)? All three devices (adb, cuda, pmu) or something can be dropped out? > Can you drop the output of 'ofwdump -ap' somewhere (freefall?) and I > can take a look at it. Internal sound on most PowerPC Apple hardware > is supported, I'm curious why yours isn't. Sure, have a look: ~danfe/macmini-g4-ofw.dump. ./danfe P.S. "make -j2 buildworld" on tmpfs-backed OBJDIR took 12 hours (default -CURRENT, i.e. reduced performance) and used 1,2G of tmpfs (and 76% of 1G swap). Replacing default 256M of RAM with 1G module was definitely a good idea. Alas, "make buildkernel" (without cleaning after buildworld) caused it to run out of memory. :(