From owner-freebsd-current@FreeBSD.ORG Sun Apr 4 12:54:17 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2952A1065670 for ; Sun, 4 Apr 2010 12:54:17 +0000 (UTC) (envelope-from regnauld@bluepipe.net) Received: from moof.catpipe.net (moof.catpipe.net [129.142.64.64]) by mx1.freebsd.org (Postfix) with ESMTP id D4CAB8FC08 for ; Sun, 4 Apr 2010 12:54:16 +0000 (UTC) Received: from localhost (moof.catpipe.net [129.142.64.64]) by localhost.catpipe.net (Postfix) with ESMTP id A70F183A587 for ; Sun, 4 Apr 2010 14:39:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at catpipe.net Received: from moof.catpipe.net ([129.142.64.64]) by localhost (moof.catpipe.net [129.142.64.64]) (amavisd-new, port 10024) with ESMTP id dHeYCSOJGohF for ; Sun, 4 Apr 2010 14:39:08 +0200 (CEST) Received: from macbook.catpipe.net (unknown [62.198.233.30]) (Authenticated sender: relayuser) by moof.catpipe.net (Postfix) with ESMTP id D8D2283A3E8 for ; Sun, 4 Apr 2010 14:39:07 +0200 (CEST) Received: by macbook.catpipe.net (Postfix, from userid 1001) id BAEBC517C18; Sun, 4 Apr 2010 14:39:07 +0200 (CEST) Date: Sun, 4 Apr 2010 14:39:07 +0200 From: Phil Regnauld To: freebsd-current@freebsd.org Message-ID: <20100404123907.GA84384@macbook.catpipe.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: FreeBSD 9-CURRENT (and 8.0) on MacMini (rev. 3,1) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Apr 2010 12:54:17 -0000 Hi everyone, Wasn't sure where to post this, so I'll try here as it involves -CURRENT as well, and effort is probably best spent there. Have acquired a MacMini "Server" model (4 GB RAM, 2 x 500 GB disk, and no optical drive) to build a workshop training server. I am trying to get FreeBSD to work on this beast, and so far I've had mitigated success. Below is the combination of versions that work/don't work. If it hangs/panics, it's at boot time. Boot mode ACPI NO ACPI/SAFE F7.2-R amd64 hang panic (in swapper) F7.2-R i386 WORKS, but 2.7 GB visible. PAE kernel panics on starting CPU2 no-ACPI not tested (not necessary) F8.0-R amd64 hang hang F8.0-R i386 hang hang ohci F8.0-S amd64 hang hang at ohci early: SMM active, request owner change F9.0-C amd64 panic acpica hang on md0: Preloaded image (Feb 2010 SNAP) F9.0-C i386 panic acpica panic acpica Stopped at kbd_enter+0x3a: movl $0,kbd_why (USB kbd dead here, cannot backtrace) Currently I'm running 7.3-STABLE/i386, without PAE, limited to 2.6 GB RAM. ZFS works like a charm, and so does the built-in ethernet. ACPI works too, but asmc(4) is not available in 7. cputemp(4) works fine as well, but I don't think the fans ever change speed (though I succeeded in building world and kernel multiple times, and the CPU core temp never exceeded 80 C). On those that don't work, apart from disabling ACPI, I've attempted disabling various bits of the HW (sio, atkbdc, fdc, ...) but that hasn't helped so far. Also, so advice out there recommends disabling HW in the BIOS, which a Mac doesn't have. I checked the archives for anything relevant, and do see that older versions of the MacMini hardware tend to work (with some quirks), but it amd64's has always been an issue, it seems. I've also checked out the following links: http://wiki.freebsd.org/AppleMacbook Including: "If your system stops early at boot, try reverting r189055: http://svn.freebsd.org/viewvc/base?view=revision&revision=189055" (haven't tried that yet, but since 9.0 doesn't work, I didn't see the point). So, anyway, I'd like to get -CURRENT or even 8-STABLE to work on this. I'm ready to spend time helping whoever can guide me in debugging this critter. DDB is a bit tricky since the USB tends to hang as well, and I can't break into the debugger, or the keyboard doesn't work in it. I can include verbose boot logs, test any kernel (setting up PXE boot env). I could file PRs (but would like to refrain from doing this until I'm sure I've tried the right steps and avoid polluting the PR DB with redundant tickets). Any help appreciated! Cheers, Phil